UWARG/data-relay-station

Dies after a undefined time

Closed this issue · 3 comments

Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
File "C:\Python27\lib\threading.py", line 783, in __bootstrap
self.__bootstrap_inner()
File "C:\Python27\lib\threading.py", line 810, in __bootstrap_inner
self.run()
File "C:\Python27\lib\threading.py", line 763, in run
self.__target(_self.__args, *_self.__kwargs)
--- ---
File "C:\Python27\lib\site-packages\twisted\python\threadpool.py", line 191, i
n _worker
result = context.call(ctx, function, _args, *_kwargs)
File "C:\Python27\lib\site-packages\twisted\python\context.py", line 118, in c
allWithContext
return self.currentContext().callWithContext(ctx, func, _args, *_kw)
File "C:\Python27\lib\site-packages\twisted\python\context.py", line 81, in ca
llWithContext
return func(args,*kw)
File "C:\Users\WARG\Documents\GitHub\data-relay-station\telem_producer.py", li
ne 19, in resumeProducing
for i in self._gen.data_lines():
File "C:\Users\WARG\Documents\GitHub\data-relay-station\receiver.py", line 29,
in data_lines
for line in self.gen.data_lines():
File "C:\Users\WARG\Documents\GitHub\data-relay-station\receiver.py", line 76,
in data_lines
payload += packet['rf_data']
exceptions.KeyError: 'rf_data'
connection lost from IPv4Address(TCP, '127.0.0.1', 50574)

That error usually happens on USB connection drop iirc. To check, run, then
unplug xbee.
On Mar 5, 2016 4:33 PM, "chrishajduk84" notifications@github.com wrote:

Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
File "C:\Python27\lib\threading.py", line 783, in __bootstrap
self.__bootstrap_inner()
File "C:\Python27\lib\threading.py", line 810, in __bootstrap_inner
self.run()
File "C:\Python27\lib\threading.py", line 763, in run
self.__target(_self.__args, *_self.__kwargs)


File "C:\Python27\lib\site-packages\twisted\python\threadpool.py", line
191, i
n _worker
result = context.call(ctx, function, _args, *_kwargs)
File "C:\Python27\lib\site-packages\twisted\python\context.py", line 118,
in c
allWithContext
return self.currentContext().callWithContext(ctx, func, _args, *_kw)
File "C:\Python27\lib\site-packages\twisted\python\context.py", line 81,
in ca
llWithContext
return func(args,*kw)
File
"C:\Users\WARG\Documents\GitHub\data-relay-station\telem_producer.py", li
ne 19, in resumeProducing
for i in self._gen.data_lines():
File "C:\Users\WARG\Documents\GitHub\data-relay-station\receiver.py", line
29,
in data_lines
for line in self.gen.data_lines():
File "C:\Users\WARG\Documents\GitHub\data-relay-station\receiver.py", line
76,
in data_lines
payload += packet['rf_data']
exceptions.KeyError: 'rf_data'
connection lost from IPv4Address(TCP, '127.0.0.1', 50574)


Reply to this email directly or view it on GitHub
#15.

@chrishajduk84 did you ever check if this is a problem?

Haven't had this problem since then, but watch out if it ever happens
again...
On Jun 7, 2016 8:21 PM, "Stephen John Cholvat" notifications@github.com
wrote:

@chrishajduk84 https://github.com/chrishajduk84 did you ever check if
this is a problem?


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#15 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AC4dF1W79F1d52LHzxo911qQA34KSMe3ks5qJgsCgaJpZM4HqIwY
.