This morning I was using App Engine to record a video on a fresh, non-
admin user and got the following error:

*** Running dev_appserver with the following flags:
    --admin_console_server= --port=8080
Python command: /usr/bin/python2.6
Traceback (most recent call last):
  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
dev_appserver.py", line 68, in
    run_file(__file__, globals())
  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
GoogleAppEngine-default.bundle/Contents/Resources/google_appengine
/dev_appserver.py", line 64, in run_file
    execfile(script_path, globals_)
  File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
google/
appengine/tools/dev_appserver_main.py", line 66, in
    from google.appengine.tools import os_compat
ImportError: cannot import name os_compat

If you look through the forums there is a lot of talk about Python 2.5
or Python 2.6 and suggestions to go back to Python 2.5 - that seems
not to be the problem at all because it fails in 2.5 as well with the
same error.

The problem really is caused when a non-administrator user tries to
run the App Engine Launcher. The fix is to simply make the person an
administrative user.   And then it works fine on 2.6.

And here is the even stranger thing - once you make the use an "Allow
to administer this computer" user and start App Engine once as an the
user with admin powers and then log out and take a way admin powers
and then log back in - then it works! Crazy.

Charles Severance
http://www.dr-chuck.com/
http://oreilly.com/catalog/9780596800697/

-- 
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