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

Plugin not working properly #77

Closed GaugeTheory closed 3 years ago

GaugeTheory commented 5 years ago

Hello all

I installed plugin history but sometimes it works, sometimes it doesn't. I have printed more than 10 jobs, but I only have 2 entry on history. On log file I have that error.

2018-08-05 14:24:13,248 - octoprint.plugin - ERROR - Error while calling plugin printhistory Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/plugin/init.py", line 225, in call_plugin result = getattr(plugin, method)(*args, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_printhistory/init.py", line 146, in on_event return eventHandler.eventHandler(self, event, payload) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_printhistory/eventHandler.py", line 46, in eventHandler parameters = gcode_parser.parse() File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_printhistory/parser.py", line 28, in parse parameters = self.parser_factory.parse(self.file) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_printhistory/parser.py", line 41, in parse parameters.update(self.parse_bottom(gcode_file)) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_printhistory/parser.py", line 90, in parse_bottom config.readfp(io.BytesIO(settings)) File "/usr/lib/python2.7/ConfigParser.py", line 324, in readfp self._read(fp, filename) File "/usr/lib/python2.7/ConfigParser.py", line 512, in _read raise MissingSectionHeaderError(fpname, lineno, line) MissingSectionHeaderError: File contains no section headers. file: <???>, line: 1 '{"extruder_quality": ["[general]\n'

NewbieBFU commented 5 years ago

yes, I experience the same problem. It seems that everything I slice with Slic3r is recorded to history and things I slice with Cura are missing :(

petrows commented 5 years ago

Have the same problem, don't see any jobs in list since install. Using Cura 3.5.1

KostteT commented 5 years ago

+1 doesn't work (cura 3.6 )

pokono commented 5 years ago

+1

smnvhn commented 5 years ago

Have same issue

luisromano91 commented 5 years ago

I'm not sure why, but after over a year and 14 pages of printed parts, the history plugin just stopped counting the new ones I print. The last count is from 10 days ago, but I haven't had a single day without printing ever since and none of the new parts appear on the list. I've only been using Slic3r PE with the same configurations, so I assume the problem is not the gcode. Also there was no modification on the octo or any other feature, aside from a 15% reduction on the print feedrate of the parts I've been dealing with to avoid wiggle. Can anybody give me a clue on what can be done?

guysoft commented 3 years ago

@luisromano91 Fixed in last #89