gpsd-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: xgps not returning data


From: G2
Subject: Re: xgps not returning data
Date: Tue, 19 Jan 2021 13:07:41 -0800

my typo, it is:

 gps 3.20 (revision 3.20)

 thanks for the education on the Stratux and Vk-162

 Parrot security os is debian rolling based.



> Then how you are running xgps.

 command line 'xgps'

>Are you running xgps on the same host as gpsd?

 yes

>Are you running xgps as the same user as gpsd?

 yes (root)


>Does xgps give any messages on the command line?


sudo xgps
xgps: host localhost port 2947
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/gi/overrides/GLib.py", line 671, in 
<lambda>
    func_fdtransform = lambda _, cond, *data: callback(channel, cond, *data)
  File "/usr/bin/xgps", line 1457, in handle_response
    if self.daemon.read() == -1:
  File "/usr/lib/python3/dist-packages/gps/gps.py", line 326, in read
    self.unpack(self.response)
  File "/usr/lib/python3/dist-packages/gps/client.py", line 200, in unpack
    self.data = dictwrapper(json.loads(buf.strip(), encoding="ascii"))
  File "/usr/lib/python3.9/json/__init__.py", line 359, in loads
    return cls(**kw).decode(s)
TypeError: __init__() got an unexpected keyword argument 'encoding'

(xgps:378473): GLib-GIO-CRITICAL **: 12:53:08.053: g_dbus_proxy_new: assertion 
'G_IS_DBUS_CONNECTION (connection)' failed



>Does it display the skyview?

it displays the skyview "crosshairs" image but no data points (if that's how 
one says it)






> Yo G2!

> On Sun, 17 Jan 2021 11:31:09 -0800
> G2 <g2subspstlc@gmail.com> wrote:

>> gpsd ver:  3.2.0
>> xgps ver:  3.2.0
>> PyGObject ver: 3.38.0
>> OS: Parrot GNU/Linux 4.10 Linux 5.9.0-2parrot1-amd64

> There never was any gpsd 3.2.0.  gpsd 3.22 is current.  gpsd 3.2 is
> from 2011.  We can't help much with 10 year old software.

>> i have a Stratux Vk-162 UBS GPS connected to a Parrot Security OS VM.

> Stratux does not make the Vk-162.  Stratux can use the Vk-162.

> Te Vk162 is a u-blox 7 with a USB/Serial chip.  Pretty old, not so
> good by modern standards.

>> gpsmon  and  cgps  work  fine and display's data. when i execute xgps
>> the app runs but no data is aquired/returned.

> I know nothing of Parrot OS.  You must have a X problem.

>> suggestions on getting xgps to work?

> First, tell us how you are running gpsd.
> Then how you are running xgps.
> Are you running xgps on the same host as gpsd?
> Are you running xgps as the same user as gpsd?
> Does xgps give any messages on the command line?
> Does it display the skyview?

> RGDS
> GARY
> ---------------------------------------------------------------------------
> Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
>         gem@rellim.com  Tel:+1 541 382 8588

>             Veritas liberabit vos. -- Quid est veritas?
>     "If you can't measure it, you can't improve it." - Lord Kelvin




-- 
Bill
Key fingerprint = C472 148A 4185 ED70 2A61  B77C B428 3668 5D84 4495




reply via email to

[Prev in Thread] Current Thread [Next in Thread]