gpsd-dev
[Top][All Lists]
Advanced

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

Re: gpsinfo


From: Gary E. Miller
Subject: Re: gpsinfo
Date: Tue, 16 Mar 2021 10:57:53 -0700

Yo Hal!

On Tue, 16 Mar 2021 09:23:56 -0700
Hal Murray <hmurray@megapathdsl.net> wrote:

> > Have you tried the latest gpsdebginfo?  Does it work ffor you?  
> 
> I'm running on a FreeBSD system that does not have gpsd installed or
> running.
> 
> The first line it printed was:
> 
> ./clients/gpsdebuginfo: !=: not found

Very strange, the first lines should be:

+ id
uid=0(root) gid=0(root) 
groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel),11(floppy),26(tape),27(video),78(kvm),105(plugdev)
+ uname -a
Linux dilbert 5.11.2-gentoo #1 SMP Fri Feb 26 19:12:37 PST 2021 x86_64 Intel(R) 
Core(TM) i7-8750H CPU @ 2.20GHz GenuineIntel GNU/Linux
+ cat /etc/gentoo-release /etc/lsb-release /etc/os-release
Gentoo Base System release 2.7
[...]

How did all that get skipped??  "id" is a simple as it gets...

Did it ever print "id"?

Also, the intend of gpsdebuginfo is that users would send it verbatim, not
edited.


> The sockstat stuff didn't crash.  It printed the header line and
> nothing else. That's what I expect.

Good.

> It hung.  Here are the last few lines.

And above that?

> + which gpspipe
> + gpspipe -V
> ./clients/gpsdebuginfo: gpspipe: not found
> + gpspipe -w -n 2
> ./clients/gpsdebuginfo: gpspipe: not found
> + echo PYTHONPATH
> PYTHONPATH
> + which gpscat
> + head -n 1

It hung running this:
    head -n 1 `which gpscat`

How can stop crash on that?  Is gpscat not in your path?

I added a test for gpscat being in your path.  Now in git head.
        
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

Attachment: pgpDh1wgl3mOG.pgp
Description: OpenPGP digital signature


reply via email to

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