ftp38c3.uber.space Open in urlscan Pro
185.26.156.186  Public Scan

URL: https://ftp38c3.uber.space/
Submission: On November 24 via api from US — Scanned from DE

Form analysis 1 forms found in the DOM

Name: pasteformPOST 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://ftp38c3.uber.space/

Django Version: 5.1.2
Python Version: 3.10.15
Installed Applications:
['django.contrib.admin',
 'django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.messages',
 'whitenoise.runserver_nostatic',
 'django.contrib.staticfiles',
 'django.contrib.sites',
 'crowdprinter',
 'allauth',
 'allauth.account',
 'allauth.socialaccount',
 'django_prometheus']
Installed Middleware:
['django_prometheus.middleware.PrometheusBeforeMiddleware',
 'django.middleware.security.SecurityMiddleware',
 'whitenoise.middleware.WhiteNoiseMiddleware',
 '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',
 'allauth.account.middleware.AccountMiddleware',
 'django_prometheus.middleware.PrometheusAfterMiddleware']


Template error:
In template /home/ftp38c3/crowdprinter/src/crowdprinter/templates/crowdprinter/printjob_list.html, error at line 14
   no such column: crowdprinter_printjob.priority
   4 : &lt;div class="grid-x grid-margin-x"&gt;
   5 :     &lt;h1 class="cell"&gt;Info&lt;/h1&gt;
   6 :     &lt;p class="cell"&gt;
   7 :         asdasdsad
   8 :     &lt;/p&gt;
   9 : &lt;/div&gt;
   10 : &lt;div class="myprogressbar"&gt;
   11 :     &lt;div class="myprogress" style="width:{{ progress_percent }}%"&gt;&lt;/div&gt;
   12 : &lt;/div&gt;
   13 : &lt;div class="printjobs grid-x grid-padding-y grid-padding-x"&gt;
   14 :  {% for job in jobs %} 
   15 :     &lt;a class="cell small-6 large-3 text-center" href="{% url 'printjob_detail' slug=job.slug %}"&gt;
   16 :         &lt;img src="{% url 'printjob_render' slug=job.slug %}"&gt;
   17 :     &lt;/a&gt;
   18 : {% endfor %}
   19 : &lt;/div&gt;
   20 : {% endblock %}
   21 : 

Traceback (most recent call last):
  File "/home/ftp38c3/.local/lib/python3.10/site-packages/django/db/backends/utils.py", line 105, in _execute
    return self.cursor.execute(sql, params)
  File "/home/ftp38c3/.local/lib/python3.10/site-packages/django_prometheus/db/common.py", line 69, in execute
    return super().execute(*args, **kwargs)
  File "/home/ftp38c3/.local/lib/python3.10/site-packages/django/db/backends/sqlite3/base.py", line 354, in execute
    return super().execute(query, params)

The above exception (no such column: crowdprinter_printjob.priority) was the direct cause of the following exception:
  File "/home/ftp38c3/.local/lib/python3.10/site-packages/django/core/handlers/exception.py", line 55, in inner
    response = get_response(request)
  File "/home/ftp38c3/.local/lib/python3.10/site-packages/django/core/handlers/base.py", line 220, in _get_response
    response = response.render()
  File "/home/ftp38c3/.local/lib/python3.10/site-packages/django/template/response.py", line 114, in render
    self.content = self.rendered_content
  File "/home/ftp38c3/.local/lib/python3.10/site-packages/django/template/response.py", line 92, in rendered_content
    return template.render(context, self._request)
  File "/home/ftp38c3/.local/lib/python3.10/site-packages/django/template/backends/django.py", line 107, in render
    return self.template.render(context)
  File "/home/ftp38c3/.local/lib/python3.10/site-packages/django/template/base.py", line 171, in render
    return self._render(context)
  File "/home/ftp38c3/.local/lib/python3.10/site-packages/django/template/base.py", line 163, in _render
    return self.nodelist.render(context)
  File "/home/ftp38c3/.local/lib/python3.10/site-packages/django/template/base.py", line 1008, in render
    return SafeString("".join([node.render_annotated(context) for node in self]))
  File "/home/ftp38c3/.local/lib/python3.10/site-packages/django/template/base.py", line 1008, in &lt;listcomp&gt;
    return SafeString("".join([node.render_annotated(context) for node in self]))
  File "/home/ftp38c3/.local/lib/python3.10/site-packages/django/template/base.py", line 969, in render_annotated
    return self.render(context)
  File "/home/ftp38c3/.local/lib/python3.10/site-packages/django/template/loader_tags.py", line 159, in render
    return compiled_parent._render(context)
  File "/home/ftp38c3/.local/lib/python3.10/site-packages/django/template/base.py", line 163, in _render
    return self.nodelist.render(context)
  File "/home/ftp38c3/.local/lib/python3.10/site-packages/django/template/base.py", line 1008, in render
    return SafeString("".join([node.render_annotated(context) for node in self]))
  File "/home/ftp38c3/.local/lib/python3.10/site-packages/django/template/base.py", line 1008, in &lt;listcomp&gt;
    return SafeString("".join([node.render_annotated(context) for node in self]))
  File "/home/ftp38c3/.local/lib/python3.10/site-packages/django/template/base.py", line 969, in render_annotated
    return self.render(context)
  File "/home/ftp38c3/.local/lib/python3.10/site-packages/django/template/loader_tags.py", line 65, in render
    result = block.nodelist.render(context)
  File "/home/ftp38c3/.local/lib/python3.10/site-packages/django/template/base.py", line 1008, in render
    return SafeString("".join([node.render_annotated(context) for node in self]))
  File "/home/ftp38c3/.local/lib/python3.10/site-packages/django/template/base.py", line 1008, in &lt;listcomp&gt;
    return SafeString("".join([node.render_annotated(context) for node in self]))
  File "/home/ftp38c3/.local/lib/python3.10/site-packages/django/template/base.py", line 969, in render_annotated
    return self.render(context)
  File "/home/ftp38c3/.local/lib/python3.10/site-packages/django/template/defaulttags.py", line 199, in render
    len_values = len(values)
  File "/home/ftp38c3/.local/lib/python3.10/site-packages/django/db/models/query.py", line 382, in __len__
    self._fetch_all()
  File "/home/ftp38c3/.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 "/home/ftp38c3/.local/lib/python3.10/site-packages/django/db/models/query.py", line 91, in __iter__
    results = compiler.execute_sql(
  File "/home/ftp38c3/.local/lib/python3.10/site-packages/django/db/models/sql/compiler.py", line 1574, in execute_sql
    cursor.execute(sql, params)
  File "/home/ftp38c3/.local/lib/python3.10/site-packages/django/db/backends/utils.py", line 122, in execute
    return super().execute(sql, params)
  File "/home/ftp38c3/.local/lib/python3.10/site-packages/django/db/backends/utils.py", line 79, in execute
    return self._execute_with_wrappers(
  File "/home/ftp38c3/.local/lib/python3.10/site-packages/django/db/backends/utils.py", line 92, in _execute_with_wrappers
    return executor(sql, params, many, context)
  File "/home/ftp38c3/.local/lib/python3.10/site-packages/django/db/backends/utils.py", line 100, in _execute
    with self.db.wrap_database_errors:
  File "/home/ftp38c3/.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 "/home/ftp38c3/.local/lib/python3.10/site-packages/django/db/backends/utils.py", line 105, in _execute
    return self.cursor.execute(sql, params)
  File "/home/ftp38c3/.local/lib/python3.10/site-packages/django_prometheus/db/common.py", line 69, in execute
    return super().execute(*args, **kwargs)
  File "/home/ftp38c3/.local/lib/python3.10/site-packages/django/db/backends/sqlite3/base.py", line 354, in execute
    return super().execute(query, params)

Exception Type: OperationalError at /
Exception Value: no such column: crowdprinter_printjob.priority
</textarea>
    <br><br>
    <input type="submit" value="Share this traceback on a public website">
  </div>
</form>

Text Content

OPERATIONALERROR AT /

no such column: crowdprinter_printjob.priority

Request Method: GET Request URL: http://ftp38c3.uber.space/ Django Version:
5.1.2 Exception Type: OperationalError Exception Value:

no such column: crowdprinter_printjob.priority

Exception Location:
/home/ftp38c3/.local/lib/python3.10/site-packages/django/db/backends/sqlite3/base.py,
line 354, in execute Raised during: crowdprinter.views.PrintJobListView Python
Executable: /bin/python3.10 Python Version: 3.10.15 Python Path:

['/home/ftp38c3/crowdprinter/src',
 '/',
 '/home/ftp38c3/.local/bin',
 '/usr/lib64/python310.zip',
 '/usr/lib64/python3.10',
 '/usr/lib64/python3.10/lib-dynload',
 '/home/ftp38c3/.local/lib/python3.10/site-packages',
 '/usr/lib64/python3.10/site-packages',
 '/usr/lib/python3.10/site-packages']

Server time: Sun, 24 Nov 2024 20:41:26 +0000


ERROR DURING TEMPLATE RENDERING

In template
/home/ftp38c3/crowdprinter/src/crowdprinter/templates/crowdprinter/printjob_list.html,
error at line 14


NO SUCH COLUMN: CROWDPRINTER_PRINTJOB.PRIORITY

4 <div class="grid-x grid-margin-x"> 5 <h1 class="cell">Info</h1> 6 <p
class="cell"> 7 asdasdsad 8 </p> 9 </div> 10 <div class="myprogressbar"> 11 <div
class="myprogress" style="width:{{ progress_percent }}%"></div> 12 </div> 13
<div class="printjobs grid-x grid-padding-y grid-padding-x"> 14 {% for job in
jobs %} 15 <a class="cell small-6 large-3 text-center" href="{% url
'printjob_detail' slug=job.slug %}"> 16 <img src="{% url 'printjob_render'
slug=job.slug %}"> 17 </a> 18 {% endfor %} 19 </div> 20 {% endblock %} 21


TRACEBACK SWITCH TO COPY-AND-PASTE VIEW

 * /home/ftp38c3/.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 0x7f6ab4f48370>})
   
   params
   
   ()
   
   self
   
   <django.db.backends.utils.CursorDebugWrapper object at 0x7f6ab4f48370>
   
   sql
   
   ('SELECT "crowdprinter_printjob"."slug", "crowdprinter_printjob"."file_stl", '
    '"crowdprinter_printjob"."file_render", "crowdprinter_printjob"."priority", '
    '"crowdprinter_printjob"."count_needed", '
    'COUNT("crowdprinter_printattempt"."id") FILTER (WHERE '
    '"crowdprinter_printattempt"."finished") AS "finished_count", '
    'COUNT("crowdprinter_printattempt"."id") FILTER (WHERE '
    '("crowdprinter_printattempt"."finished")) >= '
    '("crowdprinter_printjob"."count_needed") AS "finished", '
    'COUNT("crowdprinter_printattempt"."id") FILTER (WHERE '
    '("crowdprinter_printattempt"."ended" IS NULL OR '
    '"crowdprinter_printattempt"."finished")) AS "running_or_finished_count", '
    'COUNT("crowdprinter_printattempt"."id") FILTER (WHERE '
    '("crowdprinter_printattempt"."ended" IS NULL OR '
    '"crowdprinter_printattempt"."finished")) < '
    '("crowdprinter_printjob"."count_needed") AS "can_attempt" FROM '
    '"crowdprinter_printjob" LEFT OUTER JOIN "crowdprinter_printattempt" ON '
    '("crowdprinter_printjob"."slug" = "crowdprinter_printattempt"."job_id") '
    'GROUP BY "crowdprinter_printjob"."slug", "crowdprinter_printjob"."file_stl", '
    '"crowdprinter_printjob"."file_render", "crowdprinter_printjob"."priority", '
    '"crowdprinter_printjob"."count_needed" HAVING '
    '(COUNT("crowdprinter_printattempt"."id") FILTER (WHERE '
    '("crowdprinter_printattempt"."ended" IS NULL OR '
    '"crowdprinter_printattempt"."finished")) < '
    '("crowdprinter_printjob"."count_needed")) ORDER BY '
    '"crowdprinter_printjob"."priority" ASC, RAND() ASC LIMIT 8')

 * /home/ftp38c3/.local/lib/python3.10/site-packages/django_prometheus/db/common.py,
   line 69, in execute
   
    62.         """Extends the base CursorWrapper to count events."""
   
    63. 
   
    64.         def execute(self, *args, **kwargs):
   
    65.             execute_total.labels(alias, vendor).inc()
   
    66.             with query_duration_seconds.labels(**labels).time(), ExceptionCounterByType(
   
    67.                 errors_total, extra_labels=labels
   
    68.             ):
   
    69.                 return super().execute(*args, **kwargs)
        
        …
   
    70. 
   
    71.         def executemany(self, query, param_list, *args, **kwargs):
   
    72.             execute_total.labels(alias, vendor).inc(len(param_list))
   
    73.             execute_many_total.labels(alias, vendor).inc(len(param_list))
   
    74.             with query_duration_seconds.labels(**labels).time(), ExceptionCounterByType(
   
    75.                 errors_total, extra_labels=labels
   
   Local vars
   
   Variable Value __class__
   
   <class 'django_prometheus.db.common.ExportingCursorWrapper.<locals>.CursorWrapper'>
   
   alias
   
   'default'
   
   args
   
   ('SELECT "crowdprinter_printjob"."slug", "crowdprinter_printjob"."file_stl", '
    '"crowdprinter_printjob"."file_render", "crowdprinter_printjob"."priority", '
    '"crowdprinter_printjob"."count_needed", '
    'COUNT("crowdprinter_printattempt"."id") FILTER (WHERE '
    '"crowdprinter_printattempt"."finished") AS "finished_count", '
    'COUNT("crowdprinter_printattempt"."id") FILTER (WHERE '
    '("crowdprinter_printattempt"."finished")) >= '
    '("crowdprinter_printjob"."count_needed") AS "finished", '
    'COUNT("crowdprinter_printattempt"."id") FILTER (WHERE '
    '("crowdprinter_printattempt"."ended" IS NULL OR '
    '"crowdprinter_printattempt"."finished")) AS "running_or_finished_count", '
    'COUNT("crowdprinter_printattempt"."id") FILTER (WHERE '
    '("crowdprinter_printattempt"."ended" IS NULL OR '
    '"crowdprinter_printattempt"."finished")) < '
    '("crowdprinter_printjob"."count_needed") AS "can_attempt" FROM '
    '"crowdprinter_printjob" LEFT OUTER JOIN "crowdprinter_printattempt" ON '
    '("crowdprinter_printjob"."slug" = "crowdprinter_printattempt"."job_id") '
    'GROUP BY "crowdprinter_printjob"."slug", "crowdprinter_printjob"."file_stl", '
    '"crowdprinter_printjob"."file_render", "crowdprinter_printjob"."priority", '
    '"crowdprinter_printjob"."count_needed" HAVING '
    '(COUNT("crowdprinter_printattempt"."id") FILTER (WHERE '
    '("crowdprinter_printattempt"."ended" IS NULL OR '
    '"crowdprinter_printattempt"."finished")) < '
    '("crowdprinter_printjob"."count_needed")) ORDER BY '
    '"crowdprinter_printjob"."priority" ASC, RAND() ASC LIMIT 8',
    ())
   
   kwargs
   
   {}
   
   labels
   
   {'alias': 'default', 'vendor': 'sqlite'}
   
   self
   
   <django_prometheus.db.common.ExportingCursorWrapper.<locals>.CursorWrapper object at 0x7f6ab52a9fc0>
   
   vendor
   
   'sqlite'

 * /home/ftp38c3/.local/lib/python3.10/site-packages/django/db/backends/sqlite3/base.py,
   line 354, in execute
   
    347. 
   
    348.     def execute(self, query, params=None):
   
    349.         if params is None:
   
    350.             return super().execute(query)
   
    351.         # Extract names if params is a mapping, i.e. "pyformat" style is used.
   
    352.         param_names = list(params) if isinstance(params, Mapping) else None
   
    353.         query = self.convert_query(query, param_names=param_names)
   
    354.         return super().execute(query, params)
         
         …
   
    355. 
   
    356.     def executemany(self, query, param_list):
   
    357.         # Extract names if params is a mapping, i.e. "pyformat" style is used.
   
    358.         # Peek carefully as a generator can be passed instead of a list/tuple.
   
    359.         peekable, param_list = tee(iter(param_list))
   
    360.         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 "crowdprinter_printjob"."slug", "crowdprinter_printjob"."file_stl", '
    '"crowdprinter_printjob"."file_render", "crowdprinter_printjob"."priority", '
    '"crowdprinter_printjob"."count_needed", '
    'COUNT("crowdprinter_printattempt"."id") FILTER (WHERE '
    '"crowdprinter_printattempt"."finished") AS "finished_count", '
    'COUNT("crowdprinter_printattempt"."id") FILTER (WHERE '
    '("crowdprinter_printattempt"."finished")) >= '
    '("crowdprinter_printjob"."count_needed") AS "finished", '
    'COUNT("crowdprinter_printattempt"."id") FILTER (WHERE '
    '("crowdprinter_printattempt"."ended" IS NULL OR '
    '"crowdprinter_printattempt"."finished")) AS "running_or_finished_count", '
    'COUNT("crowdprinter_printattempt"."id") FILTER (WHERE '
    '("crowdprinter_printattempt"."ended" IS NULL OR '
    '"crowdprinter_printattempt"."finished")) < '
    '("crowdprinter_printjob"."count_needed") AS "can_attempt" FROM '
    '"crowdprinter_printjob" LEFT OUTER JOIN "crowdprinter_printattempt" ON '
    '("crowdprinter_printjob"."slug" = "crowdprinter_printattempt"."job_id") '
    'GROUP BY "crowdprinter_printjob"."slug", "crowdprinter_printjob"."file_stl", '
    '"crowdprinter_printjob"."file_render", "crowdprinter_printjob"."priority", '
    '"crowdprinter_printjob"."count_needed" HAVING '
    '(COUNT("crowdprinter_printattempt"."id") FILTER (WHERE '
    '("crowdprinter_printattempt"."ended" IS NULL OR '
    '"crowdprinter_printattempt"."finished")) < '
    '("crowdprinter_printjob"."count_needed")) ORDER BY '
    '"crowdprinter_printjob"."priority" ASC, RAND() ASC LIMIT 8')
   
   self
   
   <django_prometheus.db.common.ExportingCursorWrapper.<locals>.CursorWrapper object at 0x7f6ab52a9fc0>


 * THE ABOVE EXCEPTION (NO SUCH COLUMN: CROWDPRINTER_PRINTJOB.PRIORITY) WAS THE
   DIRECT CAUSE OF THE FOLLOWING EXCEPTION:

 * /home/ftp38c3/.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 column: crowdprinter_printjob.priority')
   
   get_response
   
   <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7f6ab5a118d0>>
   
   request
   
   <WSGIRequest: GET '/'>

 * /home/ftp38c3/.local/lib/python3.10/site-packages/django/core/handlers/base.py,
   line 220, in _get_response
   
    213.                 self.check_response(
   
    214.                     response,
   
    215.                     middleware_method,
   
    216.                     name="%s.process_template_response"
   
    217.                     % (middleware_method.__self__.__class__.__name__,),
   
    218.                 )
   
    219.             try:
   
    220.                 response = response.render()
         
         …
   
    221.             except Exception as e:
   
    222.                 response = self.process_exception_by_middleware(e, request)
   
    223.                 if response is None:
   
    224.                     raise
   
    225. 
   
    226.         return response
   
   Local vars
   
   Variable Value callback
   
   <function View.as_view.<locals>.view at 0x7f6ab5358ca0>
   
   callback_args
   
   ()
   
   callback_kwargs
   
   {}
   
   middleware_method
   
   <bound method PrometheusAfterMiddleware.process_template_response of <PrometheusAfterMiddleware get_response=BaseHandler._get_response>>
   
   request
   
   <WSGIRequest: GET '/'>
   
   response
   
   None
   
   self
   
   <django.core.handlers.wsgi.WSGIHandler object at 0x7f6ab5a118d0>
   
   wrapped_callback
   
   <function View.as_view.<locals>.view at 0x7f6ab5358ca0>

 * /home/ftp38c3/.local/lib/python3.10/site-packages/django/template/response.py,
   line 114, in render
   
    107. 
   
    108.         If the content has already been rendered, this is a no-op.
   
    109. 
   
    110.         Return the baked response instance.
   
    111.         """
   
    112.         retval = self
   
    113.         if not self._is_rendered:
   
    114.             self.content = self.rendered_content
         
         …
   
    115.             for post_callback in self._post_render_callbacks:
   
    116.                 newretval = post_callback(retval)
   
    117.                 if newretval is not None:
   
    118.                     retval = newretval
   
    119.         return retval
   
    120. 
   
   Local vars
   
   Variable Value retval
   
   <TemplateResponse status_code=200, "text/html; charset=utf-8">
   
   self
   
   <TemplateResponse status_code=200, "text/html; charset=utf-8">

 * /home/ftp38c3/.local/lib/python3.10/site-packages/django/template/response.py,
   line 92, in rendered_content
   
    85. 
   
    86.         This *does not* set the final content of the response. To set the
   
    87.         response content, you must either call render(), or set the
   
    88.         content explicitly using the value of this property.
   
    89.         """
   
    90.         template = self.resolve_template(self.template_name)
   
    91.         context = self.resolve_context(self.context_data)
   
    92.         return template.render(context, self._request)
        
        …
   
    93. 
   
    94.     def add_post_render_callback(self, callback):
   
    95.         """Add a new post-rendering callback.
   
    96. 
   
    97.         If the response has already been rendered,
   
    98.         invoke the callback immediately.
   
   Local vars
   
   Variable Value context
   
   Error in formatting: OperationalError: no such column: crowdprinter_printjob.priority
   
   self
   
   <TemplateResponse status_code=200, "text/html; charset=utf-8">
   
   template
   
   <django.template.backends.django.Template object at 0x7f6ab4f4b490>

 * /home/ftp38c3/.local/lib/python3.10/site-packages/django/template/backends/django.py,
   line 107, in render
   
    100.         return self.template.origin
   
    101. 
   
    102.     def render(self, context=None, request=None):
   
    103.         context = make_context(
   
    104.             context, request, autoescape=self.backend.engine.autoescape
   
    105.         )
   
    106.         try:
   
    107.             return self.template.render(context)
         
         …
   
    108.         except TemplateDoesNotExist as exc:
   
    109.             reraise(exc, self.backend)
   
    110. 
   
    111. 
   
    112. def copy_exception(exc, backend=None):
   
    113.     """
   
   Local vars
   
   Variable Value context
   
   Error in formatting: OperationalError: no such column: crowdprinter_printjob.priority
   
   request
   
   <WSGIRequest: GET '/'>
   
   self
   
   <django.template.backends.django.Template object at 0x7f6ab4f4b490>

 * /home/ftp38c3/.local/lib/python3.10/site-packages/django/template/base.py,
   line 171, in render
   
    164. 
   
    165.     def render(self, context):
   
    166.         "Display stage -- can be called many times"
   
    167.         with context.render_context.push_state(self):
   
    168.             if context.template is None:
   
    169.                 with context.bind_template(self):
   
    170.                     context.template_name = self.name
   
    171.                     return self._render(context)
         
         …
   
    172.             else:
   
    173.                 return self._render(context)
   
    174. 
   
    175.     def compile_nodelist(self):
   
    176.         """
   
    177.         Parse and compile the template source into a nodelist. If debug
   
   Local vars
   
   Variable Value context
   
   Error in formatting: OperationalError: no such column: crowdprinter_printjob.priority
   
   self
   
   <Template template_string="{% extends 'base.htm...">

 * /home/ftp38c3/.local/lib/python3.10/site-packages/django/template/base.py,
   line 163, in _render
   
    156.     def __repr__(self):
   
    157.         return '<%s template_string="%s...">' % (
   
    158.             self.__class__.__qualname__,
   
    159.             self.source[:20].replace("\n", ""),
   
    160.         )
   
    161. 
   
    162.     def _render(self, context):
   
    163.         return self.nodelist.render(context)
         
         …
   
    164. 
   
    165.     def render(self, context):
   
    166.         "Display stage -- can be called many times"
   
    167.         with context.render_context.push_state(self):
   
    168.             if context.template is None:
   
    169.                 with context.bind_template(self):
   
   Local vars
   
   Variable Value context
   
   Error in formatting: OperationalError: no such column: crowdprinter_printjob.priority
   
   self
   
   <Template template_string="{% extends 'base.htm...">

 * /home/ftp38c3/.local/lib/python3.10/site-packages/django/template/base.py,
   line 1008, in render
   
    1001. 
   
    1002. class NodeList(list):
   
    1003.     # Set to True the first time a non-TextNode is inserted by
   
    1004.     # extend_nodelist().
   
    1005.     contains_nontext = False
   
    1006. 
   
    1007.     def render(self, context):
   
    1008.         return SafeString("".join([node.render_annotated(context) for node in self]))
          
          …
   
    1009. 
   
    1010.     def get_nodes_by_type(self, nodetype):
   
    1011.         "Return a list of all nodes of the given type"
   
    1012.         nodes = []
   
    1013.         for node in self:
   
    1014.             nodes.extend(node.get_nodes_by_type(nodetype))
   
   Local vars
   
   Variable Value context
   
   Error in formatting: OperationalError: no such column: crowdprinter_printjob.priority
   
   self
   
   [<ExtendsNode: extends 'base.html'>]

 * /home/ftp38c3/.local/lib/python3.10/site-packages/django/template/base.py,
   line 1008, in <listcomp>
   
    1001. 
   
    1002. class NodeList(list):
   
    1003.     # Set to True the first time a non-TextNode is inserted by
   
    1004.     # extend_nodelist().
   
    1005.     contains_nontext = False
   
    1006. 
   
    1007.     def render(self, context):
   
    1008.         return SafeString("".join([node.render_annotated(context) for node in self]))
          
          …
   
    1009. 
   
    1010.     def get_nodes_by_type(self, nodetype):
   
    1011.         "Return a list of all nodes of the given type"
   
    1012.         nodes = []
   
    1013.         for node in self:
   
    1014.             nodes.extend(node.get_nodes_by_type(nodetype))
   
   Local vars
   
   Variable Value .0
   
   <list_iterator object at 0x7f6ab4f4b2e0>
   
   context
   
   Error in formatting: OperationalError: no such column: crowdprinter_printjob.priority
   
   node
   
   <ExtendsNode: extends 'base.html'>

 * /home/ftp38c3/.local/lib/python3.10/site-packages/django/template/base.py,
   line 969, in render_annotated
   
    962.         """
   
    963.         Render the node. If debug is True and an exception occurs during
   
    964.         rendering, the exception is annotated with contextual line information
   
    965.         where it occurred in the template. For internal usage this method is
   
    966.         preferred over using the render method directly.
   
    967.         """
   
    968.         try:
   
    969.             return self.render(context)
         
         …
   
    970.         except Exception as e:
   
    971.             if context.template.engine.debug:
   
    972.                 # Store the actual node that caused the exception.
   
    973.                 if not hasattr(e, "_culprit_node"):
   
    974.                     e._culprit_node = self
   
    975.                 if (
   
   Local vars
   
   Variable Value context
   
   Error in formatting: OperationalError: no such column: crowdprinter_printjob.priority
   
   self
   
   <ExtendsNode: extends 'base.html'>

 * /home/ftp38c3/.local/lib/python3.10/site-packages/django/template/loader_tags.py,
   line 159, in render
   
    152.                     }
   
    153.                     block_context.add_blocks(blocks)
   
    154.                 break
   
    155. 
   
    156.         # Call Template._render explicitly so the parser context stays
   
    157.         # the same.
   
    158.         with context.render_context.push_state(compiled_parent, isolated_context=False):
   
    159.             return compiled_parent._render(context)
         
         …
   
    160. 
   
    161. 
   
    162. class IncludeNode(Node):
   
    163.     context_key = "__include_context"
   
    164. 
   
    165.     def __init__(
   
   Local vars
   
   Variable Value block_context
   
   <BlockContext: blocks=defaultdict(<class 'list'>, {'content': [<Block Node: content. Contents: []>]})>
   
   blocks
   
   {'content': <Block Node: content. Contents: []>}
   
   compiled_parent
   
   <Template template_string="{% include "crowdpri...">
   
   context
   
   Error in formatting: OperationalError: no such column: crowdprinter_printjob.priority
   
   node
   
   <IncludeNode: template=<FilterExpression '"crowdprinter/head.html"'>>
   
   self
   
   <ExtendsNode: extends 'base.html'>

 * /home/ftp38c3/.local/lib/python3.10/site-packages/django/template/base.py,
   line 163, in _render
   
    156.     def __repr__(self):
   
    157.         return '<%s template_string="%s...">' % (
   
    158.             self.__class__.__qualname__,
   
    159.             self.source[:20].replace("\n", ""),
   
    160.         )
   
    161. 
   
    162.     def _render(self, context):
   
    163.         return self.nodelist.render(context)
         
         …
   
    164. 
   
    165.     def render(self, context):
   
    166.         "Display stage -- can be called many times"
   
    167.         with context.render_context.push_state(self):
   
    168.             if context.template is None:
   
    169.                 with context.bind_template(self):
   
   Local vars
   
   Variable Value context
   
   Error in formatting: OperationalError: no such column: crowdprinter_printjob.priority
   
   self
   
   <Template template_string="{% include "crowdpri...">

 * /home/ftp38c3/.local/lib/python3.10/site-packages/django/template/base.py,
   line 1008, in render
   
    1001. 
   
    1002. class NodeList(list):
   
    1003.     # Set to True the first time a non-TextNode is inserted by
   
    1004.     # extend_nodelist().
   
    1005.     contains_nontext = False
   
    1006. 
   
    1007.     def render(self, context):
   
    1008.         return SafeString("".join([node.render_annotated(context) for node in self]))
          
          …
   
    1009. 
   
    1010.     def get_nodes_by_type(self, nodetype):
   
    1011.         "Return a list of all nodes of the given type"
   
    1012.         nodes = []
   
    1013.         for node in self:
   
    1014.             nodes.extend(node.get_nodes_by_type(nodetype))
   
   Local vars
   
   Variable Value context
   
   Error in formatting: OperationalError: no such column: crowdprinter_printjob.priority
   
   self
   
   [<IncludeNode: template=<FilterExpression '"crowdprinter/head.html"'>>,
    <TextNode: '\n<div class="content">\n  '>,
    <IfNode>,
    <TextNode: '\n    '>,
    <Block Node: content. Contents: []>,
    <TextNode: '\n</div>\n'>]

 * /home/ftp38c3/.local/lib/python3.10/site-packages/django/template/base.py,
   line 1008, in <listcomp>
   
    1001. 
   
    1002. class NodeList(list):
   
    1003.     # Set to True the first time a non-TextNode is inserted by
   
    1004.     # extend_nodelist().
   
    1005.     contains_nontext = False
   
    1006. 
   
    1007.     def render(self, context):
   
    1008.         return SafeString("".join([node.render_annotated(context) for node in self]))
          
          …
   
    1009. 
   
    1010.     def get_nodes_by_type(self, nodetype):
   
    1011.         "Return a list of all nodes of the given type"
   
    1012.         nodes = []
   
    1013.         for node in self:
   
    1014.             nodes.extend(node.get_nodes_by_type(nodetype))
   
   Local vars
   
   Variable Value .0
   
   <list_iterator object at 0x7f6ab4f4be50>
   
   context
   
   Error in formatting: OperationalError: no such column: crowdprinter_printjob.priority
   
   node
   
   <Block Node: content. Contents: []>

 * /home/ftp38c3/.local/lib/python3.10/site-packages/django/template/base.py,
   line 969, in render_annotated
   
    962.         """
   
    963.         Render the node. If debug is True and an exception occurs during
   
    964.         rendering, the exception is annotated with contextual line information
   
    965.         where it occurred in the template. For internal usage this method is
   
    966.         preferred over using the render method directly.
   
    967.         """
   
    968.         try:
   
    969.             return self.render(context)
         
         …
   
    970.         except Exception as e:
   
    971.             if context.template.engine.debug:
   
    972.                 # Store the actual node that caused the exception.
   
    973.                 if not hasattr(e, "_culprit_node"):
   
    974.                     e._culprit_node = self
   
    975.                 if (
   
   Local vars
   
   Variable Value context
   
   Error in formatting: OperationalError: no such column: crowdprinter_printjob.priority
   
   self
   
   <Block Node: content. Contents: []>

 * /home/ftp38c3/.local/lib/python3.10/site-packages/django/template/loader_tags.py,
   line 65, in render
   
    58.                 push = block = block_context.pop(self.name)
   
    59.                 if block is None:
   
    60.                     block = self
   
    61.                 # Create new block so we can store context without thread-safety issues.
   
    62.                 block = type(self)(block.name, block.nodelist)
   
    63.                 block.context = context
   
    64.                 context["block"] = block
   
    65.                 result = block.nodelist.render(context)
        
        …
   
    66.                 if push is not None:
   
    67.                     block_context.push(self.name, push)
   
    68.         return result
   
    69. 
   
    70.     def super(self):
   
    71.         if not hasattr(self, "context"):
   
   Local vars
   
   Variable Value block
   
   <Block Node: content. Contents: [<TextNode: '\n<div class="grid-x grid-'>, <Variable Node: progress_percent>, <TextNode: '%"></div>\n</div>\n<div cla'>, <ForNode: for job in jobs, tail_len: 5>, <TextNode: '\n</div>\n'>]>
   
   block_context
   
   <BlockContext: blocks=defaultdict(<class 'list'>, {'content': [<Block Node: content. Contents: []>]})>
   
   context
   
   Error in formatting: OperationalError: no such column: crowdprinter_printjob.priority
   
   push
   
   <Block Node: content. Contents: [<TextNode: '\n<div class="grid-x grid-'>, <Variable Node: progress_percent>, <TextNode: '%"></div>\n</div>\n<div cla'>, <ForNode: for job in jobs, tail_len: 5>, <TextNode: '\n</div>\n'>]>
   
   self
   
   <Block Node: content. Contents: []>

 * /home/ftp38c3/.local/lib/python3.10/site-packages/django/template/base.py,
   line 1008, in render
   
    1001. 
   
    1002. class NodeList(list):
   
    1003.     # Set to True the first time a non-TextNode is inserted by
   
    1004.     # extend_nodelist().
   
    1005.     contains_nontext = False
   
    1006. 
   
    1007.     def render(self, context):
   
    1008.         return SafeString("".join([node.render_annotated(context) for node in self]))
          
          …
   
    1009. 
   
    1010.     def get_nodes_by_type(self, nodetype):
   
    1011.         "Return a list of all nodes of the given type"
   
    1012.         nodes = []
   
    1013.         for node in self:
   
    1014.             nodes.extend(node.get_nodes_by_type(nodetype))
   
   Local vars
   
   Variable Value context
   
   Error in formatting: OperationalError: no such column: crowdprinter_printjob.priority
   
   self
   
   [<TextNode: '\n<div class="grid-x grid-'>,
    <Variable Node: progress_percent>,
    <TextNode: '%"></div>\n</div>\n<div cla'>,
    <ForNode: for job in jobs, tail_len: 5>,
    <TextNode: '\n</div>\n'>]

 * /home/ftp38c3/.local/lib/python3.10/site-packages/django/template/base.py,
   line 1008, in <listcomp>
   
    1001. 
   
    1002. class NodeList(list):
   
    1003.     # Set to True the first time a non-TextNode is inserted by
   
    1004.     # extend_nodelist().
   
    1005.     contains_nontext = False
   
    1006. 
   
    1007.     def render(self, context):
   
    1008.         return SafeString("".join([node.render_annotated(context) for node in self]))
          
          …
   
    1009. 
   
    1010.     def get_nodes_by_type(self, nodetype):
   
    1011.         "Return a list of all nodes of the given type"
   
    1012.         nodes = []
   
    1013.         for node in self:
   
    1014.             nodes.extend(node.get_nodes_by_type(nodetype))
   
   Local vars
   
   Variable Value .0
   
   <list_iterator object at 0x7f6ab4f4aef0>
   
   context
   
   Error in formatting: OperationalError: no such column: crowdprinter_printjob.priority
   
   node
   
   <ForNode: for job in jobs, tail_len: 5>

 * /home/ftp38c3/.local/lib/python3.10/site-packages/django/template/base.py,
   line 969, in render_annotated
   
    962.         """
   
    963.         Render the node. If debug is True and an exception occurs during
   
    964.         rendering, the exception is annotated with contextual line information
   
    965.         where it occurred in the template. For internal usage this method is
   
    966.         preferred over using the render method directly.
   
    967.         """
   
    968.         try:
   
    969.             return self.render(context)
         
         …
   
    970.         except Exception as e:
   
    971.             if context.template.engine.debug:
   
    972.                 # Store the actual node that caused the exception.
   
    973.                 if not hasattr(e, "_culprit_node"):
   
    974.                     e._culprit_node = self
   
    975.                 if (
   
   Local vars
   
   Variable Value context
   
   Error in formatting: OperationalError: no such column: crowdprinter_printjob.priority
   
   self
   
   <ForNode: for job in jobs, tail_len: 5>

 * /home/ftp38c3/.local/lib/python3.10/site-packages/django/template/defaulttags.py,
   line 199, in render
   
    192.             parentloop = {}
   
    193.         with context.push():
   
    194.             values = self.sequence.resolve(context, ignore_failures=True)
   
    195.             if values is None:
   
    196.                 values = []
   
    197.             if not hasattr(values, "__len__"):
   
    198.                 values = list(values)
   
    199.             len_values = len(values)
         
         …
   
    200.             if len_values < 1:
   
    201.                 return self.nodelist_empty.render(context)
   
    202.             nodelist = []
   
    203.             if self.is_reversed:
   
    204.                 values = reversed(values)
   
    205.             num_loopvars = len(self.loopvars)
   
   Local vars
   
   Variable Value context
   
   Error in formatting: OperationalError: no such column: crowdprinter_printjob.priority
   
   parentloop
   
   {}
   
   self
   
   <ForNode: for job in jobs, tail_len: 5>
   
   values
   
   Error in formatting: OperationalError: no such column: crowdprinter_printjob.priority

 * /home/ftp38c3/.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 column: crowdprinter_printjob.priority

 * /home/ftp38c3/.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 column: crowdprinter_printjob.priority

 * /home/ftp38c3/.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=PrintJob connection=<DatabaseWrapper vendor='sqlite' alias='default'> using='default'>
   
   db
   
   'default'
   
   queryset
   
   Error in formatting: OperationalError: no such column: crowdprinter_printjob.priority
   
   self
   
   <django.db.models.query.ModelIterable object at 0x7f6ab4f482b0>

 * /home/ftp38c3/.local/lib/python3.10/site-packages/django/db/models/sql/compiler.py,
   line 1574, in execute_sql
   
    1567.             else:
   
    1568.                 return
   
    1569.         if chunked_fetch:
   
    1570.             cursor = self.connection.chunked_cursor()
   
    1571.         else:
   
    1572.             cursor = self.connection.cursor()
   
    1573.         try:
   
    1574.             cursor.execute(sql, params)
          
          …
   
    1575.         except Exception:
   
    1576.             # Might fail for server-side cursors (e.g. connection closed)
   
    1577.             cursor.close()
   
    1578.             raise
   
    1579. 
   
    1580.         if result_type == CURSOR:
   
   Local vars
   
   Variable Value chunk_size
   
   100
   
   chunked_fetch
   
   False
   
   cursor
   
   <django.db.backends.utils.CursorDebugWrapper object at 0x7f6ab4f48370>
   
   params
   
   ()
   
   result_type
   
   'multi'
   
   self
   
   <SQLCompiler model=PrintJob connection=<DatabaseWrapper vendor='sqlite' alias='default'> using='default'>
   
   sql
   
   ('SELECT "crowdprinter_printjob"."slug", "crowdprinter_printjob"."file_stl", '
    '"crowdprinter_printjob"."file_render", "crowdprinter_printjob"."priority", '
    '"crowdprinter_printjob"."count_needed", '
    'COUNT("crowdprinter_printattempt"."id") FILTER (WHERE '
    '"crowdprinter_printattempt"."finished") AS "finished_count", '
    'COUNT("crowdprinter_printattempt"."id") FILTER (WHERE '
    '("crowdprinter_printattempt"."finished")) >= '
    '("crowdprinter_printjob"."count_needed") AS "finished", '
    'COUNT("crowdprinter_printattempt"."id") FILTER (WHERE '
    '("crowdprinter_printattempt"."ended" IS NULL OR '
    '"crowdprinter_printattempt"."finished")) AS "running_or_finished_count", '
    'COUNT("crowdprinter_printattempt"."id") FILTER (WHERE '
    '("crowdprinter_printattempt"."ended" IS NULL OR '
    '"crowdprinter_printattempt"."finished")) < '
    '("crowdprinter_printjob"."count_needed") AS "can_attempt" FROM '
    '"crowdprinter_printjob" LEFT OUTER JOIN "crowdprinter_printattempt" ON '
    '("crowdprinter_printjob"."slug" = "crowdprinter_printattempt"."job_id") '
    'GROUP BY "crowdprinter_printjob"."slug", "crowdprinter_printjob"."file_stl", '
    '"crowdprinter_printjob"."file_render", "crowdprinter_printjob"."priority", '
    '"crowdprinter_printjob"."count_needed" HAVING '
    '(COUNT("crowdprinter_printattempt"."id") FILTER (WHERE '
    '("crowdprinter_printattempt"."ended" IS NULL OR '
    '"crowdprinter_printattempt"."finished")) < '
    '("crowdprinter_printjob"."count_needed")) ORDER BY '
    '"crowdprinter_printjob"."priority" ASC, RAND() ASC LIMIT 8')

 * /home/ftp38c3/.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 0x7f6ab4f48370>
   
   sql
   
   ('SELECT "crowdprinter_printjob"."slug", "crowdprinter_printjob"."file_stl", '
    '"crowdprinter_printjob"."file_render", "crowdprinter_printjob"."priority", '
    '"crowdprinter_printjob"."count_needed", '
    'COUNT("crowdprinter_printattempt"."id") FILTER (WHERE '
    '"crowdprinter_printattempt"."finished") AS "finished_count", '
    'COUNT("crowdprinter_printattempt"."id") FILTER (WHERE '
    '("crowdprinter_printattempt"."finished")) >= '
    '("crowdprinter_printjob"."count_needed") AS "finished", '
    'COUNT("crowdprinter_printattempt"."id") FILTER (WHERE '
    '("crowdprinter_printattempt"."ended" IS NULL OR '
    '"crowdprinter_printattempt"."finished")) AS "running_or_finished_count", '
    'COUNT("crowdprinter_printattempt"."id") FILTER (WHERE '
    '("crowdprinter_printattempt"."ended" IS NULL OR '
    '"crowdprinter_printattempt"."finished")) < '
    '("crowdprinter_printjob"."count_needed") AS "can_attempt" FROM '
    '"crowdprinter_printjob" LEFT OUTER JOIN "crowdprinter_printattempt" ON '
    '("crowdprinter_printjob"."slug" = "crowdprinter_printattempt"."job_id") '
    'GROUP BY "crowdprinter_printjob"."slug", "crowdprinter_printjob"."file_stl", '
    '"crowdprinter_printjob"."file_render", "crowdprinter_printjob"."priority", '
    '"crowdprinter_printjob"."count_needed" HAVING '
    '(COUNT("crowdprinter_printattempt"."id") FILTER (WHERE '
    '("crowdprinter_printattempt"."ended" IS NULL OR '
    '"crowdprinter_printattempt"."finished")) < '
    '("crowdprinter_printjob"."count_needed")) ORDER BY '
    '"crowdprinter_printjob"."priority" ASC, RAND() ASC LIMIT 8')

 * /home/ftp38c3/.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 0x7f6ab4f48370>
   
   sql
   
   ('SELECT "crowdprinter_printjob"."slug", "crowdprinter_printjob"."file_stl", '
    '"crowdprinter_printjob"."file_render", "crowdprinter_printjob"."priority", '
    '"crowdprinter_printjob"."count_needed", '
    'COUNT("crowdprinter_printattempt"."id") FILTER (WHERE '
    '"crowdprinter_printattempt"."finished") AS "finished_count", '
    'COUNT("crowdprinter_printattempt"."id") FILTER (WHERE '
    '("crowdprinter_printattempt"."finished")) >= '
    '("crowdprinter_printjob"."count_needed") AS "finished", '
    'COUNT("crowdprinter_printattempt"."id") FILTER (WHERE '
    '("crowdprinter_printattempt"."ended" IS NULL OR '
    '"crowdprinter_printattempt"."finished")) AS "running_or_finished_count", '
    'COUNT("crowdprinter_printattempt"."id") FILTER (WHERE '
    '("crowdprinter_printattempt"."ended" IS NULL OR '
    '"crowdprinter_printattempt"."finished")) < '
    '("crowdprinter_printjob"."count_needed") AS "can_attempt" FROM '
    '"crowdprinter_printjob" LEFT OUTER JOIN "crowdprinter_printattempt" ON '
    '("crowdprinter_printjob"."slug" = "crowdprinter_printattempt"."job_id") '
    'GROUP BY "crowdprinter_printjob"."slug", "crowdprinter_printjob"."file_stl", '
    '"crowdprinter_printjob"."file_render", "crowdprinter_printjob"."priority", '
    '"crowdprinter_printjob"."count_needed" HAVING '
    '(COUNT("crowdprinter_printattempt"."id") FILTER (WHERE '
    '("crowdprinter_printattempt"."ended" IS NULL OR '
    '"crowdprinter_printattempt"."finished")) < '
    '("crowdprinter_printjob"."count_needed")) ORDER BY '
    '"crowdprinter_printjob"."priority" ASC, RAND() ASC LIMIT 8')

 * /home/ftp38c3/.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 0x7f6ab4f48370>}
   
   executor
   
   <bound method CursorWrapper._execute of <django.db.backends.utils.CursorDebugWrapper object at 0x7f6ab4f48370>>
   
   many
   
   False
   
   params
   
   ()
   
   self
   
   <django.db.backends.utils.CursorDebugWrapper object at 0x7f6ab4f48370>
   
   sql
   
   ('SELECT "crowdprinter_printjob"."slug", "crowdprinter_printjob"."file_stl", '
    '"crowdprinter_printjob"."file_render", "crowdprinter_printjob"."priority", '
    '"crowdprinter_printjob"."count_needed", '
    'COUNT("crowdprinter_printattempt"."id") FILTER (WHERE '
    '"crowdprinter_printattempt"."finished") AS "finished_count", '
    'COUNT("crowdprinter_printattempt"."id") FILTER (WHERE '
    '("crowdprinter_printattempt"."finished")) >= '
    '("crowdprinter_printjob"."count_needed") AS "finished", '
    'COUNT("crowdprinter_printattempt"."id") FILTER (WHERE '
    '("crowdprinter_printattempt"."ended" IS NULL OR '
    '"crowdprinter_printattempt"."finished")) AS "running_or_finished_count", '
    'COUNT("crowdprinter_printattempt"."id") FILTER (WHERE '
    '("crowdprinter_printattempt"."ended" IS NULL OR '
    '"crowdprinter_printattempt"."finished")) < '
    '("crowdprinter_printjob"."count_needed") AS "can_attempt" FROM '
    '"crowdprinter_printjob" LEFT OUTER JOIN "crowdprinter_printattempt" ON '
    '("crowdprinter_printjob"."slug" = "crowdprinter_printattempt"."job_id") '
    'GROUP BY "crowdprinter_printjob"."slug", "crowdprinter_printjob"."file_stl", '
    '"crowdprinter_printjob"."file_render", "crowdprinter_printjob"."priority", '
    '"crowdprinter_printjob"."count_needed" HAVING '
    '(COUNT("crowdprinter_printattempt"."id") FILTER (WHERE '
    '("crowdprinter_printattempt"."ended" IS NULL OR '
    '"crowdprinter_printattempt"."finished")) < '
    '("crowdprinter_printjob"."count_needed")) ORDER BY '
    '"crowdprinter_printjob"."priority" ASC, RAND() ASC LIMIT 8')

 * /home/ftp38c3/.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 0x7f6ab4f48370>})
   
   params
   
   ()
   
   self
   
   <django.db.backends.utils.CursorDebugWrapper object at 0x7f6ab4f48370>
   
   sql
   
   ('SELECT "crowdprinter_printjob"."slug", "crowdprinter_printjob"."file_stl", '
    '"crowdprinter_printjob"."file_render", "crowdprinter_printjob"."priority", '
    '"crowdprinter_printjob"."count_needed", '
    'COUNT("crowdprinter_printattempt"."id") FILTER (WHERE '
    '"crowdprinter_printattempt"."finished") AS "finished_count", '
    'COUNT("crowdprinter_printattempt"."id") FILTER (WHERE '
    '("crowdprinter_printattempt"."finished")) >= '
    '("crowdprinter_printjob"."count_needed") AS "finished", '
    'COUNT("crowdprinter_printattempt"."id") FILTER (WHERE '
    '("crowdprinter_printattempt"."ended" IS NULL OR '
    '"crowdprinter_printattempt"."finished")) AS "running_or_finished_count", '
    'COUNT("crowdprinter_printattempt"."id") FILTER (WHERE '
    '("crowdprinter_printattempt"."ended" IS NULL OR '
    '"crowdprinter_printattempt"."finished")) < '
    '("crowdprinter_printjob"."count_needed") AS "can_attempt" FROM '
    '"crowdprinter_printjob" LEFT OUTER JOIN "crowdprinter_printattempt" ON '
    '("crowdprinter_printjob"."slug" = "crowdprinter_printattempt"."job_id") '
    'GROUP BY "crowdprinter_printjob"."slug", "crowdprinter_printjob"."file_stl", '
    '"crowdprinter_printjob"."file_render", "crowdprinter_printjob"."priority", '
    '"crowdprinter_printjob"."count_needed" HAVING '
    '(COUNT("crowdprinter_printattempt"."id") FILTER (WHERE '
    '("crowdprinter_printattempt"."ended" IS NULL OR '
    '"crowdprinter_printattempt"."finished")) < '
    '("crowdprinter_printjob"."count_needed")) ORDER BY '
    '"crowdprinter_printjob"."priority" ASC, RAND() ASC LIMIT 8')

 * /home/ftp38c3/.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 column: crowdprinter_printjob.priority')
   
   exc_type
   
   <class 'sqlite3.OperationalError'>
   
   exc_value
   
   OperationalError('no such column: crowdprinter_printjob.priority')
   
   self
   
   <django.db.utils.DatabaseErrorWrapper object at 0x7f6ab5407760>
   
   traceback
   
   <traceback object at 0x7f6ab51597c0>

 * /home/ftp38c3/.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 0x7f6ab4f48370>})
   
   params
   
   ()
   
   self
   
   <django.db.backends.utils.CursorDebugWrapper object at 0x7f6ab4f48370>
   
   sql
   
   ('SELECT "crowdprinter_printjob"."slug", "crowdprinter_printjob"."file_stl", '
    '"crowdprinter_printjob"."file_render", "crowdprinter_printjob"."priority", '
    '"crowdprinter_printjob"."count_needed", '
    'COUNT("crowdprinter_printattempt"."id") FILTER (WHERE '
    '"crowdprinter_printattempt"."finished") AS "finished_count", '
    'COUNT("crowdprinter_printattempt"."id") FILTER (WHERE '
    '("crowdprinter_printattempt"."finished")) >= '
    '("crowdprinter_printjob"."count_needed") AS "finished", '
    'COUNT("crowdprinter_printattempt"."id") FILTER (WHERE '
    '("crowdprinter_printattempt"."ended" IS NULL OR '
    '"crowdprinter_printattempt"."finished")) AS "running_or_finished_count", '
    'COUNT("crowdprinter_printattempt"."id") FILTER (WHERE '
    '("crowdprinter_printattempt"."ended" IS NULL OR '
    '"crowdprinter_printattempt"."finished")) < '
    '("crowdprinter_printjob"."count_needed") AS "can_attempt" FROM '
    '"crowdprinter_printjob" LEFT OUTER JOIN "crowdprinter_printattempt" ON '
    '("crowdprinter_printjob"."slug" = "crowdprinter_printattempt"."job_id") '
    'GROUP BY "crowdprinter_printjob"."slug", "crowdprinter_printjob"."file_stl", '
    '"crowdprinter_printjob"."file_render", "crowdprinter_printjob"."priority", '
    '"crowdprinter_printjob"."count_needed" HAVING '
    '(COUNT("crowdprinter_printattempt"."id") FILTER (WHERE '
    '("crowdprinter_printattempt"."ended" IS NULL OR '
    '"crowdprinter_printattempt"."finished")) < '
    '("crowdprinter_printjob"."count_needed")) ORDER BY '
    '"crowdprinter_printjob"."priority" ASC, RAND() ASC LIMIT 8')

 * /home/ftp38c3/.local/lib/python3.10/site-packages/django_prometheus/db/common.py,
   line 69, in execute
   
    62.         """Extends the base CursorWrapper to count events."""
   
    63. 
   
    64.         def execute(self, *args, **kwargs):
   
    65.             execute_total.labels(alias, vendor).inc()
   
    66.             with query_duration_seconds.labels(**labels).time(), ExceptionCounterByType(
   
    67.                 errors_total, extra_labels=labels
   
    68.             ):
   
    69.                 return super().execute(*args, **kwargs)
        
        …
   
    70. 
   
    71.         def executemany(self, query, param_list, *args, **kwargs):
   
    72.             execute_total.labels(alias, vendor).inc(len(param_list))
   
    73.             execute_many_total.labels(alias, vendor).inc(len(param_list))
   
    74.             with query_duration_seconds.labels(**labels).time(), ExceptionCounterByType(
   
    75.                 errors_total, extra_labels=labels
   
   Local vars
   
   Variable Value __class__
   
   <class 'django_prometheus.db.common.ExportingCursorWrapper.<locals>.CursorWrapper'>
   
   alias
   
   'default'
   
   args
   
   ('SELECT "crowdprinter_printjob"."slug", "crowdprinter_printjob"."file_stl", '
    '"crowdprinter_printjob"."file_render", "crowdprinter_printjob"."priority", '
    '"crowdprinter_printjob"."count_needed", '
    'COUNT("crowdprinter_printattempt"."id") FILTER (WHERE '
    '"crowdprinter_printattempt"."finished") AS "finished_count", '
    'COUNT("crowdprinter_printattempt"."id") FILTER (WHERE '
    '("crowdprinter_printattempt"."finished")) >= '
    '("crowdprinter_printjob"."count_needed") AS "finished", '
    'COUNT("crowdprinter_printattempt"."id") FILTER (WHERE '
    '("crowdprinter_printattempt"."ended" IS NULL OR '
    '"crowdprinter_printattempt"."finished")) AS "running_or_finished_count", '
    'COUNT("crowdprinter_printattempt"."id") FILTER (WHERE '
    '("crowdprinter_printattempt"."ended" IS NULL OR '
    '"crowdprinter_printattempt"."finished")) < '
    '("crowdprinter_printjob"."count_needed") AS "can_attempt" FROM '
    '"crowdprinter_printjob" LEFT OUTER JOIN "crowdprinter_printattempt" ON '
    '("crowdprinter_printjob"."slug" = "crowdprinter_printattempt"."job_id") '
    'GROUP BY "crowdprinter_printjob"."slug", "crowdprinter_printjob"."file_stl", '
    '"crowdprinter_printjob"."file_render", "crowdprinter_printjob"."priority", '
    '"crowdprinter_printjob"."count_needed" HAVING '
    '(COUNT("crowdprinter_printattempt"."id") FILTER (WHERE '
    '("crowdprinter_printattempt"."ended" IS NULL OR '
    '"crowdprinter_printattempt"."finished")) < '
    '("crowdprinter_printjob"."count_needed")) ORDER BY '
    '"crowdprinter_printjob"."priority" ASC, RAND() ASC LIMIT 8',
    ())
   
   kwargs
   
   {}
   
   labels
   
   {'alias': 'default', 'vendor': 'sqlite'}
   
   self
   
   <django_prometheus.db.common.ExportingCursorWrapper.<locals>.CursorWrapper object at 0x7f6ab52a9fc0>
   
   vendor
   
   'sqlite'

 * /home/ftp38c3/.local/lib/python3.10/site-packages/django/db/backends/sqlite3/base.py,
   line 354, in execute
   
    347. 
   
    348.     def execute(self, query, params=None):
   
    349.         if params is None:
   
    350.             return super().execute(query)
   
    351.         # Extract names if params is a mapping, i.e. "pyformat" style is used.
   
    352.         param_names = list(params) if isinstance(params, Mapping) else None
   
    353.         query = self.convert_query(query, param_names=param_names)
   
    354.         return super().execute(query, params)
         
         …
   
    355. 
   
    356.     def executemany(self, query, param_list):
   
    357.         # Extract names if params is a mapping, i.e. "pyformat" style is used.
   
    358.         # Peek carefully as a generator can be passed instead of a list/tuple.
   
    359.         peekable, param_list = tee(iter(param_list))
   
    360.         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 "crowdprinter_printjob"."slug", "crowdprinter_printjob"."file_stl", '
    '"crowdprinter_printjob"."file_render", "crowdprinter_printjob"."priority", '
    '"crowdprinter_printjob"."count_needed", '
    'COUNT("crowdprinter_printattempt"."id") FILTER (WHERE '
    '"crowdprinter_printattempt"."finished") AS "finished_count", '
    'COUNT("crowdprinter_printattempt"."id") FILTER (WHERE '
    '("crowdprinter_printattempt"."finished")) >= '
    '("crowdprinter_printjob"."count_needed") AS "finished", '
    'COUNT("crowdprinter_printattempt"."id") FILTER (WHERE '
    '("crowdprinter_printattempt"."ended" IS NULL OR '
    '"crowdprinter_printattempt"."finished")) AS "running_or_finished_count", '
    'COUNT("crowdprinter_printattempt"."id") FILTER (WHERE '
    '("crowdprinter_printattempt"."ended" IS NULL OR '
    '"crowdprinter_printattempt"."finished")) < '
    '("crowdprinter_printjob"."count_needed") AS "can_attempt" FROM '
    '"crowdprinter_printjob" LEFT OUTER JOIN "crowdprinter_printattempt" ON '
    '("crowdprinter_printjob"."slug" = "crowdprinter_printattempt"."job_id") '
    'GROUP BY "crowdprinter_printjob"."slug", "crowdprinter_printjob"."file_stl", '
    '"crowdprinter_printjob"."file_render", "crowdprinter_printjob"."priority", '
    '"crowdprinter_printjob"."count_needed" HAVING '
    '(COUNT("crowdprinter_printattempt"."id") FILTER (WHERE '
    '("crowdprinter_printattempt"."ended" IS NULL OR '
    '"crowdprinter_printattempt"."finished")) < '
    '("crowdprinter_printjob"."count_needed")) ORDER BY '
    '"crowdprinter_printjob"."priority" ASC, RAND() ASC LIMIT 8')
   
   self
   
   <django_prometheus.db.common.ExportingCursorWrapper.<locals>.CursorWrapper object at 0x7f6ab52a9fc0>

Environment: Request Method: GET Request URL: http://ftp38c3.uber.space/ Django
Version: 5.1.2 Python Version: 3.10.15 Installed Applications:
['django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes',
'django.contrib.sessions', 'django.contrib.messages',
'whitenoise.runserver_nostatic', 'django.contrib.staticfiles',
'django.contrib.sites', 'crowdprinter', 'allauth', 'allauth.account',
'allauth.socialaccount', 'django_prometheus'] Installed Middleware:
['django_prometheus.middleware.PrometheusBeforeMiddleware',
'django.middleware.security.SecurityMiddleware',
'whitenoise.middleware.WhiteNoiseMiddleware',
'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',
'allauth.account.middleware.AccountMiddleware',
'django_prometheus.middleware.PrometheusAfterMiddleware'] Template error: In
template
/home/ftp38c3/crowdprinter/src/crowdprinter/templates/crowdprinter/printjob_list.html,
error at line 14 no such column: crowdprinter_printjob.priority 4 : <div
class="grid-x grid-margin-x"> 5 : <h1 class="cell">Info</h1> 6 : <p
class="cell"> 7 : asdasdsad 8 : </p> 9 : </div> 10 : <div class="myprogressbar">
11 : <div class="myprogress" style="width:{{ progress_percent }}%"></div> 12 :
</div> 13 : <div class="printjobs grid-x grid-padding-y grid-padding-x"> 14 : {%
for job in jobs %} 15 : <a class="cell small-6 large-3 text-center" href="{% url
'printjob_detail' slug=job.slug %}"> 16 : <img src="{% url 'printjob_render'
slug=job.slug %}"> 17 : </a> 18 : {% endfor %} 19 : </div> 20 : {% endblock %}
21 : Traceback (most recent call last): File
"/home/ftp38c3/.local/lib/python3.10/site-packages/django/db/backends/utils.py",
line 105, in _execute return self.cursor.execute(sql, params) File
"/home/ftp38c3/.local/lib/python3.10/site-packages/django_prometheus/db/common.py",
line 69, in execute return super().execute(*args, **kwargs) File
"/home/ftp38c3/.local/lib/python3.10/site-packages/django/db/backends/sqlite3/base.py",
line 354, in execute return super().execute(query, params) The above exception
(no such column: crowdprinter_printjob.priority) was the direct cause of the
following exception: File
"/home/ftp38c3/.local/lib/python3.10/site-packages/django/core/handlers/exception.py",
line 55, in inner response = get_response(request) File
"/home/ftp38c3/.local/lib/python3.10/site-packages/django/core/handlers/base.py",
line 220, in _get_response response = response.render() File
"/home/ftp38c3/.local/lib/python3.10/site-packages/django/template/response.py",
line 114, in render self.content = self.rendered_content File
"/home/ftp38c3/.local/lib/python3.10/site-packages/django/template/response.py",
line 92, in rendered_content return template.render(context, self._request) File
"/home/ftp38c3/.local/lib/python3.10/site-packages/django/template/backends/django.py",
line 107, in render return self.template.render(context) File
"/home/ftp38c3/.local/lib/python3.10/site-packages/django/template/base.py",
line 171, in render return self._render(context) File
"/home/ftp38c3/.local/lib/python3.10/site-packages/django/template/base.py",
line 163, in _render return self.nodelist.render(context) File
"/home/ftp38c3/.local/lib/python3.10/site-packages/django/template/base.py",
line 1008, in render return SafeString("".join([node.render_annotated(context)
for node in self])) File
"/home/ftp38c3/.local/lib/python3.10/site-packages/django/template/base.py",
line 1008, in <listcomp> return
SafeString("".join([node.render_annotated(context) for node in self])) File
"/home/ftp38c3/.local/lib/python3.10/site-packages/django/template/base.py",
line 969, in render_annotated return self.render(context) File
"/home/ftp38c3/.local/lib/python3.10/site-packages/django/template/loader_tags.py",
line 159, in render return compiled_parent._render(context) File
"/home/ftp38c3/.local/lib/python3.10/site-packages/django/template/base.py",
line 163, in _render return self.nodelist.render(context) File
"/home/ftp38c3/.local/lib/python3.10/site-packages/django/template/base.py",
line 1008, in render return SafeString("".join([node.render_annotated(context)
for node in self])) File
"/home/ftp38c3/.local/lib/python3.10/site-packages/django/template/base.py",
line 1008, in <listcomp> return
SafeString("".join([node.render_annotated(context) for node in self])) File
"/home/ftp38c3/.local/lib/python3.10/site-packages/django/template/base.py",
line 969, in render_annotated return self.render(context) File
"/home/ftp38c3/.local/lib/python3.10/site-packages/django/template/loader_tags.py",
line 65, in render result = block.nodelist.render(context) File
"/home/ftp38c3/.local/lib/python3.10/site-packages/django/template/base.py",
line 1008, in render return SafeString("".join([node.render_annotated(context)
for node in self])) File
"/home/ftp38c3/.local/lib/python3.10/site-packages/django/template/base.py",
line 1008, in <listcomp> return
SafeString("".join([node.render_annotated(context) for node in self])) File
"/home/ftp38c3/.local/lib/python3.10/site-packages/django/template/base.py",
line 969, in render_annotated return self.render(context) File
"/home/ftp38c3/.local/lib/python3.10/site-packages/django/template/defaulttags.py",
line 199, in render len_values = len(values) File
"/home/ftp38c3/.local/lib/python3.10/site-packages/django/db/models/query.py",
line 382, in __len__ self._fetch_all() File
"/home/ftp38c3/.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
"/home/ftp38c3/.local/lib/python3.10/site-packages/django/db/models/query.py",
line 91, in __iter__ results = compiler.execute_sql( File
"/home/ftp38c3/.local/lib/python3.10/site-packages/django/db/models/sql/compiler.py",
line 1574, in execute_sql cursor.execute(sql, params) File
"/home/ftp38c3/.local/lib/python3.10/site-packages/django/db/backends/utils.py",
line 122, in execute return super().execute(sql, params) File
"/home/ftp38c3/.local/lib/python3.10/site-packages/django/db/backends/utils.py",
line 79, in execute return self._execute_with_wrappers( File
"/home/ftp38c3/.local/lib/python3.10/site-packages/django/db/backends/utils.py",
line 92, in _execute_with_wrappers return executor(sql, params, many, context)
File
"/home/ftp38c3/.local/lib/python3.10/site-packages/django/db/backends/utils.py",
line 100, in _execute with self.db.wrap_database_errors: File
"/home/ftp38c3/.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
"/home/ftp38c3/.local/lib/python3.10/site-packages/django/db/backends/utils.py",
line 105, in _execute return self.cursor.execute(sql, params) File
"/home/ftp38c3/.local/lib/python3.10/site-packages/django_prometheus/db/common.py",
line 69, in execute return super().execute(*args, **kwargs) File
"/home/ftp38c3/.local/lib/python3.10/site-packages/django/db/backends/sqlite3/base.py",
line 354, in execute return super().execute(query, params) Exception Type:
OperationalError at / Exception Value: no such column:
crowdprinter_printjob.priority




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, br, zstd'

HTTP_ACCEPT_LANGUAGE

'de-DE,de;q=0.9'

HTTP_CONNECTION

'close'

HTTP_HOST

'ftp38c3.uber.space'

HTTP_PRIORITY

'u=0, i'

HTTP_SEC_FETCH_DEST

'document'

HTTP_SEC_FETCH_MODE

'navigate'

HTTP_SEC_FETCH_SITE

'none'

HTTP_SEC_FETCH_USER

'?1'

HTTP_UPGRADE_INSECURE_REQUESTS

'1'

HTTP_USER_AGENT

('Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) '
 'Chrome/130.0.0.0 Safari/537.36')

HTTP_X_FORWARDED_FOR

'81.95.5.35'

HTTP_X_FORWARDED_FOR_ANON

'81.95.0.0'

HTTP_X_FORWARDED_PORT

'443'

HTTP_X_FORWARDED_PROTO

'https'

PATH_INFO

'/'

QUERY_STRING

''

RAW_URI

'/'

REMOTE_ADDR

'100.65.136.1'

REMOTE_PORT

'36620'

REQUEST_METHOD

'GET'

SCRIPT_NAME

''

SERVER_NAME

'0.0.0.0'

SERVER_PORT

'8000'

SERVER_PROTOCOL

'HTTP/1.1'

SERVER_SOFTWARE

'gunicorn/23.0.0'

gunicorn.socket

<socket.socket fd=9, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('100.65.136.2', 8000), raddr=('100.65.136.1', 36620)>

wsgi.errors

<gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f6ab4f4b370>

wsgi.file_wrapper

<class 'gunicorn.http.wsgi.FileWrapper'>

wsgi.input

<gunicorn.http.body.Body object at 0x7f6ab4f495a0>

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 CROWDPRINTER.SETTINGS

Setting Value ABSOLUTE_URL_OVERRIDES

{}

ACCOUNT_EMAIL_REQUIRED

True

ACCOUNT_EMAIL_VERIFICATION

'none'

ACCOUNT_LOGIN_ON_EMAIL_CONFIRMATION

True

ACCOUNT_LOGIN_ON_PASSWORD_RESET

'********************'

ADMINS

[]

ALLOWED_HOSTS

['*']

APPEND_SLASH

True

AUTHENTICATION_BACKENDS

['django.contrib.auth.backends.ModelBackend',
 'allauth.account.auth_backends.AuthenticationBackend']

AUTH_PASSWORD_VALIDATORS

'********************'

AUTH_USER_MODEL

'auth.User'

BASE_DIR

'/home/ftp38c3/crowdprinter/src'

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_prometheus.db.backends.sqlite3',
             'HOST': '',
             'NAME': '/home/ftp38c3/crowdprinter/src/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.AutoField'

DEFAULT_CHARSET

'utf-8'

DEFAULT_EXCEPTION_REPORTER

'django.views.debug.ExceptionReporter'

DEFAULT_EXCEPTION_REPORTER_FILTER

'django.views.debug.SafeExceptionReporterFilter'

DEFAULT_FROM_EMAIL

'webmaster@localhost'

DEFAULT_INDEX_TABLESPACE

''

DEFAULT_TABLESPACE

''

DISALLOWED_USER_AGENTS

[]

DOWNLOAD_FILE_PREFIX

''

EMAIL_BACKEND

'django.core.mail.backends.console.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',
 'whitenoise.runserver_nostatic',
 'django.contrib.staticfiles',
 'django.contrib.sites',
 'crowdprinter',
 'allauth',
 'allauth.account',
 'allauth.socialaccount',
 'django_prometheus']

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

'en-us'

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

'/'

LOGIN_URL

'/accounts/login/'

LOGOUT_REDIRECT_URL

None

MANAGERS

[]

MEDIA_ROOT

'/home/ftp38c3/crowdprinter/src/media'

MEDIA_URL

'/'

MESSAGE_STORAGE

'django.contrib.messages.storage.fallback.FallbackStorage'

MIDDLEWARE

['django_prometheus.middleware.PrometheusBeforeMiddleware',
 'django.middleware.security.SecurityMiddleware',
 'whitenoise.middleware.WhiteNoiseMiddleware',
 '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',
 'allauth.account.middleware.AccountMiddleware',
 'django_prometheus.middleware.PrometheusAfterMiddleware']

MIGRATION_MODULES

{}

MONTH_DAY_FORMAT

'F j'

NUMBER_GROUPING

0

PASSWORD_HASHERS

'********************'

PASSWORD_RESET_TIMEOUT

'********************'

PREPEND_WWW

False

ROOT_URLCONF

'crowdprinter.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

'same-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

'crowdprinter.settings'

SHORT_DATETIME_FORMAT

'm/d/Y P'

SHORT_DATE_FORMAT

'm/d/Y'

SIGNING_BACKEND

'django.core.signing.TimestampSigner'

SILENCED_SYSTEM_CHECKS

[]

SITE_ID

1

STATICFILES_DIRS

[]

STATICFILES_FINDERS

['django.contrib.staticfiles.finders.FileSystemFinder',
 'django.contrib.staticfiles.finders.AppDirectoriesFinder']

STATIC_ROOT

'/home/ftp38c3/crowdprinter/src/staticfiles'

STATIC_URL

'/static/'

STORAGES

{'default': {'BACKEND': 'django.core.files.storage.FileSystemStorage'},
 'staticfiles': {'BACKEND': 'whitenoise.storage.CompressedManifestStaticFilesStorage'}}

TEMPLATES

[{'APP_DIRS': True,
  'BACKEND': 'django.template.backends.django.DjangoTemplates',
  'DIRS': [],
  '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',
                                     'crowdprinter.context_processors.add_header_footer_stls']}}]

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

'UTC'

USE_I18N

True

USE_L10N

True

USE_THOUSAND_SEPARATOR

False

USE_TZ

True

USE_X_FORWARDED_HOST

False

USE_X_FORWARDED_PORT

False

WSGI_APPLICATION

'crowdprinter.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.