Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

error in manage.py add_missing_subscriptions

Hello!

I'm having a problem when running python manage.py add_missing_subscriptions. The error is:

File "/var/www/project/src/apps/askbot/mail/__init__.py", line 15, in <module< p="">

from askbot.conf import settings as askbot_settings

ImportError: cannot import name settings

I'v entered into debug (putting a pdb.set_trace in line 14, and when I execute from askbot.conf import settings as askbot_settings it gives me the same error. This is normal, but when I execute python manage.py runserver 0.0.0.0:8001, the same line (from askbot.conf import settings as askbot_settings) in the debug, doesn't raise any error. I've looking at the sys.path, and paths are the same in both cases.

I don't know where is the problem. Any help will be appreciated.

Thanks

error in manage.py add_missing_subscriptions

Hello!

I'm having a problem when running python manage.py add_missing_subscriptions. The error is:

File "/var/www/project/src/apps/askbot/mail/__init__.py", line 15, in <module< p="">

< module > from askbot.conf import settings as askbot_settings

ImportError: cannot import name settings

I'v entered into debug (putting a pdb.set_trace in line 14, and when I execute from askbot.conf import settings as askbot_settings it gives me the same error. This is normal, but when I execute python manage.py runserver 0.0.0.0:8001, the same line (from askbot.conf import settings as askbot_settings) in the debug, doesn't raise any error. I've looking at the sys.path, and paths are the same in both cases.

I don't know where is the problem. Any help will be appreciated.

Thanks