Ticket #1914 (closed defect: fixed in core)

Opened 15 months ago

Last modified 13 months ago

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

comment:1 Changed 13 months ago by GNUtoo

  • Summary changed from gta04-gps-handler does not work to gpsd not started

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

comment:2 Changed 13 months ago by GNUtoo

  • Status changed from new to closed
  • Resolution set to fixed in core
Note: See TracTickets for help on using tickets.