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!
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'