Closed prusnak closed 7 years ago
Have the same problem.
I'll rebuild Electrum with python-trezor 0.6.13
@prusnak Any chance you start tagging your releases in git? I've noticed you just bump the version without tagging it.
--> https://github.com/trezor/python-trezor/commit/f9d82511f2987c4ef74b6439276a43016257798a
Getting this one and the client does not open itself
I am on firmware 1.3.5 - does not work either
I guess the plugin API has changed and python-trezor-0.6.13 is not compatible with Electrum-Dash 2.4.2
@Kefkius any idea?
@prusnak Any chance you start tagging your releases in git? I've noticed you just bump the version without tagging it.
I can start doing it, but we upload releases to PyPI and I though that's the place where everyone is getting them from.
@prusnak I don't think there's a way (if there is one I certainly haven't found it) to look at diffs between versions on PyPI, which is what we're looking for.
@schinzelh Trezor wallet loads on Linux with firmware 1.3.6 and python-trezor 0.6.13. Could it be an issue with how your builds are done?
With windows there never was a problem (even with older python-trezor). Whole fix is just for Windows.
I am on firmware 1.3.5 - does not work either
The breakage has nothing to do with the 1.3.6 firmware upgrade. I recall the issue in the screenshot quite some time ago.
Are you using latest Electrum codebase? Are you sure it is python-trezor 0.6.13 used in your build?
We are on Electrum 2.4.2 codebase - so my educated guess is that python-trezor-0.6.13 is not compatible with Electrum 2.4 due to some plugin API changes.
I tihnk the breakage must have happened earlier, you just have not noticed it. So there is no point in checking changesets of 1.3.6 firmware or 0.6.13 python-trezor.
Can anyone confirm that problem happens with 1.3.5 firmware and 0.6.12 python-trezor?
Hmm, then I'll test all versions of python-trezor from 0.6.7 up to 0.6.13 to find were we broke.
We were using python-trezor-0.6.7 (which worked) before updating to python-trezor-0.6.13 (which does not) - so good chance the bug was introduced along the way.
I'll keep you posted.
Thank you!
I studied the issue further and these kinds of bugs appear when one workflow does not eat all messages sent by TREZOR from the queue. New workflow sees message from older workflow and it is understandably not the message it expects.
That makes sense. I'll have a look at the workflow as well
Btw, we just released python-trezor 0.7.0 with some refactored parts. No big functional changes were between 0.6.13 and 0.7.0, but when you'll be updating your binaries, please use 0.7.0 instead.
Also I tagged the release commit in Git.
That explains why the error in https://github.com/dashpay/electrum-dash/issues/47#issuecomment-228594459 is thrown here (re: unexpected messages)
I reported incorrectly to use 0.7.0.
Please use 0.6.13, because newer branch requires some further changes to your codebase.
Thanks for the pointer :+1:
Btw, any particular reason why you don't follow Electrum development and stick to the obsolete 2.4 branch? Doing that would so much things easier for you. (Electrum-Ltc had patched binaries ready in a couple of minutes).
No particular reason, just lack of time and resources :-)
I am still in the process merging us up to upstream
Also I tagged the release commit in Git.
@prusnak I'm not seeing any tags in https://github.com/trezor/python-trezor. Isn't that the right repo?
Sorry, try again. Forgot to push using --tags.
We have successfully updated to Electrum 2.6.4 codebase and python-trezor-0.6.13 now
Many thanks!
... for windows builds
this fixes issues with firmware 1.3.6 (it is unusable with older python-trezor) on windows