FS#63093 - [deluge] No module named 'cairo'

Attached to Project: Arch Linux
Opened by Bernd Arnold (bernd) - Thursday, 04 July 2019, 06:34 GMT
Last edited by Doug Newgard (Scimmia) - Thursday, 04 July 2019, 06:37 GMT
Task Type Bug Report
Category Packages: Extra
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 0
Private No

Details

Description:
Deluge doesn't start. It seems package extra/python-cairo is required by deluge.

When trying to run deluge from the shell, the output is (excerpt):

07:22:58 [ERROR ][deluge.ui.gtk3 :51 ] No module named 'cairo'
Traceback (most recent call last):
File "/usr/lib/python3.7/site-packages/deluge/ui/gtk3/__init__.py", line 48, in run
gtkui = GtkUI(options)
File "/usr/lib/python3.7/site-packages/deluge/ui/gtk3/gtkui.py", line 201, in __init__
self.torrentdetails = TorrentDetails()
File "/usr/lib/python3.7/site-packages/deluge/ui/gtk3/torrentdetails.py", line 115, in __init__
from .status_tab import StatusTab
File "/usr/lib/python3.7/site-packages/deluge/ui/gtk3/status_tab.py", line 18, in <module>
from .piecesbar import PiecesBar
File "/usr/lib/python3.7/site-packages/deluge/ui/gtk3/piecesbar.py", line 20, in <module>
import cairo # Backward compat cairo <= 1.15
ModuleNotFoundError: No module named 'cairo'

Additional info:
* package version: 2.0.3-1 (current)

Steps to reproduce:
Update system
Run deluge from shell (above error can be seen)
Run sudo pacman -S python-cairo (installs 1.18.1-1)
Run deluge (runs fine now)
This task depends upon

Closed by  Doug Newgard (Scimmia)
Thursday, 04 July 2019, 06:37 GMT
Reason for closing:  Not a bug
Additional comments about closing:  Covered by optional deps. Pay more attention to what pacman tells you.

Loading...