We are getting on one of our application this 500 error 'no module pwd'
when importing requests library.
here are the logs:
Traceback (most recent call last):
File
"/base/data/home/runtimes/python27_experiment/python27_lib/versions/1/google/appengine/runtime/wsgi.py",
line 240, in Handle
handler = _config_handle.add_wsgi_middleware(self._LoadHandler())
File
"/base/data/home/runtimes/python27_experiment/python27_lib/versions/1/google/appengine/runtime/wsgi.py",
line 299, in _LoadHandler
handler, path, err = LoadObject(self._handler)
File
"/base/data/home/runtimes/python27_experiment/python27_lib/versions/1/google/appengine/runtime/wsgi.py",
line 96, in LoadObject
__import__(cumulative_path)
File
"/base/data/home/apps/s~wisestamp-gapps-oath2-qa/2-42-3.400175773712341679/handler/domain.py",
line 12, in <module>
from lib.helper import TemplateHelper, RequestHandler
File
"/base/data/home/apps/s~wisestamp-gapps-oath2-qa/2-42-3.400175773712341679/lib/helper.py",
line 13, in <module>
from lib.security import Security
File
"/base/data/home/apps/s~wisestamp-gapps-oath2-qa/2-42-3.400175773712341679/lib/security.py",
line 5, in <module>
from lib.wisestamp_email_settings_client import
WiseStampEmailSettingsClient
File
"/base/data/home/apps/s~wisestamp-gapps-oath2-qa/2-42-3.400175773712341679/lib/wisestamp_email_settings_client.py",
line 6, in <module>
import requests
File
"/base/data/home/apps/s~wisestamp-gapps-oath2-qa/2-42-3.400175773712341679/lib/requests/__init__.py",
line 58, in <module>
from . import utils
File
"/base/data/home/apps/s~wisestamp-gapps-oath2-qa/2-42-3.400175773712341679/lib/requests/utils.py",
line 19, in <module>
from netrc import netrc, NetrcParseError
File
"/base/data/home/runtimes/python27_experiment/python27_dist/lib/python2.7/netrc.py",
line 7, in <module>
import pwd
ImportError: No module named pwd
in other project ive noticed it is not happening and there is no
python27_experiment dir path in the logs, are we on some kind of experiment
instances?
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit
https://groups.google.com/d/msgid/google-appengine/d447c6d8-865c-48f8-84a5-03c40028441f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.