[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Can't get gpsfake/gpsd to work together
From: |
Steven Wawryk |
Subject: |
Re: Can't get gpsfake/gpsd to work together |
Date: |
Mon, 16 May 2022 03:48:23 +0000 |
Hi James,
Thanks for replying. Comments inline below.
Cheers,
Steve
--
Steven Wawryk <steven.wawryk@acaciasystems.com.au>
On Fri, 2022-05-13 at 08:38 -0700, James Browning wrote:
>
> > An example command line with resulting output is:
> >
> > $ gpsfake -v -l -P 2948 -c 1 output.nmea
> > Processing output.nmea
> > gpsd:ERROR: can't bind to local socket /tmp/gpsfake-3691836.sock
> > gpsd:ERROR: control socket create failed, netlib error -1
> >
>
> Have you tried telling gpsfake to stash the control socket somewhere
> writable? Adding something like '-o "-F /var/tmp/gpsd.sock"' (minus the
> single quotes) will kick you to the next issue.
Both /tmp and /var/tmp are writable (drwxrwxrwt). Trying your suggestion:
$ gpsfake -v -l -P 2948 -c 1 -o "-F /var/tmp/gpsd.sock" output.nmea
Processing output.nmea
gpsd:ERROR: can't bind to local socket /var/tmp/gpsd.sock
gpsd:ERROR: control socket create failed, netlib error -1
Traceback (most recent call last):
File "/usr/bin/gpsfake", line 319, in <module>
test.run()
File "/usr/lib/python3/dist-packages/gps/fake.py", line 737, in run
raise TestSessionError("daemon died")
gps.fake.TestSessionError
> I was running just 'gpsfake -c 0.3 -n -P 2948 ${log}' trying to diagnose this
> and didn't. We really need to work on our log reading skill.
I'm not sure I understand this bit.
- Can't get gpsfake/gpsd to work together, Steven Wawryk, 2022/05/13
- Re: Can't get gpsfake/gpsd to work together, James Browning, 2022/05/13
- Re: Can't get gpsfake/gpsd to work together,
Steven Wawryk <=
- Re: Can't get gpsfake/gpsd to work together, Gary E. Miller, 2022/05/13
- Re: Can't get gpsfake/gpsd to work together, Steven Wawryk, 2022/05/16
- Re: Can't get gpsfake/gpsd to work together, Gary E. Miller, 2022/05/16
- Re: Can't get gpsfake/gpsd to work together, Steven Wawryk, 2022/05/17
- Re: Can't get gpsfake/gpsd to work together, Gary E. Miller, 2022/05/17
- Re: Can't get gpsfake/gpsd to work together, Charles Curley, 2022/05/17