UnboundLocalError: local variable 'lshw' referenced before assignment
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Checkbox Provider - Base |
New
|
Undecided
|
Rod Smith | ||
Checkbox Provider - SRU |
New
|
Undecided
|
Unassigned |
Bug Description
On some systems we will get this message[1] when running SRU.
Stable PPA is used:
ubuntu@
Desired=
| Status=
|/ Err?=(none)
||/ Name Version Architecture Description
+++-===
ii checkbox-ng 1.6.0~ppa~
un plainbox <none> <none> (no description available)
ii plainbox-
ii plainbox-
ii plainbox-
ii python3-checkbox-ng 1.6.0~ppa~
ii python3-
un python3-plainbox <none> <none> (no description available)
ubuntu@
Several submission error urls:
- eoan on 201708-25694 Dell XPS 13 9370
https:/
[1]
ERROR:root:Unable to parse JSON: Expecting ',' delimiter: line 24 column 8 (char 588)
Traceback (most recent call last):
File "/tmp/nest-
sys.
File "/tmp/nest-
installed_
File "/tmp/nest-
lshw.
File "/usr/lib/
self.
UnboundLocalError: local variable 'lshw' referenced before assignment
Changed in plainbox-provider-checkbox: | |
assignee: | nobody → Rod Smith (rodsmith) |
This bug is caused by invalid lshw output, and I don't see any obvious workaround short of a serious re-write of the memory/info test. Others are working on the lshw bug; with any luck a fix will be available before Ubuntu 20.04 is released. If not, we may need to drop or seriously re-work the memory/info test; but with progress being made on the underlying bug, it seems best to wait a bit before committing resources to a workaround. See also bug #1840462, which closely parallels this one.