imrahil / OctoPrint-PrintHistory

Plugin for OctoPrint - saves filename, print time and filament usage for each print
GNU Affero General Public License v3.0
63 stars 64 forks source link

Prints not displaying anymore #75

Open noxin1 opened 6 years ago

noxin1 commented 6 years ago

Recent prints aren't showing up in the print history anymore.

This is the output in the log file. octoprint.log:| Print History Plugin (1.2) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_printhistory octoprint.log:2018-06-02 00:59:14,853 - octoprint.plugin - ERROR - Error while calling plugin printhistory octoprint.log: File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_printhistory/init.py", line 146, in on_event octoprint.log: File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_printhistory/eventHandler.py", line 46, in eventHandler octoprint.log: File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_printhistory/parser.py", line 28, in parse octoprint.log: File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_printhistory/parser.py", line 41, in parse octoprint.log: File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_printhistory/parser.py", line 90, in parse_bottom

truglodite commented 5 years ago

Are you using a recent version of cura to slice? If so, there are 2 commits with changes to parser.py waiting to be merged that should fix the issue. Not sure if that merge will ever happen though, but you can manually make those changes to your parser.py then reinstall the plugin via zip file.