Javascript error after auto bed compensation
-
Which version of Duet Web Control are you running? With 2.01 firmware you should use either 1.21.2-dc42 or 1.22.
Firmware 1.21-RC4 is not the same as firmware 1.21 release.
-
Just updated to 1.21.2-dc42 and still get the error
JavaScript Error A JavaScript error has occurred so the web interface has closed the connection to your board. It is recommended to reload the web interface now. If this happens again, please contact the author and share this error message: Version: 1.21.2-dc42 Message: Uncaught TypeError: Cannot read property 'getExtension' of null URL: http://192.168.1.11/js/dwc.js Line: 15:296307 Error object: {}
General Info:
Firmware Name: RepRapFirmware for Duet 2 WiFi/Ethernet Firmware Electronics: Duet WiFi 1.02 or later Firmware Version: 1.21 (2018-03-21) WiFi Server Version: 1.21RC4(08b3) Web Interface Version: 1.21.2-dc42
-
Have also updated the WIFI server to 1.21 to no avail.
-
Any suggestions?
-
I don't know if this will help, but you could try pressing "Load factory defaults" followed by "Apply settings" on the Settings/User Interface page of DWC.
-
Thanks, I will give that a shot when I get home tonight. I found it works no problem on my phone this morning so I updated java on my PC but that didn't work. Will report back
-
Still no luck. It works fine on Edge browser though
-
@ajcraig99 said in Javascript error after auto bed compensation:
Still no luck. It works fine on Edge browser though
Have you tried DWC 1.22, available at https://github.com/chrishamm/DuetWebControl/blob/master/DuetWebControl-1.22.zip (follow that link, then press Download)?
-
Just installed 1.22, no luck.
× JavaScript Error A JavaScript error has occurred so the web interface has closed the connection to your board. It is recommended to reload the web interface now. If this happens again, please contact the author and share this error message: Version: 1.22 Message: Uncaught TypeError: Cannot read property 'getExtension' of null URL: http://192.168.1.11/js/dwc.js Line: 15:296307 Error object: {}
-
@ajcraig99 There was a thread here:
https://github.com/mrdoob/three.js/issues/4927with different possibilities, one of them chrome having problems with WebGL. And one quick check was to call
https://get.webgl.org/
whether this page works. -
Thankyou, although my graphics drivers were up to date, I reinstalled chrome which solved the issue.
-
@ajcraig99 That's fine. Sometimes reinstall or reboots solves a problem.
-
Im getting a similar issue. Though my error reads;
A JavaScript error has occurred so the web interface has closed the connection to your board. It is recommended to reload the web interface now. If this happens again, please contact the author and share this error message:Version 1.22
Message: Uncaught TypeError:rememberedGCodes.indexOf is not a function
url:http://ipaddressofprinter/js/dwc.jc
Line: 1175:69
Error object: {}it makes it hard to type in a gcode command to move the head. it does it after bed leveling too. I thought it might have been from my filament sensors but it wasn't from that.
-
@gnatman your DWC is out of sync with the firmware i think. I would grade to the latest stable firmware and DWC:
https://github.com/dc42/RepRapFirmware/releases/tag/2.01make sure you read the Whats New file for all releases in between your current one and 2.01:
https://github.com/dc42/RepRapFirmware/blob/dev/WHATS_NEW.md