No output from temper.py, but no error.
bucklevision opened this issue · 1 comments
I had temper operating correctly and reading out temps at the commandline. I started making modifications to the .py to limit the output to purely a number, so I could more easily parse it in logs using another script. I had a couple of syntactical issues and eventually reached a point where I got no output from the script. At which point I reverted to a freshly downloaded copy of the .py and ran that, this also gave no output. I get no error, no missing device info etc, it just returns no output.
Is this a failure mode that suggests anything in particular? (faulty hardware, drive issue?)
Any help appreciated.
Hi @bucklevision , not sure how to help you here. The usual advice is probably appropriate: reset device and host, try to ensure you are actually running a fresh copy of temperusb etc.
The failure modes I saw were more around hanging while requesting data or strange responses from the device leading to (visible) errors.
If nothing helps, try tracing the whole program and post the result:
https://stackoverflow.com/a/3752246