j7126 / OctoPrint-Dashboard

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

Warning! Can't get stats from DisplayLayerProgress. Is it installed? #197

Closed Makhaira closed 4 years ago

Makhaira commented 4 years ago

Despite having the relevant plugins installed, Dashboard simply displays the message "Warning! Can't get stats from DisplayLayerProgress. Is it installed?" both during and outside of prints. I have it working successfully on another Octoprint instance

image octoprint.log

Octoprint Version 1.4.2 Dashboard (1.14.0) DisplayLayerProgress Plugin (1.23.2) Multi Line Terminal (0.1.3) OctoKlipper (0.2.5) Terminal Commands Extended (0.1.5) Themeify (1.2.2)

Despite reinstalling both Dashboard and DisplayLayerProgress I cannot get Dashboard to stop displaying this error, which renders the rest of Dashboard largely useless. Any help would be gratefully received.

StefanCohen commented 4 years ago

It looks like you may have something else going on that causes a Javascript error. That in turn causes the error message to be displayed even if it has nothing to do with your problem. Please take a look at your JS error console in the browser and report here if you find any errors.

Makhaira commented 4 years ago

Thanks I'll check that out tonight.

On Mon, 7 Sep 2020, 14:37 StefanCohen, notifications@github.com wrote:

It looks like you may have something else going on that causes a Javascript error. That in turn causes the error message to be displayed even if it has nothing to do with your problem. Please take a look at your JS error console in the browser and report here if you find any errors.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/StefanCohen/OctoPrint-Dashboard/issues/197#issuecomment-688331930, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOKLI6TI7WP5XCRWH3ECJEDSETO3BANCNFSM4QUVTFGQ .

Makhaira commented 4 years ago

image

This is what I find @StefanCohen

chilluniverse commented 4 years ago

@Makhaira Did you deactivate the "GCode Viewer" Plugin?

Had the same issue and as you and after I saw this screenshot I realised that I deactivated the GCode Viewer. So I activated it again and this fixed the problem.

image

This is what I find @StefanCohen

Makhaira commented 4 years ago

100% correct! Many thanks. FAQ worthy?

On Mon, 7 Sep 2020, 17:39 Pascal, notifications@github.com wrote:

@Makhaira https://github.com/Makhaira Did you deactivate the "GCode Viewer" Plugin?

Had the same issue and as you and after I saw this screenshot I realised that I deactivated the GCode Viewer. So I activated it again and this fixed the problem.

[image: image] https://user-images.githubusercontent.com/60077178/92399556-61c98400-f122-11ea-965a-4092fbe274c7.png

This is what I find @StefanCohen https://github.com/StefanCohen

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/StefanCohen/OctoPrint-Dashboard/issues/197#issuecomment-688428892, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOKLI6TGVPKET6H7PGK7YNTSEUEF5ANCNFSM4QUVTFGQ .

StefanCohen commented 4 years ago

Great. It has been in the Help section on the wiki for quite some time: https://github.com/StefanCohen/OctoPrint-Dashboard/wiki/Help#the-dashboard-fails-to-load-with-the-dashboardviewmodel-missing-gcodeviewmodel-error-message

Do you have a suggestion on how to improve it?

Makhaira commented 4 years ago

I think the missing info was I never knew to look in the console for that error message. There's a section somewhere that said you'd get this if displaylayerprogress wasn't installed, it would maybe be worth linking the two?

Thanks again for the help.

On Mon, 7 Sep 2020, 19:17 StefanCohen, notifications@github.com wrote:

Great. It has been in the Help section on the wiki for quite some time: https://github.com/StefanCohen/OctoPrint-Dashboard/wiki/Help#the-dashboard-fails-to-load-with-the-dashboardviewmodel-missing-gcodeviewmodel-error-message

Do you have a suggestion on how to improve it?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/StefanCohen/OctoPrint-Dashboard/issues/197#issuecomment-688463394, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOKLI6SHYNJH252DBPKZQ4LSEUPSVANCNFSM4QUVTFGQ .

StefanCohen commented 4 years ago

That's a good idea. I'll do it right away. Thanks!