[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ✘gpsd release coming
From: |
Greg Troxel |
Subject: |
Re: ✘gpsd release coming |
Date: |
Tue, 04 Aug 2020 11:44:53 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (berkeley-unix) |
Fred Wright <fw@fwright.net> writes:
> It turns out that the issue isn't Python 2 - it's SSH. Your library
> finder doesn't work when the command is executed over SSH.
>
> E.g, on Fedora 25:
>
> [fw@MacFed gpsd]$ /usr/local/bin/gpscat -V
> gpscat: Version 3.20.1~dev
> [fw@MacFed gpsd]$ ssh localhost /usr/local/bin/gpscat -V
> fw@localhost's password:
> Traceback (most recent call last):
> File "/usr/local/bin/gpscat", line 24, in <module>
> import gps.packet as sniffer
> File "/usr/local/lib/python2.7/site-packages/gps/packet.py", line
> 135, in <module>
> _packet = importado()
> File "/usr/local/lib/python2.7/site-packages/gps/packet.py", line
> 131, in importado
> raise OSError("Can't find packet library")
> OSError: Can't find packet library
It seems obvious to me that the gps python programs should be loading
the packet library by the full pathname that was chosen at "scons build"
time, without relying on anything in the environment, so that
$ env - /usr/local/bin/gpscat -V
should work. That might be a good thing to try first.
signature.asc
Description: PGP signature
- Re: ✘gpsd release coming, Ladislav Michl, 2020/08/02
- Re: ✘gpsd release coming, Fred Wright, 2020/08/03
- Re: ✘gpsd release coming, Gary E. Miller, 2020/08/03
- Re: ✘gpsd release coming, Fred Wright, 2020/08/03
- Re: ✘gpsd release coming, Gary E. Miller, 2020/08/04
- Re: ✘gpsd release coming,
Greg Troxel <=
- Re: ✘gpsd release coming, Gary E. Miller, 2020/08/04
- Re: ✘gpsd release coming, Greg Troxel, 2020/08/04
- Re: ✘gpsd release coming, Gary E. Miller, 2020/08/04
- Re: ✘gpsd release coming, Bernd Zeimetz, 2020/08/04
- Re: ✘gpsd release coming, Gary E. Miller, 2020/08/04
- Re: ✘gpsd release coming, Bernd Zeimetz, 2020/08/04
- Re: ✘gpsd release coming, Gary E. Miller, 2020/08/04
- ✘gpsd release today, Gary E. Miller, 2020/08/04
- Re: ✘gpsd release today, Bernd Zeimetz, 2020/08/04
- Re: ✘gpsd release today, Gary E. Miller, 2020/08/04