I have been using Daniels ISO for the Raspberry Pi. Took a little debugging which may have been due to the massive number of updates that occurred to the OS once it was first started (I never tried running it without updating it)
I had it running quite well but noticed a couple of glitches but not being very experienced with Linux systems I've exhausted my ability to try to solve the problem.
Firstly I notice that it wont run forever. Its started automatically via systemctl (actually through webmin) and it comes back on line after a reboot perfectly. But I can check it at night and its outputting happily then in the morning its dead and wont respond to manually restarting.
This morning though it got terminal...
It stopped running which wasnt unexpected but when I tried to restart (via reboot and manually running mat.py) I get this error...
I've been able to decipher some previous errors but this one I cant. I just dont understand the OS enough.
Readout started
###################################
Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
File "mat.py", line 200, in <module>
l.start(READ_INTERVAL)
File "/usr/lib/python2.7/dist-packages/twisted/internet/task.py", line 173, in start
self()
File "/usr/lib/python2.7/dist-packages/twisted/internet/task.py", line 218, in __call__
d = defer.maybeDeferred(self.f, *self.a, **self.kw)
--- <exception caught here> ---
File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 139, in maybeDeferred
result = f(*args, **kw)
File "mat.py", line 121, in doWork
decoder = BinaryPayloadDecoder.fromRegisters(result.registers, byteorder=Endian.Big, wordorder=Endian.Big)
exceptions.AttributeError: 'ModbusIOException' object has no attribute 'registers'
^Cstopped by Ctrl-C
I am hoping there are some red-hot Linux / Python people out there who can help as this ISO is just what I need for my monitoring needs (if I can keep it running overnight...)
Thanks
I had it running quite well but noticed a couple of glitches but not being very experienced with Linux systems I've exhausted my ability to try to solve the problem.
Firstly I notice that it wont run forever. Its started automatically via systemctl (actually through webmin) and it comes back on line after a reboot perfectly. But I can check it at night and its outputting happily then in the morning its dead and wont respond to manually restarting.
This morning though it got terminal...
It stopped running which wasnt unexpected but when I tried to restart (via reboot and manually running mat.py) I get this error...
I've been able to decipher some previous errors but this one I cant. I just dont understand the OS enough.
Readout started
###################################
Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
File "mat.py", line 200, in <module>
l.start(READ_INTERVAL)
File "/usr/lib/python2.7/dist-packages/twisted/internet/task.py", line 173, in start
self()
File "/usr/lib/python2.7/dist-packages/twisted/internet/task.py", line 218, in __call__
d = defer.maybeDeferred(self.f, *self.a, **self.kw)
--- <exception caught here> ---
File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 139, in maybeDeferred
result = f(*args, **kw)
File "mat.py", line 121, in doWork
decoder = BinaryPayloadDecoder.fromRegisters(result.registers, byteorder=Endian.Big, wordorder=Endian.Big)
exceptions.AttributeError: 'ModbusIOException' object has no attribute 'registers'
^Cstopped by Ctrl-C
I am hoping there are some red-hot Linux / Python people out there who can help as this ISO is just what I need for my monitoring needs (if I can keep it running overnight...)
Thanks