:: Re: [maemo-leste] GPS fun on Droid …
Página Inicial
Delete this message
Reply to this message
Autor: Pavel Machek
Data:  
Para: maemo-leste, tony, sre, nekit1000, mpartap, merlijn, martin_rysavy
Assunto: Re: [maemo-leste] GPS fun on Droid 4 and leste
Hi!

> user@devuan-droid4:/my/tui/lib$ xgps
> Traceback (most recent call last):
>   File "/usr/bin/xgps", line 30, in <module>
>       gi.require_version('Gtk', '3.0')
>  File "/usr/lib/python2.7/dist-packages/gi/__init__.py", line
>  129, in require_version
>  raise ValueError('Namespace %s not available' % namespace)
>  ValueError: Namespace Gtk not available


sudo apt install gobject-introspection gir1.2-gtk-3.0

can fix this problem, but then I get

  File "/usr/lib/python2.7/dist-packages/gi/overrides/GLib.py", line
  669, in <lambda>
      func_fdtransform = lambda _, cond, *data: callback(channel,
  cond, *data)
    File "/usr/bin/xgps", line 870, in handle_response
        if self.daemon.read() == -1:
      File "/usr/lib/python2.7/dist-packages/gps/gps.py", line
  271, in read
      self.unpack(self.response)
        File "/usr/lib/python2.7/dist-packages/gps/client.py", line
  167, in unpack
      raise json_error(buf, e.args[0])
      gps.client.json_error


...which I believe is droid4-specific. It hangs after restart.

                                    Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html