MATE version detection/get_wallpaper is broken with MATE >= 1.10
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Variety |
Fix Released
|
Medium
|
James Lu |
Bug Description
Using Variety 0.6.0 / Ubuntu 16.04.
The problematic comparison is here: https:/
Version strings of "1.12.0", "1.10.0", etc. are not greater than "1.6.0" when doing string comparison, so newer versions of MATE cause Variety to fall back to mateconftool-2. This in turn makes get_wallpaper fail with a "command not found" error.
Some solutions would be to replace the simple string comparison with more in-depth version checking (though granted, there isn't an extremely clean way of doing this: https:/
More specifically, I get errors like this in the console:
/home/james/
ERROR: 2017-03-17 22:11:42,803: get_desktop_
Traceback (most recent call last):
File "/usr/lib/
output = subprocess.
File "/usr/lib/
raise CalledProcessEr
CalledProcessError: Command '/home/
Changed in variety: | |
importance: | Undecided → Medium |
Changed in variety: | |
status: | Triaged → Fix Committed |
Changed in variety: | |
status: | Fix Committed → Fix Released |
milestone: | none → 0.6.5 |
Changed in variety: | |
assignee: | nobody → James Lu (tacocat) |