app never starts in Ubuntu 16.04.2 due to missing python-cairo module
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SmartShine Photo |
Fix Released
|
Undecided
|
Unassigned | ||
smartshine (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Trusty |
Fix Released
|
High
|
Unassigned | ||
Xenial |
Fix Released
|
High
|
Unassigned | ||
Zesty |
Fix Released
|
High
|
Unassigned |
Bug Description
[Impact]
* smartshine has an insufficient list of dependencies, so users might end up in a situation where required dependencies happens to not be installed.
[Test Case]
1. Install smartshine
2. Verify that python-cairo and python-gi are installed.
3. Verify smartshine starts without any dialogs with errors.
4. Attempt to uninstall either python-cairo or python-gi (try one at a time). When attempting to uninstall either libarary, smartshine should be listed as "will also be removed".
Before the fix, both libraries could be removed, at which point smartshine would print an error message in the terminal.
[Regression Potential]
There should be no changes in package itself, only additional dependencies have been added. Thus, more packages are installed.
I was clicking around in the application and found bug 1702367 though, which is a bit more severe than this one. Even though it is possible to run the application, it won't do much. Note that this occurs prior to the patch, so it is not a regression.
[Original report]
In Ubuntu 16.04.2 when is installed smartshine from the official repository it does not start.
If the app is started by the GUI there is no error , if the app is started by the terminal is shown a generic error "An error occured. Python or one of its sub modules is absent..."
The error can be solved simply installing python-cairo from the official repository.
ps: sorry for English not perfectly correct
summary: |
- app never starts due to missing python-cairo module + app never starts in Ubuntu 16.04.2 due to missing python-cairo module |
Changed in smartshine (Ubuntu Xenial): | |
status: | Triaged → In Progress |
Changed in smartshine (Ubuntu Zesty): | |
status: | Triaged → In Progress |
Changed in smartshine (Ubuntu Trusty): | |
status: | New → In Progress |
importance: | Undecided → High |
Changed in smartshine: | |
status: | New → Fix Released |
Thank you for taking the time to report this bug and helping to make Ubuntu better.
I can confirm that smartshine 0.36-0ubuntu2 on Ubuntu Artful refuses to start if python-cairo isn't installed. While testing, I also discovered that python-gi is another undocument requirement of this package. These should be added to the Dependencies field in the control file to resolve this issue. I haven't checked thoroughly, but there might be more undocumented dependencies.
As a workaround, run `sudo apt install python-cairo python-gi` to install the necessary dependencies to run smartshine.
Btw, could you please run the following command in a terminal to gather additional debug information (only once):
apport-collect 1701648
When reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https:/ /wiki.ubuntu. com/ReportingBu gs.