Re: Error using python3-gi dependency

2016-12-20 Thread Sergio Cazzolato
This solution works, thanks!! On Tue, Dec 20, 2016 at 4:18 PM, Chris Wayne wrote: > Hi Sergio, > > You could try having a wrapper set something like this: > > export > GI_TYPELIB_PATH=$SNAP/usr/lib/girepository-1.0:$SNAP/usr/lib/$ARCH/girepository-1.0 > where $ARCH is defined like this: > > cas

Re: Error using python3-gi dependency

2016-12-20 Thread Chris Wayne
Hi Sergio, You could try having a wrapper set something like this: export GI_TYPELIB_PATH=$SNAP/usr/lib/girepository-1.0:$SNAP/usr/lib/$ARCH/girepository-1.0 where $ARCH is defined like this: case "$SNAP_ARCH" in "amd64") ARCH='x86_64-linux-gnu' ;; "i386") ARCH='i386-linux-gnu' ;

Error using python3-gi dependency

2016-12-20 Thread Sergio Cazzolato
Hello, I am creating a snap which has a the python3-gi dependency (as it is shown below) parts: kpi-dbus-tests: plugin: nil stage-packages: - gir1.2-glib-2.0 - python3-dbus - python3-gi When I run the python script which is using the gi dependency I am getting some e