So I'm trying to get the app engine django helper working with the
zipfile example for django 1.0, and running into a problem.

I should also mention that I'm using the bootstrap method in the GAE
django helper readme. I'm also using version 66 of the django helper
(pulled via svn.)

I created the django.zip following the exact instructions at
http://code.google.com/appengine/articles/django10_zipimport.html.

So, the trouble I'm having is that after dropping in django.zip into
the root level of my application folder, I start the app server, and
in the browser see the following error(s):

########
Traceback (most recent call last):
  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
google/appengine/tools/dev_appserver.py", line 2413, in _HandleRequest
    base_env_dict=env_dict)
  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
google/appengine/tools/dev_appserver.py", line 348, in Dispatch
    base_env_dict=base_env_dict)
  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
google/appengine/tools/dev_appserver.py", line 1848, in Dispatch
    self._module_dict)
  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
google/appengine/tools/dev_appserver.py", line 1766, in ExecuteCGI
    reset_modules = exec_script(handler_path, cgi_path, hook)
  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
google/appengine/tools/dev_appserver.py", line 1664, in
ExecuteOrImportScript
    script_module.main()
  File "/Users/edylan/Development/JaceyPhotographs2/main.py", line 48,
in main
    util.run_wsgi_app(application)
  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
google/appengine/ext/webapp/util.py", line 76, in run_wsgi_app
    result = application(env, _start_response)
  File "/Users/edylan/Development/JaceyPhotographs2/django.zip/django/
core/handlers/wsgi.py", line 228, in __call__
  File "/Users/edylan/Development/JaceyPhotographs2/django.zip/django/
core/handlers/base.py", line 40, in load_middleware
    continue
ImproperlyConfigured: Error importing middleware
django.contrib.auth.middleware: "No module named
contrib.auth.middleware"

########
looks like the error is in my django.zip that I'm creating, but I'm
not sure how to fix this. Any ideas?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" 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/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to