When the probe communication fails or the received data is empty, radicl crashes when attempting to save the data to file. While the probe communication shouldn't fail, radicl should probably catch this case and recover more gracefully
What I Did
Take a measurement and writing it to a file
Press enter to use default:
(Default: ././2020-02-29--184726.csv.csv)
radicl.radicl INFO Saving Data to :
C:\Users\arothenbuhler\2020-02-29--184726.csv
Traceback (most recent call last):
File "C:\Users\arothenbuhler\AppData\Local\Programs\Python\Python36\Scripts\radicl-script.py", line 11, in
load_entry_point('radicl==0.3.2', 'console_scripts', 'radicl')()
File "C:\Users\arothenbuhler\AppData\Local\Programs\Python\Python36\lib\site-packages\radicl-0.3.2-py3.6.egg\radicl\cli.py", line 72, in main
cli.run()
File "C:\Users\arothenbuhler\AppData\Local\Programs\Python\Python36\lib\site-packages\radicl-0.3.2-py3.6.egg\radicl\radicl.py", line 106, in run
self.tasking()
File "C:\Users\arothenbuhler\AppData\Local\Programs\Python\Python36\lib\site-packages\radicl-0.3.2-py3.6.egg\radicl\radicl.py", line 123, in tasking
fn()
File "C:\Users\arothenbuhler\AppData\Local\Programs\Python\Python36\lib\site-packages\radicl-0.3.2-py3.6.egg\radicl\radicl.py", line 284, in task_daq
if not self.data.empty:
AttributeError: 'NoneType' object has no attribute 'empty'
Description
When the probe communication fails or the received data is empty, radicl crashes when attempting to save the data to file. While the probe communication shouldn't fail, radicl should probably catch this case and recover more gracefully
What I Did
Take a measurement and writing it to a file
Press enter to use default: (Default: ././2020-02-29--184726.csv.csv) radicl.radicl INFO Saving Data to : C:\Users\arothenbuhler\2020-02-29--184726.csv Traceback (most recent call last): File "C:\Users\arothenbuhler\AppData\Local\Programs\Python\Python36\Scripts\radicl-script.py", line 11, in
load_entry_point('radicl==0.3.2', 'console_scripts', 'radicl')()
File "C:\Users\arothenbuhler\AppData\Local\Programs\Python\Python36\lib\site-packages\radicl-0.3.2-py3.6.egg\radicl\cli.py", line 72, in main
cli.run()
File "C:\Users\arothenbuhler\AppData\Local\Programs\Python\Python36\lib\site-packages\radicl-0.3.2-py3.6.egg\radicl\radicl.py", line 106, in run
self.tasking()
File "C:\Users\arothenbuhler\AppData\Local\Programs\Python\Python36\lib\site-packages\radicl-0.3.2-py3.6.egg\radicl\radicl.py", line 123, in tasking
fn()
File "C:\Users\arothenbuhler\AppData\Local\Programs\Python\Python36\lib\site-packages\radicl-0.3.2-py3.6.egg\radicl\radicl.py", line 284, in task_daq
if not self.data.empty:
AttributeError: 'NoneType' object has no attribute 'empty'