Solved JavaScript error when connecting to web control
-
For some reason after one changed in the config it started saying this.
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.6
Message: Uncaught TypeError: Cannot read property 'toFixed' of undefined
URL: http://---.---.---.--/js/dwc.js (this says the IP adders)
Line: 4468:75
Error object: {}I can still home if I click really fast before getting this message. I have tried a couple of things but nothing seems to help.
- Updated to the latest firmware
- Updated to the beta
- Connected to two different wifi connections
- Used a new sd-card
- Changed with he SD card back what i changed, I removed a heater because I'm using a syringe
The one thing I can think of is updating the DWC but every guide I can find says either to use the web control or is outdated and still usus the Duetwebcontrol.bin file.
I'm at an absolute loss
-
@verminsup what board are you running and what firmware version?
-
@jay_s_uk
Duet Wifi
Version 3.1.1 and Version 3.1beta1I have tried both
-
run this version of DWC with 3.1.1 https://github.com/Duet3D/DuetWebControl/releases/tag/3.1.1
-
@jay_s_uk
Are there any guides for this? All the guides I can find still use the .bin file or want me to upload it through the DWC -
@verminsup
You may be able to upgrade by uploading the zip file through the systems tab.
But the age of your DWC may mean that isn't supported (cant remember). If so, then you can either pull the sd card and unzip the contents to the www folder or use https://forum.duet3d.com/topic/10880/rfm-reprapfirmware-filemanager-duetbackup-successor to access the SD card using telnet -
@jay_s_uk
Oh wow that worked, I can't thank you enough.
I was on a tight deadline for getting this to work. -