Open Fabian2305 opened 4 years ago
Please attach the config file instead of posting in editor.
Thx.
Also, what operating system / version are you using?
Run
free
and post the output.
In addition, start SOPARE and run the following command while SOPARE is running and the error shows up and post the output:
ps auxf | grep sopare
Meine Fehlermeldung bis gestern:
Traceback (most recent call last): File "/home/pi/dev/sopare/sopare/recorder.py", line 44, in init self.recording() File "/home/pi/dev/sopare/sopare/recorder.py", line 88, in recording buf = self.stream.read(self.cfg.getintoption('stream', 'CHUNK')) File "/home/pi/dev/sopare/sopare/config.py", line 36, in getintoption return self.config.getint(section, option) File "/usr/lib/python2.7/ConfigParser.py", line 359, in getint return self._get(section, int, option) File "/usr/lib/python2.7/ConfigParser.py", line 356, in _get return conv(self.get(section, option)) File "/usr/lib/python2.7/ConfigParser.py", line 616, in get value = d[option] File "/usr/lib/python2.7/ConfigParser.py", line 573, in getitem return mapping[key] MemoryError
Aktuell lässt sich SOPARE nicht mehr starten. gestern ging es noch, jetzt ohne weitere Veränderung nicht mehr. Es kommt ausschließlich:
WARNING:sopare.recorder:stream read error[Errno -9988] Stream Closed
in unendlicher Ausführung und beim "KeyboardInterrupt" dann folgendes:
Traceback (most recent call last): File "./sopare.py", line 187, in
main(sys.argv[1:])
File "./sopare.py", line 108, in main
Process buffering queue:
Process worker for filtered data:
recorder.recorder(cfg)
File "/home/pi/dev/sopare/sopare/recorder.py", line 44, in init
self.recording()
File "/home/pi/dev/sopare/sopare/recorder.py", line 95, in recording
Traceback (most recent call last):
Traceback (most recent call last):
self.logger.warning("stream read error "+str(e))
File "/usr/lib/python2.7/logging/init.py", line 1186, in warning
File "/usr/lib/python2.7/multiprocessing/process.py", line 267, in _bootstrap
File "/usr/lib/python2.7/multiprocessing/process.py", line 267, in _bootstrap
self.run()
self.run()
File "/home/pi/dev/sopare/sopare/buffering.py", line 40, in run
File "/home/pi/dev/sopare/sopare/worker.py", line 88, in run
obj = self.queue.get()
buf = self.queue.get()
File "/usr/lib/python2.7/multiprocessing/queues.py", line 117, in get
File "/usr/lib/python2.7/multiprocessing/queues.py", line 117, in get
self._log(WARNING, msg, args, **kwargs)
File "/usr/lib/python2.7/logging/init.py", line 1292, in _log
record = self.makeRecord(self.name, level, fn, lno, msg, args, exc_info, func, extra)
File "/usr/lib/python2.7/logging/init.py", line 1266, in makeRecord
rv = LogRecord(name, level, fn, lno, msg, args, exc_info, func)
File "/usr/lib/python2.7/logging/init.py", line 300, in init
self.processName = mp.current_process().name
File "/usr/lib/python2.7/multiprocessing/process.py", line 172, in name
return self._name
KeyboardInterrupt
res = self._recv()
res = self._recv()
KeyboardInterrupt
Ich kann mir nicht erklären, warum SOPARE nicht mehr startet, auch ein Herunterfahren inclusive Stromtrennung hat nicht geholfen. So kann ich auch "ps auxf | grep sopare" leider nicht eingeben.
default.txt
Aktuelle Version und "free".txt