Post power spike meltdown:
Had everything working great and then had a power spike on Tuesday or Wednesday. Ended up having to copy a backed up image, since Piaware started running erratically.
I am using the Piaware 3.1 image.
I am having trouble now, running the Gain Analysis script. Everything else is fine.Using Bart's script
, I get the following error, kind of randomly:pi@raspberrypi:~ $ sudo ./optimize-gain-piaware3.py
test 1 of 3
gain= 49.6 messages= 3721 positions= 137 planes= 23
gain= 48.0 messages= 3296 positions= 133 planes= 23
gain= 44.5 messages= 4700 positions= 266 planes= 32
gain= 43.9 messages= 4372 positions= 237 planes= 35
Traceback (most recent call last):
File "./optimize-gain-piaware3.py", line 24, in <module>
File "/usr/lib/python2.7/socket.py", line 224, in meth
socket.error: [Errno 111] Connection refused
Sometimes the script would run, sometimes, like above, it would run a couple of trials, sometimes it would just freeze. "Appeared" really random. I changed the wait time from 2, to 3 to 4, still "kinda worked"I then went with ignumaqua's script.
It runs, but I get a Restarting dump1090-mutability message before each trial. The final table, summary, is fine, however!
Back in May, RadioAstronomy
reported a similar issue. He apparently fixed it, but was advised he had used "bad code," so he deleted his code.
Can anyone tell me what is going on? Appreciate it. I am not wed to anything or any script, I am happy to change scripts, I just want the script to work like it used to.