Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 777594

Summary: media-gfx/mypaint-2.0.1-r2 - Error when starting: TypeError: Couldn't find foreign struct converter for 'cairo.Context'
Product: Gentoo Linux Reporter: HansHelm <hanshelm>
Component: Current packagesAssignee: Sam James <sam>
Status: RESOLVED TEST-REQUEST    
Severity: normal CC: jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
emerge -pvO libmypaint mypaint mypaint-brushes
mypaint in terminal

Description HansHelm 2021-03-21 21:11:07 UTC
After successfully emerging mypaint I have trouble getting the package started.
It crashes immediately  with the following error window:

```python
Mypaint version: 2.0.1+gitexport.478280f
System information: Linux-5.4.97-gentoo-x86_64-Intel-R-_Core-TM-_i5-5200U_CPU_@_2.20GHz-with-glibc2.2.5
Using: Python 3.8.8, GTK 3.24.24, GdkPixbuf 2.42.2, Cairo 1.16.0, GLib 2.66.7
Traceback (most recent call last):
TypeError: Couldn't find foreign struct converter for 'cairo.Context'

```
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-03-22 00:35:19 UTC
Can you please provide:
1) emerge --info

2) emerge -pvO libmypaint mypaint mypaint-brushes

3) Run "mypaint" in a Terminal and copy/paste the full output into a text file?
Comment 2 HansHelm 2021-03-22 16:22:16 UTC
Created attachment 693042 [details]
emerge --info
Comment 3 HansHelm 2021-03-22 16:22:34 UTC
Created attachment 693045 [details]
emerge -pvO libmypaint mypaint mypaint-brushes
Comment 4 HansHelm 2021-03-22 16:22:54 UTC
Created attachment 693048 [details]
mypaint in terminal
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-07-02 04:41:43 UTC
If this is still happening.. does installing (emerge -v1 for now) dev-python/cairocffi help?