Duet3D / DuetWebControl

A completely new web interface for the Duet electronics
GNU General Public License v3.0
410 stars 230 forks source link

[Bug]: #385

Closed AcrimoniousMirth closed 3 years ago

AcrimoniousMirth commented 3 years ago

Duet Forum Discussion Thread

https://forum.duet3d.com/topic/25253/odd-javascript-error-causing-connection-failure

Which Duet products are you using?

Firmware Version

RRF 3.x (can't connect)

Duet Web Control Version

Can't see, but new release

Are you using a Single Board Computer (RaspberryPi) with your Duet?

Please upload the results of sending M122 in the gcode console.

Can't connect

Please upload the content of your config.g file.

Can't connect

Please upload the content of any other releveant macro files.

Can't connect

Details specific to your printer.

Voron 2.4 350

Links to additional info.

No response

What happened?

Can't connect to printer due to fatal error as follows:

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: TypeError: undefined is not an object (evaluating 'lastStatusResponse.temps.current[heater].toFixed')
URL: http://192.168.0.74/js/dwc.js
Line: 4468:74
Error object: {}

This was not an issue previous boots. All that has changed is plugging in my printer bed. Removing doesn't make a difference (as predicted).

AcrimoniousMirth commented 3 years ago

Apparently this version of DWC is ancient. I'm not sure how I ended up with ancient DWC on a RRF3.x set up a few months back but I did. Closing now.