Message4306

Author JacobKessler
Recipients JacobKessler
Date 2009-03-17.22:48:26
SpamBayes Score 1.2574174e-06
Marked as misclassified No
Message-id <1237330107.38.0.765343420034.issue1274@psf.upfronthosting.co.za>
In-reply-to
Content
I was running through the Django tutorial (Trunk Jython, Trunk
Jython-Django, Django 1.0.2, Ubuntu 8.04), and noticed some odd behavior
around running the "synchdb" command:

jacob@jacobDesktop:~/django/play/mysite$ jython manage.py syncdb
Error: Could not import settings 'mysite.settings$py' (Is it on
sys.path? Does it have syntax errors?): No module named settings$py
jacob@jacobDesktop:~/django/play/mysite$ jython manage.py runserver
Error: Could not import settings 'mysite.settings$py' (Is it on
sys.path? Does it have syntax errors?): No module named settings$py

/* removed 'mysite.polls' from INSTALLED_APPS */

jacob@jacobDesktop:~/django/play/mysite$ jython manage.py runserver
Validating models...
0 errors found

Django version 1.0.2 final, using settings 'mysite.settings'
Development server is running at http://127.0.0.1:8000/
Quit the server with CONTROL-C.

/* Re-added mysite.polls */

jacob@jacobDesktop:~/django/play/mysite$ jython manage.py runserver
Validating models...
0 errors found

Django version 1.0.2 final, using settings 'mysite.settings'
Development server is running at http://127.0.0.1:8000/
Quit the server with CONTROL-C.
jacob@jacobDesktop:~/django/play/mysite$ jython manage.py syncdb
Error: Could not import settings 'mysite.settings$py' (Is it on
sys.path? Does it have syntax errors?): No module named settings$py
jacob@jacobDesktop:~/django/play/mysite$ jython manage.py runserver
Error: Could not import settings 'mysite.settings$py' (Is it on
sys.path? Does it have syntax errors?): No module named settings$py
jacob@jacobDesktop:~/django/play/mysite$ 

In short, running syncDB seems to break things in some odd, persistent,
and repeatable way. The error message could probably be improved as
well, to indicate in more detail why the load failed.
History
Date User Action Args
2009-03-17 22:48:27JacobKesslersetrecipients: + JacobKessler
2009-03-17 22:48:27JacobKesslersetmessageid: <1237330107.38.0.765343420034.issue1274@psf.upfronthosting.co.za>
2009-03-17 22:48:27JacobKesslerlinkissue1274 messages
2009-03-17 22:48:26JacobKesslercreate