PrintMakerLab / mks-wifi-plugin

MKS wifi plugin for Cura
https://marketplace.ultimaker.com/app/cura/plugins/Jeredian/MKSWifiPlugin
GNU Affero General Public License v3.0
140 stars 56 forks source link

Constantly rebooting #416

Open hywax opened 1 day ago

hywax commented 1 day ago

Plugin Version

1.4.5

Cura Version

5.9

Platform

Macos 15.1

Printer

Flying Bear Ghost 6

Reproduction steps

Update to 5.9

Actual results

Updated Cura to the latest version, constant reboots appeared.

Rolled back the version, nothing helped.

Expected results

There should not be constant reboots

Checklist of files to include

Additional information & file uploads

Log file
``` 2024-11-24 01:04:40,539 - DEBUG - [JobQueueWorker [3]] cura.Machines.ContainerTree.run [185]: All MachineNode loading completed 2024-11-24 01:04:41,086 - DEBUG - [MainThread] MKSWifiPlugin.MKSOutputDevice.write_socket_data [830]: _send_data: M105 M997 2024-11-24 01:04:41,123 - DEBUG - [MainThread] UM.View.GL.ShaderProgram.load [61]: Loading [/Applications/UltiMaker Cura.app/Contents/Resources/share/uranium/resources/shaders/default.shader]... 2024-11-24 01:04:41,124 - DEBUG - [MainThread] UM.View.GL.ShaderProgram.load [61]: Loading [/Applications/UltiMaker Cura.app/Contents/Resources/share/cura/resources/shaders/grid.shader]... 2024-11-24 01:04:41,229 - INFO - [MainThread] cura.Machines.MachineErrorChecker._setResult [221]: Error check finished, result = False, time = 2.16s 2024-11-24 01:04:43,159 - DEBUG - [MainThread] MKSWifiPlugin.MKSOutputDevice._update [805]: MKS wifi reconnecting 2024-11-24 01:04:43,159 - DEBUG - [MainThread] MKSWifiPlugin.MKSOutputDevice.disconnect [233]: MKS socket disconnecting from 192.168.1.46:8080 2024-11-24 01:04:43,162 - DEBUG - [MainThread] MKSWifiPlugin.MKSOutputDevice.connect [226]: MKS socket connecting to 192.168.1.46:8080 2024-11-24 01:04:43,556 - DEBUG - [JobQueueWorker [1]] USBPrinting.AutoDetectBaudJob.run [39]: Checking /dev/cu.debug-console if baud rate 250000 works. Retry nr: 0. Wait timeout: 3 2024-11-24 01:04:43,627 - DEBUG - [MainThread] MKSWifiPlugin.MKSOutputDevice.on_read [1018]: mks recv: T:23 /0 B:23 /0 T0:23 /0 T1:0 /0 @:0 B@:0 2024-11-24 01:04:43,628 - DEBUG - [MainThread] MKSWifiPlugin.MKSOutputDevice.on_read [1018]: mks recv: WIFI:-52 2024-11-24 01:04:44,003 - DEBUG - [JobQueueWorker [2]] USBPrinting.AutoDetectBaudJob.run [39]: Checking /dev/cu.Bluetooth-Incoming-Port if baud rate 250000 works. Retry nr: 0. Wait timeout: 3 2024-11-24 01:04:45,158 - DEBUG - [MainThread] MKSWifiPlugin.MKSOutputDevice.write_socket_data [830]: _send_data: M20 2024-11-24 01:04:47,160 - DEBUG - [MainThread] MKSWifiPlugin.MKSOutputDevice._update [805]: MKS wifi reconnecting 2024-11-24 01:04:47,161 - DEBUG - [MainThread] MKSWifiPlugin.MKSOutputDevice.disconnect [233]: MKS socket disconnecting from 192.168.1.46:8080 2024-11-24 01:04:47,169 - DEBUG - [MainThread] MKSWifiPlugin.MKSOutputDevice.connect [226]: MKS socket connecting to 192.168.1.46:8080 2024-11-24 01:04:48,070 - DEBUG - [JobQueueWorker [1]] USBPrinting.AutoDetectBaudJob.run [39]: Checking /dev/cu.debug-console if baud rate 500000 works. Retry nr: 0. Wait timeout: 3 2024-11-24 01:04:48,512 - DEBUG - [JobQueueWorker [2]] USBPrinting.AutoDetectBaudJob.run [39]: Checking /dev/cu.Bluetooth-Incoming-Port if baud rate 500000 works. Retry nr: 0. Wait timeout: 3 2024-11-24 01:04:48,733 - DEBUG - [MainThread] MKSWifiPlugin.MKSOutputDevice.on_read [1018]: mks recv: T:23 /0 B:23 /0 T0:23 /0 T1:0 /0 @:0 B@:0 2024-11-24 01:04:48,767 - DEBUG - [MainThread] MKSWifiPlugin.MKSOutputDevice.on_read [1018]: mks recv: WIFI:-53 2024-11-24 01:04:49,158 - DEBUG - [MainThread] MKSWifiPlugin.MKSOutputDevice.write_socket_data [830]: _send_data: M20 2024-11-24 01:04:50,713 - DEBUG - [MainThread] cura.AutoSave._onTimeout [64]: Autosaving preferences, instances and profiles took 0.05423784255981445 seconds 2024-11-24 01:04:51,159 - DEBUG - [MainThread] MKSWifiPlugin.MKSOutputDevice._update [805]: MKS wifi reconnecting 2024-11-24 01:04:51,159 - DEBUG - [MainThread] MKSWifiPlugin.MKSOutputDevice.disconnect [233]: MKS socket disconnecting from 192.168.1.46:8080 2024-11-24 01:04:51,163 - DEBUG - [MainThread] MKSWifiPlugin.MKSOutputDevice.connect [226]: MKS socket connecting to 192.168.1.46:8080 2024-11-24 01:04:52,580 - DEBUG - [JobQueueWorker [1]] USBPrinting.AutoDetectBaudJob.run [39]: Checking /dev/cu.debug-console if baud rate 230400 works. Retry nr: 0. Wait timeout: 3 2024-11-24 01:04:53,022 - DEBUG - [JobQueueWorker [2]] USBPrinting.AutoDetectBaudJob.run [39]: Checking /dev/cu.Bluetooth-Incoming-Port if baud rate 230400 works. Retry nr: 0. Wait timeout: 3 2024-11-24 01:04:53,159 - DEBUG - [MainThread] MKSWifiPlugin.MKSOutputDevice.write_socket_data [830]: _send_data: M105 M997 2024-11-24 01:04:55,159 - DEBUG - [MainThread] MKSWifiPlugin.MKSOutputDevice._update [805]: MKS wifi reconnecting 2024-11-24 01:04:55,159 - DEBUG - [MainThread] MKSWifiPlugin.MKSOutputDevice.disconnect [233]: MKS socket disconnecting from 192.168.1.46:8080 2024-11-24 01:04:55,161 - DEBUG - [MainThread] MKSWifiPlugin.MKSOutputDevice.connect [226]: MKS socket connecting to 192.168.1.46:8080 2024-11-24 01:04:57,090 - DEBUG - [JobQueueWorker [1]] USBPrinting.AutoDetectBaudJob.run [39]: Checking /dev/cu.debug-console if baud rate 76800 works. Retry nr: 0. Wait timeout: 3 2024-11-24 01:04:57,159 - DEBUG - [MainThread] MKSWifiPlugin.MKSOutputDevice.write_socket_data [830]: _send_data: M105 M997 2024-11-24 01:04:57,532 - DEBUG - [JobQueueWorker [2]] USBPrinting.AutoDetectBaudJob.run [39]: Checking /dev/cu.Bluetooth-Incoming-Port if baud rate 76800 works. Retry nr: 0. Wait timeout: 3 2024-11-24 01:04:59,160 - DEBUG - [MainThread] MKSWifiPlugin.MKSOutputDevice._update [805]: MKS wifi reconnecting 2024-11-24 01:04:59,161 - DEBUG - [MainThread] MKSWifiPlugin.MKSOutputDevice.disconnect [233]: MKS socket disconnecting from 192.168.1.46:8080 2024-11-24 01:04:59,164 - DEBUG - [MainThread] MKSWifiPlugin.MKSOutputDevice.connect [226]: MKS socket connecting to 192.168.1.46:8080 2024-11-24 01:05:01,160 - DEBUG - [MainThread] MKSWifiPlugin.MKSOutputDevice.write_socket_data [830]: _send_data: M105 M997 2024-11-24 01:05:01,603 - DEBUG - [JobQueueWorker [1]] USBPrinting.AutoDetectBaudJob.run [39]: Checking /dev/cu.debug-console if baud rate 57600 works. Retry nr: 0. Wait timeout: 3 2024-11-24 01:05:02,045 - DEBUG - [JobQueueWorker [2]] USBPrinting.AutoDetectBaudJob.run [39]: Checking /dev/cu.Bluetooth-Incoming-Port if baud rate 57600 works. Retry nr: 0. Wait timeout: 3 2024-11-24 01:05:03,159 - DEBUG - [MainThread] MKSWifiPlugin.MKSOutputDevice._update [805]: MKS wifi reconnecting 2024-11-24 01:05:03,160 - DEBUG - [MainThread] MKSWifiPlugin.MKSOutputDevice.disconnect [233]: MKS socket disconnecting from 192.168.1.46:8080 2024-11-24 01:05:03,163 - DEBUG - [MainThread] MKSWifiPlugin.MKSOutputDevice.connect [226]: MKS socket connecting to 192.168.1.46:8080 2024-11-24 01:05:03,687 - DEBUG - [MainThread] MKSWifiPlugin.MKSOutputDevice.on_read [1018]: mks recv: T:23 /0 B:23 /0 T0:23 /0 T1:0 /0 @:0 B@:0 2024-11-24 01:05:03,688 - DEBUG - [MainThread] MKSWifiPlugin.MKSOutputDevice.on_read [1018]: mks recv: WIFI:-53 2024-11-24 01:05:05,159 - DEBUG - [MainThread] MKSWifiPlugin.MKSOutputDevice.write_socket_data [830]: _send_data: M20 2024-11-24 01:05:06,110 - DEBUG - [JobQueueWorker [1]] USBPrinting.AutoDetectBaudJob.run [39]: Checking /dev/cu.debug-console if baud rate 38400 works. Retry nr: 0. Wait timeout: 3 2024-11-24 01:05:06,554 - DEBUG - [JobQueueWorker [2]] USBPrinting.AutoDetectBaudJob.run [39]: Checking /dev/cu.Bluetooth-Incoming-Port if baud rate 38400 works. Retry nr: 0. Wait timeout: 3 2024-11-24 01:05:07,163 - DEBUG - [MainThread] MKSWifiPlugin.MKSOutputDevice._update [805]: MKS wifi reconnecting 2024-11-24 01:05:07,164 - DEBUG - [MainThread] MKSWifiPlugin.MKSOutputDevice.disconnect [233]: MKS socket disconnecting from 192.168.1.46:8080 2024-11-24 01:05:07,168 - DEBUG - [MainThread] MKSWifiPlugin.MKSOutputDevice.connect [226]: MKS socket connecting to 192.168.1.46:8080 2024-11-24 01:05:08,639 - DEBUG - [MainThread] MKSWifiPlugin.MKSOutputDevice.on_read [1018]: mks recv: T:23 /0 B:23 /0 T0:23 /0 T1:0 /0 @:0 B@:0 2024-11-24 01:05:08,663 - DEBUG - [MainThread] MKSWifiPlugin.MKSOutputDevice.on_read [1018]: mks recv: WIFI:-52 2024-11-24 01:05:09,160 - DEBUG - [MainThread] MKSWifiPlugin.MKSOutputDevice.write_socket_data [830]: _send_data: M20 2024-11-24 01:05:10,619 - DEBUG - [JobQueueWorker [1]] USBPrinting.AutoDetectBaudJob.run [39]: Checking /dev/cu.debug-console if baud rate 19200 works. Retry nr: 0. Wait timeout: 3 2024-11-24 01:05:11,067 - DEBUG - [JobQueueWorker [2]] USBPrinting.AutoDetectBaudJob.run [39]: Checking /dev/cu.Bluetooth-Incoming-Port if baud rate 19200 works. Retry nr: 0. Wait timeout: 3 2024-11-24 01:05:11,159 - DEBUG - [MainThread] MKSWifiPlugin.MKSOutputDevice._update [805]: MKS wifi reconnecting 2024-11-24 01:05:11,160 - DEBUG - [MainThread] MKSWifiPlugin.MKSOutputDevice.disconnect [233]: MKS socket disconnecting from 192.168.1.46:8080 2024-11-24 01:05:11,168 - DEBUG - [MainThread] MKSWifiPlugin.MKSOutputDevice.connect [226]: MKS socket connecting to 192.168.1.46:8080 2024-11-24 01:05:13,165 - DEBUG - [MainThread] MKSWifiPlugin.MKSOutputDevice.write_socket_data [830]: _send_data: M105 M997 2024-11-24 01:05:15,131 - DEBUG - [JobQueueWorker [1]] USBPrinting.AutoDetectBaudJob.run [39]: Checking /dev/cu.debug-console if baud rate 9600 works. Retry nr: 0. Wait timeout: 3 2024-11-24 01:05:15,158 - DEBUG - [MainThread] MKSWifiPlugin.MKSOutputDevice._update [805]: MKS wifi reconnecting 2024-11-24 01:05:15,159 - DEBUG - [MainThread] MKSWifiPlugin.MKSOutputDevice.disconnect [233]: MKS socket disconnecting from 192.168.1.46:8080 2024-11-24 01:05:15,161 - DEBUG - [MainThread] MKSWifiPlugin.MKSOutputDevice.connect [226]: MKS socket connecting to 192.168.1.46:8080 2024-11-24 01:05:15,578 - DEBUG - [JobQueueWorker [2]] USBPrinting.AutoDetectBaudJob.run [39]: Checking /dev/cu.Bluetooth-Incoming-Port if baud rate 9600 works. Retry nr: 0. Wait timeout: 3 2024-11-24 01:05:17,160 - DEBUG - [MainThread] MKSWifiPlugin.MKSOutputDevice.write_socket_data [830]: _send_data: M105 M997 2024-11-24 01:05:19,161 - DEBUG - [MainThread] MKSWifiPlugin.MKSOutputDevice._update [805]: MKS wifi reconnecting 2024-11-24 01:05:19,162 - DEBUG - [MainThread] MKSWifiPlugin.MKSOutputDevice.disconnect [233]: MKS socket disconnecting from 192.168.1.46:8080 2024-11-24 01:05:19,165 - DEBUG - [MainThread] MKSWifiPlugin.MKSOutputDevice.connect [226]: MKS socket connecting to 192.168.1.46:8080 2024-11-24 01:05:21,159 - DEBUG - [MainThread] MKSWifiPlugin.MKSOutputDevice.write_socket_data [830]: _send_data: M105 M997 2024-11-24 01:05:23,162 - DEBUG - [MainThread] MKSWifiPlugin.MKSOutputDevice._update [805]: MKS wifi reconnecting 2024-11-24 01:05:23,163 - DEBUG - [MainThread] MKSWifiPlugin.MKSOutputDevice.disconnect [233]: MKS socket disconnecting from 192.168.1.46:8080 2024-11-24 01:05:23,167 - DEBUG - [MainThread] MKSWifiPlugin.MKSOutputDevice.connect [226]: MKS socket connecting to 192.168.1.46:8080 2024-11-24 01:05:23,656 - DEBUG - [MainThread] MKSWifiPlugin.MKSOutputDevice.on_read [1018]: mks recv: T:23 /0 B:23 /0 T0:23 /0 T1:0 /0 @:0 B@:0 2024-11-24 01:05:23,657 - DEBUG - [MainThread] MKSWifiPlugin.MKSOutputDevice.on_read [1018]: mks recv: WIFI:-52 2024-11-24 01:05:25,160 - DEBUG - [MainThread] MKSWifiPlugin.MKSOutputDevice.write_socket_data [830]: _send_data: M20 2024-11-24 01:05:27,161 - DEBUG - [MainThread] MKSWifiPlugin.MKSOutputDevice._update [805]: MKS wifi reconnecting 2024-11-24 01:05:27,161 - DEBUG - [MainThread] MKSWifiPlugin.MKSOutputDevice.disconnect [233]: MKS socket disconnecting from 192.168.1.46:8080 2024-11-24 01:05:27,169 - DEBUG - [MainThread] MKSWifiPlugin.MKSOutputDevice.connect [226]: MKS socket connecting to 192.168.1.46:8080 2024-11-24 01:05:28,663 - DEBUG - [MainThread] MKSWifiPlugin.MKSOutputDevice.on_read [1018]: mks recv: T:23 /0 B:23 /0 T0:23 /0 T1:0 /0 @:0 B@:0 2024-11-24 01:05:28,664 - DEBUG - [MainThread] MKSWifiPlugin.MKSOutputDevice.on_read [1018]: mks recv: WIFI:-53 2024-11-24 01:05:29,162 - DEBUG - [MainThread] MKSWifiPlugin.MKSOutputDevice.write_socket_data [830]: _send_data: M20 2024-11-24 01:05:31,160 - DEBUG - [MainThread] MKSWifiPlugin.MKSOutputDevice._update [805]: MKS wifi reconnecting 2024-11-24 01:05:31,161 - DEBUG - [MainThread] MKSWifiPlugin.MKSOutputDevice.disconnect [233]: MKS socket disconnecting from 192.168.1.46:8080 2024-11-24 01:05:31,168 - DEBUG - [MainThread] MKSWifiPlugin.MKSOutputDevice.connect [226]: MKS socket connecting to 192.168.1.46:8080 2024-11-24 01:05:33,160 - DEBUG - [MainThread] MKSWifiPlugin.MKSOutputDevice.write_socket_data [830]: _send_data: M105 M997 ```
hywax commented 1 day ago

Jeredian commented 4 hours ago

Looking at your log file, I can tell it's something else.