muccc / iridium-toolkit

A set of tools to parse Iridium frames
477 stars 111 forks source link

'SBDObject' object has no attribute 'timestamp' #54

Closed alphafox02 closed 2 years ago

alphafox02 commented 2 years ago

I pulled down last night's version of gr-iridium (3.8 branch) and iridium toolkit. I'm working on updating DragonOS Focal (20.04 based w/ python 3.8.10) and learning about the new acars feature. When I run the iridium extractor with this line,

iridium-extractor -D 4 --multi-frame /usr/src/gr-iridium/examples/rtl-sdr-soapy.conf | python3 -u /usr/src/iridium-toolkit/iridium-parser.py -o zmq

And the toolkit in a second terminal like this,

python3 -u /usr/src/iridium-toolkit/reassembler.py -m acars zmq:

The second terminal eventually ends up like this,

Traceback (most recent call last): File "/usr/src/iridium-toolkit/reassembler.py", line 1856, in zx.run(iter(socket.recv_string,"")) File "/usr/src/iridium-toolkit/reassembler.py", line 205, in run self.consume(mo) File "/usr/src/iridium-toolkit/reassembler.py", line 1104, in consume self.consume_l2(zz) File "/usr/src/iridium-toolkit/reassembler.py", line 1366, in consume_l2 out += q.timestamp + " " AttributeError: 'SBDObject' object has no attribute 'timestamp'

I've not seen any acars messages and sometimes the timestamp traceback happens shortly after l launch and other times it'll run for awhile before having the issue.