2010/5/27 Filip Gruszczyński <[email protected]> > I am trying to run tests on the trunk (rev 13307) and when I do, I get: > > grusz...@gruszczy-laptop:~/Programy/django/tests$ ./runtests.py > --settings test_sqlite > Traceback (most recent call last): > File "./runtests.py", line 205, in <module> > django_tests(int(options.verbosity), options.interactive, > options.failfast, args) > File "./runtests.py", line 121, in django_tests > get_apps() > File "/usr/local/lib/python2.6/dist-packages/django/db/models/loading.py", > line 114, in get_apps > self._populate() > File "/usr/local/lib/python2.6/dist-packages/django/db/models/loading.py", > line 60, in _populate > self.load_app(app_name, True) > File "/usr/local/lib/python2.6/dist-packages/django/db/models/loading.py", > line 75, in load_app > app_module = import_module(app_name) > File "/usr/local/lib/python2.6/dist-packages/django/utils/importlib.py", > line 35, in import_module > __import__(name) > ImportError: No module named messages > > Am I doing something wrong? How can I diagnoze what is wrong? >
Every time I have seen this, the problem has been that I'm using a settings file generated with 1.2-level code but I've got my PYTHONPATH pointing to a 1.1.something (or earlier) version of Django. Karen -- http://tracey.org/kmt/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

