Checkbox doesn't eval any requirements when a registry fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Checkbox |
Fix Released
|
Critical
|
Marc Tardif |
Bug Description
When Checkbox attempts to eval requirements, it uses the registry to interpret variable names. However, if a command registry fails, the following traceback might be generated:
Traceback (most recent call last):
File "/usr/lib/
results.
File "/usr/share/
registry_
File "/usr/lib/
values.
File "/usr/lib/
values.
File "/usr/lib/
for key, value in registry.items():
File "/usr/share/
lines[-1] += line
IndexError: list index out of range
The problem is that the status of running a command registry is not checked. So, in the event the gconftool-2 command is not found in the above gconf registry example, then the string "Command not fond" is returned and then parsed. Instead, the status of the command should be checked.
Related branches
Changed in checkbox: | |
assignee: | nobody → Marc Tardif (cr3) |
importance: | Undecided → Critical |
status: | New → In Progress |
Changed in checkbox: | |
status: | In Progress → Fix Committed |
Changed in checkbox: | |
status: | Fix Committed → Fix Released |