hp-toolbox tracebacks with Python3.10
Bug #1948801 reported by
zdohnal
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HPLIP |
Fix Released
|
Undecided
|
Unassigned | ||
hplip (Fedora) |
Fix Committed
|
Undecided
|
Bug Description
Hi,
we have the bug for Fedora 35 (https:/
The first traceback is caused that 'collections.
Changed in hplip (Fedora): | |
importance: | Unknown → Undecided |
status: | Unknown → Fix Committed |
Changed in hplip: | |
status: | New → In Progress |
To post a comment you must log in.
Description of problem:
hp-toolbox crashes when trying to do certain things.
Version-Release number of selected component (if applicable): 3.21.2- 11.fc35. x86_64
hplip-gui-
How reproducible:
Always
Steps to Reproduce:
1. Open hp-toolbox
2. Click on "Clean Printheads"
Actual results: hplip/ui5/ devmgr5. py", line 1270, in ActionsList_clicked item.cmd, collections. Callable) :
\Traceback (most recent call last):
File "/usr/share/
if item.cmd and isinstance(
AttributeError: module 'collections' has no attribute 'Callable'
Aborted (core dumped)
Expected results:
It opens hp-clean.
Steps to Reproduce:
1. Open hp-toolbox
2. Click on "Supplies"
Actual results: hplip/ui5/ devmgr5. py", line 567, in Tabs_currentChanged TabIndex[ tab]() hplip/ui5/ devmgr5. py", line 1575, in updateSuppliesTab usLevelGraphic( agent_level, agent_type) hplip/ui5/ devmgr5. py", line 1706, in createStatusLev elGraphic QColor( map[0]) ))
\Traceback (most recent call last):
File "/usr/share/
self.
File "/usr/share/
level_pixmap = self.createStat
File "/usr/share/
pp.fillRect(0, 0, fw, h, QBrush(
TypeError: arguments did not match any overloaded call:
fillRect(self, QRectF, Union[QBrush, QColor, Qt.GlobalColor, QGradient]): argument 1 has unexpected type 'int'
fillRect(self, QRect, Union[QBrush, QColor, Qt.GlobalColor, QGradient]): argument 1 has unexpected type 'int'
fillRect(self, int, int, int, int, Union[QBrush, QColor, Qt.GlobalColor, QGradient]): argument 3 has unexpected type 'float'
fillRect(self, QRectF, Union[QColor, Qt.GlobalColor, QGradient]): argument 1 has unexpected type 'int'
fillRect(self, QRect, Union[QColor, Qt.GlobalColor, QGradient]): argument 1 has unexpected type 'int'
fillRect(self, int, int, int, int, Union[QColor, Qt.GlobalColor, QGradient]): argument 3 has unexpected type 'float'
fillRect(self, int, int, int, int, Qt.GlobalColor): argument 3 has unexpected type 'float'
fillRect(self, QRect, Qt.GlobalColor): argument 1 has unexpected type 'int'
fillRect(self, QRectF, Qt.GlobalColor): argument 1 has unexpected type 'int'
fillRect(self, int, int, int, int, Qt.BrushStyle): argument 3 has unexpected type 'float'
fillRect(self, QRect, Qt.BrushStyle): argument 1 has unexpected type 'int'
fillRect(self, QRectF, Qt.BrushStyle): argument 1 has unexpected type 'int'
fillRect(self, int, int, int, int, QGradient.Preset): argument 3 has unexpected type 'float'
fillRect(self, QRect, QGradient.Preset): argument 1 has unexpected type 'int'
fillRect(self, QRectF, QGradient.Preset): argument 1 has unexpected type 'int'
Aborted (core dumped)
Expected results:
It opens the supplies tab.
I'm running this on Fedora 35 Silverblue in an F35 toolbox.