Ticket #1914 (closed defect: fixed in core)
gpsd not started
| Reported by: | slyon | Owned by: | GNUtoo |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | Frameworkd / FSO | Version: | SHR-core |
| Keywords: | gps, gta04 | Cc: |
Description
If I try to start/stop gps on the GTA04 with the gta04-gps-handler utility I get an error message.
This happens if I issue the python script directly as well as if I issue it through the init.d script.
root@om-gta04:~# /usr/bin/gps_handler.py stop
Traceback (most recent call last):
File "/usr/bin/gps_handler.py", line 67, in <module>
w = Watcher(startstop)
File "/usr/bin/gps_handler.py", line 26, in __init__
self.daemon = gps.gps(host="localhost",port=2947,mode=gps.WATCH_ENABLE|gps.WATCH_RAW|gps.WATCH_NMEA, verbose=0)
File "/usr/lib/python2.7/site-packages/gps/gps.py", line 157, in __init__
gpscommon.__init__(self, host, port, verbose)
File "/usr/lib/python2.7/site-packages/gps/client.py", line 24, in __init__
self.connect(host, port)
File "/usr/lib/python2.7/site-packages/gps/client.py", line 56, in connect
raise socket.error, msg
socket.error: [Errno 111] Connection refused
Change History
Note: See
TracTickets for help on using
tickets.

that's because gpsd is not started.
it's strange that we still have /etc/init.d/gpsd....