Glad to hear you've resolved your issue. If in the future you come across 
some some behavior that looks like an issue with the platform, you can report 
it using our issue tracker 
<https://cloud.google.com/support/docs/issue-trackers>.

On Wednesday, August 23, 2017 at 12:45:51 PM UTC-4, Juan Uys wrote:
>
> Turns out the dropdown for the version in the log viewer was on a previous 
> version, and it does in fact now use py3.6
>
> On Wednesday, 23 August 2017 17:23:08 UTC+1, Juan Uys wrote:
>>
>>
>> Hello,
>>
>> According to 
>> https://cloud.google.com/appengine/docs/flexible/python/customizing-the-python-runtime#selecting_the_python_version
>> I can tell virtualenv to use Python 3.5, but this doesn't seem to take 
>> effect after a gcloud deploy, judging by the stack trace.
>>
>> Two tell-tale signs: "python2.7" in the trace, and failing on a 
>> Python3-style print statement ("SyntaxError: invalid syntax" in logs)
>>
>> File "/home/vmagent/app/api/app.py", line 32: print('xxx', flush=True)
>>
>> at import_app (/env/local/lib/python2.7/site-packages/gunicorn/util.py:
>> 352 
>> <https://console.cloud.google.com/debug/fromlog?appModule=default&appVersion=20170823t152809&file=%2Fenv%2Flocal%2Flib%2Fpython2.7%2Fsite-packages%2Fgunicorn%2Futil.py&line=352&project=pdfcrunch-20170821&authuser=1>
>> )
>> at load_wsgiapp (/env/local/lib/python2.7/site-packages/gunicorn/app/
>> wsgiapp.py:52 
>> <https://console.cloud.google.com/debug/fromlog?appModule=default&appVersion=20170823t152809&file=%2Fenv%2Flocal%2Flib%2Fpython2.7%2Fsite-packages%2Fgunicorn%2Fapp%2Fwsgiapp.py&line=52&project=pdfcrunch-20170821&authuser=1>
>> )
>> at load (/env/local/lib/python2.7/site-packages/gunicorn/app/wsgiapp.py:
>> 65 
>> <https://console.cloud.google.com/debug/fromlog?appModule=default&appVersion=20170823t152809&file=%2Fenv%2Flocal%2Flib%2Fpython2.7%2Fsite-packages%2Fgunicorn%2Fapp%2Fwsgiapp.py&line=65&project=pdfcrunch-20170821&authuser=1>
>> )
>> at wsgi (/env/local/lib/python2.7/site-packages/gunicorn/app/base.py:67 
>> <https://console.cloud.google.com/debug/fromlog?appModule=default&appVersion=20170823t152809&file=%2Fenv%2Flocal%2Flib%2Fpython2.7%2Fsite-packages%2Fgunicorn%2Fapp%2Fbase.py&line=67&project=pdfcrunch-20170821&authuser=1>
>> )
>> at load_wsgi (/env/local/lib/python2.7/site-packages/gunicorn/workers/
>> base.py:135 
>> <https://console.cloud.google.com/debug/fromlog?appModule=default&appVersion=20170823t152809&file=%2Fenv%2Flocal%2Flib%2Fpython2.7%2Fsite-packages%2Fgunicorn%2Fworkers%2Fbase.py&line=135&project=pdfcrunch-20170821&authuser=1>
>> )
>>
>>
>> What is the work-around? Is an old Docker layer being cached? How to 
>> force/clean it?
>>
>> Thanks!
>>
>

-- 
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/1f7efd84-0d3d-4ebb-bb2c-997013bd3903%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to