imrahil / OctoPrint-PrintHistory

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

Plugin not working #46

Closed motley74 closed 7 years ago

motley74 commented 7 years ago

Sorry if this is not the best place for this but I have not found any other resources. I installed your plugin on my new OctoPi installation and the plugin installed correctly but the history remains blank after a couple of days. Is there some configuration I am missing to enable this? I am able to connect to my printer and complete prints and I have a few other plugins installed that are working but I would like to get this one working as well.

Any help is appreciated, and thanks for creating this plugin.

madmax2 commented 7 years ago

same here

I added the filament and cost in the settings but nothing showing in history

al-jimenez commented 7 years ago

I also have this problem. Just installed it, restarted (cold start) and printed a successful print and one that I had to cancel, but I have no history entries at all. There is no existing history.yaml file either. So it may never have gotten initialized.

Log file error: Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.3.1-py2.7.egg/octoprint/plugin/init.py", line 229, 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 93, in parse_bottom for option in config.options(section): File "/usr/lib/python2.7/ConfigParser.py", line 279, in options raise NoSectionError(section) NoSectionError: No section: 'values'

I will try to uninstall and then re-install and see if that fixes it...

imrahil commented 7 years ago

Fixed in 1.2

eriecableguy commented 6 years ago

Sorry, couldnt figure out how to start a new comment. I have your DH for the Lightify dimmer switch. I have 2 on each side of my kitche , and sometimes they dim my smartbulbs, when all I want is the on/off functionality. How would I change the code, to remove all dimming features? TIA