error in add_missing_subscriptions


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

File "/var/www/project/src/apps/askbot/mail/", line 15, in < 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 runserver, 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.


RubenDjOn's avatar
asked 2014-04-15 18:55:40 -0500, updated 2014-04-15 21:08:15 -0500
edit flag offensive 0 remove flag close merge delete


Ok, It seems that is a problem with circular import. I need to look at my others apps code and see wich one is causing this situation. Thanks.

RubenDjOn's avatar RubenDjOn (2014-04-15 21:03:56 -0500) edit
add a comment see more comments