I'm using a raspberry pi 4. Two more dependencies that are needed are gcc and make gcc is apparently needed by the klipper code to compile
Search Criteria
Package Details: klipper-git r4940.e2d7c5981-1
Package Actions
| Git Clone URL: | https://aur.archlinux.org/klipper-git.git (read-only, click to copy) |
|---|---|
| Package Base: | klipper-git |
| Description: | 3D printer firmware with motion planning on the host |
| Upstream URL: | https://www.klipper3d.org/ |
| Licenses: | GPL3 |
| Conflicts: | klipper |
| Provides: | klipper |
| Submitter: | jade1 |
| Maintainer: | dack |
| Last Packager: | dack |
| Votes: | 4 |
| Popularity: | 0.000000 |
| First Submitted: | 2018-10-19 05:10 (UTC) |
| Last Updated: | 2023-03-21 07:03 (UTC) |
Dependencies (19)
- libusb (libusb-gitAUR)
- python-can
- python-cffi
- python-greenlet
- python-jinja
- python-pyserial (python-pyserial-labgrid-gitAUR)
- git (git-gitAUR, git-glAUR, git-wd40AUR) (make)
- arm-none-eabi-binutils (gcc-arm-none-eabi-binAUR) (optional, x86_64) – for ARM MCU firmware compilation
- arm-none-eabi-gcc (arm-none-eabi-gcc53-linaroAUR, gcc-arm-none-eabi-binAUR) (optional, x86_64) – for ARM MCU firmware compilation
- arm-none-eabi-newlib (gcc-arm-none-eabi-binAUR) (optional, x86_64) – for ARM MCU firmware compilation
- avr-binutils (avr-binutils-219AUR, avr-binutils-220AUR) (optional) – for AVR MCU firmware compilation
- avr-gcc (avr-gcc-43AUR, avr-gcc-45AUR, avr-gcc-85AUR) (optional) – for AVR MCU firmware compilation
- avr-libc (avr-libc-16AUR, avr-libc-18AUR, avr-libc-debian-gitAUR, avr-libc-gitAUR, avr-libc-avrxmega3-svnAUR, avr-libc-avrxmega3AUR, avr-libc-atmega328pbAUR) (optional) – for AVR MCU firmware compilation
- avrdude (avrdude-svnAUR) (optional) – for flashing firmware on AVR MCU
- dfu-util (dfu-util-gitAUR) (optional) – for flashing firmware on STM32 MCUs
- ncurses (ncurses-gitAUR) (optional) – for choosing compilation config
- python-matplotlib (python-matplotlib-gitAUR) (optional) – for resonance measurement
- python-numpy (python-numpy-gitAUR, python-numpy-mkl-binAUR, python-numpy1AUR, python-numpy-mkl-tbbAUR, python-numpy-mklAUR) (optional) – for resonance measurement
- stm32flashAUR (stm32flash-gitAUR, stm32flashAUR) (optional) – for flashing firmware on STM MCU
Required by (3)
- moonraker-git (requires klipper)
- pacsea-bin (requires klipper) (optional)
- pacsea-git (requires klipper) (optional)
Sources (4)
Latest Comments
« First ‹ Previous 1 2 3 4
Deathwarror commented on 2020-01-04 18:30 (UTC)
dack commented on 2020-01-04 05:12 (UTC)
Can you add a dependency for python2-jinja? Without it, klipper fails with the following in the log:
Unhandled exception during connect
Traceback (most recent call last):
File "/opt/klipper/klippy/klippy.py", line 134, in _connect
self._read_config()
File "/opt/klipper/klippy/klippy.py", line 129, in _read_config
m.add_printer_objects(config)
File "/opt/klipper/klippy/toolhead.py", line 567, in add_printer_objects
config.get_printer().add_object('toolhead', ToolHead(config))
File "/opt/klipper/klippy/toolhead.py", line 262, in init
self.printer.try_load_module(config, "idle_timeout")
File "/opt/klipper/klippy/klippy.py", line 116, in try_load_module
self.objects[section] = init_func(config.getsection(section))
File "/opt/klipper/klippy/extras/idle_timeout.py", line 113, in load_config
return IdleTimeout(config)
File "/opt/klipper/klippy/extras/idle_timeout.py", line 24, in init
gcode_macro = self.printer.try_load_module(config, 'gcode_macro')
File "/opt/klipper/klippy/klippy.py", line 110, in try_load_module
mod = importlib.import_module('extras.' + module_name)
File "/usr/lib/python2.7/importlib/init.py", line 37, in import_module
import(name)
File "/opt/klipper/klippy/extras/gcode_macro.py", line 7, in <module>
import jinja2
ImportError: No module named jinja2
Psych0d0g commented on 2019-09-01 15:26 (UTC)
could you add aarch64 to the architectures supported so we can use this pkg on raspi3 with the a4a rpi3 image?
jade1 commented on 2018-10-28 14:43 (UTC)
@breadman indeed that is a mistake on my part. The reason it was moved was because I wanted to privilege separate OctoPrint from Klipper. But /tmp/printer, being in a setuid directory, can't be followed by non owner users.
The socket is at /run/klipper/sock.
breadman commented on 2018-10-28 13:00 (UTC)
For some reason I do not have /tmp/printer. After flashing the MCU klipper is communicating with the printer but there's no symlink.
I think this began after yesterday's update as I tried this package two days ago and everything seemed to work fine. Now this happens both in virtualbox and on a physical machine. I do not see any warnings in klippy's log, nothing regarding /tmp/printer in journald.
I'm using Manjaro and not Arch, but I don't think this should be a problem. Any suggestions in which direction to look?
jade1 commented on 2018-10-19 05:25 (UTC) (edited on 2018-10-28 14:45 (UTC) by jade1)
README
After you have this package installed, copy an example config from /opt/klipper/config to /etc/klipper/klipper.cfg and adjust the values to suit your printer.
Copy the firmware out of /opt/klipper to your user directory and follow the procedure as outlined in the documentation: https://github.com/KevinOConnor/klipper/blob/master/docs/Installation.md#building-and-flashing-the-micro-controller
Then, start/enable the klipper service with systemctl.
The log file is available at /var/log/klipper/klippy.log
OctoPrint
Use the socket /run/klipper/sock. OctoKlipper is highly recommended.
Pinned Comments
dack commented on 2023-03-21 07:13 (UTC)
I have updated this package to use python 3. If you are currently using klipper-py3-git, please switch to using this package instead. It's now fully up to date. All future updates will go here and I will be removing klipper-py3-git at some point.