FS#68910 - [hplip] hp-scan broken with python 3.9

Attached to Project: Arch Linux
Opened by xduugu (xduugu) - Wednesday, 09 December 2020, 14:12 GMT
Last edited by Andreas Radke (AndyRTR) - Wednesday, 09 December 2020, 15:47 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andreas Radke (AndyRTR)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
hplip uses a method that was deprecated and eventually removed in python 3.9.

Scanning...
Closing device.
Traceback (most recent call last):
File "/usr/bin/hp-scan", line 1314, in <module>
device.waitForScanActive()
File "/usr/share/hplip/scan/sane.py", line 403, in waitForScanActive
if self.scan_thread.isAlive() and \
AttributeError: 'ScanThread' object has no attribute 'isAlive'

Upstream issue: https://bugs.launchpad.net/hplip/+bug/1889280
Patch used by fedora: https://src.fedoraproject.org/rpms/hplip/blob/master/f/hplip-thread-isalive-removed.patch

Additional info:
* hplip 1:3.20.11-1
* python 3.9.0-1
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Wednesday, 09 December 2020, 15:47 GMT
Reason for closing:  Fixed
Additional comments about closing:  3.20.11-2

Loading...