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

Protobuf .desc Scheme file fails to load after every app restart #2169

Open
nicojerome opened this issue Oct 21, 2024 · 1 comment
Open

Protobuf .desc Scheme file fails to load after every app restart #2169

nicojerome opened this issue Oct 21, 2024 · 1 comment
Assignees
Labels
bug Something isn't working
Milestone

Comments

@nicojerome
Copy link

Description

Protobuf Scheme .desc file throws errors after every app restart

Steps to Reproduce

  1. Tools > Protobuf > Protobuf Schema > Add .desc file. Protobuf Console Log showns no errrors
  2. Scheme gets loaded without errors, Protobuf messages are parsed correctly
  3. Close Proxyman app and restart it again
  4. Protobuf messages are not parsed anymore. Tools > Protobuf > Protobuf Schema > Previous .desc file is still there, but Protobuf Console Log shows all these errors:

[Error]: "google.protobuf.Timestamp.seconds" is already defined in file "timestamp.proto".
❌ [Error]: "google.protobuf.Timestamp.nanos" is already defined in file "timestamp.proto".
❌ [Error]: "google.protobuf.Timestamp" is already defined in file "timestamp.proto".
❌ [Error]: "google.protobuf.Duration.seconds" is already defined in file "duration.proto".
❌ [Error]: "google.protobuf.Duration.nanos" is already defined in file "duration.proto".
❌ [Error]: "google.protobuf.Duration" is already defined in file "duration.proto".
❌ [Error]: "google.protobuf.DoubleValue.value" is already defined in file "wrappers.proto".
❌ [Error]: "google.protobuf.DoubleValue" is already defined in file "wrappers.proto".
❌ [Error]: "google.protobuf.FloatValue.value" is already defined in file "wrappers.proto".
❌ [Error]: "google.protobuf.FloatValue" is already defined in file "wrappers.proto".
❌ [Error]: "google.protobuf.Int64Value.value" is already defined in file "wrappers.proto".
❌ [Error]: "google.protobuf.Int64Value" is already defined in file "wrappers.proto".
❌ [Error]: "google.protobuf.UInt64Value.value" is already defined in file "wrappers.proto".
❌ [Error]: "google.protobuf.UInt64Value" is already defined in file "wrappers.proto".
❌ [Error]: "google.protobuf.Int32Value.value" is already defined in file "wrappers.proto".
❌ [Error]: "google.protobuf.Int32Value" is already defined in file "wrappers.proto".
❌ [Error]: "google.protobuf.UInt32Value.value" is already defined in file "wrappers.proto".
❌ [Error]: "google.protobuf.UInt32Value" is already defined in file "wrappers.proto".
❌ [Error]: "google.protobuf.BoolValue.value" is already defined in file "wrappers.proto".
❌ [Error]: "google.protobuf.BoolValue" is already defined in file "wrappers.proto".
❌ [Error]: "google.protobuf.StringValue.value" is already defined in file "wrappers.proto".
❌ [Error]: "google.protobuf.StringValue" is already defined in file "wrappers.proto".
❌ [Error]: "google.protobuf.BytesValue.value" is already defined in file "wrappers.proto".
❌ [Error]: "google.protobuf.BytesValue" is already defined in file "wrappers.proto".
❌ [Error]: A file with this name is already in the pool.

Protobuf messages are also not parsed anymore. Solution is to remove the .desc file and add it again. This needs to be done after every app restart.

Environment

  • App version: Proxyman 5.10.0
  • macOS 15.0.1
@nicojerome nicojerome added the bug Something isn't working label Oct 21, 2024
@NghiaTranUIT NghiaTranUIT self-assigned this Oct 23, 2024
@NghiaTranUIT NghiaTranUIT added this to the 5.11.0 milestone Oct 23, 2024
@NghiaTranUIT
Copy link
Member

thanks, it's a bug. We will fix it and send you a Beta build asap 👍

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