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

"Double registration of Extensions" error when importing both fabricpb_pb2 and dataflowpb_pb2 in python script #1

Open
thomas-am opened this issue Oct 15, 2021 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@thomas-am
Copy link
Member

Python script:

from fabric.fabric import fabricpb_pb2
from dataflow.dataflow import dataflowpb_pb2

generates this error:

Traceback (most recent call last):
  File "model-trials\sandbox\validates_samples.py", line 3, in <module>
    from dataflow.dataflow import dataflowpb_pb2
  File "dataflow\dataflow\dataflowpb_pb2.py", line 1708, in <module>
    google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(msg_meta)
ValueError: Double registration of Extensions

Expected behavior
No error

Environment

  • Python 3.8.7 (win)
@ajbalogh ajbalogh self-assigned this Oct 15, 2021
@ajbalogh ajbalogh added the bug Something isn't working label Oct 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants