python-cairo dependency missing in checkbox-gtk
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Checkbox |
Fix Released
|
Low
|
Javier Collado |
Bug Description
During a checkbox installation from scratch one Sean Feole reported problems when running checkbox.
Looking at the logs, the problem was that `cairo` package wasn't found when trying to import it `gtk_interface.py`. After installing `python-cairo` package, the problem was gone and everyting worked fine.
According to `debian/control` file `python-cairo` isn't required by `checkbox-gtk` and using `apt-rdepends checkbox-gtk` I see that `libcairo2` is required, but not `python-cairo`. Hence, it seems that `python-cairo` isn't required either directly or indirectly.
I guess that it's a common package required by other applications and that's the reason this problem hasn't been found yet. Anyway, to prevent it from happening again it should be added to `debian/control`.
Related branches
- Checkbox Developers: Pending requested
-
Diff: 28 lines (+5/-2)2 files modifieddebian/changelog (+4/-1)
debian/control (+1/-1)
- Daniel Holbach (community): Approve
-
Diff: 8665 lines (+4575/-636)21 files modifiedcheckbox/lib/process.py (+1/-1)
checkbox/parsers/udevadm.py (+5/-3)
debian/changelog (+62/-27)
debian/checkbox-gtk.install (+0/-1)
debian/control (+1/-1)
debian/po/cs.po (+119/-0)
debian/po/oc.po (+119/-0)
gtk/checkbox-gtk.desktop.in (+0/-11)
jobs/disk.txt.in (+6/-6)
jobs/local.txt.in (+114/-38)
jobs/wireless.txt.in (+6/-6)
plugins/backend_info.py (+2/-2)
po/POTFILES.in (+1/-1)
po/de.po (+158/-106)
po/nl.po (+263/-137)
po/ru.po (+129/-109)
po/sd.po (+2994/-0)
po/uk.po (+375/-121)
scripts/create_connection (+23/-8)
scripts/removable_storage_test (+196/-57)
setup.cfg (+1/-1)
Changed in checkbox: | |
milestone: | none → 0.13.4 |
assignee: | nobody → Javier Collado (javier.collado) |
Changed in checkbox: | |
status: | In Progress → Fix Committed |
Changed in checkbox: | |
status: | Fix Committed → Fix Released |
Python-cairo is installed by default on the Ubuntu CD (as of Precise, at least). I'm curious to know what Sean Feole was using as a basis for his project. Of course explicitly having the dependency is the best way to go, but I'd still like to know :)