Hi there,
I'm new to GCP so I've had very limited success trying to debug this. 

I have a flask app which I developed using a similar process to the one 
described in the docs here
https://cloud.google.com/appengine/docs/standard/python/getting-started/python-standard-env
It runs well on my local machine, tested it out with dev_appserver.py 

Tried deploying it to App Engine using the Cloud SDK and the deployment is 
successful but the app itself shows this message



*Error: Server Error The server encountered an error and could not complete 
your request.Please try again in 30 seconds.*
When I check out 'Error Reporting' in the console I see the following 
message

* ValueError: virtualenv: cannot access 
/base/data/home/apps/j~project-name/20180626t222233.410714851322767617/lib: 
No such virtualenv or site *

I looked into StackOverflow and it appears the error is coming from this 
file, google.appengine.ext.vendor

Source code here: 
https://cloud.google.com/appengine/docs/standard/python/refdocs/modules/google/appengine/ext/vendor
but I'm clueless regarding how to troubleshoot this.

tried the suggestions given here, 
https://stackoverflow.com/questions/44807207/virtualenv-cannot-access-lib-no-such-virtualenv-or-site-directory
changed the appengine_config.py file and redeployed, but I'm still getting 
the same error 

any tips on how to debug this, i'm not even sure which 'lib' folder the 
error is referring to

-- 
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/8c573936-15c5-40cc-927c-a28ee3665a34%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to