You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Edit:
See this comment (#21 (comment)), the issue is that protobuf was upgraded on Mar 26 from 3.7.0 to 3.7.1. This upgrade breaks SS throwing the below error/traceback.
Original content:
In a fresh container I pip install ss:
pip install sharedstreets
It install successfully. I then run the following command:
Traceback (most recent call last):
File "/usr/local/bin/sharedstreets-get-tile", line 7, in <module>
from sharedstreets.tile import main
File "/usr/local/lib/python3.6/site-packages/sharedstreets/tile.py", line 4, in <module>
from . import sharedstreets_pb2
File "/usr/local/lib/python3.6/site-packages/sharedstreets/sharedstreets_pb2.py", line 148, in <module>
options=None, file=DESCRIPTOR),
TypeError: __init__() got an unexpected keyword argument 'file'
Yep, confirmed that this is the problem. SS library breaks with update of protobuf from 3.7.0 to 3.7.1.
I uninstalled 3.7.1 and reinstalled protobuf, specifying version 3.7.0. SS works again!
Activity
kuanb commentedon Apr 26, 2019
I wonder if this is the result of the recently released update to
protobuf, from 3.7.0 to 3.7.1:Released on Mar 26: https://pypi.org/project/protobuf/3.7.1/
kuanb commentedon Apr 26, 2019
Yep, confirmed that this is the problem. SS library breaks with update of
protobuffrom 3.7.0 to 3.7.1.I uninstalled 3.7.1 and reinstalled
protobuf, specifying version 3.7.0. SS works again!