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

TypeError: Couldn't build proto file into descriptor pool: duplicate file name rpc.proto #19793

Closed
zhushixia opened this issue Dec 25, 2024 · 2 comments

Comments

@zhushixia
Copy link

When using livekit and etcd3 at the same time,
TypeError: Couldn't build proto file into descriptor pool: duplicate file name rpc.proto

protobuf==4.25.3
etcd3==0.12.0

@zhushixia zhushixia added the untriaged auto added to all issues by default when created. label Dec 25, 2024
@amauryfa
Copy link

This is an issue with these two projects.

  • python-etcd3 provides a precompiled module etcd3/etcdrpc/rpc_pb2.py which refers to the original file as "rpc.proto", with no directory.
  • livekit does the same.

One of them (both, ideally) should compile the modules with a directory prefix.
Let's continue the discussion on etcd-io/etcd#19106

@zhangskz
Copy link
Member

Closing, since it looks like the error message is WAI per the above comment, but please reopen / reach out if you need further assistance here!

@zhangskz zhangskz closed this as not planned Won't fix, can't repro, duplicate, stale Dec 26, 2024
@zhangskz zhangskz added wontfix protoc customer issue and removed untriaged auto added to all issues by default when created. labels Dec 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants