gcloud 238.0.0 broke dev_appserver.py on Mac OS X

453 views
Skip to first unread message

Ryan B

unread,
Mar 29, 2019, 12:04:35 AM3/29/19
to Google App Engine
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'




Nicolas (Google Cloud Platform Support)

unread,
Apr 8, 2019, 7:02:42 PM4/8/19
to Google App Engine

Hi,


Thank you for bringing this issue to our attention, after investigation the Engineering team is already working on a fix that should be included in the next release of the Cloud SDK. You can follow the Cloud SDK release notes on this page.


magoarcano

unread,
May 20, 2019, 8:11:28 AM5/20/19
to Google App Engine
Any news with this? I still have error with the last version.

Harmit Rishi (Cloud Platform Support)

unread,
May 23, 2019, 9:51:45 PM5/23/19
to Google App Engine
Hi, 

I took another look at the progress, it seems the engineering team is still actively working on the issue. Additionally, I was able to find the official public thread created by the engineering handling this issue here

At the moment there seems to be no ETA provided by them. However, the team has indicated that all further updates regarding this issue would be updated on the Public issue tracker provided above. You may feel free to CC yourself on it. This action will ensure that you will be receiving an update from the team as soon as they issue one. 
Reply all
Reply to author
Forward
0 new messages