Hi all, I have a Django project with apps that works OK on a Mac with Django 1.3 and Python 2.6, and I'm trying to move it to a Linux box with Django 1.4 and Python 2.7. I created an empty project 'proj' with apps 'app1', 'app2', 'app3' on the Linux system and carefully merged settings.py, urls.py etc. with the initial files that were created. When I run 'python manage.py runserver' it says "Error: no module named app3" if app3 is the last in the list of installed apps (see below), but if I swap app2 and app3 it claims app2 (now the last one in the list) is missing. The error message seems to be lying to me, and I don't know where to look for the error. In the settings.py file I have
INSTALLED_APPS = ( 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.messages', 'django.contrib.staticfiles', # Uncomment the next line to enable the admin: 'django.contrib.admin', # Uncomment the next line to enable admin documentation: 'django.contrib.admindocs', 'django.django-adminfiles', 'proj.app1', 'proj.app2', 'proj.app3', ) I've looked around for anything on "Error: No module named xxx", but haven't found any that seem to relate to this behavior. Has anyone seen this kind of error dependent on the order of the apps? Is there any way I can force a more informative error? I tried adding an empty module name at the end, and it gave me an error trace, but I couldn't figure out anything from it. My directory tree looks like this: proj/ manage.py proj/proj/ __init__.py settings.py urls.py wsgi.py proj/app1/ __init__.py forms.py models.py tests.py views.py proj/app2/ __init__.py forms.py models.py tests.py views.py proj/app3/ __init__.py forms.py models.py tests.py views.py proj/templates/ . . . Django 1.4 seems to have a second proj directory under the first level proj directory. I didn't see this in 1.3. -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/xrnaaTiYFOEJ. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.