Problem with MyPaint Nightly installation: ImportError: /app/lib/python2.7/site-packages/gi/_gi.so: undefined symbol: PyUnicodeUCS2_AsUTF8String

interface
flatpak
nightly
Tags: #<Tag:0x00007fa77c4dc580> #<Tag:0x00007fa77c4dc3f0> #<Tag:0x00007fa77c4dc1c0>

#1

Description of the Problem, or Question?

After I install MyPaint Nightly from flatpak (I follow the next comands):

flatpak remote-add --no-gpg-verify --user mypaint-master-repo http://flatpak-repo.manuq.com.ar

flatpak --user install mypaint-master-repo org.mypaint.MyPaint-Nightly

I try to run MyPaint Nightly with: flatpak run org.mypaint.MyPaint-Nightly

BUT when runs in terminal, the next message appears:

itzcuauhtli@itzcuauhtli: ~$ flatpak run org.mypaint.MyPaint-NightlyINFO: mypaint: Installation layout: conventional POSIX-like structure with prefix u’/app’
Traceback (most recent call last):
File “/app/bin/mypaint”, line 446, in
= get_paths()
File “/app/bin/mypaint”, line 215, in get_paths
from lib import fileutils
File “/app/lib/mypaint/lib/fileutils.py”, line 24, in
import lib.gichecks
File “/app/lib/mypaint/lib/gichecks.py”, line 18, in
import gi
File “/app/lib/python2.7/site-packages/gi/init.py”, line 42, in
from . import _gi
ImportError: /app/lib/python2.7/site-packages/gi/_gi.so: undefined symbol: PyUnicodeUCS2_AsUTF8String
itzcuauhtli@itzcuauhtli:~$

(yeah, itzcuauhtli is the name of my computer and my personal nickname xD)

So, I want to know how to resolv this problem. I need to install anything else, remove anything or what?

Basic System Details

MyPaint version: MyPaint Nightly
Operating System + Version: Kubuntu 16.04 LTS
Please include Desktop Environment if on Linux
KDE Plasma 5.8.9
KDE Framework 5.36.0
Qt version: 5.6.1
Kernel version: 4.13.0-38-generic
OS tipe: 64 bits
Hardware: 4 x Intel Core i3-3217U CPU 1.80GHz, RAM 3.7 GiB

Make and Model # of Graphic Tablet:
Wacom Bamboo Pen & Touch

Please Tell Us How to Reproduce the Problem in Steps.

In terminal simply write: flatpak run org.mypaint.MyPaint-Nightly

And the error in the terminal previously described appears.

Are there any Errors Popping Up? If so, paste the text in the area shown below.

flatpak run org.mypaint.MyPaint-NightlyINFO: mypaint: Installation layout: conventional POSIX-like structure with prefix u'/app'
Traceback (most recent call last):
  File "/app/bin/mypaint", line 446, in <module>
    = get_paths()
  File "/app/bin/mypaint", line 215, in get_paths
    from lib import fileutils
  File "/app/lib/mypaint/lib/fileutils.py", line 24, in <module>
    import lib.gichecks
  File "/app/lib/mypaint/lib/gichecks.py", line 18, in <module>
    import gi
  File "/app/lib/python2.7/site-packages/gi/__init__.py", line 42, in <module>
    from . import _gi
ImportError: /app/lib/python2.7/site-packages/gi/_gi.so: undefined symbol: PyUnicodeUCS2_AsUTF8String

For other guidelines to create a great user support ticket, please visit this wiki page at https://github.com/mypaint/mypaint/wiki/Reporting-Bugs#reporting-guidelines


#2

@manuq This would be your area since you maintain the flatpak packages for mypaint.