@Richard specifically,

Do you think you could post the details of this patch you apply after each 
upgrade? This sounds like a feature request in the making.

On Thursday, March 30, 2017 at 3:56:03 AM UTC-4, Richard Cheesmar wrote:
>
> Hi, Nick, I've been got the same evening/morning 29th 30th March. Some 
> continuous errors all of the the ImportError: No module named pwd kind.
>
> I get this with the dev environment everytime I upgrade to a new version 
> of the cloud software, but that is solved by white listing pwd in one of 
> the local Google Cloud setting files, can't remember which at the moment.
>
> Never had this on the live environment though.
>
> On Tuesday, March 28, 2017 at 12:45:22 PM UTC+3, rrk wrote:
>>
>> Hi,
>>
>> Anyone else facing sudden ImportError issues with previously working 
>> applications in Python 2.7 runtime of Google App Engine?
>>
>> One such error is given below, which happens when *requests *package is 
>> trying to import *netrc*. This code was working fine until today. 
>>
>> 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 85, in LoadObject
>>
>>     obj = __import__(path[0])
>>
>>   File 
>> "/base/data/home/apps/s~app-id-removed/p31-b.391085029481971487/xxxxxxxxxxxxxxxxx.py",
>>  
>> line 36, in <module>
>>
>>     from yyyyyyyyyyyyyyyyyy import *
>>
>>   File "/base/data/home/apps/s~app-id-removed/p31-b.391085029481971487/
>> yyyyyyyyyyyyyyyyyy.py", line 32, in <module>
>>
>>     import requests
>>
>>   File 
>> "/base/data/home/apps/s~app-id-removed/p31-b.391085029481971487/requests/__init__.py",
>>  
>> line 52, in <module>
>>
>>     from . import utils
>>
>>   File 
>> "/base/data/home/apps/s~app-id-removed/p31-b.391085029481971487/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
>>
>>
>> I have the same application deployed for other customers within their 
>> accounts and also in my account, but this error seems to have occurred only 
>> for one deployment.
>>
>> Why is this happening? Does this have something to do with the 
>> python27_experiment version, which I believe has been in use since over 
>> a month (based on error traces on the internet with this version), but this 
>> ImportError seems to have got triggered only today? May be my client's 
>> application has been included within the experimental version?
>>
>> Thanks and regards,
>> Raj
>>
>

-- 
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/8c0ffdbc-84e6-4b86-ab29-c816f44b884d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to