Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mariner[351]: ValueError: 1678655 is not in list #561

Open
CalliopeSystem opened this issue Jan 17, 2023 · 0 comments
Open

mariner[351]: ValueError: 1678655 is not in list #561

CalliopeSystem opened this issue Jan 17, 2023 · 0 comments

Comments

@CalliopeSystem
Copy link

CalliopeSystem commented Jan 17, 2023

Description
Server returns 500 error instead of displaying print status while printing.

Reproduction Steps
Steps to reproduce the behavior:

  1. Begin print job (.cbddlp file)
  2. Click on Home
  3. Wait
  4. See error

Expected Behavior
Print status should be shown without error.

Screenshots / Logs

Jan 16 20:51:37 photon mariner[351]: ERROR:waitress:Exception while serving /api/print_status
Jan 16 20:51:37 photon mariner[351]: Traceback (most recent call last):
Jan 16 20:51:37 photon mariner[351]:   File "/opt/venvs/mariner3d/lib/python3.7/site-packages/waitress/channel.py", line 397, in service
Jan 16 20:51:37 photon mariner[351]:     task.service()
Jan 16 20:51:37 photon mariner[351]:   File "/opt/venvs/mariner3d/lib/python3.7/site-packages/waitress/task.py", line 168, in service
Jan 16 20:51:37 photon mariner[351]:     self.execute()
Jan 16 20:51:37 photon mariner[351]:   File "/opt/venvs/mariner3d/lib/python3.7/site-packages/waitress/task.py", line 434, in execute
Jan 16 20:51:37 photon mariner[351]:     app_iter = self.channel.server.application(environ, start_response)
Jan 16 20:51:37 photon mariner[351]:   File "/opt/venvs/mariner3d/lib/python3.7/site-packages/flask/app.py", line 2464, in __call__
Jan 16 20:51:37 photon mariner[351]:     return self.wsgi_app(environ, start_response)
Jan 16 20:51:37 photon mariner[351]:   File "/opt/venvs/mariner3d/lib/python3.7/site-packages/whitenoise/base.py", line 85, in __call__
Jan 16 20:51:37 photon mariner[351]:     return self.application(environ, start_response)
Jan 16 20:51:37 photon mariner[351]:   File "/opt/venvs/mariner3d/lib/python3.7/site-packages/flask/app.py", line 2450, in wsgi_app
Jan 16 20:51:37 photon mariner[351]:     response = self.handle_exception(e)
Jan 16 20:51:37 photon mariner[351]:   File "/opt/venvs/mariner3d/lib/python3.7/site-packages/flask/app.py", line 1867, in handle_exception
Jan 16 20:51:37 photon mariner[351]:     reraise(exc_type, exc_value, tb)
Jan 16 20:51:37 photon mariner[351]:   File "/opt/venvs/mariner3d/lib/python3.7/site-packages/flask/_compat.py", line 39, in reraise
Jan 16 20:51:37 photon mariner[351]:     raise value
Jan 16 20:51:37 photon mariner[351]:   File "/opt/venvs/mariner3d/lib/python3.7/site-packages/flask/app.py", line 2447, in wsgi_app
Jan 16 20:51:37 photon mariner[351]:     response = self.full_dispatch_request()
Jan 16 20:51:37 photon mariner[351]:   File "/opt/venvs/mariner3d/lib/python3.7/site-packages/flask/app.py", line 1952, in full_dispatch_request
Jan 16 20:51:37 photon mariner[351]:     rv = self.handle_user_exception(e)
Jan 16 20:51:37 photon mariner[351]:   File "/opt/venvs/mariner3d/lib/python3.7/site-packages/flask/app.py", line 1821, in handle_user_exception
Jan 16 20:51:37 photon mariner[351]:     reraise(exc_type, exc_value, tb)
Jan 16 20:51:37 photon mariner[351]:   File "/opt/venvs/mariner3d/lib/python3.7/site-packages/flask/_compat.py", line 39, in reraise
Jan 16 20:51:37 photon mariner[351]:     raise value
Jan 16 20:51:37 photon mariner[351]:   File "/opt/venvs/mariner3d/lib/python3.7/site-packages/flask/app.py", line 1950, in full_dispatch_request
Jan 16 20:51:37 photon mariner[351]:     rv = self.dispatch_request()
Jan 16 20:51:37 photon mariner[351]:   File "/opt/venvs/mariner3d/lib/python3.7/site-packages/flask/app.py", line 1936, in dispatch_request
Jan 16 20:51:37 photon mariner[351]:     return self.view_functions[rule.endpoint](**req.view_args)
Jan 16 20:51:37 photon mariner[351]:   File "/opt/venvs/mariner3d/lib/python3.7/site-packages/mariner/server/api.py", line 62, in print_status
Jan 16 20:51:37 photon mariner[351]:     print_status.current_byte
Jan 16 20:51:37 photon mariner[351]: ValueError: 1678655 is not in list

Details:

  • Mariner Version: 0.2.0
  • Printer Model: Anycubic Photon
  • Raspberry Pi Model: RPi Zero W

Additional Context:
Anycubic Photon running firmware V4.2.23
https://cdn.shopify.com/s/files/1/0212/5611/0180/files/X1-Classic_Final_Firmware.zip?v=1618501078

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant