Community Packages

Please read this before reporting a bug:
http://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#51757 - [cinnamon-screensaver] 3.2.0-1 missing dependency: python-cairo

Attached to Project: Community Packages
Opened by Ricardo Maes (kukiric) - Wednesday, 09 November 2016, 06:28 GMT
Last edited by Doug Newgard (Scimmia) - Wednesday, 09 November 2016, 15:55 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

In the new release of Cinnamon (3.2.0), the cinnamon-screensaver package requires the python cairo libraries, but they are not installed as a dependency by pacman.

Unless the python-cairo package is installed manually, it's not possible to lock the screen in Cinnamon, and running the cinnamon-screensaver daemon in a terminal fails with the following output:

Traceback (most recent call last):
File "/usr/share/cinnamon-screensaver/cinnamon-screensaver-main.py", line 14, in <module>
from service import ScreensaverService
File "/usr/share/cinnamon-screensaver/service.py", line 9, in <module>
from manager import ScreensaverManager
File "/usr/share/cinnamon-screensaver/manager.py", line 10, in <module>
from stage import Stage
File "/usr/share/cinnamon-screensaver/stage.py", line 9, in <module>
from monitorView import MonitorView
File "/usr/share/cinnamon-screensaver/monitorView.py", line 5, in <module>
import cairo
ImportError: No module named 'cairo'


Additional info:
* works with python-cairo 1.10.0-6
* python2-cairo does not solve the dependency (cinnamon-screensaver runs with python 3)
* last known good version: cinnamon-screensaver 3.0.1-1 (python-cairo not required)


Steps to reproduce:
* Install cinnamon on a system where no other package depends on python-cairo
* Start a Cinnamon session from a DM
* Try to lock screen (Ctrl+Alt+L or Menu -> Lock): nothing happens
* Run cinnamon-screensaver in a terminal window: error
* Install python-cairo
* Run cinnamon-screensaver in a terminal again: success
* Try to lock the screen again: screen locker appears
This task depends upon

Closed by  Doug Newgard (Scimmia)
Wednesday, 09 November 2016, 15:55 GMT
Reason for closing:  Fixed
Additional comments about closing:  cinnamon-screensaver 3.2.0-2

Loading...