checkbox spits out confusing traces about 'too many values to unpack'
Bug #796508 reported by
Brendan Donegan
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Checkbox |
Fix Released
|
Low
|
Brendan Donegan |
Bug Description
When running checkbox-gtk from the command line the following traces are seen when moving the pointer over the main window:
Traceback (most recent call last):
File "/usr/lib/
x, y, _ = window.
ValueError: too many values to unpack
(they'll repeat as long as the pointer is in the window)
These seem like a harmless Python error but it's confusing to have them there if they don't need to be.
The attached branch proposes a simple solution to hiding them (essentially the problem is that get_pointer is now returning a 4-value tuple and the code is only offering a 3-value tuple to unpack it into.
Related branches
lp:~brendan-donegan/checkbox/fix_get_pointer_error
- Marc Tardif (community): Approve
-
Diff: 12 lines (+1/-1)1 file modifiedcheckbox_gtk/hyper_text_view.py (+1/-1)
Changed in checkbox: | |
status: | New → In Progress |
importance: | Undecided → Low |
assignee: | nobody → Brendan Donegan (brendan-donegan) |
Changed in checkbox: | |
status: | In Progress → Fix Committed |
Changed in checkbox: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.