-
Notifications
You must be signed in to change notification settings - Fork 114
Open
Description
When I installed the .deb version from here on my Ubuntu 24.04 and I notice the application was freezing all the time and sometimes even crashing.. I inspected the errors/logs and noticed an error popping up many times
Traceback (most recent call last):
File "/usr/lib/webapp-manager/webapp-manager.py", line 222, in data_func_surface
surface = Gdk.cairo_surface_create_from_pixbuf(pixbuf, self.window.get_scale_factor())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: Couldn't find foreign struct converter for 'cairo.Surface'
I figured that when I install the GObject Introspection bridge the error got solved.. For the record here is the commands to install it...
sudo apt update
sudo apt install python3-gi-cairo
I can verify with
python3 -c "from gi.repository import Gdk; import cairo; print('Bridge is working!')"
The solution for this is to add the package as dependency of the .deb or at least document this correctly!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels