luizribeiro / mariner

Web interface for controlling MSLA 3D Printers based on Chitu controllers, such as the ones by Elegoo and Phrozen.
MIT License
247 stars 66 forks source link

"mariner.exceptions.UnexpectedPrinterResponse: ok N:0" when starting print #397

Closed SebastianSchultz closed 3 years ago

SebastianSchultz commented 3 years ago

I get the following error message if I try to print a file:

Traceback (most recent call last): File "/opt/venvs/mariner3d/lib/python3.7/site-packages/flask/app.py", line 1950, in full_dispatch_request rv = self.dispatch_request() File "/opt/venvs/mariner3d/lib/python3.7/site-packages/flask/app.py", line 1936, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/opt/venvs/mariner3d/lib/python3.7/site-packages/mariner/server/api.py", line 46, in print_status selected_file = elegoo_mars.get_selected_file() File "/opt/venvs/mariner3d/lib/python3.7/site-packages/mariner/mars.py", line 102, in get_selected_file self._extract_response_with_regex("ok '([^']+)'\r\n", data).group(1) File "/opt/venvs/mariner3d/lib/python3.7/site-packages/mariner/mars.py", line 39, in _extract_response_with_regex raise UnexpectedPrinterResponse(data) mariner.exceptions.UnexpectedPrinterResponse: ok N:0

But the printer seems to start the printjob.

luizribeiro commented 3 years ago

Hey! This is a known issue, see #180 There's no side-effects from this error though. It's mostly cosmetic. Feel free to ignore it.