Hello:
I’m followed all steps to install frappe version 15
Then created dcode.com site
The server is up and mysql service also
Starting the dcode.com:8000 I got the error shown below
What I’m doing wrong?
I got the following error:
ProgrammingError
pymysql.err.ProgrammingError: (1146, “Table ‘_cb2d6824955d617c.tabSingles’ doesn’t exist”)
Traceback (most recent call last)
File "/home/jplevy/frappe-bench/apps/frappe/frappe/app.py", line 95, in application
init_request(request)
^^^^^^^^^^^^^^^^^^^^^
File "/home/jplevy/frappe-bench/apps/frappe/frappe/app.py", line 168, in init_request
frappe.init(site=site, sites_path=_sites_path, force=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jplevy/frappe-bench/apps/frappe/frappe/__init__.py", line 267, in init
setup_module_map(include_all_apps=not (frappe.request or frappe.job or frappe.flags.in_migrate))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jplevy/frappe-bench/apps/frappe/frappe/__init__.py", line 1625, in setup_module_map
apps = get_installed_apps(_ensure_on_bench=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jplevy/frappe-bench/apps/frappe/frappe/utils/caching.py", line 45, in wrapper
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/home/jplevy/frappe-bench/apps/frappe/frappe/__init__.py", line 1518, in get_installed_apps
installed = json.loads(db.get_global("installed_apps") or "[]")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jplevy/frappe-bench/apps/frappe/frappe/database/database.py", line 995, in get_global
return self.get_default(key, user)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jplevy/frappe-bench/apps/frappe/frappe/database/database.py", line 999, in get_default
d = self.get_defaults(key, parent)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jplevy/frappe-bench/apps/frappe/frappe/database/database.py", line 1015, in get_defaults
defaults = frappe.defaults.get_defaults_for(parent)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jplevy/frappe-bench/apps/frappe/frappe/defaults.py", line 240, in get_defaults_for
.run(as_dict=True)
^^^^^^^^^^^^^^^^^
File "/home/jplevy/frappe-bench/apps/frappe/frappe/query_builder/utils.py", line 87, in execute_query
result = frappe.db.sql(query, params, *args, **kwargs) # nosemgrep
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jplevy/frappe-bench/apps/frappe/frappe/database/database.py", line 234, in sql
self._cursor.execute(query, values)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jplevy/frappe-bench/env/lib/python3.11/site-packages/pymysql/cursors.py", line 153, in execute
result = self._query(query)
^^^^^^^^^^^^^^^^^^
File "/home/jplevy/frappe-bench/env/lib/python3.11/site-packages/pymysql/cursors.py", line 322, in _query
conn.query(q)
^^^^^^^^^^^^^
File "/home/jplevy/frappe-bench/env/lib/python3.11/site-packages/pymysql/connections.py", line 558, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jplevy/frappe-bench/env/lib/python3.11/site-packages/pymysql/connections.py", line 822, in _read_query_result
result.read()
^^^^^^^^^^^^^
File "/home/jplevy/frappe-bench/env/lib/python3.11/site-packages/pymysql/connections.py", line 1200, in read
first_packet = self.connection._read_packet()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jplevy/frappe-bench/env/lib/python3.11/site-packages/pymysql/connections.py", line 772, in _read_packet
packet.raise_for_error()
^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jplevy/frappe-bench/env/lib/python3.11/site-packages/pymysql/protocol.py", line 221, in raise_for_error
err.raise_mysql_exception(self._data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jplevy/frappe-bench/env/lib/python3.11/site-packages/pymysql/err.py", line 143, in raise_mysql_exception
raise errorclass(errno, errval)