Duet3D/DuetWebControl

[Bug]:

AcrimoniousMirth opened this issue · 1 comments

Duet Forum Discussion Thread

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

Which Duet products are you using?

  • Duet2-Wifi
  • Duet2-Ethernet
  • Duet Expansion Breakout Board
  • Duex2
  • Duex5
  • Duet2-Maestro
  • Maestro Dual Driver Expansion
  • Duet3-6HC
  • Duet3-3HC
  • Duet3-1XD
  • Duet3-1LC
  • Duet3-Tool Distribution Board
  • Duet3-Mini5+
  • Duet3-Mini2+
  • Raspberry Pi or other SBC
  • SmartEffector
  • Magnetic Filament Sensor
  • Laser Filament Sensor
  • PT100 Daughterboard
  • Thermocouple Daughterboard
  • PanelDue
  • Other
  • None

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?

  • Yes I use a SBC.
  • No I do not use a SBC.

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).

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.