Comments (2)
I'm getting a similar error in under a minute on containerized Debian buster. Installed gr-air-modes from git in a docker container. Fed with rtl_tcp. Messages seem to decode but then this error.
Exception in thread Thread-3:
Traceback (most recent call last):
File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
self.run()
File "/usr/local/lib/python3/dist-packages/air_modes/zmq_socket.py", line 104, in run
self._pubsub[address] = msg
File "/usr/lib/python3/dist-packages/gnuradio/gr/pubsub.py", line 55, in __setitem__
sub(val)
File "/usr/local/lib/python3/dist-packages/air_modes/parse.py", line 432, in publish
pub["type%i_dl" % ret.data.get_type()] = ret
File "/usr/lib/python3/dist-packages/gnuradio/gr/pubsub.py", line 55, in __setitem__
sub(val)
File "/usr/local/lib/python3/dist-packages/air_modes/msprint.py", line 147, in handle17
[altitude, decoded_lat, decoded_lon, rnge, bearing] = air_modes.parseBDS05(msg.data, self._cpr)
File "/usr/local/lib/python3/dist-packages/air_modes/parse.py", line 285, in parseBDS05
[decoded_lat, decoded_lon, rnge, bearing] = cprdec.decode(data["aa"], data["lat"], data["lon"], data["cpr"], 0)
File "/usr/local/lib/python3/dist-packages/air_modes/cpr.py", line 221, in decode
self.weed_poslists()
File "/usr/local/lib/python3/dist-packages/air_modes/cpr.py", line 196, in weed_poslists
for key, item in poslist.items():
RuntimeError: dictionary changed size during iteration
$ uname -a
Linux 6ef5ea8f9423 5.4.0-7626-generic #30~1588169883~20.04~bbe668a-Ubuntu SMP Wed Apr 29 21:00:02 UTC x86_64 GNU/Linux
from gr-air-modes.
Looks like a bug introduced by the conversion to Python 3. I'm modifying the CPR position list in place to prune old position reports, but it seems like Python 3 doesn't like that.
from gr-air-modes.
Related Issues (20)
- using LimeSDR in modes_gui, can not select sample frequency
- Please consider migration to PyQtGraph from PyQwt
- Please hellp to error
- Please switch to Python 3 HOT 4
- Strange lines in toplevel CmakeLists.txt HOT 1
- PyQt4 not found, not installing GUI application HOT 7
- Please add support for gnuradio-3.9.0.0
- Ubuntu 20.04 support - pyqt5 update
- NameError: name 'air_modes_swig' is not defined ,How to fix it.
- std::shared_ptr<gr::air_modes::preamble_impl>
- problems with the gr3.9 version HOT 2
- Google Maps API error
- can I use it in GRC?
- pmt_symbol_to_string: wrong_type : () HOT 2
- all junk message HOT 12
- ImportError: No module named air_modes
- Xubuntu 16.04 error HOT 2
- QtWebKit no longer in PyQt4 (for example, in Ubuntu 16.10) HOT 9
- using -t options, receiving nothing HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gr-air-modes.