This is fine now ... just a typo on my part ... imported user when I
should have imported users from appengine. Strange that it works in
the sandbox and not production, though.
On Nov 29, 5:02 pm, Alexander Kojevnikov <[EMAIL PROTECTED]>
wrote:
> > Note that this all works fine on my local sandbox.
> > Any ideas??
>
> It looks like the module 'pwd' (which is used by module 'user') is not
> supported by the sandboxed python runtime that appengine uses.
>
> Here is the same error message from shell.appspot.com:
>
> >>> import user
>
> Traceback (most recent call last):
> File "/base/data/home/apps/shell/1.30/shell.py", line 266, in get
> exec compiled in statement_module.__dict__
> File "<string>", line 1, in <module>
> File "/base/python_dist/lib/python2.5/user.py", line 30, in <module>
> home = os.path.expanduser("~/")
> File "/base/python_dist/lib/python2.5/posixpath.py", line 320, in
> expanduser
> import pwd
> ImportError: No module named pwd
>
> What do you need the 'user' module for?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---