GSPD - UBXTOOL

Gary E. Miller gem at rellim.com
Mon Nov 13 19:14:14 UTC 2023


Yo Fred!

On Mon, 13 Nov 2023 10:24:18 -0700
Fred via users <users at ntpsec.org> wrote:

> What is the proper way to install python support package i tried:
> 
>  cp -R gps /usr/lib/python3.11/site-packages/

Nope.  "scons install"

> when I try to use ubxtool  I get the error:
> 
> 
> $ ubxtool
> Traceback (most recent call last):
>   File "/usr/local/bin/ubxtool", line 48, in <module>
>     import gps.ubx
>   File "/usr/lib/python3.11/site-packages/gps/ubx.py", line 281, in
> <module> class ubx(object):
>   File "/usr/lib/python3.11/site-packages/gps/ubx.py", line 292, in
> ubx verbosity = gps.VERB_NONE
>                 ^^^^^^^^^^^^^
> AttributeError: module 'gps' has no attribute 'VERB_NONE'

The easy thing is for you to sne us the output of gpsdebuginfo.
But they key parts I need are:

    pgsd -V2
    ubxtool -V
    python -V
    echo $PYTHONPATH

My guess is you forgot to set PYTHONPATH.

> I want to use ubxtool to configure NEO-M8T

It is good for that.

> FYI I built gpsd using
> 
> scons
> timeservice=yes
> magic_hat=yesnmea0183=yesublox=yesfixed_port_speed=9600
> fixed_stop_bits=1

Runnin an M8T as 9600 is a bit of a waste.  With the newish
-s and -p options you don't need to cripple the binary.

Also, if you are using an M8T, why magic_hat?

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 246 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ntpsec.org/pipermail/users/attachments/20231113/beb81fe0/attachment.bin>


More information about the users mailing list