Coder Social home page Coder Social logo

Comments (7)

hegjon avatar hegjon commented on May 30, 2024

Environment: Fedora 25 x86-64, installed via RPM packages.

from python-trezor.

prusnak avatar prusnak commented on May 30, 2024

This is a protobuf issue, not python-trezor.

See:

from python-trezor.

hegjon avatar hegjon commented on May 30, 2024

Thanks, I will look deeper into it

from python-trezor.

hegjon avatar hegjon commented on May 30, 2024

Version 0.7.12 runs without any exceptions, while 0.7.13 causes this error. The protobuf-python version is the same. Could it be the way the generated protobuffer code is generated? Did you run with different versions of protobuf-compiler when running build_pb.sh?

from python-trezor.

prusnak avatar prusnak commented on May 30, 2024

Ah, you might be on the right track. There was a commit (29348f4) between 0.7.12 and 0.7.13 where I regenerated protobufs and most probably python-protobuf version changed from 2.x to 3.x on my machine. Sorry for that :-/

Maybe we shoud bump the requirement for python-protobuf to 3.x series.

Would that be OK as a fix?

from python-trezor.

hegjon avatar hegjon commented on May 30, 2024

That is fine, I am glad we have probably found the issue.

Fedora 25 ships with protobuf 2.5 as system package, but I have the option to run the protoc commands during the build. Will that cause problems? I probably need to create a package or bundle the protobuf messages.

from python-trezor.

prusnak avatar prusnak commented on May 30, 2024

It probably should not cause problems if user does not mix trezor package from fedora with trezor package from pypi.

from python-trezor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.