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

invalid encoding starting at #86

Open
dtrce opened this issue Dec 29, 2017 · 0 comments
Open

invalid encoding starting at #86

dtrce opened this issue Dec 29, 2017 · 0 comments

Comments

@dtrce
Copy link

dtrce commented Dec 29, 2017

I'm getting the following error when loading the proto file attached:

** (UnicodeConversionError) invalid encoding starting at <<154, 179, 139, 210, 5, 18, 200, 5, 10, 5, 84, 49, 48, 48, 49, 16, 0, 26, 188, 5, 10, 32, 10, 3, 49, 50, 49, 18, 8, 49, 51, 58, 53, 56, 58, 48, 48, 26, 8, 50, 48, 49, 55, 49, 50, 50, 54, 32, 0, 42, ...>> (elixir) lib/string.ex:1840: String.to_charlist/1 lib/exprotobuf/parser.ex:41: Protobuf.Parser.parse/2 lib/exprotobuf/parser.ex:55: Protobuf.Parser.parse!/2 lib/exprotobuf/parser.ex:10: anonymous fn/3 in Protobuf.Parser.parse_files!/2 (elixir) lib/enum.ex:1826: Enum."-reduce/3-lists^foldl/2-0-"/3 lib/exprotobuf/parser.ex:8: Protobuf.Parser.parse_files!/2 lib/exprotobuf.ex:80: Protobuf.parse/2 expanding macro: Protobuf.__using__/1...

I was able to load the proto file in a sample java protobuf reader to ensure that the file is in the right format. Not sure if I'm missing a config parameter.

GTFSDATAFILE_1514312552253.proto.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant