Notifications
Clear all

[Solved] Javascript error in ColorPrint app  

  RSS
Julien Vanier
(@julien-vanier)
Active Member
Javascript error in ColorPrint app

The ColorPrint app at https://blog.prusaprinters.org/color-print/ stopped working for me yesterday. 

After I select a gcode file, the sliders don't appear so I can't add color changes and download the updated gcode.

I see the following error in the Javascript console:

Uncaught TypeError: $slider.cycle is not a function
at HTMLDocument.<anonymous> (app.js?ver=1556625612:21)
Posted : 30/04/2019 12:02 pm
Martin Stoufer
(@martin-stoufer)
Estimable Member
RE: Javascript error in ColorPrint app

Linking in https://forum.prusa3d.com/forum/original-prusa-i3-mk3s-mk3-hardware-firmware-and-software-help/prusa-colorprint-not-working/

I saw that JS error as well as some serious CORS mis-config as well. 

Posted : 01/05/2019 1:51 am
Julien Vanier
(@julien-vanier)
Active Member
Topic starter answered:
RE: Javascript error in ColorPrint app

Just to be clear, it worked last weekend on the same gcode file I tried again yesterday so the fatal bug is new. I suspect the CORS mis-configuration has been there for a while but it doesn't affect the functionality of the ColorPrint app.

Posted : 01/05/2019 11:46 am
Julien Vanier
(@julien-vanier)
Active Member
Topic starter answered:
RE: Javascript error in ColorPrint app

The Javascript error is gone and ColorPrint works again.

Posted : 05/05/2019 11:38 pm
Share: