pin PyCryptodomex to version 3.9.4#575
pin PyCryptodomex to version 3.9.4#575tiefpunkt wants to merge 1 commit intoct-Open-Source:masterfrom
Conversation
The latest release of PyCryptodomex seems to be missing the Cryptodome.Util submodule. It works with the 3.9.4 version though.
|
Thanks for your PR! I don't see anything about this change in the PyCryptodome repo, and the Util module does seem to still be present in the source. I will take a closer look when a get a chance, but feel free to add more info when available. |
|
I did the normal installation procedures, and when starting the update, I got an error message along the lines of "no module named Cryptodome.Util". I then also did the PyCryptodome selftest ("python -m Cryptodome.SelfTest"), which failed with a similar message. Had to do it in a linux live installation, so I don't have the exact error messages anymore, sorry. So it's definitly a PyCryptodome issue, but going back to an older version of PyCryptodomex at least let me flash my wifi plugs, so I thought I'd share that ;) |
|
I needed to use this to make it work. Actually the install_req script does not seem to work properly at all for me, all required modules were not installed, although it stated it did. manually installed and succeeded. |
|
Interesting @bakman2, could you please share more details? What OS? Were any errors reported? |
This was on a pi running octopi (Linux octopi 4.19.75-v7+ #1270 not sure what was done to the os specifically). Installing, no errors reported. (sorry, i removed all directories) Running start_flash revealed "no module Cryptodome", manually installed, restart flash, missing tornado, repeat, missing sslpkg. Ending up switching to root and installed all manually (forgot paho) but could flash. |
|
I landed here because I had the same issue mentioned in #583
@bakman2 how did you sorted your mentioned issues out ? |
|
And what can i do if i hav sonoffs already running? I used my Pi3 and my tablet for the confim network. |
|
@kxn25 this project only supports Tuya devices, not Sonoff. |
|
I tried to pin manually - still same error |
The latest release of PyCryptodomex seems to be missing the Cryptodome.Util submodule, making the SmartConfig process fail. It works with the 3.9.4 version though.