xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.

Opened 13 months ago

Closed 13 months ago

Last modified 8 months ago

#2862 closed defect (fixed)

deb packages missing dependency on python3-gi-cairo

Reported by: grady Owned by: Antoine Martin
Priority: minor Milestone: 4.1
Component: packaging Version: 4.0.x
Keywords: ubuntu, kubuntu, kde, deb Cc:


Installing xpra from the xpra.org deb repositories does not install python3-gi-cairo as a dependency.
Invoking xpra from the command line results in a completely black xpra window and an error on console

xpra start --start=xterm
xpra attach
TypeError: Couldn't find foreign struct converter for 'cairo.Context'

installing python3-gi-cairo resolves the error and xpra subsequently displays the window properly

sudo apt install python3-gi-cairo

python3-gi-cairo may be present on other flavors of Ubuntu due to a dependency from some other package. Apparently, Kubuntu minimal install has no packages that depend on python3-gi-cairo.

The Ubuntu distribution package for xpra has python3-gi-cairo as a dependency.

OS: Kubuntu 20.04 (focal) minimal install
Desktop Environment: KDE Plasma 5

Change History (2)

comment:1 Changed 13 months ago by Antoine Martin

Resolution: fixed
Status: newclosed

I'll take your work for it, fixed in r27157.
I've never seen this problem myself, we already depend on python3-cairo, and we never import Cairo from the gi bindings. (maybe something in Gtk does - do you have the full backtrace?)

comment:2 Changed 8 months ago by migration script

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/2862

Note: See TracTickets for help on using tickets.