Protobuf .desc Scheme file fails to load after every app restart
Description
Protobuf Scheme .desc file throws errors after every app restart
Steps to Reproduce
- Tools > Protobuf > Protobuf Schema > Add .desc file. Protobuf Console Log showns no errrors
- Scheme gets loaded without errors, Protobuf messages are parsed correctly
- Close Proxyman app and restart it again
- 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