Public bug reported: After fresh installation of gpviever0.5.2-1 on Ubuntu 16.04 machine it refuses to start. To reproduce:
$ sudo apt-get install gpxviewer $ gpxviewer ./example.gpx Traceback (most recent call last): File "/usr/bin/gpxviewer", line 28, in <module> from gi.repository import Gdk ImportError: No module named gi.repository After quick inspection I realized, package is missing python-gi dependencies. Which allows it to start, even thought still keeps complaining: $ gpxviewer ./example.gpx /usr/bin/gpxviewer:28: PyGIWarning: Gdk was imported without specifying a version first. Use gi.require_version('Gdk', '3.0') before import to ensure that the right version gets loaded. from gi.repository import Gdk /usr/share/gpxviewer/gpxviewer/ui.py:26: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded. from gi.repository import Gtk /usr/share/gpxviewer/gpxviewer/ui.py:30: PyGIWarning: OsmGpsMap was imported without specifying a version first. Use gi.require_version('OsmGpsMap', '1.0') before import to ensure that the right version gets loaded. from gi.repository import OsmGpsMap /usr/share/gpxviewer/gpxviewer/pygtk_chart/chart.py:42: PyGIWarning: PangoCairo was imported without specifying a version first. Use gi.require_version('PangoCairo', '1.0') before import to ensure that the right version gets loaded. from gi.repository import PangoCairo ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: gpxviewer 0.5.2-1 ProcVersionSignature: Ubuntu 4.10.0-35.39~16.04.1-generic 4.10.17 Uname: Linux 4.10.0-35-generic x86_64 ApportVersion: 2.20.1-0ubuntu2.10 Architecture: amd64 Date: Tue Sep 26 13:02:31 2017 InstallationDate: Installed on 2017-08-16 (41 days ago) InstallationMedia: Ubuntu 16.04.2 LTS "Xenial Xerus" - Release amd64 (20170215.2) PackageArchitecture: all SourcePackage: gpxviewer UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: gpxviewer (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug xenial -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1719552 Title: Missing python-gi dependency, refuses to load. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gpxviewer/+bug/1719552/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs