tuhi/tuhi
Peter Hutterer 7e751d45c8 base: if gi.repository fails to import, warn
We need python 3.6 but old Ubuntus only have 3.5. 3.6 can be installed (and
thus we get past the 3.6 sys.version check), but the gi.repository backports
are in various states of disarray (see #103 and #104).

And Python (and in particular gi) makes it hard for users to distinguish
between "the dependencies are a mess" and "this is a bug in tuhi".

So let's catch any error during gi.repository import and print a warning to
the user, in the hope of getting less bugs caused by Ubuntu frankenpythons.
Still won't fix issues like #104, but I'm not sure how to test for those
errors.

Related to #103
2018-03-06 09:33:17 +01:00
..
__init__.py __init__: remove empty line that snuck in during rebasing 2018-01-24 21:39:56 +10:00
base.py base: if gi.repository fails to import, warn 2018-03-06 09:33:17 +01:00
ble.py ble: disable a debug message 2018-02-16 15:43:28 +10:00
config.py config: store the protocol used by the device in the config file 2018-02-09 13:31:11 +10:00
dbusserver.py dbus: add file format version negotiation for the JSON data 2018-02-19 11:17:18 +10:00
drawing.py drawing: add a stroke.seal() functionality 2018-02-16 15:43:28 +10:00
uhid.py wacom: create a uhid device on live mode 2018-02-14 06:23:25 +10:00
wacom.py wacom: do not timeout on long drawing retrievals 2018-02-16 10:52:49 +01:00