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

Duplicate entries and missing entries #37

Open JohnOCFII opened 7 years ago

JohnOCFII commented 7 years ago

Greetings,

I'm using 1.0 and seeing some missing entries, double entries, and entries that are marked as failed prints.

I've attached history.db and history.bak. For good measure, I also include my old history.yaml which ended after the upgrade, but might prove useful. These are all zipped up in the attachment. If I can provide any additional information, please let me know.

Thank you,

John

PrintHistory-20161222.zip

imrahil commented 7 years ago

in your history.yaml (or .bak - files are identical) you have duplicates too. that's strange because only difference is in timestamp (and smaller than 1second!). These duplicates are even visible on screenshot in your previous ticket (#34)

more suspicious is lack of info about filament volume on almost all entries...

one more thing - you cannot have history.db and history.yaml at the same time. On startup plugin will find history.yaml and will try import values into history.db (and it finish with duplicates!)

JohnOCFII commented 7 years ago

The history.yaml I had saved off in another directory -- I just sent it along in case it was helpful to see or rule out some conversion issue when you moved to mySQL.

As far as the content of that file -- I don't know what to tell you. I've never edited it by hand.

JohnOCFII commented 7 years ago

I meant to attach a screen shot. Here it is: printhistory

lubarb commented 7 years ago

I also had a complete print that does not appear in the history with 1.0.

I believe it was loaded by the autoselect plugin and started from the print button. It was also (I'm sure irrelevant) a spiral ornament. Probably an 8-12 hour print.

I'd be happy to try to provide more info if you can point me at some reasonably detailed directions - I've had octopi up for about a week and am running this all by cookbook.

imrahil commented 7 years ago

can you provide your octoprint.log and plugin_printhistory_console.log ?

lubarb commented 7 years ago

Hi,

plugin_printhistory_console.log does not appear on the list of files on the Settings/logs page. Octoprint.log entries are attached.

lubarb commented 7 years ago

By the way, I really like having this capability!

imrahil commented 7 years ago

attached files are missing...

lubarb commented 7 years ago

Another attempt...

History.zip

On Tue, Dec 27, 2016 at 6:17 PM, Jarek Szczepanski <notifications@github.com

wrote:

attached files are missing...

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/imrahil/OctoPrint-PrintHistory/issues/37#issuecomment-269396637, or mute the thread https://github.com/notifications/unsubscribe-auth/AO7tH5i9nEHqGhVZjLxB36FDWLfOU6zbks5rMZyTgaJpZM4LUUCT .