Traceback (most recent call last):


 "site-packages\calibre\customize\ui.py", line 172, in _run_filetype_plugins


 "calibre_plugins.kfx_input.package_filetype", line 21, in run


 "calibre_plugins.kfx_input.package_filetype", line 32, in run_kfx


 "calibre_plugins.kfx_input.kfxlib.yj_book", line 83, in convert_to_single_kfx


 "calibre_plugins.kfx_input.kfxlib.yj_book", line 202, in decode_book


 "calibre_plugins.kfx_input.kfxlib.yj_book", line 309, in get_container
KFXDRMError: Book container B07BBVRR8C_EBOK.azw has DRM and cannot be converted

Traceback (most recent call last):


 "[REDACTED]/lib/python3.6/site-packages/billiard/pool.py", line 1750, in safe_apply_callback

fun(*args, **kwargs)


 "[REDACTED]/lib/python3.6/site-packages/celery/worker/request.py", line 371, in on_failure

store_result=self.store_errors,


 "[REDACTED]/lib/python3.6/site-packages/celery/backends/base.py", line 160, in mark_as_failure

traceback=traceback, request=request)


 "[REDACTED]/lib/python3.6/site-packages/celery/backends/base.py", line 342, in store_result

request=request, **kwargs)


 "[REDACTED]/lib/python3.6/site-packages/django_celery_results/backends/database.py", line 35, in _store_result

task_kwargs=task_kwargs,


 "[REDACTED]/lib/python3.6/site-packages/django_celery_results/managers.py", line 50, in _inner

return fun(*args, **kwargs)


 "[REDACTED]/lib/python3.6/site-packages/django_celery_results/managers.py", line 126, in store_result

obj, created = self.get_or_create(task_id=task_id, defaults=fields)


 "[REDACTED]/lib/python3.6/site-packages/django/db/models/manager.py", line 82, in manager_method

return getattr(self.get_queryset(), name)(*args, **kwargs)


 "[REDACTED]/lib/python3.6/site-packages/django/db/models/query.py", line 538, in get_or_create

return self.get(**kwargs), False


 "[REDACTED]/lib/python3.6/site-packages/django/db/models/query.py", line 402, in get

num = len(clone)


 "[REDACTED]/lib/python3.6/site-packages/django/db/models/query.py", line 256, in __len__

self._fetch_all()


 "[REDACTED]/lib/python3.6/site-packages/django/db/models/query.py", line 1242, in _fetch_all

self._result_cache = list(self._iterable_class(self))


 "[REDACTED]/lib/python3.6/site-packages/django/db/models/query.py", line 55, in __iter__

results = compiler.execute_sql(chunked_fetch=self.chunked_fetch, chunk_size=self.chunk_size)


 "[REDACTED]/lib/python3.6/site-packages/django/db/models/sql/compiler.py", line 1098, in execute_sql

cursor = self.connection.cursor()


 "[REDACTED]/lib/python3.6/site-packages/django/db/backends/base/base.py", line 256, in cursor

return self._cursor()


 "[REDACTED]/lib/python3.6/site-packages/django/db/backends/base/base.py", line 233, in _cursor

self.ensure_connection()


 "[REDACTED]/lib/python3.6/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection

self.connect()


 "[REDACTED]/lib/python3.6/site-packages/django/db/utils.py", line 89, in __exit__

raise dj_exc_value.with_traceback(traceback) from exc_value


 "[REDACTED]/lib/python3.6/site-packages/django/db/backends/base/base.py", line 217, in ensure_connection

self.connect()


 "[REDACTED]/lib/python3.6/site-packages/django/db/backends/base/base.py", line 195, in connect

self.connection = self.get_new_connection(conn_params)


 "[REDACTED]/lib/python3.6/site-packages/django/db/backends/mysql/base.py", line 227, in get_new_connection

return Database.connect(**conn_params)


 "[REDACTED]/lib/python3.6/site-packages/MySQLdb/__init__.py", line 84, in Connect

return Connection(*args, **kwargs)


 "[REDACTED]/lib/python3.6/site-packages/MySQLdb/connections.py", line 164, in __init__

super(Connection, self).__init__(*args, **kwargs2)
django.db.utils.OperationalError: (2002, "Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)")
