M
M
marselabdullin2020-07-11 12:09:06
Django
marselabdullin, 2020-07-11 12:09:06

Django stops at: Performing system checks... (doesn't start the server)?

I made an application using celery, vue.js (maybe it's the case), everything worked and then I made a config.py file next to settings.py to store the keys and after that the application does not start (although this is unlikely to be related to this) , and migrations don't run either. I believe the problem is with the db (could I have reloaded it?), complete error:
python manage.py runserver

Watching for file changes with StatReloader
Performing system checks...

python manage.py migrate
Traceback (most recent call last):
File "C:\Users\Marsel\AppData\Local\Programs\Python\Python38-32\lib\site-packages\kombu\utils\functional.py", line 43, in __call__
return self.__value__
AttributeError: 'ChannelPromise' object has no attribute '__value__'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\Marsel\AppData\Local\Programs\Python \Python38-32\lib\site-packages\kombu\transport\virtual\base.py", line 921, in create_channel
return self._avail_channels.pop()
IndexError: pop from empty list

During handling of the above exception, another exception occurred:

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Tikhonov, 2020-07-12
@marselabdullin

It looks like you have some parts of Celery involved during import. It shouldn't be like this, check the code about the side effects of imports.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question