hi all! looks like gcloud 238.0.0 + app-engine-python 1.9.84 and later 
broke dev_appserver.py on Mac OS X, at least when using 
google.appengine.ext.vendor to load libraries from a virtualenv. (i expect 
that's many/most of us. :P)

stack trace and SO questions below. any chance this will be fixed in gcloud 
241.0.0? thanks in advance!

https://stackoverflow.com/questions/55166959/osx-dev-appserver-py-file-not-accessible-system-library-coreservices-systemve
https://stackoverflow.com/questions/55151062/gcloud-update-broke-my-app-gcp-python-2-7

Traceback (most recent call last):
  ...
  File 
"/Users/ryan/src/granary/local/lib/python2.7/site-packages/pkg_resources/__init__.py",
 
line 951, in <module>
    class Environment(object):
  File 
"/Users/ryan/src/granary/local/lib/python2.7/site-packages/pkg_resources/__init__.py",
 
line 955, in Environment
    self, search_path=None, platform=get_supported_platform(),
  File 
"/Users/ryan/src/granary/local/lib/python2.7/site-packages/pkg_resources/__init__.py",
 
line 180, in get_supported_platform
    plat = get_build_platform()
  File 
"/Users/ryan/src/granary/local/lib/python2.7/site-packages/pkg_resources/__init__.py",
 
line 389, in get_build_platform
    version = _macosx_vers()
  File 
"/Users/ryan/src/granary/local/lib/python2.7/site-packages/pkg_resources/__init__.py",
 
line 356, in _macosx_vers
    version = platform.mac_ver()[0]
  File 
"/usr/local/Cellar/python@2/2.7.15_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/platform.py",
 
line 764, in mac_ver
    info = _mac_ver_xml()
  File 
"/usr/local/Cellar/python@2/2.7.15_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/platform.py",
 
line 741, in _mac_ver_xml
    pl = plistlib.readPlist(fn)
  File 
"/usr/local/Cellar/python@2/2.7.15_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plistlib.py",
 
line 75, in readPlist
    pathOrFile = open(pathOrFile)
  File 
"/usr/local/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/python/runtime/stubs.py",
 
line 283, in __init__
    raise IOError(errno.EACCES, 'file not accessible', filename)
IOError: [Errno 13] file not accessible: 
'/System/Library/CoreServices/SystemVersion.plist'



-- 
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 google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
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/8099b259-f961-4b04-adc3-027e5e6e965f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • [google-ap... Ryan B
    • [goog... 'Nicolas (Google Cloud Platform Support)' via Google App Engine
      • [... magoarcano
        • ... 'Harmit Rishi (Cloud Platform Support)' via Google App Engine

Reply via email to