Help snapping GTKStresstesting

Hi all,
I’m pretty new to the snap thing. I’ve been trying to snap this I got the snap to build, but when it runs I get

Traceback (most recent call last):
File “/snap/gtkstresstesting/x1/usr/bin/gst”, line 42, in
import gi
ModuleNotFoundError: No module named ‘gi’

And can’t figure out where to look for a solution.

The current version of the snapcraft YAML is here–>

Hi @psymole! It sounds like your application needs the python3-gi package as a runtime dependency. In that case, try adding a stage-packages section (where you put runtime deps) to your part. Something like this:

    - python3-gi

This should be at the same level as your build-packages in the same part.


I took a look at snapping this the other day.

This is as far as I got.

Hope it’s helpful.

Hi @hellsworth, I’ve tried that, but got the same error. I’ve also tried an override-build similar to what @popey has and that failed too. Now his is much more advance so I’ll take a deeper look to see if I can get it to work.