mail07.clienteacessdown.world
Open in
urlscan Pro
193.169.105.243
Public Scan
URL:
http://mail07.clienteacessdown.world/
Submission Tags: @ecarlesi possiblethreat Search All
Submission: On August 13 via api from IT — Scanned from NL
Submission Tags: @ecarlesi possiblethreat Search All
Submission: On August 13 via api from IT — Scanned from NL
Form analysis
1 forms found in the DOMName: pasteform — POST https://dpaste.com/
<form action="https://dpaste.com/" name="pasteform" id="pasteform" method="post">
<div id="pastebinTraceback" class="pastebin" style="display: none;">
<input type="hidden" name="language" value="PythonConsole">
<input type="hidden" name="title" value="OperationalError at /">
<input type="hidden" name="source" value="Django Dpaste Agent">
<input type="hidden" name="poster" value="Django">
<textarea name="content" id="traceback_area" cols="140" rows="25">Environment:
Request Method: GET
Request URL: http://mail07.clienteacessdown.world/
Django Version: 5.0.6
Python Version: 3.10.14
Installed Applications:
['django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'blog.apps.BlogConfig',
'account.apps.AccountConfig',
'tinymce']
Installed Middleware:
['django.middleware.security.SecurityMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware']
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/django/db/backends/utils.py", line 105, in _execute
return self.cursor.execute(sql, params)
File "/usr/local/lib/python3.10/site-packages/django/db/backends/sqlite3/base.py", line 329, in execute
return super().execute(query, params)
The above exception (no such table: blog_tag) was the direct cause of the following exception:
File "/usr/local/lib/python3.10/site-packages/django/core/handlers/exception.py", line 55, in inner
response = get_response(request)
File "/usr/local/lib/python3.10/site-packages/django/core/handlers/base.py", line 197, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/usr/local/lib/python3.10/site-packages/django/views/generic/base.py", line 104, in view
return self.dispatch(request, *args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/django/views/generic/base.py", line 143, in dispatch
return handler(request, *args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/django/views/generic/list.py", line 154, in get
self.object_list = self.get_queryset()
File "/code/blog/views.py", line 16, in get_queryset
tag = Tag.objects.get(slug=tag_slug)
File "/usr/local/lib/python3.10/site-packages/django/db/models/manager.py", line 87, in manager_method
return getattr(self.get_queryset(), name)(*args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/django/db/models/query.py", line 645, in get
num = len(clone)
File "/usr/local/lib/python3.10/site-packages/django/db/models/query.py", line 382, in __len__
self._fetch_all()
File "/usr/local/lib/python3.10/site-packages/django/db/models/query.py", line 1928, in _fetch_all
self._result_cache = list(self._iterable_class(self))
File "/usr/local/lib/python3.10/site-packages/django/db/models/query.py", line 91, in __iter__
results = compiler.execute_sql(
File "/usr/local/lib/python3.10/site-packages/django/db/models/sql/compiler.py", line 1562, in execute_sql
cursor.execute(sql, params)
File "/usr/local/lib/python3.10/site-packages/django/db/backends/utils.py", line 122, in execute
return super().execute(sql, params)
File "/usr/local/lib/python3.10/site-packages/django/db/backends/utils.py", line 79, in execute
return self._execute_with_wrappers(
File "/usr/local/lib/python3.10/site-packages/django/db/backends/utils.py", line 92, in _execute_with_wrappers
return executor(sql, params, many, context)
File "/usr/local/lib/python3.10/site-packages/django/db/backends/utils.py", line 100, in _execute
with self.db.wrap_database_errors:
File "/usr/local/lib/python3.10/site-packages/django/db/utils.py", line 91, in __exit__
raise dj_exc_value.with_traceback(traceback) from exc_value
File "/usr/local/lib/python3.10/site-packages/django/db/backends/utils.py", line 105, in _execute
return self.cursor.execute(sql, params)
File "/usr/local/lib/python3.10/site-packages/django/db/backends/sqlite3/base.py", line 329, in execute
return super().execute(query, params)
Exception Type: OperationalError at /
Exception Value: no such table: blog_tag
</textarea>
<br><br>
<input type="submit" value="Share this traceback on a public website">
</div>
</form>
Text Content
OPERATIONALERROR AT / no such table: blog_tag Request Method: GET Request URL: http://mail07.clienteacessdown.world/ Django Version: 5.0.6 Exception Type: OperationalError Exception Value: no such table: blog_tag Exception Location: /usr/local/lib/python3.10/site-packages/django/db/backends/sqlite3/base.py, line 329, in execute Raised during: blog.views.PostList Python Executable: /usr/local/bin/python Python Version: 3.10.14 Python Path: ['/code', '/usr/local/bin', '/usr/local/lib/python310.zip', '/usr/local/lib/python3.10', '/usr/local/lib/python3.10/lib-dynload', '/usr/local/lib/python3.10/site-packages'] Server time: Wed, 14 Aug 2024 03:55:58 +0500 TRACEBACK SWITCH TO COPY-AND-PASTE VIEW * /usr/local/lib/python3.10/site-packages/django/db/backends/utils.py, line 105, in _execute 98. warnings.warn(self.APPS_NOT_READY_WARNING_MSG, category=RuntimeWarning) 99. self.db.validate_no_broken_transaction() 100. with self.db.wrap_database_errors: 101. if params is None: 102. # params default might be backend specific. 103. return self.cursor.execute(sql) 104. else: 105. return self.cursor.execute(sql, params) … 106. 107. def _executemany(self, sql, param_list, *ignored_wrapper_args): 108. # Raise a warning during app initialization (stored_app_configs is only 109. # ever set during testing). 110. if not apps.ready and not apps.stored_app_configs: 111. warnings.warn(self.APPS_NOT_READY_WARNING_MSG, category=RuntimeWarning) Local vars Variable Value ignored_wrapper_args (False, {'connection': <DatabaseWrapper vendor='sqlite' alias='default'>, 'cursor': <django.db.backends.utils.CursorDebugWrapper object at 0x7facac6146a0>}) params () self <django.db.backends.utils.CursorDebugWrapper object at 0x7facac6146a0> sql ('SELECT "blog_tag"."id", "blog_tag"."name", "blog_tag"."slug", ' '"blog_tag"."user_id", "blog_tag"."created_at", "blog_tag"."updated_at" FROM ' '"blog_tag" WHERE "blog_tag"."slug" IS NULL LIMIT 21') * /usr/local/lib/python3.10/site-packages/django/db/backends/sqlite3/base.py, line 329, in execute 322. 323. def execute(self, query, params=None): 324. if params is None: 325. return super().execute(query) 326. # Extract names if params is a mapping, i.e. "pyformat" style is used. 327. param_names = list(params) if isinstance(params, Mapping) else None 328. query = self.convert_query(query, param_names=param_names) 329. return super().execute(query, params) … 330. 331. def executemany(self, query, param_list): 332. # Extract names if params is a mapping, i.e. "pyformat" style is used. 333. # Peek carefully as a generator can be passed instead of a list/tuple. 334. peekable, param_list = tee(iter(param_list)) 335. if (params := next(peekable, None)) and isinstance(params, Mapping): Local vars Variable Value __class__ <class 'django.db.backends.sqlite3.base.SQLiteCursorWrapper'> param_names None params () query ('SELECT "blog_tag"."id", "blog_tag"."name", "blog_tag"."slug", ' '"blog_tag"."user_id", "blog_tag"."created_at", "blog_tag"."updated_at" FROM ' '"blog_tag" WHERE "blog_tag"."slug" IS NULL LIMIT 21') self <django.db.backends.sqlite3.base.SQLiteCursorWrapper object at 0x7facac5d0700> * THE ABOVE EXCEPTION (NO SUCH TABLE: BLOG_TAG) WAS THE DIRECT CAUSE OF THE FOLLOWING EXCEPTION: * /usr/local/lib/python3.10/site-packages/django/core/handlers/exception.py, line 55, in inner 48. 49. return inner 50. else: 51. 52. @wraps(get_response) 53. def inner(request): 54. try: 55. response = get_response(request) … 56. except Exception as exc: 57. response = response_for_exception(request, exc) 58. return response 59. 60. return inner 61. Local vars Variable Value exc OperationalError('no such table: blog_tag') get_response <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7facaca50790>> request <WSGIRequest: GET '/'> * /usr/local/lib/python3.10/site-packages/django/core/handlers/base.py, line 197, in _get_response 190. 191. if response is None: 192. wrapped_callback = self.make_view_atomic(callback) 193. # If it is an asynchronous view, run it in a subthread. 194. if iscoroutinefunction(wrapped_callback): 195. wrapped_callback = async_to_sync(wrapped_callback) 196. try: 197. response = wrapped_callback(request, *callback_args, **callback_kwargs) … 198. except Exception as e: 199. response = self.process_exception_by_middleware(e, request) 200. if response is None: 201. raise 202. 203. # Complain if the view returned None (a common error). Local vars Variable Value callback <function View.as_view.<locals>.view at 0x7facac6ab130> callback_args () callback_kwargs {} middleware_method <bound method CsrfViewMiddleware.process_view of <CsrfViewMiddleware get_response=convert_exception_to_response.<locals>.inner>> request <WSGIRequest: GET '/'> response None self <django.core.handlers.wsgi.WSGIHandler object at 0x7facaca50790> wrapped_callback <function View.as_view.<locals>.view at 0x7facac6ab130> * /usr/local/lib/python3.10/site-packages/django/views/generic/base.py, line 104, in view 97. self = cls(**initkwargs) 98. self.setup(request, *args, **kwargs) 99. if not hasattr(self, "request"): 100. raise AttributeError( 101. "%s instance has no 'request' attribute. Did you override " 102. "setup() and forget to call super()?" % cls.__name__ 103. ) 104. return self.dispatch(request, *args, **kwargs) … 105. 106. view.view_class = cls 107. view.view_initkwargs = initkwargs 108. 109. # __name__ and __qualname__ are intentionally left unchanged as 110. # view_class should be used to robustly determine the name of the view Local vars Variable Value args () cls <class 'blog.views.PostList'> initkwargs {} kwargs {} request <WSGIRequest: GET '/'> self <blog.views.PostList object at 0x7facac6175b0> * /usr/local/lib/python3.10/site-packages/django/views/generic/base.py, line 143, in dispatch 136. # request method isn't on the approved list. 137. if request.method.lower() in self.http_method_names: 138. handler = getattr( 139. self, request.method.lower(), self.http_method_not_allowed 140. ) 141. else: 142. handler = self.http_method_not_allowed 143. return handler(request, *args, **kwargs) … 144. 145. def http_method_not_allowed(self, request, *args, **kwargs): 146. logger.warning( 147. "Method Not Allowed (%s): %s", 148. request.method, 149. request.path, Local vars Variable Value args () handler <bound method BaseListView.get of <blog.views.PostList object at 0x7facac6175b0>> kwargs {} request <WSGIRequest: GET '/'> self <blog.views.PostList object at 0x7facac6175b0> * /usr/local/lib/python3.10/site-packages/django/views/generic/list.py, line 154, in get 147. return super().get_context_data(**context) 148. 149. 150. class BaseListView(MultipleObjectMixin, View): 151. """A base view for displaying a list of objects.""" 152. 153. def get(self, request, *args, **kwargs): 154. self.object_list = self.get_queryset() … 155. allow_empty = self.get_allow_empty() 156. 157. if not allow_empty: 158. # When pagination is enabled and object_list is a queryset, 159. # it's better to do a cheap query than to load the unpaginated 160. # queryset in memory. Local vars Variable Value args () kwargs {} request <WSGIRequest: GET '/'> self <blog.views.PostList object at 0x7facac6175b0> * /code/blog/views.py, line 16, in get_queryset 9. context_object_name = 'posts' 10. 11. def get_queryset(self): 12. queryset = Post.objects.all().prefetch_related( 13. 'tags', 'author').order_by('-created_at') 14. tag_slug = self.request.GET.get('tag') 15. try: 16. tag = Tag.objects.get(slug=tag_slug) … 17. queryset = queryset.filter(tags=tag) 18. except Tag.DoesNotExist: 19. pass 20. return queryset 21. 22. def get_context_data(self, **kwargs): Local vars Variable Value queryset Error in formatting: OperationalError: no such table: blog_post self <blog.views.PostList object at 0x7facac6175b0> tag_slug None * /usr/local/lib/python3.10/site-packages/django/db/models/manager.py, line 87, in manager_method 80. return [] 81. 82. @classmethod 83. def _get_queryset_methods(cls, queryset_class): 84. def create_method(name, method): 85. @wraps(method) 86. def manager_method(self, *args, **kwargs): 87. return getattr(self.get_queryset(), name)(*args, **kwargs) … 88. 89. return manager_method 90. 91. new_methods = {} 92. for name, method in inspect.getmembers( 93. queryset_class, predicate=inspect.isfunction Local vars Variable Value args () kwargs {'slug': None} name 'get' self <django.db.models.manager.Manager object at 0x7facac607eb0> * /usr/local/lib/python3.10/site-packages/django/db/models/query.py, line 645, in get 638. limit = None 639. if ( 640. not clone.query.select_for_update 641. or connections[clone.db].features.supports_select_for_update_with_limit 642. ): 643. limit = MAX_GET_RESULTS 644. clone.query.set_limits(high=limit) 645. num = len(clone) … 646. if num == 1: 647. return clone._result_cache[0] 648. if not num: 649. raise self.model.DoesNotExist( 650. "%s matching query does not exist." % self.model._meta.object_name 651. ) Local vars Variable Value args () clone Error in formatting: OperationalError: no such table: blog_tag kwargs {'slug': None} limit 21 self Error in formatting: OperationalError: no such table: blog_tag * /usr/local/lib/python3.10/site-packages/django/db/models/query.py, line 382, in __len__ 375. def __repr__(self): 376. data = list(self[: REPR_OUTPUT_SIZE + 1]) 377. if len(data) > REPR_OUTPUT_SIZE: 378. data[-1] = "...(remaining elements truncated)..." 379. return "<%s %r>" % (self.__class__.__name__, data) 380. 381. def __len__(self): 382. self._fetch_all() … 383. return len(self._result_cache) 384. 385. def __iter__(self): 386. """ 387. The queryset iterator protocol uses three nested iterators in the 388. default case: Local vars Variable Value self Error in formatting: OperationalError: no such table: blog_tag * /usr/local/lib/python3.10/site-packages/django/db/models/query.py, line 1928, in _fetch_all 1921. c._known_related_objects = self._known_related_objects 1922. c._iterable_class = self._iterable_class 1923. c._fields = self._fields 1924. return c 1925. 1926. def _fetch_all(self): 1927. if self._result_cache is None: 1928. self._result_cache = list(self._iterable_class(self)) … 1929. if self._prefetch_related_lookups and not self._prefetch_done: 1930. self._prefetch_related_objects() 1931. 1932. def _next_is_sticky(self): 1933. """ 1934. Indicate that the next filter call and the one following that should Local vars Variable Value self Error in formatting: OperationalError: no such table: blog_tag * /usr/local/lib/python3.10/site-packages/django/db/models/query.py, line 91, in __iter__ 84. 85. def __iter__(self): 86. queryset = self.queryset 87. db = queryset.db 88. compiler = queryset.query.get_compiler(using=db) 89. # Execute the query. This will also fill compiler.select, klass_info, 90. # and annotations. 91. results = compiler.execute_sql( … 92. chunked_fetch=self.chunked_fetch, chunk_size=self.chunk_size 93. ) 94. select, klass_info, annotation_col_map = ( 95. compiler.select, 96. compiler.klass_info, 97. compiler.annotation_col_map, Local vars Variable Value compiler <SQLCompiler model=Tag connection=<DatabaseWrapper vendor='sqlite' alias='default'> using='default'> db 'default' queryset Error in formatting: OperationalError: no such table: blog_tag self <django.db.models.query.ModelIterable object at 0x7facac616290> * /usr/local/lib/python3.10/site-packages/django/db/models/sql/compiler.py, line 1562, in execute_sql 1555. else: 1556. return 1557. if chunked_fetch: 1558. cursor = self.connection.chunked_cursor() 1559. else: 1560. cursor = self.connection.cursor() 1561. try: 1562. cursor.execute(sql, params) … 1563. except Exception: 1564. # Might fail for server-side cursors (e.g. connection closed) 1565. cursor.close() 1566. raise 1567. 1568. if result_type == CURSOR: Local vars Variable Value chunk_size 100 chunked_fetch False cursor <django.db.backends.utils.CursorDebugWrapper object at 0x7facac6146a0> params () result_type 'multi' self <SQLCompiler model=Tag connection=<DatabaseWrapper vendor='sqlite' alias='default'> using='default'> sql ('SELECT "blog_tag"."id", "blog_tag"."name", "blog_tag"."slug", ' '"blog_tag"."user_id", "blog_tag"."created_at", "blog_tag"."updated_at" FROM ' '"blog_tag" WHERE "blog_tag"."slug" IS NULL LIMIT 21') * /usr/local/lib/python3.10/site-packages/django/db/backends/utils.py, line 122, in execute 115. 116. 117. class CursorDebugWrapper(CursorWrapper): 118. # XXX callproc isn't instrumented at this time. 119. 120. def execute(self, sql, params=None): 121. with self.debug_sql(sql, params, use_last_executed_query=True): 122. return super().execute(sql, params) … 123. 124. def executemany(self, sql, param_list): 125. with self.debug_sql(sql, param_list, many=True): 126. return super().executemany(sql, param_list) 127. 128. @contextmanager Local vars Variable Value __class__ <class 'django.db.backends.utils.CursorDebugWrapper'> params () self <django.db.backends.utils.CursorDebugWrapper object at 0x7facac6146a0> sql ('SELECT "blog_tag"."id", "blog_tag"."name", "blog_tag"."slug", ' '"blog_tag"."user_id", "blog_tag"."created_at", "blog_tag"."updated_at" FROM ' '"blog_tag" WHERE "blog_tag"."slug" IS NULL LIMIT 21') * /usr/local/lib/python3.10/site-packages/django/db/backends/utils.py, line 79, in execute 72. elif kparams is None: 73. return self.cursor.callproc(procname, params) 74. else: 75. params = params or () 76. return self.cursor.callproc(procname, params, kparams) 77. 78. def execute(self, sql, params=None): 79. return self._execute_with_wrappers( … 80. sql, params, many=False, executor=self._execute 81. ) 82. 83. def executemany(self, sql, param_list): 84. return self._execute_with_wrappers( 85. sql, param_list, many=True, executor=self._executemany Local vars Variable Value params () self <django.db.backends.utils.CursorDebugWrapper object at 0x7facac6146a0> sql ('SELECT "blog_tag"."id", "blog_tag"."name", "blog_tag"."slug", ' '"blog_tag"."user_id", "blog_tag"."created_at", "blog_tag"."updated_at" FROM ' '"blog_tag" WHERE "blog_tag"."slug" IS NULL LIMIT 21') * /usr/local/lib/python3.10/site-packages/django/db/backends/utils.py, line 92, in _execute_with_wrappers 85. sql, param_list, many=True, executor=self._executemany 86. ) 87. 88. def _execute_with_wrappers(self, sql, params, many, executor): 89. context = {"connection": self.db, "cursor": self} 90. for wrapper in reversed(self.db.execute_wrappers): 91. executor = functools.partial(wrapper, executor) 92. return executor(sql, params, many, context) … 93. 94. def _execute(self, sql, params, *ignored_wrapper_args): 95. # Raise a warning during app initialization (stored_app_configs is only 96. # ever set during testing). 97. if not apps.ready and not apps.stored_app_configs: 98. warnings.warn(self.APPS_NOT_READY_WARNING_MSG, category=RuntimeWarning) Local vars Variable Value context {'connection': <DatabaseWrapper vendor='sqlite' alias='default'>, 'cursor': <django.db.backends.utils.CursorDebugWrapper object at 0x7facac6146a0>} executor <bound method CursorWrapper._execute of <django.db.backends.utils.CursorDebugWrapper object at 0x7facac6146a0>> many False params () self <django.db.backends.utils.CursorDebugWrapper object at 0x7facac6146a0> sql ('SELECT "blog_tag"."id", "blog_tag"."name", "blog_tag"."slug", ' '"blog_tag"."user_id", "blog_tag"."created_at", "blog_tag"."updated_at" FROM ' '"blog_tag" WHERE "blog_tag"."slug" IS NULL LIMIT 21') * /usr/local/lib/python3.10/site-packages/django/db/backends/utils.py, line 100, in _execute 93. 94. def _execute(self, sql, params, *ignored_wrapper_args): 95. # Raise a warning during app initialization (stored_app_configs is only 96. # ever set during testing). 97. if not apps.ready and not apps.stored_app_configs: 98. warnings.warn(self.APPS_NOT_READY_WARNING_MSG, category=RuntimeWarning) 99. self.db.validate_no_broken_transaction() 100. with self.db.wrap_database_errors: … 101. if params is None: 102. # params default might be backend specific. 103. return self.cursor.execute(sql) 104. else: 105. return self.cursor.execute(sql, params) 106. Local vars Variable Value ignored_wrapper_args (False, {'connection': <DatabaseWrapper vendor='sqlite' alias='default'>, 'cursor': <django.db.backends.utils.CursorDebugWrapper object at 0x7facac6146a0>}) params () self <django.db.backends.utils.CursorDebugWrapper object at 0x7facac6146a0> sql ('SELECT "blog_tag"."id", "blog_tag"."name", "blog_tag"."slug", ' '"blog_tag"."user_id", "blog_tag"."created_at", "blog_tag"."updated_at" FROM ' '"blog_tag" WHERE "blog_tag"."slug" IS NULL LIMIT 21') * /usr/local/lib/python3.10/site-packages/django/db/utils.py, line 91, in __exit__ 84. db_exc_type = getattr(self.wrapper.Database, dj_exc_type.__name__) 85. if issubclass(exc_type, db_exc_type): 86. dj_exc_value = dj_exc_type(*exc_value.args) 87. # Only set the 'errors_occurred' flag for errors that may make 88. # the connection unusable. 89. if dj_exc_type not in (DataError, IntegrityError): 90. self.wrapper.errors_occurred = True 91. raise dj_exc_value.with_traceback(traceback) from exc_value … 92. 93. def __call__(self, func): 94. # Note that we are intentionally not using @wraps here for performance 95. # reasons. Refs #21109. 96. def inner(*args, **kwargs): 97. with self: Local vars Variable Value db_exc_type <class 'sqlite3.OperationalError'> dj_exc_type <class 'django.db.utils.OperationalError'> dj_exc_value OperationalError('no such table: blog_tag') exc_type <class 'sqlite3.OperationalError'> exc_value OperationalError('no such table: blog_tag') self <django.db.utils.DatabaseErrorWrapper object at 0x7facac5f1d20> traceback <traceback object at 0x7facac49b880> * /usr/local/lib/python3.10/site-packages/django/db/backends/utils.py, line 105, in _execute 98. warnings.warn(self.APPS_NOT_READY_WARNING_MSG, category=RuntimeWarning) 99. self.db.validate_no_broken_transaction() 100. with self.db.wrap_database_errors: 101. if params is None: 102. # params default might be backend specific. 103. return self.cursor.execute(sql) 104. else: 105. return self.cursor.execute(sql, params) … 106. 107. def _executemany(self, sql, param_list, *ignored_wrapper_args): 108. # Raise a warning during app initialization (stored_app_configs is only 109. # ever set during testing). 110. if not apps.ready and not apps.stored_app_configs: 111. warnings.warn(self.APPS_NOT_READY_WARNING_MSG, category=RuntimeWarning) Local vars Variable Value ignored_wrapper_args (False, {'connection': <DatabaseWrapper vendor='sqlite' alias='default'>, 'cursor': <django.db.backends.utils.CursorDebugWrapper object at 0x7facac6146a0>}) params () self <django.db.backends.utils.CursorDebugWrapper object at 0x7facac6146a0> sql ('SELECT "blog_tag"."id", "blog_tag"."name", "blog_tag"."slug", ' '"blog_tag"."user_id", "blog_tag"."created_at", "blog_tag"."updated_at" FROM ' '"blog_tag" WHERE "blog_tag"."slug" IS NULL LIMIT 21') * /usr/local/lib/python3.10/site-packages/django/db/backends/sqlite3/base.py, line 329, in execute 322. 323. def execute(self, query, params=None): 324. if params is None: 325. return super().execute(query) 326. # Extract names if params is a mapping, i.e. "pyformat" style is used. 327. param_names = list(params) if isinstance(params, Mapping) else None 328. query = self.convert_query(query, param_names=param_names) 329. return super().execute(query, params) … 330. 331. def executemany(self, query, param_list): 332. # Extract names if params is a mapping, i.e. "pyformat" style is used. 333. # Peek carefully as a generator can be passed instead of a list/tuple. 334. peekable, param_list = tee(iter(param_list)) 335. if (params := next(peekable, None)) and isinstance(params, Mapping): Local vars Variable Value __class__ <class 'django.db.backends.sqlite3.base.SQLiteCursorWrapper'> param_names None params () query ('SELECT "blog_tag"."id", "blog_tag"."name", "blog_tag"."slug", ' '"blog_tag"."user_id", "blog_tag"."created_at", "blog_tag"."updated_at" FROM ' '"blog_tag" WHERE "blog_tag"."slug" IS NULL LIMIT 21') self <django.db.backends.sqlite3.base.SQLiteCursorWrapper object at 0x7facac5d0700> Environment: Request Method: GET Request URL: http://mail07.clienteacessdown.world/ Django Version: 5.0.6 Python Version: 3.10.14 Installed Applications: ['django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'blog.apps.BlogConfig', 'account.apps.AccountConfig', 'tinymce'] Installed Middleware: ['django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware'] Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/django/db/backends/utils.py", line 105, in _execute return self.cursor.execute(sql, params) File "/usr/local/lib/python3.10/site-packages/django/db/backends/sqlite3/base.py", line 329, in execute return super().execute(query, params) The above exception (no such table: blog_tag) was the direct cause of the following exception: File "/usr/local/lib/python3.10/site-packages/django/core/handlers/exception.py", line 55, in inner response = get_response(request) File "/usr/local/lib/python3.10/site-packages/django/core/handlers/base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "/usr/local/lib/python3.10/site-packages/django/views/generic/base.py", line 104, in view return self.dispatch(request, *args, **kwargs) File "/usr/local/lib/python3.10/site-packages/django/views/generic/base.py", line 143, in dispatch return handler(request, *args, **kwargs) File "/usr/local/lib/python3.10/site-packages/django/views/generic/list.py", line 154, in get self.object_list = self.get_queryset() File "/code/blog/views.py", line 16, in get_queryset tag = Tag.objects.get(slug=tag_slug) File "/usr/local/lib/python3.10/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) File "/usr/local/lib/python3.10/site-packages/django/db/models/query.py", line 645, in get num = len(clone) File "/usr/local/lib/python3.10/site-packages/django/db/models/query.py", line 382, in __len__ self._fetch_all() File "/usr/local/lib/python3.10/site-packages/django/db/models/query.py", line 1928, in _fetch_all self._result_cache = list(self._iterable_class(self)) File "/usr/local/lib/python3.10/site-packages/django/db/models/query.py", line 91, in __iter__ results = compiler.execute_sql( File "/usr/local/lib/python3.10/site-packages/django/db/models/sql/compiler.py", line 1562, in execute_sql cursor.execute(sql, params) File "/usr/local/lib/python3.10/site-packages/django/db/backends/utils.py", line 122, in execute return super().execute(sql, params) File "/usr/local/lib/python3.10/site-packages/django/db/backends/utils.py", line 79, in execute return self._execute_with_wrappers( File "/usr/local/lib/python3.10/site-packages/django/db/backends/utils.py", line 92, in _execute_with_wrappers return executor(sql, params, many, context) File "/usr/local/lib/python3.10/site-packages/django/db/backends/utils.py", line 100, in _execute with self.db.wrap_database_errors: File "/usr/local/lib/python3.10/site-packages/django/db/utils.py", line 91, in __exit__ raise dj_exc_value.with_traceback(traceback) from exc_value File "/usr/local/lib/python3.10/site-packages/django/db/backends/utils.py", line 105, in _execute return self.cursor.execute(sql, params) File "/usr/local/lib/python3.10/site-packages/django/db/backends/sqlite3/base.py", line 329, in execute return super().execute(query, params) Exception Type: OperationalError at / Exception Value: no such table: blog_tag REQUEST INFORMATION USER AnonymousUser GET No GET data POST No POST data FILES No FILES data COOKIES No cookie data META Variable Value HTTP_ACCEPT 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7' HTTP_ACCEPT_ENCODING 'gzip, deflate' HTTP_ACCEPT_LANGUAGE 'nl-NL,nl;q=0.9' HTTP_CONNECTION 'close' HTTP_HOST 'mail07.clienteacessdown.world' HTTP_UPGRADE_INSECURE_REQUESTS '1' HTTP_USER_AGENT ('Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) ' 'Chrome/127.0.0.0 Safari/537.36') HTTP_X_FORWARDED_FOR '95.211.95.249' HTTP_X_FORWARDED_PROTO 'http' HTTP_X_REAL_IP '95.211.95.249' PATH_INFO '/' QUERY_STRING '' RAW_URI '/' REMOTE_ADDR '172.19.0.4' REMOTE_PORT '52870' REQUEST_METHOD 'GET' SCRIPT_NAME '' SERVER_NAME '0.0.0.0' SERVER_PORT '8005' SERVER_PROTOCOL 'HTTP/1.0' SERVER_SOFTWARE 'gunicorn/23.0.0' gunicorn.socket <socket.socket fd=9, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('172.19.0.3', 8005), raddr=('172.19.0.4', 52870)> wsgi.errors <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7facac614b80> wsgi.file_wrapper <class 'gunicorn.http.wsgi.FileWrapper'> wsgi.input <gunicorn.http.body.Body object at 0x7facac6142b0> wsgi.input_terminated True wsgi.multiprocess False wsgi.multithread False wsgi.run_once False wsgi.url_scheme 'http' wsgi.version (1, 0) SETTINGS USING SETTINGS MODULE CORE.SETTINGS Setting Value ABSOLUTE_URL_OVERRIDES {} ADMINS [] ALLOWED_HOSTS ['*'] APPEND_SLASH True AUTHENTICATION_BACKENDS ['django.contrib.auth.backends.ModelBackend'] AUTH_PASSWORD_VALIDATORS '********************' AUTH_USER_MODEL 'account.User' BASE_DIR PosixPath('/code') CACHES {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} CACHE_MIDDLEWARE_ALIAS 'default' CACHE_MIDDLEWARE_KEY_PREFIX '********************' CACHE_MIDDLEWARE_SECONDS 600 CSRF_COOKIE_AGE 31449600 CSRF_COOKIE_DOMAIN None CSRF_COOKIE_HTTPONLY False CSRF_COOKIE_NAME 'csrftoken' CSRF_COOKIE_PATH '/' CSRF_COOKIE_SAMESITE 'Lax' CSRF_COOKIE_SECURE False CSRF_FAILURE_VIEW 'django.views.csrf.csrf_failure' CSRF_HEADER_NAME 'HTTP_X_CSRFTOKEN' CSRF_TRUSTED_ORIGINS [] CSRF_USE_SESSIONS False DATABASES {'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_HEALTH_CHECKS': False, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.sqlite3', 'HOST': '', 'NAME': PosixPath('/code/db.sqlite3'), 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIGRATE': True, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': ''}} DATABASE_ROUTERS [] DATA_UPLOAD_MAX_MEMORY_SIZE 2621440 DATA_UPLOAD_MAX_NUMBER_FIELDS 1000 DATA_UPLOAD_MAX_NUMBER_FILES 100 DATETIME_FORMAT 'N j, Y, P' DATETIME_INPUT_FORMATS ['%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M:%S.%f', '%Y-%m-%d %H:%M', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M:%S.%f', '%m/%d/%Y %H:%M', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M:%S.%f', '%m/%d/%y %H:%M'] DATE_FORMAT 'N j, Y' DATE_INPUT_FORMATS ['%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', '%b %d %Y', '%b %d, %Y', '%d %b %Y', '%d %b, %Y', '%B %d %Y', '%B %d, %Y', '%d %B %Y', '%d %B, %Y'] DEBUG True DEBUG_PROPAGATE_EXCEPTIONS False DECIMAL_SEPARATOR '.' DEFAULT_AUTO_FIELD 'django.db.models.BigAutoField' DEFAULT_CHARSET 'utf-8' DEFAULT_EXCEPTION_REPORTER 'django.views.debug.ExceptionReporter' DEFAULT_EXCEPTION_REPORTER_FILTER 'django.views.debug.SafeExceptionReporterFilter' DEFAULT_FILE_STORAGE 'django.core.files.storage.FileSystemStorage' DEFAULT_FROM_EMAIL 'webmaster@localhost' DEFAULT_INDEX_TABLESPACE '' DEFAULT_TABLESPACE '' DISALLOWED_USER_AGENTS [] EMAIL_BACKEND 'django.core.mail.backends.smtp.EmailBackend' EMAIL_HOST 'localhost' EMAIL_HOST_PASSWORD '********************' EMAIL_HOST_USER '' EMAIL_PORT 25 EMAIL_SSL_CERTFILE None EMAIL_SSL_KEYFILE '********************' EMAIL_SUBJECT_PREFIX '[Django] ' EMAIL_TIMEOUT None EMAIL_USE_LOCALTIME False EMAIL_USE_SSL False EMAIL_USE_TLS False FILE_UPLOAD_DIRECTORY_PERMISSIONS None FILE_UPLOAD_HANDLERS ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler'] FILE_UPLOAD_MAX_MEMORY_SIZE 2621440 FILE_UPLOAD_PERMISSIONS 420 FILE_UPLOAD_TEMP_DIR None FIRST_DAY_OF_WEEK 0 FIXTURE_DIRS [] FORCE_SCRIPT_NAME None FORMAT_MODULE_PATH None FORMS_URLFIELD_ASSUME_HTTPS False FORM_RENDERER 'django.forms.renderers.DjangoTemplates' IGNORABLE_404_URLS [] INSTALLED_APPS ['django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'blog.apps.BlogConfig', 'account.apps.AccountConfig', 'tinymce'] INTERNAL_IPS [] LANGUAGES [('af', 'Afrikaans'), ('ar', 'Arabic'), ('ar-dz', 'Algerian Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('ckb', 'Central Kurdish (Sorani)'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('dsb', 'Lower Sorbian'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-co', 'Colombian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gd', 'Scottish Gaelic'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hsb', 'Upper Sorbian'), ('hu', 'Hungarian'), ('hy', 'Armenian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('ig', 'Igbo'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kab', 'Kabyle'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('ky', 'Kyrgyz'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('ms', 'Malay'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmål'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('tg', 'Tajik'), ('th', 'Thai'), ('tk', 'Turkmen'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('ug', 'Uyghur'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('uz', 'Uzbek'), ('vi', 'Vietnamese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese')] LANGUAGES_BIDI ['he', 'ar', 'ar-dz', 'ckb', 'fa', 'ug', 'ur'] LANGUAGE_CODE 'uz' LANGUAGE_COOKIE_AGE None LANGUAGE_COOKIE_DOMAIN None LANGUAGE_COOKIE_HTTPONLY False LANGUAGE_COOKIE_NAME 'django_language' LANGUAGE_COOKIE_PATH '/' LANGUAGE_COOKIE_SAMESITE None LANGUAGE_COOKIE_SECURE False LOCALE_PATHS [] LOGGING {} LOGGING_CONFIG 'logging.config.dictConfig' LOGIN_REDIRECT_URL '/accounts/profile/' LOGIN_URL '/accounts/login/' LOGOUT_REDIRECT_URL None MANAGERS [] MEDIA_ROOT PosixPath('/code/media') MEDIA_URL '/media/' MESSAGE_STORAGE 'django.contrib.messages.storage.fallback.FallbackStorage' MIDDLEWARE ['django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware'] MIGRATION_MODULES {} MONTH_DAY_FORMAT 'F j' NUMBER_GROUPING 0 PASSWORD_HASHERS '********************' PASSWORD_RESET_TIMEOUT '********************' PREPEND_WWW False PRODUCTION False ROOT_URLCONF 'core.urls' SECRET_KEY '********************' SECRET_KEY_FALLBACKS '********************' SECURE_CONTENT_TYPE_NOSNIFF True SECURE_CROSS_ORIGIN_OPENER_POLICY 'same-origin' SECURE_HSTS_INCLUDE_SUBDOMAINS False SECURE_HSTS_PRELOAD False SECURE_HSTS_SECONDS 0 SECURE_PROXY_SSL_HEADER None SECURE_REDIRECT_EXEMPT [] SECURE_REFERRER_POLICY 'origin' SECURE_SSL_HOST None SECURE_SSL_REDIRECT False SERVER_EMAIL 'root@localhost' SESSION_CACHE_ALIAS 'default' SESSION_COOKIE_AGE 1209600 SESSION_COOKIE_DOMAIN None SESSION_COOKIE_HTTPONLY True SESSION_COOKIE_NAME 'sessionid' SESSION_COOKIE_PATH '/' SESSION_COOKIE_SAMESITE 'Lax' SESSION_COOKIE_SECURE False SESSION_ENGINE 'django.contrib.sessions.backends.db' SESSION_EXPIRE_AT_BROWSER_CLOSE False SESSION_FILE_PATH None SESSION_SAVE_EVERY_REQUEST False SESSION_SERIALIZER 'django.contrib.sessions.serializers.JSONSerializer' SETTINGS_MODULE 'core.settings' SHORT_DATETIME_FORMAT 'm/d/Y P' SHORT_DATE_FORMAT 'm/d/Y' SIGNING_BACKEND 'django.core.signing.TimestampSigner' SILENCED_SYSTEM_CHECKS [] STATICFILES_DIRS [PosixPath('/code/static')] STATICFILES_FINDERS ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder'] STATICFILES_STORAGE 'django.contrib.staticfiles.storage.StaticFilesStorage' STATIC_ROOT PosixPath('/code/staticfiles') STATIC_URL '/static/' STORAGES {'default': {'BACKEND': 'django.core.files.storage.FileSystemStorage'}, 'staticfiles': {'BACKEND': 'django.contrib.staticfiles.storage.StaticFilesStorage'}} TEMPLATES [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': [PosixPath('/code/templates')], 'OPTIONS': {'context_processors': ['django.template.context_processors.debug', 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages']}}] TEST_NON_SERIALIZED_APPS [] TEST_RUNNER 'django.test.runner.DiscoverRunner' THOUSAND_SEPARATOR ',' TIME_FORMAT 'P' TIME_INPUT_FORMATS ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M'] TIME_ZONE 'Asia/Tashkent' TINYMCE_COMPRESSOR False TINYMCE_DEFAULT_CONFIG {'automatic_uploads': True, 'codesample_languages': [{'text': 'HTML/XML', 'value': 'markup'}, {'text': 'JavaScript', 'value': 'javascript'}, {'text': 'CSS', 'value': 'css'}, {'text': 'PHP', 'value': 'php'}, {'text': 'Ruby', 'value': 'ruby'}, {'text': 'Python', 'value': 'python'}, {'text': 'Java', 'value': 'java'}, {'text': 'C', 'value': 'c'}, {'text': 'C#', 'value': 'csharp'}, {'text': 'C++', 'value': 'cpp'}, {'text': 'SQL', 'value': 'sql'}, {'text': 'JSON', 'value': 'json'}, {'text': 'Go', 'value': 'go'}, {'text': 'Perl', 'value': 'perl'}], 'image_title': True, 'images_upload_url': '/upload/', 'menubar': 'file edit view insert format tools table help', 'paste_data_images': True, 'plugins': 'autolink lists link image charmap preview anchor searchreplace ' 'visualblocks code fullscreen insertdatetime media image table ' 'help wordcount codesample', 'resize': 'false', 'selector': 'textarea', 'theme': 'silver', 'toolbar': 'undo redo | bold italic underline strikethrough | fontselect ' 'fontsizeselect formatselect | alignleft aligncenter alignright ' 'alignjustify | outdent indent | numlist bullist checklist | ' 'forecolor backcolor casechange permanentpen formatpainter ' 'removeformat | pagebreak | charmap emoticons | fullscreen ' 'preview save | insertfile image media pageembed template link ' 'anchor codesample | code'} TINYMCE_JS_URL 'https://cdn.tiny.cloud/1/jd4asbfejh91mz7xsfqq0f7exjtacg9pksf6tgafeanpirgx/tinymce/7/tinymce.min.js' USE_I18N True USE_THOUSAND_SEPARATOR False USE_TZ True USE_X_FORWARDED_HOST False USE_X_FORWARDED_PORT False WSGI_APPLICATION 'core.wsgi.application' X_FRAME_OPTIONS 'DENY' YEAR_MONTH_FORMAT 'F Y' You’re seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard page generated by the handler for this status code.