Community Packages

Please read this before reporting a bug:

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!

FS#65912 - [diffuse] Missing python-cairo dependency in 0.5.0alpha7+4+g813d6e7-2

Attached to Project: Community Packages
Opened by Til Boerner (tilx) - Saturday, 21 March 2020, 08:31 GMT
Last edited by Alexander F. Rødseth (xyproto) - Monday, 23 March 2020, 16:11 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Alexander F. Rødseth (xyproto)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No



I haven't used diffuse in a couple of weeks, so I'm not sure if this already broke for the previous version, but after updating my system today, which incluced an update to

diffuse 0.5.0alpha7+4+g813d6e7-2

the program didn't show file contents anymore. It still opened normally, but the content panes where empty. The console output included a lot of these error messages:

TypeError: Couldn't find foreign struct converter for 'cairo.Context'

Installing python-cairo (1.19.1-1) fixed the problem for me.

Steps to reproduce:

- Don't have python-cairo installed (also don't have the Python package in your PYTHON_PATH I suppose)
- Run `diffuse example.txt`
This task depends upon

Closed by  Alexander F. Rødseth (xyproto)
Monday, 23 March 2020, 16:11 GMT
Reason for closing:  Fixed
Comment by Alexander F. Rødseth (xyproto) - Monday, 23 March 2020, 16:02 GMT
Thanks for reporting! Updated the package and added python-cairo as a dependency.