j7126 / OctoPrint-Dashboard

A dashboard for Octoprint
GNU Affero General Public License v3.0
288 stars 39 forks source link

Layer % Progress Thermometer alternates colors and shows too many digits/weird values #297

Closed KenLucke closed 3 years ago

KenLucke commented 3 years ago

Dashboard v 1.19.0

Been a while since I had to report anything significant here. I didn't feel that reporting "gauges" spelled as "gagues" in the "other settings" tab was enough to bother with :)

Describe the bug Layer progress thermometer alternates colors each update (background/foreground), and shows values with 3 extra (identical) digits that count up incrementally each update. i.e., if the actual % is 27%, it might show 27000%, then the next update, if it goes to an actual 30%, it will show 30111%, then if the next update is 35%, it will show 35222%, etc. In the screencast attached, the actual percentages are 4 & 5, but you will see the last three digits incrementing.

This happened ONLY on layer 1 (it's called layer 1 in in the sidebar, but layer 0 in the file. When layer 2 started, it reverted to correct. No alternating colors, no extra digits. I don't use a purge line, so Layer 1 is a true first layer.

I have to wait several days to reproduce, because I have a 6.5 day print just starting on one printer (the one on which this was observed), and another 3 days to finish on a second printer. 3rd printer is down for maintenance/moving it, so I may be able to get it back up sooner, but no guarantees.

To Reproduce Steps to reproduce the behavior: 1 Run a print

image

https://user-images.githubusercontent.com/57936294/140394794-695fc4df-0a7d-4380-9cf4-ae95694a8e68.mp4

octoprint-systeminfo-20211104110256.zip

j7126 commented 3 years ago

Can you please specify what slicer and slicer version you are using and send the gcode file that you were printing when this occurred.

KenLucke commented 3 years ago

Using Cura 4.12 (beta), but I've been using that for some time without this issue, I just upgraded Dashboard through the regular upgrade route (notification, "Update Now" dialogs) before this happened. I cannot share the file, as it's from a NDA protected proprietary model. I might be able to just send the first two layers.

Fredyy90 commented 3 years ago

Same issue here, using Cura 4.11 and ArcWelder as OctoPrint Plugin. worked great before the update. CE3_PETG_glasses_stand_2021-11-05_174518.aw.zip

KenLucke commented 3 years ago

Same issue here, using Cura 4.11 CE3_PETG_glasses_stand.zip

Oh, good, it's always good to see others have the same issues - not that it's good that they have the issue, but good to know I'm not alone, not crazy, and it's not just my system :) :) :)

Fredyy90 commented 3 years ago

worked fine before the plugin update, seems like it doesn't detect the layer changes anymore, my dashboard shows that i'm still on layer 0 with 61k% when i should be at layer 57 and ~50%. image

ChuckRider commented 3 years ago

Mine is working fine.  Pi4 with Klipper running on the same device.  I left all my other plugins in place.  The only config change I made was to turn off the enviornment temp in the command widgets section.

Frederick Behrends wrote on 11/5/2021 12:52 PM:

worked fine before the plugin update, seems like it doesn't detect the layer changes anymore, my dashboard shows that i'm still on layer 0 with 61k% when i should be at layer 57 and ~50%. image https://user-images.githubusercontent.com/1572327/140556073-b78661a9-74e0-4118-9b72-5af1ff09e292.png

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/j7126/OctoPrint-Dashboard/issues/297#issuecomment-962097812, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOAPIXI33OSYD2A7KVGSTL3UKQKXNANCNFSM5HMCJ2LA. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

https://www.postbox-inc.com

j7126 commented 3 years ago

@chefjeremylv that does not appear to be the same as this issue. Please post in a new thread

j7126 commented 3 years ago

@KenLucke @Fredyy90, Can you please try re-uploading the gcode files and trying again? It is possible that dashboard just needs to re-analyze the files.

chefjeremylv commented 3 years ago

Yes, I'll replicate the issue tomorrow and take a screen shots etc and make a new post.

On Fri, Nov 5, 2021, 5:40 PM Jefferey Neuffer @.***> wrote:

Can you please try re-uploading the gcode files and trying again? It is possible that dashboard just needs to re-analyze the files.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/j7126/OctoPrint-Dashboard/issues/297#issuecomment-962294270, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWLTONZVVKOLD2QADLPCSWLUKR2P7ANCNFSM5HMCJ2LA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

KenLucke commented 3 years ago

@KenLucke @Fredyy90, Can you please try re-uploading the gcode files and trying again? It is possible that dashboard just needs to re-analyze the files.

I can't for a few days. That printer (and that job) are doing a 6.5 day print right now.

j7126 commented 3 years ago

was the file already on the octoprint server before the update or did you upload it after the update? @KenLucke

KenLucke commented 3 years ago

After.

j7126 commented 3 years ago

Hmm, interesting. Can you make a backup of your OctoPrint instance (excluding uploaded files and timelapses) and send that?

KenLucke commented 3 years ago

Again, I'll have to wait until this print finishes, but I can do it then.

j7126 commented 3 years ago

i think you can make backups during a print as far as I know

KenLucke commented 3 years ago

i think you can make backups during a print as far as I know

Possibly, but it takes resources away from the print, and I have to have this done properly first time, on time.

Fredyy90 commented 3 years ago

was the file already on the octoprint server before the update or did you upload it after the update? @KenLucke

cant really say, i updated via cura and opened octoprint interface, don't remember if i updated before or after. i downloaded the file form octoprint, renamed, reuploaded and started a new print for Layer 1, everything looks fine. image even at layer 2 it works now, layer progress is correct and in the bottom left, the layer-"counter" also increases. image

Hmm, interesting. Can you make a backup of your OctoPrint instance (excluding uploaded files and timelapses) and send that?

here you go, just removed my dropbox api key from the backup

octoprint-backup-20211106-070656.zip to get the password, direct message me on Twitter @fredyywhv or Facebook @fredyy90 or send me an email to my inbox frederick.behrends on google-mail(gmail).

Fredyy90 commented 3 years ago

image

seems to work fine now, even after multiple layers everything works as expected, only issue i still have is: https://github.com/j7126/OctoPrint-Dashboard/issues/301

j7126 commented 3 years ago

I suspect that re-uploading the file should fix the issue for most people, if it does not, please let me know