Skip to content

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

Description

@thomas-am

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions