Warning: Can't synchronize with repository "(default)" (No changeset 96d22ec3fa3ef6de3ea8dc0d7d398adc9aa071cf in the repository). Look in the Trac log for more information.

Ticket #470 (new defect)

Opened 4 years ago

Last modified 3 years ago

Race condition in fso-gpsd

Reported by: jasager Owned by: daniel
Priority: major Milestone:
Component: cornucopia/fsotdld Version: milestone5.5
Keywords: Cc:

Description

If one opens a connection to gpsd and queries instaneously, the daemon returns 'STATUS_NO_FIX', even if the gps has a fix.

Steps to reproduce:

  1. install python-pygps
  2. enable gps in settings dialog and wait for fix.
  3. start a python shell and enter (in one line): import gps; g=gps.gps(); g.query('os'); g

Workaround:

  1. start a python shell and enter (in one line): from time import sleep; import gps; g=gps.gps(); sleep(2); g.query('os'); g

Change History

comment:1 Changed 3 years ago by sim

decoration Changed 1 year ago by admin

bathtub Changed 1 year ago by admin

solar system Changed 1 year ago by admin

stair parts Changed 1 year ago by admin

solar supply Changed 1 year ago by admin

Note: See TracTickets for help on using tickets.