Open enishi1357 opened 2 years ago
Add a log file, please
what is the directory to log file?
Do you have only one instance of Cura opened at the same time?
Printer socket can work only with one connection at the same time.
I had the same issue. Faced it when updated to Cura 5.2.1 from 4.* Printer constantly connects and disconnects. In a single instance of Cura. Resolved for myself by downgrading to 5.1.0, it works for me without any glitches. Was not trying other versions in between.
I've had this issue again, and indeed, restarting my PC and printer worked as a fix. It seems like if you open and close Cura, sometimes the python process might be still working somewhere in the background, trying to reconnect to the printer.
Maybe a way to detect and kill old processes when a new is starting or some kind of lock mechanism should be able to help fix or mitigate this issue.
@Nixellion, thank you. That sounds interesting, we need to delve deeper into this idea and investigate the possibility of closing the socket along with closing Cura. During a debug it usually completes, but maybe something different happens when you change versions.
Plugin Version
1.4.1
Cura Version
5.1.1
Platform
Windows 10
Printer
Dovov S2
Reproduction steps
Actual results
Shows progress uploading file but failed halfway
Expected results
Complete uploading
Checklist of files to include
Additional information & file uploads
Updated wifi module firmware