Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Openbazaar fails to start with protobuf < 3.2.0 #51

Open
Whytehorse opened this issue May 17, 2017 · 1 comment
Open

Openbazaar fails to start with protobuf < 3.2.0 #51

Whytehorse opened this issue May 17, 2017 · 1 comment

Comments

@Whytehorse
Copy link

On a Ubuntu 16.04 install, I run the following command:
python openbazaard.py start --testnet
I receive the following error:
Traceback (most recent call last): File "openbazaard.py", line 11, in <module> from api.ws import WSFactory, AuthenticatedWebSocketProtocol, AuthenticatedWebSocketFactory File "/home/ben/OpenBazaar-Server/api/ws.py", line 17, in <module> from dht.node import Node File "/home/ben/OpenBazaar-Server/dht/node.py", line 8, in <module> from protos import objects File "/home/ben/OpenBazaar-Server/protos/objects.py", line 17, in <module> import countries as countries__pb2 File "/home/ben/OpenBazaar-Server/protos/countries.py", line 36, in <module> type=None), File "/home/ben/.local/lib/python2.7/site-packages/google/protobuf/descriptor.py", line 652, in __new__ _message.Message._CheckCalledFromGeneratedFile() TypeError: Descriptors should not be created directly, but only retrieved from their parent.

This is a known issue for people using protobuf 3.
ethereon/caffe-tensorflow#105
Solution is to upgrade to latest version using this command:
pip install --upgrade protobuf --user

@Whytehorse
Copy link
Author

I just tried with protobuf 3.3.0 and it still has the same error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant