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
438 stars 126 forks source link

modes_rx SBS-1 crashes on Linux mint x64 #68

Closed engink1981 closed 8 years ago

engink1981 commented 9 years ago

hi Nick,

I have tried latest committed version, but it gives another new error after 20 minutes. I'm using 1090 MHz roof antenna and receiving lots of ads-b transponder.( receiving diameter is around 700 km)

Exception in thread Thread-3: 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/zmq_socket.py", line 101, in run self._pubsub[address] = msg File "/usr/local/lib/python2.7/dist-packages/gnuradio/gr/pubsub.py", line 52, in __setitem sub(val) File "/usr/local/lib/python2.7/dist-packages/air_modes/parse.py", line 433, in publish pub["type%i_dl" % ret.data.get_type()] = ret File "/usr/local/lib/python2.7/dist-packages/gnuradio/gr/pubsub.py", line 52, in setitem sub(val) File "/usr/local/lib/python2.7/dist-packages/air_modes/sbs1.py", line 95, in output sbs1_msg = self.parse(msg) File "/usr/local/lib/python2.7/dist-packages/air_modes/sbs1.py", line 142, in parse outmsg = self.pp4(msg.data, msg.ecc) File "/usr/local/lib/python2.7/dist-packages/air_modes/sbs1.py", line 165, in pp4 aircraft_id = self.get_aircraft_id(ecc) File "/usr/local/lib/python2.7/dist-packages/air_modes/sbs1.py", line 86, in get_aircraft_id for icao, _id in map(self._aircraft_id_map).iteritems(): TypeError: map() requires at least two args

bistromath commented 9 years ago

yeah i'm the worst. sorry, i can't test over here as i'm off on vacation, so i'm pushing untested code. can you try it again?

--n

On Fri, May 8, 2015 at 4:22 AM, engink1981 notifications@github.com wrote:

hi Nick,

I have tried latest committed version, but it gives another new error after 20 minutes. I'm using 1090 MHz roof antenna and receiving lots of ads-b transponder.( receiving diameter is around 700 km)

Exception in thread Thread-3: 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/zmq_socket.py", line 101, in run self._pubsub[address] = msg File "/usr/local/lib/python2.7/dist-packages/gnuradio/gr/pubsub.py", line 52, in _setitem sub(val) File "/usr/local/lib/python2.7/dist-packages/air_modes/parse.py", line 433, in publish pub["type%i_dl" % ret.data.get_type()] = ret File "/usr/local/lib/python2.7/dist-packages/gnuradio/gr/pubsub.py", line 52, in setitem sub(val) File "/usr/local/lib/python2.7/dist-packages/air_modes/sbs1.py", line 95, in output sbs1_msg = self.parse(msg) File "/usr/local/lib/python2.7/dist-packages/air_modes/sbs1.py", line 142, in parse outmsg = self.pp4(msg.data, msg.ecc) File "/usr/local/lib/python2.7/dist-packages/air_modes/sbs1.py", line 165, in pp4 aircraft_id = self.get_aircraft_id(ecc) File "/usr/local/lib/python2.7/dist-packages/air_modes/sbs1.py", line 86, in get_aircraft_id for icao, _id in map(self._aircraft_id_map).iteritems(): TypeError: map() requires at least two args

— Reply to this email directly or view it on GitHub https://github.com/bistromath/gr-air-modes/issues/68.

engink1981 commented 9 years ago

I have tried three times, result is same.

bistromath commented 9 years ago

After pulling the latest and reinstalling again? On May 8, 2015 11:58 AM, "engink1981" notifications@github.com wrote:

I have tried three times, result is same.

— Reply to this email directly or view it on GitHub https://github.com/bistromath/gr-air-modes/issues/68#issuecomment-100328147 .

engink1981 commented 9 years ago

sure, I have uninstalled previous installation and recompiled again.

engink1981 commented 9 years ago

hi bistromath ,

did you try latest sbs1 python code?