Message4306
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. |
|
Date |
User |
Action |
Args |
2009-03-17 22:48:27 | JacobKessler | set | recipients:
+ JacobKessler |
2009-03-17 22:48:27 | JacobKessler | set | messageid: <1237330107.38.0.765343420034.issue1274@psf.upfronthosting.co.za> |
2009-03-17 22:48:27 | JacobKessler | link | issue1274 messages |
2009-03-17 22:48:26 | JacobKessler | create | |
|