Package Details: moonraker-git 0.9.3.r0.g71f9e67-2

Git Clone URL: https://aur.archlinux.org/moonraker-git.git (read-only, click to copy)
Package Base: moonraker-git
Description: HTTP frontend for Klipper 3D printer firmware
Upstream URL: https://github.com/Arksine/moonraker
Keywords: 3d klipper printing
Licenses: GPL3
Conflicts: moonraker
Provides: moonraker
Submitter: wlhlm
Maintainer: wlhlm
Last Packager: wlhlm
Votes: 3
Popularity: 0.047304
First Submitted: 2021-02-22 11:12 (UTC)
Last Updated: 2024-09-27 06:48 (UTC)

Dependencies (30)

Required by (0)

Sources (9)

Latest Comments

1 2 Next › Last »

synthead commented on 2024-12-30 06:44 (UTC)

Moonraker doesn't seem to want to start due to a missing module called streaming_form_data:

Dec 29 22:43:06 ender moonraker[51272]: Traceback (most recent call last):
Dec 29 22:43:06 ender moonraker[51272]:   File "/opt/moonraker/lib/python3.13/site-packages/moonraker/server.py", line 300, in load_component
Dec 29 22:43:06 ender moonraker[51272]:     module = importlib.import_module(full_name)
Dec 29 22:43:06 ender moonraker[51272]:   File "/usr/lib/python3.13/importlib/__init__.py", line 88, in import_module
Dec 29 22:43:06 ender moonraker[51272]:     return _bootstrap._gcd_import(name[level:], package, level)
Dec 29 22:43:06 ender moonraker[51272]:            ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Dec 29 22:43:06 ender moonraker[51272]:   File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
Dec 29 22:43:06 ender moonraker[51272]:   File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
Dec 29 22:43:06 ender moonraker[51272]:   File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
Dec 29 22:43:06 ender moonraker[51272]:   File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
Dec 29 22:43:06 ender moonraker[51272]:   File "<frozen importlib._bootstrap_external>", line 1026, in exec_module
Dec 29 22:43:06 ender moonraker[51272]:   File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
Dec 29 22:43:06 ender moonraker[51272]:   File "/opt/moonraker/lib/python3.13/site-packages/moonraker/components/application.py", line 37, in <module>
Dec 29 22:43:06 ender moonraker[51272]:     from streaming_form_data import StreamingFormDataParser, ParseFailedException
Dec 29 22:43:06 ender moonraker[51272]: ModuleNotFoundError: No module named 'streaming_form_data'
Dec 29 22:43:06 ender moonraker[51272]: [server.py:launch_server()] - Moonraker Error
Dec 29 22:43:06 ender moonraker[51272]: Traceback (most recent call last):
Dec 29 22:43:06 ender moonraker[51272]:   File "/opt/moonraker/lib/python3.13/site-packages/moonraker/server.py", line 551, in launch_server
Dec 29 22:43:06 ender moonraker[51272]:     server = Server(app_args, log_manager, eventloop)
Dec 29 22:43:06 ender moonraker[51272]:   File "/opt/moonraker/lib/python3.13/site-packages/moonraker/server.py", line 105, in __init__
Dec 29 22:43:06 ender moonraker[51272]:     self.moonraker_app: MoonrakerApp = self.load_component(config, "application")
Dec 29 22:43:06 ender moonraker[51272]:                                        ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
Dec 29 22:43:06 ender moonraker[51272]:   File "/opt/moonraker/lib/python3.13/site-packages/moonraker/server.py", line 300, in load_component
Dec 29 22:43:06 ender moonraker[51272]:     module = importlib.import_module(full_name)
Dec 29 22:43:06 ender moonraker[51272]:   File "/usr/lib/python3.13/importlib/__init__.py", line 88, in import_module
Dec 29 22:43:06 ender moonraker[51272]:     return _bootstrap._gcd_import(name[level:], package, level)
Dec 29 22:43:06 ender moonraker[51272]:            ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Dec 29 22:43:06 ender moonraker[51272]:   File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
Dec 29 22:43:06 ender moonraker[51272]:   File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
Dec 29 22:43:06 ender moonraker[51272]:   File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
Dec 29 22:43:06 ender moonraker[51272]:   File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
Dec 29 22:43:06 ender moonraker[51272]:   File "<frozen importlib._bootstrap_external>", line 1026, in exec_module
Dec 29 22:43:06 ender moonraker[51272]:   File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
Dec 29 22:43:06 ender moonraker[51272]:   File "/opt/moonraker/lib/python3.13/site-packages/moonraker/components/application.py", line 37, in <module>
Dec 29 22:43:06 ender moonraker[51272]:     from streaming_form_data import StreamingFormDataParser, ParseFailedException
Dec 29 22:43:06 ender moonraker[51272]: ModuleNotFoundError: No module named 'streaming_form_data'
Dec 29 22:43:06 ender moonraker[51272]: [server.py:main()] - Server Shutdown
Dec 29 22:43:06 ender systemd[1]: moonraker.service: Main process exited, code=exited, status=1/FAILURE
Dec 29 22:43:06 ender systemd[1]: moonraker.service: Failed with result 'exit-code'.

synthead commented on 2024-12-19 17:31 (UTC)

Got this message after installing the package:

:: Running post-transaction hooks...
(1/4) Creating system user accounts...
Creating group 'moonraker-admin' with GID 968.
(2/4) Reloading system manager configuration...
(3/4) Creating temporary files...
Detected unsafe path transition /etc/klipper (owned by klipper) → /etc/klipper/klipper.cfg (owned by root) during canonicalization of etc/klipper/klipper.cfg.
error: command failed to execute correctly
(4/4) Arming ConditionNeedsUpdate...

emiliano.bovetti commented on 2024-11-30 18:51 (UTC)

There's a problem with python-pdm-backend, the version available in the extra repository is 2.4.3, but moonraker/pyproject.toml explicitly requires pdm-backend==2.3.3.

This results in: ERROR Missing dependencies: pdm-backend==2.3.3.

Apparently simply removing the constraint with sed -i 's/"pdm-backend==2.3.3"/"pdm-backend"/' pyproject.toml seems to work

FFY00 commented on 2024-09-08 21:32 (UTC)

@wlhlm, no worries, if you have any issues/questions regarding Arch or Python, feel free to drop me an email :)

wlhlm commented on 2024-09-08 18:34 (UTC)

@FFY00 Thank you very much for the patch. I was not aware of the --system-site-packages option. Arch python packaging options for virtualenvs are not well documented in the wiki.

I've applied the patch with a minor change to the sed invocation.

@Gaborg Thanks for the notice. Fixed now.

Gaborg commented on 2024-09-07 23:30 (UTC)

Missing make dependency: python-pdm-backend

FFY00 commented on 2024-08-28 03:35 (UTC)

@wlhlm, I would recommend using a proper venv instead of setting PYTHONUSERBASE.

This patch implements that change: https://pkgbuild.com/~ffy00/0001-use-venv-instead-of-PYTHONUSERBASE-0.9.2.r6.gf735c04.patch

wlhlm commented on 2024-08-18 11:36 (UTC)

@otreblan Fixed. Apologies for the delay.

otreblan commented on 2024-08-04 13:30 (UTC)

Missing dependency python-importlib-metadata

wlhlm commented on 2024-01-01 19:01 (UTC)

@le_mon A recent change in moonraker allows for disabling this warning (I've updated the moonraker config shipped with this package).