Code Monkey home page Code Monkey logo

Comments (7)

zellneralex avatar zellneralex commented on July 20, 2024

output of http://voron350.local/server/files/list?root=gcodes

Traceback (most recent call last):
File "/home/pi/moonraker/moonraker/plugins/file_manager.py", line 385, in get_file_list
filelist = self._update_file_list(base)
File "/home/pi/moonraker/moonraker/plugins/file_manager.py", line 263, in _update_file_list
raise self.server.error(msg)
utils.ServerError: No known path for root: gcodes

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/pi/moonraker/moonraker/app.py", line 311, in _process_http_request
result = await self.callback(self.request.path, method, args)
File "/home/pi/moonraker/moonraker/plugins/file_manager.py", line 104, in _handle_filelist_request
return self.get_file_list(format_list=True, base=root)
File "/home/pi/moonraker/moonraker/plugins/file_manager.py", line 389, in get_file_list
raise self.server.error(msg)
utils.ServerError: Unable to update file list

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/home/pi/moonraker-env/lib/python3.7/site-packages/tornado/web.py", line 1703, in _execute
result = await result
File "/home/pi/moonraker/moonraker/app.py", line 290, in get
await self._process_http_request('GET')
File "/home/pi/moonraker/moonraker/app.py", line 314, in _process_http_request
e.status_code, str(e)) from e
tornado.web.HTTPError: HTTP 400: Bad Request (Unable to update file list)

from moonraker.

jakep82 avatar jakep82 commented on July 20, 2024

I searched the klippy.log file you've posted, and I don't see virtual_sdcard anywhere in it. Are you sure you edited the printer.cfg in the correct location when you defined that section?

from moonraker.

zellneralex avatar zellneralex commented on July 20, 2024

I have it working again! Root Cause if klipper is in error state Moonraker seams not to read the virtual_sdcard location. As soon I did a few tweaks to get klipper (temporarily) to pass, I am able to access the gcode folder and save modifications to the gui. So you need a working klipper. Maybe you could add a note to the install doc

from moonraker.

zellneralex avatar zellneralex commented on July 20, 2024

Jakep82 I find the virtual_sdcard 2 times in the log (2 klipper restarts) always near the end of the config section
[virtual_sdcard]
path = ~/sdcard

[pause_resume]

[display_status]

Extruder max_extrude_ratio=0.266081

But as already mentioned problem solved klipper must have The Status ready for moonraker to read that location

from moonraker.

zellneralex avatar zellneralex commented on July 20, 2024

This can be closed, as soon you modify the manual or decide as it good as is

from moonraker.

Arksine avatar Arksine commented on July 20, 2024

I have advised meteyou to use the config folder for storing gui.json, as it is available immediately if configured. I will update the docs and close this issue when that is complete.

from moonraker.

zellneralex avatar zellneralex commented on July 20, 2024

Thank you

from moonraker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.