bistromath / gr-air-modes

Gnuradio Mode-S/ADS-B radio
This project implements a Mode S receiver for the Gnuradio software-defined radio project. It is designed to receive Mode S transmissions from aircraft and decode them to a human-readable format, including ADS-B information messages such as position and a
GNU General Public License v3.0
446 stars 129 forks source link

Race condx on db creation and db query. #47

Closed bistromath closed 11 years ago

bistromath commented 11 years ago

Just delay that query.

Exception in thread Thread-4: Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner self.run() File "/usr/local/lib/python2.7/dist-packages/air_modes/kml.py", line 42, in run self.writekml() File "/usr/local/lib/python2.7/dist-packages/air_modes/kml.py", line 58, in writekml kmlstr = self.genkml() File "/usr/local/lib/python2.7/dist-packages/air_modes/kml.py", line 110, in genkml self.locked_execute(c, q) File "/usr/local/lib/python2.7/dist-packages/air_modes/kml.py", line 66, in locked_execute c.execute(query) OperationalError: no such table: positions