Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deb packages missing dependency on python3-gi-cairo #2862

Closed
totaam opened this issue Aug 14, 2020 · 3 comments
Closed

deb packages missing dependency on python3-gi-cairo #2862

totaam opened this issue Aug 14, 2020 · 3 comments
Labels

Comments

@totaam
Copy link
Collaborator

totaam commented Aug 14, 2020

Issue migrated from trac ticket # 2862

component: packaging | priority: minor | resolution: fixed | keywords: ubuntu, kubuntu, kde, deb

2020-08-14 22:37:15: grady created the issue


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

@totaam
Copy link
Collaborator Author

totaam commented Aug 15, 2020

2020-08-15 06:13:10: antoine changed status from new to closed

@totaam
Copy link
Collaborator Author

totaam commented Aug 15, 2020

2020-08-15 06:13:10: antoine set resolution to fixed

@totaam
Copy link
Collaborator Author

totaam commented Aug 15, 2020

2020-08-15 06:13:10: antoine commented


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?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant