prusa3d / PrusaSlicer

G-code generator for 3D printers (RepRap, Makerbot, Ultimaker etc.)
https://www.prusa3d.com/prusaslicer/
GNU Affero General Public License v3.0
7.79k stars 1.94k forks source link

cant figure this error out while trying to upload to moonraker #10775

Open Drlevinsk opened 1 year ago

Drlevinsk commented 1 year ago

Description of the bug

Error uploading to print host: HTTP 400: {"error": {"code": 400, "message": "Bad Request", "traceback": "Traceback (most recent call last):\n\n File \"/usr/share/moonraker/moonraker/app.py\", line 807, in post\n result = await self.file_manager.finalize_upload(form_args)\n\n File \"/usr/share/moonraker/moonraker/components/file_manager/file_manager.py\", line 448, in finalize_upload\n upload_info = self._parse_upload_args(form_args)\n\n File \"/usr/share/moonraker/moonraker/components/file_manager/file_manager.py\", line 473, in _parse_upload_args\n raise self.server.error(f\"Root {root} not available\")\n\nutils.ServerError: Root gcodes not available\n\n\nDuring handling of the above exception, another exception occurred:\n\n\nTraceback (most recent call last):\n\n File \"/usr/share/moonraker-env/lib/python3.7/site-packages/tornado/web.py\", line 1704, in _execute\n result = await result\n\n File \"/usr/share/moonraker/moonraker/app.py\", line 810, in post\n e.status_code, str(e))\n\ntornado.web.HTTPError: HTTP 400: Bad Request (Root gcodes not available)\n"}}

Project file & How to reproduce

just when i press send gcode to my sonic pad, url is good ive tested it, i can log into web ui...... so i am unsure if it is a setting i have mistakenly done on prusa slicer or something in my printer config

please help!!!!!!lol

Checklist of files included above

Version of PrusaSlicer

2.6

Operating system

windows

Printer model

ender 3v2, ender 6

Jan-Soustruznik commented 1 year ago

Hello, @Drlevinsk,

Your reported error message isnt generated by PrusaSlicer. I think that your problem is maybe on server(moonraker). You should move you request to moonraker. Thank you, have a nice day.