Open reuben opened 5 years ago
After manually patching the code to replace cpp.tensor-flow
with cpp.tensorflow
I ran into the same problem but this time with boost.Program_Options: https://storage.googleapis.com/sourcerer-app/library-models/v2/cpp/cpp.boost-program_options.pb
Hi @reuben. Based on your other issues I can guess that during app building you had an issue with protobuf generator. Protocol message end-group tag did not match expected tag.
error usually means that something is wrong with protobuf models. Try to rebuild them again.
How do I rebuild the protobufs? I ran into this problem with a release version of the app, installed via curl -s https://sourcerer.io/app/install | bash
, the only reason why I modified the code was to try and figure out what was going on.
And yes, something is wrong with the protobuf, it's trying to download a protobuf from https://storage.googleapis.com/sourcerer-app/library-models/v2/cpp/cpp.tensor-flow.pb and getting a 404 error. Instead of giving up, it tries to parse the contents of the 404 error page.
@yaronskaya did we lose a classifier from production? maybe it's a versioning issue?
@reuben Could you please rebuild app again? Issue with cpp.tensorflow should be fixed now.
@yaronskaya successfully got past the cpp.tensorflow
problem, now getting a similar error with cpp.boost-program_options
:
[i] Downloading cpp.boost-program_options classifier.
[i] Finished downloading cpp.boost-program_options classifier.
[i] Loading cpp.boost-program_options evaluator.
[e] Hashing error: Protocol message end-group tag did not match expected tag.
@reuben it should work now. Hopefully you won't get this error again.
Ran into this while trying to hash https://github.com/mozilla/DeepSpeech/
I added some debugging code and the problem seems to be that
libraries_meta.pb
points to acpp.tensor-flow.pb
classifier which does not exist in the server:Trying to download that URL directly shows a XML error about the file not existing. I'm assuming the code then tries to parse a protobuf out of the XML error message and causes the error.