Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/django/db/backends/utils.py",
line 85, in _execute
return self.cursor.execute(sql, params)
File
"/usr/local/lib/python3.5/dist-packages/django/db/backends/sqlite3/base.py",
line 296, in execute
return Database.Cursor.execute(self, query, params)
sqlite3.OperationalError: database is locked
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File
"/usr/local/lib/python3.5/dist-packages/django_extensions/management/commands/runjobs.py",
line 36, in runjobs
job().execute()
File
"/usr/local/lib/python3.5/dist-packages/hyperkitty/jobs/thread_order_depth.py",
line 37, in execute
compute_thread_order_and_depth(thread)
File "/usr/local/lib/python3.5/dist-packages/hyperkitty/lib/analysis.py", line
54, in compute_thread_order_and_depth
walk_successors(thread.starting_email.id)
File "/usr/local/lib/python3.5/dist-packages/hyperkitty/lib/analysis.py", line
39, in walk_successors
obj.save(update_fields=["thread_depth", "thread_order"])
File "/usr/local/lib/python3.5/dist-packages/django/db/models/base.py", line
718, in save
force_update=force_update, update_fields=update_fields)
File "/usr/local/lib/python3.5/dist-packages/django/db/models/base.py", line
748, in save_base
updated = self._save_table(raw, cls, force_insert, force_update, using,
update_fields)
File "/usr/local/lib/python3.5/dist-packages/django/db/models/base.py", line
812, in _save_table
forced_update)
File "/usr/local/lib/python3.5/dist-packages/django/db/models/base.py", line
861, in _do_update
return filtered._update(values) > 0
File "/usr/local/lib/python3.5/dist-packages/django/db/models/query.py", line
712, in _update
return query.get_compiler(self.db).execute_sql(CURSOR)
File
"/usr/local/lib/python3.5/dist-packages/django/db/models/sql/compiler.py", line
1383, in execute_sql
cursor = super().execute_sql(result_type)
File
"/usr/local/lib/python3.5/dist-packages/django/db/models/sql/compiler.py", line
1065, in execute_sql
cursor.execute(sql, params)
File "/usr/local/lib/python3.5/dist-packages/django/db/backends/utils.py",
line 68, in execute
return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
File "/usr/local/lib/python3.5/dist-packages/django/db/backends/utils.py",
line 77, in _execute_with_wrappers
return executor(sql, params, many, context)
File "/usr/local/lib/python3.5/dist-packages/django/db/backends/utils.py",
line 85, in _execute
return self.cursor.execute(sql, params)
File "/usr/local/lib/python3.5/dist-packages/django/db/utils.py", line 89, in
__exit__
raise dj_exc_value.with_traceback(traceback) from exc_value
File "/usr/local/lib/python3.5/dist-packages/django/db/backends/utils.py",
line 85, in _execute
return self.cursor.execute(sql, params)
File
"/usr/local/lib/python3.5/dist-packages/django/db/backends/sqlite3/base.py",
line 296, in execute
return Database.Cursor.execute(self, query, params)
django.db.utils.OperationalError: database is locked
ERROR OCCURED IN YEARLY JOB: thread_order_depth (APP: hyperkitty)
START TRACEBACK:
END TRACEBACK