java script
-
so i just got this error and not sure what to do. i cant use the web controller.
-
FYI, that looks like an error where they tried to remove a value from an empty array. Look for anything in the interface that might be starting out as blank - ie, do you not have any temp sensors configured? Might be contributing.
Typically they should have a check in first to make sure the array isn’t empty. It’s an easy fix if you bring it to the attention of the developer.
Refreshing the page should help though, as well as trying other browsers. If you can update the software, that’s the kind of error that typically gets resolved quickly with an update. -
@Government_Bacon I would try reinstalling the firmware and Duet Web Control in case they are out of sync or have another issue.
As you can't connect to the web server, temporarily remove the SD card from the Duet. Depending on what board you have, copy the "Duet2CombinedFirmware.bin" (Duet 3 Wifi/Ethernet) or "DuetMaestroFirmware.bin"(Maestro) into the /sys/ directory on your SD card from here: https://github.com/dc42/RepRapFirmware/releases/tag/2.03
Also copy DuetWiFiServer.bin if you have a Duet 2 WifiCopy the "DuetWebControl-1.22.6.zip" contents into the www directory, overwriting what is there.
at the same time you can grab a copy of your config.g from the /sys directory and post it here so we can have a look.
Put the SD card back in, connect a USB cable and a terminal program like YAT, see here (https://duet3d.dozuki.com/Guide/1.)+Getting+Connected+to+your+Duet/7#s6)
And send M997 S0
If you have a Duet 2 Wifi then send M997 S1
Once they have completed you can reset the board and try the wifi again. You have now replaced all the firmware and the web server. If it still does not work, upload the config.g here