FS#64678 - [yubioath-desktop] yubioath no longer works after python/yubikey-manager updates

Attached to Project: Community Packages
Opened by Chester Wisniewski (chetwisniewski) - Thursday, 28 November 2019, 21:08 GMT
Last edited by Filipe Laíns (FFY00) - Monday, 16 December 2019, 10:30 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Filipe Laíns (FFY00)
Architecture All
Severity Critical
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description: After the upgrade of python 3.8 and yubikey-manager it throws errors and cannot read yubikeys. Errors thrown to the console:

"PyOtherSide error: Traceback (most recent call last):\n\n File \"qrc:///py/yubikey.py\", line 27, in <module>\n signal.signal(signal.SIGINT, signal.SIG_DFL)\n\n File \"/usr/lib/python3.8/signal.py\", line 47, in signal\n handler = _signal.signal(_enum_to_int(signalnum), _enum_to_int(handler))\n\nValueError: signal only works in main thread\n"
Unhandled PyOtherSide error: Cannot import module: yubikey (Traceback (most recent call last):

File "qrc:///py/yubikey.py", line 27, in <module>
signal.signal(signal.SIGINT, signal.SIG_DFL)

File "/usr/lib/python3.8/signal.py", line 47, in signal
handler = _signal.signal(_enum_to_int(signalnum), _enum_to_int(handler))

ValueError: signal only works in main thread
)
"PyOtherSide error: Traceback (most recent call last):\n\n File \"<string>\", line 1, in <module>\n\nNameError: name 'yubikey' is not defined\n"
Unhandled PyOtherSide error: Function not found: 'yubikey.init' (Traceback (most recent call last):

File "<string>", line 1, in <module>

NameError: name 'yubikey' is not defined
)

Additional info:
* Version yubioath-desktop-5.0.1-1
* yubikey-manager threw same errors before update marked "python 3.8 rebuild"

Steps to reproduce:
This task depends upon

Closed by  Filipe Laíns (FFY00)
Monday, 16 December 2019, 10:30 GMT
Reason for closing:  Fixed
Additional comments about closing:  yubioath-desktop 5.0.1-2
Comment by Rian McGuire (rmcgu) - Friday, 29 November 2019, 03:39 GMT
Looks like this just got fixed upstream:
https://github.com/Yubico/yubioath-desktop/pull/493
Comment by Islam Bahnasy (ice-9) - Tuesday, 10 December 2019, 08:23 GMT
I'm confirming that issue and it's reproducible.
The AppImage version works fine though!
Comment by Jensen McKenzie (your_doomsday) - Sunday, 15 December 2019, 16:32 GMT
I don't understand how someone can pretend to maintain package and leave it in completely broken state for over two weeks (and this package was adopted from AUR quite recently).

If you don't have the time then moving it back to AUR bring chance that someone more capable and motivated would take over. Moving package to official repos and then not maintaining it is a disservice for users.

Loading...