jneilliii / OctoPrint-PlotlyTempGraph

25 stars 7 forks source link

Duplicate plot entries #53

Open aaronevers opened 4 months ago

aaronevers commented 4 months ago

I occasionally get duplicate plot entries.

Screenshot from 2024-07-05 11-24-25

jneilliii commented 4 months ago

Not 100% sure what could cause this to happen. Looks like you're running Prusa firmware based on what you have listed. If you look in settings do those additional duplicates also show to be able to set their properties or hide?

aaronevers commented 4 months ago

Octoprint: 1.10.2; Plotly 0.1.7

Prusa MK3s, firmware: 3.13.3. Happens with both a MMU instance of Octoprint and a separate instance without it. Seems to happen at the same time to both. I haven't been able to determine if it's something in the terminal causing it.

I see no duplicate entries in the Name Mapping table.

Reloading the page clears them.

jneilliii commented 4 months ago

That's very weird. I'd be interested in seeing if there are any errors in the browser's developer tools > console tab when this happens. To determine if it's something related to the serial communication you could enable serial logging and then we can check out serial.log to see if there's anything that stands out where it may be reporting these duplicates. I have a sneaky suspicion that this may be a hard one to track down though due to some random race condition.

aaronevers commented 4 months ago

Screenshot from 2024-07-05 23-55-43 serial.log.zip

Left the log going until I saw duplicates. Printer was idle.