I’m trying to use GNOME Builder to develop a personal app and it cannot run the app because this error:
File "/app/bin/pyopentracks", line 49, in <module>
from pyopentracks import main
File "/app/share/pyopentracks/data/pyopentracks/main.py", line 24, in <module>
gi.require_version('Champlain', '0.12')
File "/usr/lib/python3.8/site-packages/gi/__init__.py", line 126, in require_version
raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace Champlain not available
Aplicación terminada
If you’re using the GNOME Flatpak run time to build your application using Builder, then you will need to include Champlain and its dependencies (including Clutter and Clutter-GTK) in your application’s manifest. What you have installed on your system won’t make any difference.
Side note: Clutter and Clutter-GTK are unmaintained and should not be used in any newly written code. Champlain, too, is deprecated. You should use Shumate and GTK4 instead.