U using latest version r100 on my Ubuntu PC. I complete all steps described
in README file. And I see errors.
anton@anton-desktop:~/workspace/django$ python manage.py diffsettings
Traceback (most recent call last):
File "manage.py", line 18, in <module>
InstallAppengineHelperForDjango()
File "/home/anton/workspace/django/appengine_django/__init__.py", line
515, in InstallAppengineHelperForDjango
LoadDjango(version)
File "/home/anton/workspace/django/appengine_django/__init__.py", line
170, in LoadDjango
use_library('django', check_version)
File
"/home/anton/workspace/google_appengine/google/appengine/dist/_library.py",
line 282, in use_library
CheckInstalledLibrary(name, version)
File
"/home/anton/workspace/google_appengine/google/appengine/dist/_library.py",
line 167, in CheckInstalledLibrary
CheckInstalledVersion(name, desired, explicit=True)
File
"/home/anton/workspace/google_appengine/google/appengine/dist/_library.py",
line 185, in CheckInstalledVersion
installed_version = find_version()
File
"/home/anton/workspace/google_appengine/google/appengine/dist/_library.py",
line 66, in DjangoVersion
import django
ImportError: No module named django
If I run application in web browser (with started dev_appserver.py) I se
next errors in browser:
--> --> -->
Traceback (most recent call last):
File
"/home/anton/workspace/google_appengine/google/appengine/tools/dev_appserve
r.py", line 3177, in _HandleRequest
self._Dispatch(dispatcher, self.rfile, outfile, env_dict)
File
"/home/anton/workspace/google_appengine/google/appengine/tools/dev_appserve
r.py", line 3120, in _Dispatch
base_env_dict=env_dict)
File
"/home/anton/workspace/google_appengine/google/appengine/tools/dev_appserve
r.py", line 515, in Dispatch
base_env_dict=base_env_dict)
File
"/home/anton/workspace/google_appengine/google/appengine/tools/dev_appserve
r.py", line 2379, in Dispatch
self._module_dict)
File
"/home/anton/workspace/google_appengine/google/appengine/tools/dev_appserve
r.py", line 2289, in ExecuteCGI
reset_modules = exec_script(handler_path, cgi_path, hook)
File
"/home/anton/workspace/google_appengine/google/appengine/tools/dev_appserve
r.py", line 2185, in ExecuteOrImportScript
exec module_code in script_module.__dict__
File "/home/anton/workspace/django/main.py", line 29, in <module>
InstallAppengineHelperForDjango()
File "/home/anton/workspace/django/appengine_django/__init__.py", line
515, in InstallAppengineHelperForDjango
LoadDjango(version)
File "/home/anton/workspace/django/appengine_django/__init__.py", line
170, in LoadDjango
use_library('django', check_version)
File
"/home/anton/workspace/google_appengine/google/appengine/dist/_library.py",
line 282, in use_library
CheckInstalledLibrary(name, version)
File
"/home/anton/workspace/google_appengine/google/appengine/dist/_library.py",
line 167, in CheckInstalledLibrary
CheckInstalledVersion(name, desired, explicit=True)
File
"/home/anton/workspace/google_appengine/google/appengine/dist/_library.py",
line 183, in CheckInstalledVersion
CallSetAllowedModule(name, desired)
File
"/home/anton/workspace/google_appengine/google/appengine/dist/_library.py",
line 201, in CallSetAllowedModule
SetAllowedModule(name)
File
"/home/anton/workspace/google_appengine/google/appengine/tools/dev_appserve
r.py", line 1053, in SetAllowedModule
stream, pathname, description = imp.find_module(name)
ImportError: No module named django
Original issue reported on code.google.com by anton.danilchenko on 24 Dec 2009 at 8:19
Original issue reported on code.google.com by
anton.danilchenko
on 24 Dec 2009 at 8:19