Aller au contenu

Messages recommandés

Posté(e)

Bonjour, 

Il y a quelques semaines, j'ai changé ma cartouche chauffante sur ma v400 (manœuvre que j'avais déjà réalisée une fois ou deux sur cette machine). Pour info, j'ai changé de firmware au profit de celui de guilouz (disponible sur son github) depuis plusieurs mois et tout était parfaitement stable.

Cela dit à l'allumage de la machine, un probable faux contact sur la cartouche (merci aliexpress) a provoqué l'arrêt de klipper et surtout une fumée s'est dégagée de la zone où est placée la carte mère. 

J'ai tenté de changer de cartouche, de rallumer la machine mais rien n'y fait le mal était fait.

Le speeder pad affiche à chaque allumage que klipper ne répond pas, le détecteur de fin de filament ne s'allume pas. J'ai naïvement cru que c'était la switch board qui avait grillée, que j'ai changé mais pas d'impact sur la situation. 
J'ai tenté de réinstaller klipper selon la procédure décrite par guilouz mais impossible de terminer la procédure. 

J'ai enfin accepté le fait que ma carte mère avait grillé...MAIS impossible de trouver la même que celle de la v400 (à savoir la robin nano v2.1). En rupture de stock sur tous les sites habituels... la version klipper de guilouz est compatible avec d'autres carte comme la mks nano v3.0.

Le site makerbase propose ce modèle, https://makerbase3d.com/product/makerbase-mks-eagle-32bit-control-board-tmc2209-uart-on-board-3d-printer-parts-tft-screen-usb-print-vs-nano-v3-0/, est elle compatible avec la v400 ? 

De plus je vois souvent passer dans des kits "carte mère" des éléments supplémentaires comme les stepper drive (TMC22xx), à quoi servent ils? sont ils nécessaires sur une mks nano v3.0 ? 

Pas mal de questions qui restent pour l'instant sans réponse rendant inutilisables ma v400.... j'espère que quelqu'un saura m'aider sur le remplacement de ma carte. 

D'avance merci. 

Cordialement 

Posté(e)

Salut,

Il y a 3 heures, Yog-Sothoth a dit :

la version klipper de guilouz est compatible avec d'autres carte comme la mks nano v3.0

... et la V3.1 (voir ici)

Il y a 3 heures, Yog-Sothoth a dit :

il y a des chances, mais perso, je partirais plutôt sur une nano V3.1 où les pilotes de moteurs sont amovibles et donc moins chère

Il y a 3 heures, Yog-Sothoth a dit :

De plus je vois souvent passer dans des kits "carte mère" des éléments supplémentaires comme les stepper drive (TMC22xx), à quoi servent ils? sont ils nécessaires sur une mks nano v3.0 ? 

les stepper drivers sont justement les modules amovibles qui pilotent les moteurs pas à pas. Si ils sont toujours opérationnels, tu peux récupérer ceux de ta carte actuelle (V2.1)

Il y a 3 heures, Yog-Sothoth a dit :

j'espère que quelqu'un saura m'aider sur le remplacement de ma carte

le remarquable travail de guilouz devrait suffire 😉

Posté(e)

Bonsoir, 

Merci pour la réponse, cependant ce n'est pas un problème software que je rencontre car comme vous l'avez dit, le travail de guilouz est remarquable et surtout très bien présenté. L'installation de klipper n'est donc pas mon soucis peut importe la version de la future carte choisie. 

Mon soucis réside dans l'absence totale d'idée de où et quoi me procurer comme matériel de remplacement. 
Si vous aviez un lien pour le dit matériel ou à la limite un revendeur de confiance chez qui je pourrais me procurer la dite carte je vous en serais très reconnaissant. 

Encore merci pour l'intérêt porté à mon post. 

https://makerbase3d.com/product/robin-nano-v3-eagle-32bit-168mhz-f407-control-board-3d-printer-parts-tft-screen-usb-print/ 

est ce que celle là pourrait être compatible ? 

si oui quel kit prendre ? TMC2225 ou TMC2209 ? 

D'avance merci

Posté(e)

Il est possible qu'elle soit compatible, mais par sécurité je partirais sur la nano V3.1 ici (avec le code promo FR1004) et les 5 TMC2209 , si les tiens sont HS

Posté(e)
Le 03/10/2025 at 20:54, pommeverte a dit :

Il est possible qu'elle soit compatible, mais par sécurité je partirais sur la nano V3.1 ici (avec le code promo FR1004) et les 5 TMC2209 , si les tiens sont HS

Salut, 

Merci pour le lien, c'est commandé. Plus qu'a attendre et espérer que l'installation se passera sans encombres 🙂 

 

Posté(e)

Hello, je suis exactement dans le même cas que toi depuis une semaine, carte mère introuvable même sur le site officiel. Je vois qu'il est effectivement possible de remplacer la carte d'origine par la Nano V3.1 mais en fouillant sur les groupe dédié je trouve pas de tuto complet pour le remplacement . Il y'a des broches et polarités à inverser, le firmware à modifier etc.. Si tu t'en sors, un retour serait cool de ta part 😀

Posté(e)
Le 03/10/2025 at 20:54, pommeverte a dit :

Il est possible qu'elle soit compatible, mais par sécurité je partirais sur la nano V3.1 ici (avec le code promo FR1004) et les 5 TMC2209 , si les tiens sont HS

Bonjour à toutes et à tous (et @pommeverte qui m'a déjà beaucoup aidé). 

Je ne pensais pas avoir de nouveau de l'aide sur ce sujet mais la malchance me poursuit... 


J'ai reçu ma carte (tout à l'air conforme). 

J'ai donc tenté une réinstallation du firmware de Guilouz, tout ce passe bien jusqu'à cette étape : https://github.com/Guilouz/Klipper-Flsun-Speeder-Pad/wiki/Update-dependencies

La mise à jour se fait sans soucis. Arrivé à https://github.com/Guilouz/Klipper-Flsun-Speeder-Pad/wiki/Delete-Flsun-Builds ou https://github.com/Guilouz/Klipper-Flsun-Speeder-Pad/wiki/Install-Official-Builds-(1-instance).... j'ai un message d'erreur ! 

pi@speeder-pad:~$ ./kiauh/kiauh.sh
Traceback (most recent call last):
File "/home/pi/kiauh/kiauh/main.py", line 33, in
main()
File "/home/pi/kiauh/kiauh/main.py", line 25, in main
KiauhSettings()
File "/home/pi/kiauh/kiauh/core/settings/kiauh_settings.py", line 104, in init
self.__read_config_set_internal_state()
File "/home/pi/kiauh/kiauh/core/settings/kiauh_settings.py", line 142, in __read_config_set_internal_state
shutil.copyfile(DEFAULT_CFG, CUSTOM_CFG)
File "/usr/lib/python3.9/shutil.py", line 264, in copyfile
with open(src, 'rb') as fsrc, open(dst, 'wb') as fdst:
PermissionError: [Errno 13] Permission denied: '/home/pi/kiauh/kiauh.cfg'

Je n'ai jamais eu ce genre de message les fois dernières. J'ai déjà rententé la mise à jour des dépendances, rebooté malgré le risque de perdre la connection ssh (ce qui est arrivé). J'ai donc refait toutes les manoeuvres jusqu'à nouveau retomber sur ce message d'erreur. 

Est ce que quelqu'un à une idée ? 

D'avance merci ! 

 

┌──────────────────────────────────────────────────────────────┐
│ • SPEEDER PAD INSTALLER • │
│ Copyright © Cyril Guislain (Guilouz) │
└──────────────────────────────────────────────────────────────┘

• INSTALLING UPDATED PYTHON3 VERSION •

Reading package lists... Done
Building dependency tree
Reading state information... Done
python3.9 is already the newest version (3.9.5-3ubuntu0~20.04.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

INFO: Install done!

• INSTALLING PYTHON3 VENV •

Reading package lists... Done
Building dependency tree
Reading state information... Done
python3.9-dev is already the newest version (3.9.5-3ubuntu020.04.1).
python3.9-venv is already the newest version (3.9.5-3ubuntu0
20.04.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

INFO: Install done!

• INSTALLING UPDATED PIP VERSION •

% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 2098k 100 2098k 0 0 1609k 0 0:00:01 0:00:01 --:--:-- 1607k

Collecting pip
Using cached pip-25.2-py3-none-any.whl.metadata (4.7 kB)
Using cached pip-25.2-py3-none-any.whl (1.8 MB)
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 25.2
Uninstalling pip-25.2:
Successfully uninstalled pip-25.2
Successfully installed pip-25.2
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.

Requirement already satisfied: testresources in /usr/local/lib/python3.9/dist-packages (2.0.2)
Requirement already satisfied: pbr>=1.8 in /usr/local/lib/python3.9/dist-packages (from testresources) (7.0.1)
Requirement already satisfied: setuptools in /usr/local/lib/python3.9/dist-packages (from pbr>=1.8->testresources) (80.9.0)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.

INFO: Install done!

• INSTALLING UPDATED VIRTUALENV •

Found existing installation: virtualenv 20.35.3
Uninstalling virtualenv-20.35.3:
Would remove:
/usr/local/bin/virtualenv
/usr/local/lib/python3.9/dist-packages/virtualenv-20.35.3.dist-info/*
/usr/local/lib/python3.9/dist-packages/virtualenv/*
Proceed (Y/n)? Successfully uninstalled virtualenv-20.35.3
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.

Collecting virtualenv
Using cached virtualenv-20.35.3-py3-none-any.whl.metadata (4.6 kB)
Requirement already satisfied: distlib<1,>=0.3.7 in /usr/local/lib/python3.9/dist-packages (from virtualenv) (0.4.0)
Requirement already satisfied: filelock<4,>=3.12.2 in /usr/local/lib/python3.9/dist-packages (from virtualenv) (3.19.1)
Requirement already satisfied: platformdirs<5,>=3.9.1 in /usr/local/lib/python3.9/dist-packages (from virtualenv) (4.4.0)
Requirement already satisfied: typing-extensions>=4.13.2 in /usr/local/lib/python3.9/dist-packages (from virtualenv) (4.15.0)
Using cached virtualenv-20.35.3-py3-none-any.whl (6.0 MB)
Installing collected packages: virtualenv
Successfully installed virtualenv-20.35.3
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.

INFO: Install done!

• INSTALLING UPDATED SETUPTOOLS •

Requirement already satisfied: setuptools in /usr/local/lib/python3.9/dist-packages (80.9.0)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
Requirement already satisfied: setuptools[core] in /usr/local/lib/python3.9/dist-packages (80.9.0)
Requirement already satisfied: packaging>=24.2 in /usr/local/lib/python3.9/dist-packages (from setuptools[core]) (25.0)
Requirement already satisfied: more_itertools>=8.8 in /usr/local/lib/python3.9/dist-packages (from setuptools[core]) (10.8.0)
Requirement already satisfied: jaraco.text>=3.7 in /usr/local/lib/python3.9/dist-packages (from setuptools[core]) (4.0.0)
Requirement already satisfied: importlib_metadata>=6 in /usr/local/lib/python3.9/dist-packages (from setuptools[core]) (8.7.0)
Requirement already satisfied: tomli>=2.0.1 in /usr/local/lib/python3.9/dist-packages (from setuptools[core]) (2.3.0)
Requirement already satisfied: wheel>=0.43.0 in /usr/local/lib/python3.9/dist-packages (from setuptools[core]) (0.45.1)
Requirement already satisfied: platformdirs>=4.2.2 in /usr/local/lib/python3.9/dist-packages (from setuptools[core]) (4.4.0)
Requirement already satisfied: jaraco.functools>=4 in /usr/local/lib/python3.9/dist-packages (from setuptools[core]) (4.3.0)
Requirement already satisfied: zipp>=3.20 in /usr/local/lib/python3.9/dist-packages (from importlib_metadata>=6->setuptools[core]) (3.23.0)
Requirement already satisfied: jaraco.context>=4.1 in /usr/local/lib/python3.9/dist-packages (from jaraco.text>=3.7->setuptools[core]) (6.0.1)
Requirement already satisfied: autocommand in /usr/local/lib/python3.9/dist-packages (from jaraco.text>=3.7->setuptools[core]) (2.2.2)
Requirement already satisfied: backports.tarfile in /usr/local/lib/python3.9/dist-packages (from jaraco.context>=4.1->jaraco.text>=3.7->setuptools[core]) (1.2.0)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.

INFO: Install done!

• INSTALLING KIAUH •

Cloning into '/home/pi/kiauh'...
remote: Enumerating objects: 5174, done.
remote: Counting objects: 100% (247/247), done.
remote: Compressing objects: 100% (139/139), done.
remote: Total 5174 (delta 146), reused 127 (delta 108), pack-reused 4927 (from 2)
Receiving objects: 100% (5174/5174), 2.32 MiB | 1.55 MiB/s, done.
Resolving deltas: 100% (3463/3463), done.

INFO: Install done!

• REMOVING STOCK CONFIGURATION FILES •

INFO: Removing done!

pi@speeder-pad:~$ ./kiauh/kiauh.sh
Traceback (most recent call last):
File "/home/pi/kiauh/kiauh/main.py", line 33, in
main()
File "/home/pi/kiauh/kiauh/main.py", line 25, in main
KiauhSettings()
File "/home/pi/kiauh/kiauh/core/settings/kiauh_settings.py", line 104, in init
self.__read_config_set_internal_state()
File "/home/pi/kiauh/kiauh/core/settings/kiauh_settings.py", line 142, in __read_config_set_internal_state
shutil.copyfile(DEFAULT_CFG, CUSTOM_CFG)
File "/usr/lib/python3.9/shutil.py", line 264, in copyfile
with open(src, 'rb') as fsrc, open(dst, 'wb') as fdst:
PermissionError: [Errno 13] Permission denied: '/home/pi/kiauh/kiauh.cfg'

 

Le 09/10/2025 at 23:45, Pierr0t a dit :

Hello, je suis exactement dans le même cas que toi depuis une semaine, carte mère introuvable même sur le site officiel. Je vois qu'il est effectivement possible de remplacer la carte d'origine par la Nano V3.1 mais en fouillant sur les groupe dédié je trouve pas de tuto complet pour le remplacement . Il y'a des broches et polarités à inverser, le firmware à modifier etc.. Si tu t'en sors, un retour serait cool de ta part 😀

https://github.com/Guilouz/Klipper-Flsun-Speeder-Pad/wiki 

 

la mise à jour du firmware est dispo ici. Je l'avais déjà fait auparavant avec ma nano 2.1, passage sans soucis. 

là j'ai un soucis à la mise à jour du speeder pad mais c'est pas en lien avec le changement de carte "mère" 

Posté(e) (modifié)

Salut @Yog-Sothoth ,

Apparemment, il y a un problème de droit d'accès au dossier kiauh pour pouvoir créer le fichier kiauh.cfg. Quelle est la réponse à un ls -l /home/pi/ ?

Sinon, @Guilouz ne semble pas répondre aux questions sur son Github ces derniers temps, là où tu as exposé ton problème. Peut-être que tu aurais plus de chance en passant par le discord ...

@Pierr0t je serais toi, j'attendrais que @Yog-Sothoth ait trouvé une solution, sinon, ton imprimante risque de servir de déco ou de presse-papier 🥴

PS: n'hésite pas à ajouter le nom de ton imprimante dans ton profil, c'est pratique pour te répondre. (voir ce message pour plus d'explications)

Modifié (le) par pommeverte
Posté(e)
Il y a 7 heures, pommeverte a dit :

Salut @Yog-Sothoth ,

Apparemment, il y a un problème de droit d'accès au dossier kiauh pour pouvoir créer le fichier kiauh.cfg. Quelle est la réponse à un ls -l /home/pi/ ?

Sinon, @Guilouz ne semble pas répondre aux questions sur son Github ces derniers temps, là où tu as exposé ton problème. Peut-être que tu aurais plus de chance en passant par le discord ...

@Pierr0t je serais toi, j'attendrais que @Yog-Sothoth ait trouvé une solution, sinon, ton imprimante risque de servir de déco ou de presse-papier 🥴

PS: n'hésite pas à ajouter le nom de ton imprimante dans ton profil, c'est pratique pour te répondre. (voir ce message pour plus d'explications)

Bonjour, 

 

J'ai éteins l'imprimante en attendant d'avoir une réponse. Je pense donc que l'accès ssh a l'imprimante n'est plus possible. Je vais devoir recommencer probablement la mise a jour. 

Je vais faire ça en rentrant du travail et tenter la commande proposée. 

 

Aurais tu un lien pour le discord de guilouz ?

 

Encore merci pour ta réactivité. 

 

Belle journée 

Posté(e)

Salut,

Il y a 6 heures, Yog-Sothoth a dit :

Aurais tu un lien pour le discord de guilouz ?

ben, il ne te plait pas celui que j'ai indiqué 😉:

Il y a 13 heures, pommeverte a dit :

Peut-être que tu aurais plus de chance en passant par le discord ...

Cela dit, ce lien mène directement à la section V400

Posté(e)
Il y a 4 heures, pommeverte a dit :

Salut,

ben, il ne te plait pas celui que j'ai indiqué 😉:

Cela dit, ce lien mène directement à la section V400

Désolé, que ce soit via mon pc ou l'appli sur smartphone, les liens m'emmènent seulement sur ma page d'accueil discord. 

Je suis peut être un peu bêbête 😅😅 

Ne faut il pas une invitation depuis le dit serveur ? 

Merci en tout cas pour l'aide apportée. Je suis en train de faire une 3ème MAJ du speeder pad. Je ne pense pas avoir un autre résultat qu'aux deux autres précédentes tentatives mais je pourrais essayer la ligne de commande proposée précédemment. 

Posté(e)
Il y a 21 heures, pommeverte a dit :

Salut @Yog-Sothoth ,

Apparemment, il y a un problème de droit d'accès au dossier kiauh pour pouvoir créer le fichier kiauh.cfg. Quelle est la réponse à un ls -l /home/pi/ ?

Sinon, @Guilouz ne semble pas répondre aux questions sur son Github ces derniers temps, là où tu as exposé ton problème. Peut-être que tu aurais plus de chance en passant par le discord ...

@Pierr0t je serais toi, j'attendrais que @Yog-Sothoth ait trouvé une solution, sinon, ton imprimante risque de servir de déco ou de presse-papier 🥴

PS: n'hésite pas à ajouter le nom de ton imprimante dans ton profil, c'est pratique pour te répondre. (voir ce message pour plus d'explications)

Tojours même comporterment quand je tente de lancer le ./kiauh/kiauh.sh

 

A un ls -l /home/pi/ : 

drwxr-xr-x  9 pi   pi   1024 Sep  7  2022 KlipperScreen
drwxrwxr-x  3 pi   pi   1024 Feb 15  2023 gcode_files
drwxr-xr-x  6 root root 1024 Oct 14 20:01 kiauh
drwxr-xr-x 11 pi   pi   1024 Sep  5  2022 klipper
drwxrwxr-x  5 pi   pi   1024 Jul 29  2022 klippy-env
drwxrwxr-x  5 pi   pi   1024 Jul 30  2022 mainsail
drwxrwxr-x 10 pi   pi   1024 Apr 15  2022 mjpg-streamer
drwxr-xr-x  8 pi   pi   1024 Sep  5  2022 moonraker
drwxrwxr-x  5 pi   pi   1024 Jul 29  2022 moonraker-env
drwxr-xr-x  2 pi   pi   1024 Apr 15  2022 timelapse
pi@speeder-pad:~$
 

Posté(e) (modifié)

C'est confirmé, le dossier kiauh devrait appartenir à pi et non root. Normalement en envoyant:

sudo chown -R pi:pi ./kiauh

tu devrais avoir la réponse suivante à un ls -l:

drwxr-xr-x  6 pi pi 1024 Oct 14 20:01 kiauh

Modifié (le) par pommeverte
Posté(e) (modifié)

Merci beaucoup, j'ai pu lancer KIAUH.... mais c'est pas encore fini... 

Après avoir supprimé kilpper, moonraker, mainsail et klipper screen. 

Je lance l'installation d'une seule instance de klipper (selon le tuto de guilouz toujours) et l'installation de klipper échoue....  je ne comprends pas, la dernière fois que je l'ai fait, ca c'est passé sans aucun problème. J'ai l'impression qu'à chaque étape un problème se rajoute. C'est fou. 
 


╔═══════════════════════════════════════════════════════╗
║ ~~~~~~~~~~~~~~~~~~~~~ [ KIAUH ] ~~~~~~~~~~~~~~~~~~~~~ ║
║        Klipper Installation And Update Helper         ║
║ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ║
╚═══════════════════════════════════════════════════════╝
╔═══════════════════════════════════════════════════════╗
║ ~~~~~~~~~~~~~~~~~~~ [ Main Menu ] ~~~~~~~~~~~~~~~~~~~ ║
╟──────────────────┬────────────────────────────────────╢
║  0) [Log-Upload] │   Klipper: Not installed           ║
║                  │     Owner: -                       ║
║  1) [Install]    │      Repo: -                       ║
║  2) [Update]     ├────────────────────────────────────╢
║  3) [Remove]     │ Moonraker: Not installed           ║
║  4) [Advanced]   │     Owner: -                       ║
║  5) [Backup]     │      Repo: -                       ║
║                  ├────────────────────────────────────╢
║  S) [Settings]   │        Mainsail: Not installed     ║
║                  │          Fluidd: Not installed     ║
║ Community:       │   Client-Config: -                 ║
║  E) [Extensions] │                                    ║
║                  │   KlipperScreen: Not installed     ║
║                  │       Crowsnest: Not installed     ║
╟──────────────────┼────────────────────────────────────╢
║      v6.0.1      │  Changelog: https://git.io/JnmlX   ║
╟──────────────────┴────────────────────────────────────╢
║                        Q) Quit                        ║
╚═══════════════════════════════════════════════════════╝
###### Perform action: 1
╔═══════════════════════════════════════════════════════╗
║ ~~~~~~~~~~~~~~~ [ Installation Menu ] ~~~~~~~~~~~~~~~ ║
╟───────────────────────────┬───────────────────────────╢
║ Firmware & API:           │ Touchscreen GUI:          ║
║  1) [Klipper]             │  7) [KlipperScreen]       ║
║  2) [Moonraker]           │                           ║
║                           │ Webcam Streamer:          ║
║ Webinterface:             │ 😎 [Crowsnest]           ║
║  3) [Mainsail]            │                           ║
║  4) [Fluidd]              │                           ║
║                           │                           ║
║ Client-Config:            │                           ║
║  5) [Mainsail-Config]     │                           ║
║  6) [Fluidd-Config]       │                           ║
╟───────────────────────────┴───────────────────────────╢
║                       B) « Back                       ║
╚═══════════════════════════════════════════════════════╝
###### Perform action: 1

###### Installing Klipper ...
╔═══════════════════════════════════════════════════════╗
║ Please select the number of Klipper instances to set  ║
║ up. The number of Klipper instances will determine    ║
║ the amount of printers you can run from this host.    ║
║                                                       ║
║ WARNING:                                              ║
║ Setting up too many instances may crash your system.  ║
╟───────────────────────────────────────────────────────╢
║                       B) « Back                       ║
╚═══════════════════════════════════════════════════════╝
###### Number of Klipper instances to set up (default=1): 1
###### Create example printer.cfg? (Y/n): y

###### Cloning repository from 'https://github.com/Klipper3d/klipper'
Cloning into '/home/pi/klipper'...
remote: Enumerating objects: 44988, done.
remote: Counting objects: 100% (273/273), done.
remote: Compressing objects: 100% (127/127), done.
remote: Total 44988 (delta 235), reused 146 (delta 146), pack-reused 44715 (from 3)
Receiving objects: 100% (44988/44988), 6.65 MiB | 2.03 MiB/s, done.
Resolving deltas: 100% (34544/34544), done.
remote: Enumerating objects: 2293, done.
remote: Counting objects: 100% (1168/1168), done.
remote: Compressing objects: 100% (862/862), done.
remote: Total 2293 (delta 498), reused 306 (delta 306), pack-reused 1125 (from 2)
Receiving objects: 100% (2293/2293), 10.62 MiB | 2.03 MiB/s, done.
Resolving deltas: 100% (1032/1032), done.
Updating files: 100% (2305/2305), done.
[OK] Clone successful!

###### Installing dependencies ...
[INFO] The following packages need installation:
● libusb-1.0
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libusb-1.0-0' for regex 'libusb-1.0'
Note, selecting 'libusb-1.0-0-dev' for regex 'libusb-1.0'
Note, selecting 'libusb-1.0-doc' for regex 'libusb-1.0'
libusb-1.0-0 is already the newest version (2:1.0.23-2build1).
libusb-1.0-0-dev is already the newest version (2:1.0.23-2build1).
libusb-1.0-doc is already the newest version (2:1.0.23-2build1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[OK] Packages successfully installed.

###### Set up Python virtual environment ...
created virtual environment CPython3.9.5.final.0-32 in 830ms
  creator CPython3Posix(dest=/home/pi/klippy-env, clear=False, no_vcs_ignore=False, global=False)
  seeder FromAppData(download=False, pip=bundle, setuptools=bundle, via=copy, app_data_dir=/home/pi/.local/share/virtualenv)
    added seed packages: pip==25.2, setuptools==80.9.0
  activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator
[OK] Setup of virtualenv successful!

###### Installing Python requirements ...
Ignoring greenlet: markers 'python_version >= "3.12"' don't match your environment
Ignoring cffi: markers 'python_version >= "3.12"' don't match your environment
Ignoring setuptools: markers 'python_version >= "3.12"' don't match your environment
Collecting greenlet==2.0.2 (from -r /home/pi/klipper/scripts/klippy-requirements.txt (line 7))
  Using cached greenlet-2.0.2-cp39-cp39-linux_armv7l.whl
Collecting cffi==1.14.6 (from -r /home/pi/klipper/scripts/klippy-requirements.txt (line 10))
  Using cached cffi-1.14.6-cp39-cp39-linux_armv7l.whl
Collecting Jinja2==2.11.3 (from -r /home/pi/klipper/scripts/klippy-requirements.txt (line 13))
  Using cached Jinja2-2.11.3-py2.py3-none-any.whl.metadata (3.5 kB)
Collecting markupsafe==1.1.1 (from -r /home/pi/klipper/scripts/klippy-requirements.txt (line 14))
  Using cached markupsafe-1.1.1-cp39-cp39-linux_armv7l.whl
Collecting pyserial==3.4 (from -r /home/pi/klipper/scripts/klippy-requirements.txt (line 16))
  Using cached pyserial-3.4-py2.py3-none-any.whl.metadata (1.6 kB)
Collecting python-can==3.3.4 (from -r /home/pi/klipper/scripts/klippy-requirements.txt (line 18))
  Using cached python_can-3.3.4-py2.py3-none-any.whl
Collecting msgspec==0.19.0 (from -r /home/pi/klipper/scripts/klippy-requirements.txt (line 21))
  Using cached msgspec-0.19.0-cp39-cp39-linux_armv7l.whl
Collecting pycparser (from cffi==1.14.6->-r /home/pi/klipper/scripts/klippy-requirements.txt (line 10))
  Using cached pycparser-2.23-py3-none-any.whl.metadata (993 bytes)
Collecting wrapt~=1.10 (from python-can==3.3.4->-r /home/pi/klipper/scripts/klippy-requirements.txt (line 18))
  Using cached wrapt-1.17.3-py3-none-any.whl.metadata (6.4 kB)
Collecting aenum (from python-can==3.3.4->-r /home/pi/klipper/scripts/klippy-requirements.txt (line 18))
  Using cached aenum-3.1.16-py3-none-any.whl.metadata (3.8 kB)
Using cached Jinja2-2.11.3-py2.py3-none-any.whl (125 kB)
Using cached pyserial-3.4-py2.py3-none-any.whl (193 kB)
Using cached wrapt-1.17.3-py3-none-any.whl (23 kB)
Using cached aenum-3.1.16-py3-none-any.whl (165 kB)
Using cached pycparser-2.23-py3-none-any.whl (118 kB)
Installing collected packages: pyserial, aenum, wrapt, pycparser, msgspec, markupsafe, greenlet, python-can, Jinja2, cffi
ERROR: Exception:
Traceback (most recent call last):
  File "/usr/lib/python3.9/py_compile.py", line 144, in compile
    code = loader.source_to_code(source_bytes, dfile or file,
  File "<frozen importlib._bootstrap_external>", line 918, in source_to_code
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/home/pi/klippy-env/lib/python3.9/site-packages/aenum/_py2.py", line 5
    raise exc, None, tb
             ^
SyntaxError: invalid syntax

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.9/compileall.py", line 238, in compile_file
    ok = py_compile.compile(fullname, cfile, dfile, True,
  File "/usr/lib/python3.9/py_compile.py", line 150, in compile
    raise py_exc
py_compile.PyCompileError:   File "/home/pi/klippy-env/lib/python3.9/site-packages/aenum/_py2.py", line 5
    raise exc, None, tb
             ^
SyntaxError: invalid syntax


During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/klippy-env/lib/python3.9/site-packages/pip/_internal/cli/base_command.py", line 107, in _run_wrapper
    status = _inner_run()
  File "/home/pi/klippy-env/lib/python3.9/site-packages/pip/_internal/cli/base_command.py", line 98, in _inner_run
    return self.run(options, args)
  File "/home/pi/klippy-env/lib/python3.9/site-packages/pip/_internal/cli/req_command.py", line 71, in wrapper
    return func(self, options, args)
  File "/home/pi/klippy-env/lib/python3.9/site-packages/pip/_internal/commands/install.py", line 460, in run
    installed = install_given_reqs(
  File "/home/pi/klippy-env/lib/python3.9/site-packages/pip/_internal/req/__init__.py", line 85, in install_given_reqs
    requirement.install(
  File "/home/pi/klippy-env/lib/python3.9/site-packages/pip/_internal/req/req_install.py", line 870, in install
    install_wheel(
  File "/home/pi/klippy-env/lib/python3.9/site-packages/pip/_internal/operations/install/wheel.py", line 737, in install_wheel
    _install_wheel(
  File "/home/pi/klippy-env/lib/python3.9/site-packages/pip/_internal/operations/install/wheel.py", line 623, in _install_wheel
    success = compileall.compile_file(path, force=True, quiet=True)
  File "/usr/lib/python3.9/compileall.py", line 255, in compile_file
    msg = err.msg.encode(sys.stdout.encoding,
TypeError: encode() argument 'encoding' must be str, not None

[ERROR] Error installing Python requirements: Installing Python requirements failed!
[ERROR] Error during installation of Klipper requirements!
[ERROR] Error installing Python requirements: Installing Python requirements failed!
[ERROR] Klipper installation failed!
 

Modifié (le) par Yog-Sothoth
Posté(e) (modifié)
il y a 23 minutes, Yog-Sothoth a dit :

Après avoir supprimé kilpper, moonraker, mainsail et klipper screen.

perso, je repartirais de zéro avec formatage de la carte µSD, ou une nouvelle carte par sécurité, et installation de Speeder_Pad_V1.2_Restoration-230303.xz comme indiqué dans la doc de guilouz

PS: quand tu fournis un long texte, il est préférable de l'insérer dans une citation (icone guillemets)

Modifié (le) par pommeverte
Posté(e)
Le 14/10/2025 at 21:03, pommeverte a dit :

C'est confirmé, le dossier kiauh devrait appartenir à pi et non root. Normalement en envoyant:

sudo chown -R pi:pi ./kiauh

tu devrais avoir la réponse suivante à un ls -l:

drwxr-xr-x  6 pi pi 1024 Oct 14 20:01 kiauh

Le 14/10/2025 at 22:19, pommeverte a dit :

perso, je repartirais de zéro avec formatage de la carte µSD, ou une nouvelle carte par sécurité, et installation de Speeder_Pad_V1.2_Restoration-230303.xz comme indiqué dans la doc de guilouz

PS: quand tu fournis un long texte, il est préférable de l'insérer dans une citation (icone guillemets)

 

Salut, 

Désolé, pas eu le temps de me consacrer à l'imprimante. Désolé également pour le gros pâté de la dernière fois, je penserais à mettre les guillemets. 

Nouvelle carte SD, formatté, réécris avec une nouvelle image du speeder pad restoration v1.2, recommencez de A à Z en suivant à la virgule le tuto de Guilouz.... Et on est toujours au même point. 
Même après avoir passé le dossier Kiauh à Pi (et pas sur root comme il se met à chaque fois) en entrant la commande "sudo chown -R pi:pi ./kiauh"

Ou en entrant comme proposé par quelqu'un d'autre sur ma demande d'aide sur le github

Citation

sudo chown pi:pi ./kiauh/kiauh.sh
sudo chmod +x ./kiauh/kiauh.sh

sudo chown pi:pi ./kiauh/default.kiauh.cfg
sudo chmod +x ./kiauh/default.kiauh.cfg

 

J'ai la même réponse : 

Citation


ERROR: Exception:
Traceback (most recent call last):
  File "/usr/lib/python3.9/py_compile.py", line 144, in compile
    code = loader.source_to_code(source_bytes, dfile or file,
  File "<frozen importlib._bootstrap_external>", line 918, in source_to_code
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/home/pi/klippy-env/lib/python3.9/site-packages/aenum/_py2.py", line 5
    raise exc, None, tb
             ^
SyntaxError: invalid syntax

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.9/compileall.py", line 238, in compile_file
    ok = py_compile.compile(fullname, cfile, dfile, True,
  File "/usr/lib/python3.9/py_compile.py", line 150, in compile
    raise py_exc
py_compile.PyCompileError:   File "/home/pi/klippy-env/lib/python3.9/site-packages/aenum/_py2.py", line 5
    raise exc, None, tb
             ^
SyntaxError: invalid syntax


During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/klippy-env/lib/python3.9/site-packages/pip/_internal/cli/base_command.py", line 107, in _run_wrapper
    status = _inner_run()
  File "/home/pi/klippy-env/lib/python3.9/site-packages/pip/_internal/cli/base_command.py", line 98, in _inner_run
    return self.run(options, args)
  File "/home/pi/klippy-env/lib/python3.9/site-packages/pip/_internal/cli/req_command.py", line 71, in wrapper
    return func(self, options, args)
  File "/home/pi/klippy-env/lib/python3.9/site-packages/pip/_internal/commands/install.py", line 460, in run
    installed = install_given_reqs(
  File "/home/pi/klippy-env/lib/python3.9/site-packages/pip/_internal/req/__init__.py", line 85, in install_given_reqs
    requirement.install(
  File "/home/pi/klippy-env/lib/python3.9/site-packages/pip/_internal/req/req_install.py", line 870, in install
    install_wheel(
  File "/home/pi/klippy-env/lib/python3.9/site-packages/pip/_internal/operations/install/wheel.py", line 737, in install_wheel
    _install_wheel(
  File "/home/pi/klippy-env/lib/python3.9/site-packages/pip/_internal/operations/install/wheel.py", line 623, in _install_wheel
    success = compileall.compile_file(path, force=True, quiet=True)
  File "/usr/lib/python3.9/compileall.py", line 255, in compile_file
    msg = err.msg.encode(sys.stdout.encoding,
TypeError: encode() argument 'encoding' must be str, not None

[ERROR] Error installing Python requirements: Installing Python requirements failed!
[ERROR] Error during installation of Klipper requirements!
[ERROR] Error installing Python requirements: Installing Python requirements failed!
[ERROR] Klipper installation failed!
 

 

Quand je supprime le anciens builds, je n'ai déjà pas le même menu que dans le tuto de guilouz. Je commence vraiment à penser que les repo ou autres ont été mis à jour mais pas le tuto... 

 

Citation


 ┌──────────────────────────────────────────────────────────────┐
 │                  • SPEEDER PAD INSTALLER •                   │
 │             Copyright © Cyril Guislain (Guilouz)             │
 └──────────────────────────────────────────────────────────────┘


 • INSTALLING UPDATED PYTHON3 VERSION •

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  libpython3.9-minimal libpython3.9-stdlib python3.9-minimal
Suggested packages:
  python3.9-venv python3.9-doc binfmt-support
The following NEW packages will be installed:
  libpython3.9-minimal libpython3.9-stdlib python3.9 python3.9-minimal
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 4552 kB of archives.
After this operation, 17.1 MB of additional disk space will be used.
Get:1 http://ports.ubuntu.com/ubuntu-ports focal-updates/universe armhf libpython3.9-minimal armhf 3.9.5-3ubuntu0~20.04.1 [745 kB]
Get:2 http://ports.ubuntu.com/ubuntu-ports focal-updates/universe armhf python3.9-minimal armhf 3.9.5-3ubuntu0~20.04.1 [1688 kB]
Get:3 http://ports.ubuntu.com/ubuntu-ports focal-updates/universe armhf libpython3.9-stdlib armhf 3.9.5-3ubuntu0~20.04.1 [1696 kB]
Get:4 http://ports.ubuntu.com/ubuntu-ports focal-updates/universe armhf python3.9 armhf 3.9.5-3ubuntu0~20.04.1 [423 kB]
Fetched 4552 kB in 2s (1850 kB/s)
Selecting previously unselected package libpython3.9-minimal:armhf.
(Reading database ... 89733 files and directories currently installed.)
Preparing to unpack .../libpython3.9-minimal_3.9.5-3ubuntu0~20.04.1_armhf.deb ...
Unpacking libpython3.9-minimal:armhf (3.9.5-3ubuntu0~20.04.1) ...
Selecting previously unselected package python3.9-minimal.
Preparing to unpack .../python3.9-minimal_3.9.5-3ubuntu0~20.04.1_armhf.deb ...
Unpacking python3.9-minimal (3.9.5-3ubuntu0~20.04.1) ...
Selecting previously unselected package libpython3.9-stdlib:armhf.
Preparing to unpack .../libpython3.9-stdlib_3.9.5-3ubuntu0~20.04.1_armhf.deb ...
Unpacking libpython3.9-stdlib:armhf (3.9.5-3ubuntu0~20.04.1) ...
Selecting previously unselected package python3.9.
Preparing to unpack .../python3.9_3.9.5-3ubuntu0~20.04.1_armhf.deb ...
Unpacking python3.9 (3.9.5-3ubuntu0~20.04.1) ...
Setting up libpython3.9-minimal:armhf (3.9.5-3ubuntu0~20.04.1) ...
Setting up python3.9-minimal (3.9.5-3ubuntu0~20.04.1) ...
Setting up libpython3.9-stdlib:armhf (3.9.5-3ubuntu0~20.04.1) ...
Setting up python3.9 (3.9.5-3ubuntu0~20.04.1) ...
Processing triggers for mime-support (3.64ubuntu1) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for desktop-file-utils (0.24-1ubuntu3) ...
update-alternatives: using /usr/bin/python3.9 to provide /usr/bin/python3 (python3) in auto mode

 INFO: Install done!


 • INSTALLING PYTHON3 VENV •

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  libpython3.9 libpython3.9-dev
The following NEW packages will be installed:
  libpython3.9 libpython3.9-dev python3.9-dev python3.9-venv
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 5265 kB of archives.
After this operation, 17.3 MB of additional disk space will be used.
Get:1 http://ports.ubuntu.com/ubuntu-ports focal-updates/universe armhf libpython3.9 armhf 3.9.5-3ubuntu0~20.04.1 [1473 kB]
Get:2 http://ports.ubuntu.com/ubuntu-ports focal-updates/universe armhf libpython3.9-dev armhf 3.9.5-3ubuntu0~20.04.1 [3276 kB]
Get:3 http://ports.ubuntu.com/ubuntu-ports focal-updates/universe armhf python3.9-dev armhf 3.9.5-3ubuntu0~20.04.1 [511 kB]
Get:4 http://ports.ubuntu.com/ubuntu-ports focal-updates/universe armhf python3.9-venv armhf 3.9.5-3ubuntu0~20.04.1 [5452 B]
Fetched 5265 kB in 2s (2620 kB/s)
Selecting previously unselected package libpython3.9:armhf.
(Reading database ... 90369 files and directories currently installed.)
Preparing to unpack .../libpython3.9_3.9.5-3ubuntu0~20.04.1_armhf.deb ...
Unpacking libpython3.9:armhf (3.9.5-3ubuntu0~20.04.1) ...
Selecting previously unselected package libpython3.9-dev:armhf.
Preparing to unpack .../libpython3.9-dev_3.9.5-3ubuntu0~20.04.1_armhf.deb ...
Unpacking libpython3.9-dev:armhf (3.9.5-3ubuntu0~20.04.1) ...
Selecting previously unselected package python3.9-dev.
Preparing to unpack .../python3.9-dev_3.9.5-3ubuntu0~20.04.1_armhf.deb ...
Unpacking python3.9-dev (3.9.5-3ubuntu0~20.04.1) ...
Selecting previously unselected package python3.9-venv.
Preparing to unpack .../python3.9-venv_3.9.5-3ubuntu0~20.04.1_armhf.deb ...
Unpacking python3.9-venv (3.9.5-3ubuntu0~20.04.1) ...
Setting up libpython3.9:armhf (3.9.5-3ubuntu0~20.04.1) ...
Setting up python3.9-venv (3.9.5-3ubuntu0~20.04.1) ...
Setting up libpython3.9-dev:armhf (3.9.5-3ubuntu0~20.04.1) ...
Setting up python3.9-dev (3.9.5-3ubuntu0~20.04.1) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for libc-bin (2.31-0ubuntu9.18) ...

 INFO: Install done!


 • INSTALLING UPDATED PIP VERSION •

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 2098k  100 2098k    0     0  2167k      0 --:--:-- --:--:-- --:--:-- 2165k

Collecting pip
  Downloading pip-25.2-py3-none-any.whl.metadata (4.7 kB)
Collecting setuptools
  Downloading setuptools-80.9.0-py3-none-any.whl.metadata (6.6 kB)
Collecting wheel
  Downloading wheel-0.45.1-py3-none-any.whl.metadata (2.3 kB)
Downloading pip-25.2-py3-none-any.whl (1.8 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.8/1.8 MB 1.7 MB/s  0:00:00
Downloading setuptools-80.9.0-py3-none-any.whl (1.2 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 1.8 MB/s  0:00:00
Downloading wheel-0.45.1-py3-none-any.whl (72 kB)
Installing collected packages: wheel, setuptools, pip
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
launchpadlib 1.10.13 requires testresources, which is not installed.
Successfully installed pip-25.2 setuptools-80.9.0 wheel-0.45.1
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.

Collecting testresources
  Downloading testresources-2.0.2.tar.gz (45 kB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [10 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 14, in <module>
        File "/usr/local/lib/python3.9/dist-packages/setuptools/__init__.py", line 26, in <module>
          from .dist import Distribution
        File "/usr/local/lib/python3.9/dist-packages/setuptools/dist.py", line 20, in <module>
          from . import (
        File "/usr/local/lib/python3.9/dist-packages/setuptools/_entry_points.py", line 49, in <module>
          def validate(eps: metadata.EntryPoints):
      AttributeError: module 'importlib_metadata' has no attribute 'EntryPoints'
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

 INFO: Install done!


 • INSTALLING UPDATED VIRTUALENV •

Found existing installation: virtualenv 20.0.17
Uninstalling virtualenv-20.0.17:
  Would remove:
    /usr/bin/virtualenv
    /usr/lib/python3/dist-packages/virtualenv
    /usr/lib/python3/dist-packages/virtualenv-20.0.17.egg-info
Proceed (Y/n)?   Successfully uninstalled virtualenv-20.0.17
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.

Collecting virtualenv
  Downloading virtualenv-20.35.3-py3-none-any.whl.metadata (4.6 kB)
Collecting distlib<1,>=0.3.7 (from virtualenv)
  Downloading distlib-0.4.0-py2.py3-none-any.whl.metadata (5.2 kB)
Collecting filelock<4,>=3.12.2 (from virtualenv)
  Downloading filelock-3.19.1-py3-none-any.whl.metadata (2.1 kB)
Collecting platformdirs<5,>=3.9.1 (from virtualenv)
  Downloading platformdirs-4.4.0-py3-none-any.whl.metadata (12 kB)
Collecting typing-extensions>=4.13.2 (from virtualenv)
  Downloading typing_extensions-4.15.0-py3-none-any.whl.metadata (3.3 kB)
Downloading virtualenv-20.35.3-py3-none-any.whl (6.0 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.0/6.0 MB 1.8 MB/s  0:00:03
Downloading distlib-0.4.0-py2.py3-none-any.whl (469 kB)
Downloading filelock-3.19.1-py3-none-any.whl (15 kB)
Downloading platformdirs-4.4.0-py3-none-any.whl (18 kB)
Downloading typing_extensions-4.15.0-py3-none-any.whl (44 kB)
Installing collected packages: distlib, typing-extensions, platformdirs, filelock, virtualenv
  Attempting uninstall: distlib
    Found existing installation: distlib 0.3.0
    Uninstalling distlib-0.3.0:
      Successfully uninstalled distlib-0.3.0
  Attempting uninstall: filelock
    Found existing installation: filelock 3.0.12
    Uninstalling filelock-3.0.12:
      Successfully uninstalled filelock-3.0.12
Successfully installed distlib-0.4.0 filelock-3.19.1 platformdirs-4.4.0 typing-extensions-4.15.0 virtualenv-20.35.3
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.

 INFO: Install done!


 • INSTALLING UPDATED SETUPTOOLS •

Requirement already satisfied: setuptools in /usr/local/lib/python3.9/dist-packages (80.9.0)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
Requirement already satisfied: setuptools[core] in /usr/local/lib/python3.9/dist-packages (80.9.0)
Collecting packaging>=24.2 (from setuptools[core])
  Downloading packaging-25.0-py3-none-any.whl.metadata (3.3 kB)
Collecting more_itertools>=8.8 (from setuptools[core])
  Downloading more_itertools-10.8.0-py3-none-any.whl.metadata (39 kB)
Collecting jaraco.text>=3.7 (from setuptools[core])
  Downloading jaraco.text-4.0.0-py3-none-any.whl.metadata (3.7 kB)
Collecting importlib_metadata>=6 (from setuptools[core])
  Downloading importlib_metadata-8.7.0-py3-none-any.whl.metadata (4.8 kB)
Collecting tomli>=2.0.1 (from setuptools[core])
  Downloading tomli-2.3.0-py3-none-any.whl.metadata (10 kB)
Requirement already satisfied: wheel>=0.43.0 in /usr/local/lib/python3.9/dist-packages (from setuptools[core]) (0.45.1)
Requirement already satisfied: platformdirs>=4.2.2 in /usr/local/lib/python3.9/dist-packages (from setuptools[core]) (4.4.0)
Collecting jaraco.functools>=4 (from setuptools[core])
  Downloading jaraco_functools-4.3.0-py3-none-any.whl.metadata (2.9 kB)
Collecting zipp>=3.20 (from importlib_metadata>=6->setuptools[core])
  Downloading zipp-3.23.0-py3-none-any.whl.metadata (3.6 kB)
Collecting jaraco.context>=4.1 (from jaraco.text>=3.7->setuptools[core])
  Downloading jaraco.context-6.0.1-py3-none-any.whl.metadata (4.1 kB)
Collecting autocommand (from jaraco.text>=3.7->setuptools[core])
  Downloading autocommand-2.2.2-py3-none-any.whl.metadata (15 kB)
Collecting backports.tarfile (from jaraco.context>=4.1->jaraco.text>=3.7->setuptools[core])
  Downloading backports.tarfile-1.2.0-py3-none-any.whl.metadata (2.0 kB)
Downloading importlib_metadata-8.7.0-py3-none-any.whl (27 kB)
Downloading jaraco_functools-4.3.0-py3-none-any.whl (10 kB)
Downloading jaraco.text-4.0.0-py3-none-any.whl (11 kB)
Downloading jaraco.context-6.0.1-py3-none-any.whl (6.8 kB)
Downloading more_itertools-10.8.0-py3-none-any.whl (69 kB)
Downloading packaging-25.0-py3-none-any.whl (66 kB)
Downloading tomli-2.3.0-py3-none-any.whl (14 kB)
Downloading zipp-3.23.0-py3-none-any.whl (10 kB)
Downloading autocommand-2.2.2-py3-none-any.whl (19 kB)
Downloading backports.tarfile-1.2.0-py3-none-any.whl (30 kB)
Installing collected packages: zipp, tomli, packaging, more_itertools, backports.tarfile, autocommand, jaraco.functools, jaraco.context, importlib_metadata, jaraco.text
  Attempting uninstall: zipp
    Found existing installation: zipp 1.0.0
    Uninstalling zipp-1.0.0:
      Successfully uninstalled zipp-1.0.0
  Attempting uninstall: packaging
    Found existing installation: packaging 20.3
    Uninstalling packaging-20.3:
      Successfully uninstalled packaging-20.3
  Attempting uninstall: more_itertools
    Found existing installation: more-itertools 4.2.0
    Uninstalling more-itertools-4.2.0:
      Successfully uninstalled more-itertools-4.2.0
  Attempting uninstall: importlib_metadata
    Found existing installation: importlib-metadata 1.5.0
    Uninstalling importlib-metadata-1.5.0:
      Successfully uninstalled importlib-metadata-1.5.0
Successfully installed autocommand-2.2.2 backports.tarfile-1.2.0 importlib_metadata-8.7.0 jaraco.context-6.0.1 jaraco.functools-4.3.0 jaraco.text-4.0.0 more_itertools-10.8.0 packaging-25.0 tomli-2.3.0 zipp-3.23.0
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.

 INFO: Install done!


 • INSTALLING KIAUH •

Cloning into '/home/pi/kiauh'...
remote: Enumerating objects: 5192, done.
remote: Counting objects: 100% (265/265), done.
remote: Compressing objects: 100% (150/150), done.
remote: Total 5192 (delta 152), reused 142 (delta 114), pack-reused 4927 (from 2)
Receiving objects: 100% (5192/5192), 2.33 MiB | 2.22 MiB/s, done.
Resolving deltas: 100% (3467/3467), done.

 INFO: Install done!


 • REMOVING STOCK CONFIGURATION FILES •

 INFO: Removing done!

pi@speeder-pad:~$ ls -l ~/kiauh
total 66
-rw-r--r-- 1 root root 35149 Oct 16 16:29 LICENSE
-rw-r--r-- 1 root root  9963 Oct 16 16:29 README.md
-rw-r--r-- 1 root root  9549 Oct 16 16:29 README_zh.md
-rw-r--r-- 1 root root  1180 Oct 16 16:29 default.kiauh.cfg
drwxr-xr-x 3 root root  1024 Oct 16 16:29 docs
drwxr-xr-x 7 root root  1024 Oct 16 16:29 kiauh
-rwxr-xr-x 1 root root  4307 Oct 16 16:29 kiauh.sh
-rw-r--r-- 1 root root   712 Oct 16 16:29 pyproject.toml
-rw-r--r-- 1 root root    21 Oct 16 16:29 requirements-dev.txt
pi@speeder-pad:~$ ./kiauh/kiauh.sh
Traceback (most recent call last):
  File "/home/pi/kiauh/kiauh/main.py", line 33, in <module>
    main()
  File "/home/pi/kiauh/kiauh/main.py", line 25, in main
    KiauhSettings()
  File "/home/pi/kiauh/kiauh/core/settings/kiauh_settings.py", line 104, in __init__
    self.__read_config_set_internal_state()
  File "/home/pi/kiauh/kiauh/core/settings/kiauh_settings.py", line 142, in __read_config_set_internal_state
    shutil.copyfile(DEFAULT_CFG, CUSTOM_CFG)
  File "/usr/lib/python3.9/shutil.py", line 264, in copyfile
    with open(src, 'rb') as fsrc, open(dst, 'wb') as fdst:
PermissionError: [Errno 13] Permission denied: '/home/pi/kiauh/kiauh.cfg'
pi@speeder-pad:~$ sudo chown pi:pi ./kiauh/kiauh.sh
pi@speeder-pad:~$ sudo chmod +x ./kiauh/kiauh.sh
pi@speeder-pad:~$ sudo chown pi:pi ./kiauh/default.kiauh.cfg
pi@speeder-pad:~$ sudo chmod +x ./kiauh/default.kiauh.cfg
pi@speeder-pad:~$ ./kiauh/kiauh.sh
Traceback (most recent call last):
  File "/home/pi/kiauh/kiauh/main.py", line 33, in <module>
    main()
  File "/home/pi/kiauh/kiauh/main.py", line 25, in main
    KiauhSettings()
  File "/home/pi/kiauh/kiauh/core/settings/kiauh_settings.py", line 104, in __init__
    self.__read_config_set_internal_state()
  File "/home/pi/kiauh/kiauh/core/settings/kiauh_settings.py", line 142, in __read_config_set_internal_state
    shutil.copyfile(DEFAULT_CFG, CUSTOM_CFG)
  File "/usr/lib/python3.9/shutil.py", line 264, in copyfile
    with open(src, 'rb') as fsrc, open(dst, 'wb') as fdst:
PermissionError: [Errno 13] Permission denied: '/home/pi/kiauh/kiauh.cfg'
pi@speeder-pad:~$ ls -l ./kiauh
total 66
-rw-r--r-- 1 root root 35149 Oct 16 16:29 LICENSE
-rw-r--r-- 1 root root  9963 Oct 16 16:29 README.md
-rw-r--r-- 1 root root  9549 Oct 16 16:29 README_zh.md
-rwxr-xr-x 1 pi   pi    1180 Oct 16 16:29 default.kiauh.cfg
drwxr-xr-x 3 root root  1024 Oct 16 16:29 docs
drwxr-xr-x 7 root root  1024 Oct 16 16:29 kiauh
-rwxr-xr-x 1 pi   pi    4307 Oct 16 16:29 kiauh.sh
-rw-r--r-- 1 root root   712 Oct 16 16:29 pyproject.toml
-rw-r--r-- 1 root root    21 Oct 16 16:29 requirements-dev.txt
pi@speeder-pad:~$ sudo chown pi:pi ./kiauh/kiauh.cfg
chown: cannot access './kiauh/kiauh.cfg': No such file or directory
pi@speeder-pad:~$ ./kiauh/kiauh.sh
Traceback (most recent call last):
  File "/home/pi/kiauh/kiauh/main.py", line 33, in <module>
    main()
  File "/home/pi/kiauh/kiauh/main.py", line 25, in main
    KiauhSettings()
  File "/home/pi/kiauh/kiauh/core/settings/kiauh_settings.py", line 104, in __init__
    self.__read_config_set_internal_state()
  File "/home/pi/kiauh/kiauh/core/settings/kiauh_settings.py", line 142, in __read_config_set_internal_state
    shutil.copyfile(DEFAULT_CFG, CUSTOM_CFG)
  File "/usr/lib/python3.9/shutil.py", line 264, in copyfile
    with open(src, 'rb') as fsrc, open(dst, 'wb') as fdst:
PermissionError: [Errno 13] Permission denied: '/home/pi/kiauh/kiauh.cfg'
pi@speeder-pad:~$ sudo chown pi:pi ./kiauh/kiauh.sh
pi@speeder-pad:~$ sudo chmod +x ./kiauh/kiauh.sh
pi@speeder-pad:~$ sudo chown pi:pi ./kiauh/default.kiauh.cfg
pi@speeder-pad:~$ sudo chmod +x ./kiauh/default.kiauh.cfg
pi@speeder-pad:~$ ./kiauh/kiauh.sh
Traceback (most recent call last):
  File "/home/pi/kiauh/kiauh/main.py", line 33, in <module>
    main()
  File "/home/pi/kiauh/kiauh/main.py", line 25, in main
    KiauhSettings()
  File "/home/pi/kiauh/kiauh/core/settings/kiauh_settings.py", line 104, in __init__
    self.__read_config_set_internal_state()
  File "/home/pi/kiauh/kiauh/core/settings/kiauh_settings.py", line 142, in __read_config_set_internal_state
    shutil.copyfile(DEFAULT_CFG, CUSTOM_CFG)
  File "/usr/lib/python3.9/shutil.py", line 264, in copyfile
    with open(src, 'rb') as fsrc, open(dst, 'wb') as fdst:
PermissionError: [Errno 13] Permission denied: '/home/pi/kiauh/kiauh.cfg'
pi@speeder-pad:~$ sudo chown -R pi:pi ./kiauh
pi@speeder-pad:~$ ls -l ./kiauh
total 66
-rw-r--r-- 1 pi pi 35149 Oct 16 16:29 LICENSE
-rw-r--r-- 1 pi pi  9963 Oct 16 16:29 README.md
-rw-r--r-- 1 pi pi  9549 Oct 16 16:29 README_zh.md
-rwxr-xr-x 1 pi pi  1180 Oct 16 16:29 default.kiauh.cfg
drwxr-xr-x 3 pi pi  1024 Oct 16 16:29 docs
drwxr-xr-x 7 pi pi  1024 Oct 16 16:29 kiauh
-rwxr-xr-x 1 pi pi  4307 Oct 16 16:29 kiauh.sh
-rw-r--r-- 1 pi pi   712 Oct 16 16:29 pyproject.toml
-rw-r--r-- 1 pi pi    21 Oct 16 16:29 requirements-dev.txt
pi@speeder-pad:~$ ./kiauh/kiauh.sh
╔═══════════════════════════════════════════════════════╗
║ ~~~~~~~~~~~~~~~~~~~~~ [ KIAUH ] ~~~~~~~~~~~~~~~~~~~~~ ║
║        Klipper Installation And Update Helper         ║
║ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ║
╚═══════════════════════════════════════════════════════╝
╔═══════════════════════════════════════════════════════╗
║ ~~~~~~~~~~~~~~~~~~~ [ Main Menu ] ~~~~~~~~~~~~~~~~~~~ ║
╟──────────────────┬────────────────────────────────────╢
║  0) [Log-Upload] │   Klipper: Installed: 3            ║
║                  │     Owner: leexxiangyang           ║
║  1) [Install]    │      Repo: klipper                 ║
║  2) [Update]     ├────────────────────────────────────╢
║  3) [Remove]     │ Moonraker: Installed: 3            ║
║  4) [Advanced]   │     Owner: zzcatvs                 ║
║  5) [Backup]     │      Repo: moonraker               ║
║                  ├────────────────────────────────────╢
║  S) [Settings]   │        Mainsail: Installed         ║
║                  │          Fluidd: Not installed     ║
║ Community:       │   Client-Config: -                 ║
║  E) [Extensions] │                                    ║
║                  │   KlipperScreen: Installed         ║
║                  │       Crowsnest: Not installed     ║
╟──────────────────┼────────────────────────────────────╢
║      v6.0.1      │  Changelog: https://git.io/JnmlX   ║
╟──────────────────┴────────────────────────────────────╢
║                        Q) Quit                        ║
╚═══════════════════════════════════════════════════════╝
###### Perform action: 3
╔═══════════════════════════════════════════════════════╗
║ ~~~~~~~~~~~~~~~~~~ [ Remove Menu ] ~~~~~~~~~~~~~~~~~~ ║
╟───────────────────────────────────────────────────────╢
║ INFO: Configurations and/or any backups will be kept! ║
╟───────────────────────────┬───────────────────────────╢
║ Firmware & API:           │ Touchscreen GUI:          ║
║  1) [Klipper]             │  5) [KlipperScreen]       ║
║  2) [Moonraker]           │                           ║
║                           │ Webcam Streamer:          ║
║ Klipper Webinterface:     │  6) [Crowsnest]           ║
║  3) [Mainsail]            │                           ║
║  4) [Fluidd]              │                           ║
╟───────────────────────────┴───────────────────────────╢
║                       B) « Back                       ║
╚═══════════════════════════════════════════════════════╝
###### Perform action: 5

###### Removing KlipperScreen ...

###### Removing KlipperScreen directory ...
[OK] KlipperScreen directory successfully removed!

###### Removing KlipperScreen environment ...
[OK] KlipperScreen environment successfully removed!

###### Removing KlipperScreen.service ...

###### Stop KlipperScreen.service ...
[OK] OK!

###### Disable KlipperScreen.service ...
[OK] OK!
[OK] File '/etc/systemd/system/KlipperScreen.service' was successfully removed!
[OK] KlipperScreen.service successfully removed!

###### Removing KlipperScreen log file ...
[OK] File '/tmp/KlipperScreen.log' was successfully removed!
[OK] KlipperScreen log file successfully removed!

###### Removing KlipperScreen from update manager ...

###### Creating backup of /home/pi/printer_1_data/config/moonraker.conf ...
[INFO] File '/home/pi/printer_1_data/config/moonraker.conf' does not exist! Skipping backup...

###### Creating backup of /home/pi/printer_2_data/config/moonraker.conf ...
[INFO] File '/home/pi/printer_2_data/config/moonraker.conf' does not exist! Skipping backup...

###### Creating backup of /home/pi/printer_3_data/config/moonraker.conf ...
[INFO] File '/home/pi/printer_3_data/config/moonraker.conf' does not exist! Skipping backup...

###### Remove section '[update_manager KlipperScreen]' from '/home/pi/printer_1_data/config/moonraker.conf' ...
[WARN] '/home/pi/printer_1_data/config/moonraker.conf' not found!

###### Remove section '[update_manager KlipperScreen]' from '/home/pi/printer_2_data/config/moonraker.conf' ...
[WARN] '/home/pi/printer_2_data/config/moonraker.conf' not found!

###### Remove section '[update_manager KlipperScreen]' from '/home/pi/printer_3_data/config/moonraker.conf' ...
[WARN] '/home/pi/printer_3_data/config/moonraker.conf' not found!
[OK] KlipperScreen successfully removed from update manager!
[OK] KlipperScreen successfully removed!
╔═══════════════════════════════════════════════════════╗
║ ~~~~~~~~~~~~~~~~~~ [ Remove Menu ] ~~~~~~~~~~~~~~~~~~ ║
╟───────────────────────────────────────────────────────╢
║ INFO: Configurations and/or any backups will be kept! ║
╟───────────────────────────┬───────────────────────────╢
║ Firmware & API:           │ Touchscreen GUI:          ║
║  1) [Klipper]             │  5) [KlipperScreen]       ║
║  2) [Moonraker]           │                           ║
║                           │ Webcam Streamer:          ║
║ Klipper Webinterface:     │  6) [Crowsnest]           ║
║  3) [Mainsail]            │                           ║
║  4) [Fluidd]              │                           ║
╟───────────────────────────┴───────────────────────────╢
║                       B) « Back                       ║
╚═══════════════════════════════════════════════════════╝
###### Perform action: 3
╔═══════════════════════════════════════════════════════╗
║ ~~~~~~~~~~~~~~~~ [ Remove Mainsail ] ~~~~~~~~~~~~~~~~ ║
╟───────────────────────────────────────────────────────╢
║ Enter a number and hit enter to select / deselect     ║
║ the specific option for removal.                      ║
╟───────────────────────────────────────────────────────╢
║  a) Select everything                                 ║
╟───────────────────────────────────────────────────────╢
║  1) [ ] Remove Mainsail                               ║
║  2) [ ] Remove Mainsail-Config                        ║
║  3) [ ] Backup config.json                            ║
╟───────────────────────────────────────────────────────╢
║  C) Continue                                          ║
╟───────────────────────────────────────────────────────╢
║                       B) « Back                       ║
╚═══════════════════════════════════════════════════════╝
###### Perform action: 1
╔═══════════════════════════════════════════════════════╗
║ ~~~~~~~~~~~~~~~~ [ Remove Mainsail ] ~~~~~~~~~~~~~~~~ ║
╟───────────────────────────────────────────────────────╢
║ Enter a number and hit enter to select / deselect     ║
║ the specific option for removal.                      ║
╟───────────────────────────────────────────────────────╢
║  a) Select everything                                 ║
╟───────────────────────────────────────────────────────╢
║  1) [x] Remove Mainsail                               ║
║  2) [ ] Remove Mainsail-Config                        ║
║  3) [ ] Backup config.json                            ║
╟───────────────────────────────────────────────────────╢
║  C) Continue                                          ║
╟───────────────────────────────────────────────────────╢
║                       B) « Back                       ║
╚═══════════════════════════════════════════════════════╝
###### Perform action: c

###### Removing Mainsail ...
[OK] File '/home/pi/mainsail' was successfully removed!

###### Removing NGINX config for Mainsail ...
[OK] File '/etc/nginx/sites-available/mainsail' was successfully removed!
[OK] File '/etc/nginx/sites-enabled/mainsail' was successfully removed!

###### Removing NGINX logs for Mainsail ...
[OK] File '/var/log/nginx/mainsail-access.log' was successfully removed!
[OK] File '/var/log/nginx/mainsail-error.log' was successfully removed!
[INFO] File '/home/pi/printer_1_data/logs/mainsail-access.log' does not exist. Skipped ...
[INFO] File '/home/pi/printer_1_data/logs/mainsail-error.log' does not exist. Skipped ...
[INFO] File '/home/pi/printer_2_data/logs/mainsail-access.log' does not exist. Skipped ...
[INFO] File '/home/pi/printer_2_data/logs/mainsail-error.log' does not exist. Skipped ...
[INFO] File '/home/pi/printer_3_data/logs/mainsail-access.log' does not exist. Skipped ...
[INFO] File '/home/pi/printer_3_data/logs/mainsail-error.log' does not exist. Skipped ...

###### Creating backup of /home/pi/printer_1_data/config/moonraker.conf ...
[INFO] File '/home/pi/printer_1_data/config/moonraker.conf' does not exist! Skipping backup...

###### Creating backup of /home/pi/printer_2_data/config/moonraker.conf ...
[INFO] File '/home/pi/printer_2_data/config/moonraker.conf' does not exist! Skipping backup...

###### Creating backup of /home/pi/printer_3_data/config/moonraker.conf ...
[INFO] File '/home/pi/printer_3_data/config/moonraker.conf' does not exist! Skipping backup...

###### Remove section '[update_manager mainsail]' from '/home/pi/printer_1_data/config/moonraker.conf' ...
[WARN] '/home/pi/printer_1_data/config/moonraker.conf' not found!

###### Remove section '[update_manager mainsail]' from '/home/pi/printer_2_data/config/moonraker.conf' ...
[WARN] '/home/pi/printer_2_data/config/moonraker.conf' not found!

###### Remove section '[update_manager mainsail]' from '/home/pi/printer_3_data/config/moonraker.conf' ...
[WARN] '/home/pi/printer_3_data/config/moonraker.conf' not found!
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃        [ Mainsail Removal Process completed ]         ┃
┠───────────────────────────────────────────────────────┨
┃ The following actions were performed:                 ┃
┃ ● Mainsail removed                                    ┃
┃ ● NGINX config removed                                ┃
┃ ● NGINX logs removed                                  ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
╔═══════════════════════════════════════════════════════╗
║ ~~~~~~~~~~~~~~~~ [ Remove Mainsail ] ~~~~~~~~~~~~~~~~ ║
╟───────────────────────────────────────────────────────╢
║ Enter a number and hit enter to select / deselect     ║
║ the specific option for removal.                      ║
╟───────────────────────────────────────────────────────╢
║  a) Select everything                                 ║
╟───────────────────────────────────────────────────────╢
║  1) [ ] Remove Mainsail                               ║
║  2) [ ] Remove Mainsail-Config                        ║
║  3) [ ] Backup config.json                            ║
╟───────────────────────────────────────────────────────╢
║  C) Continue                                          ║
╟───────────────────────────────────────────────────────╢
║                       B) « Back                       ║
╚═══════════════════════════════════════════════════════╝
###### Perform action: b
╔═══════════════════════════════════════════════════════╗
║ ~~~~~~~~~~~~~~~~~~ [ Remove Menu ] ~~~~~~~~~~~~~~~~~~ ║
╟───────────────────────────────────────────────────────╢
║ INFO: Configurations and/or any backups will be kept! ║
╟───────────────────────────┬───────────────────────────╢
║ Firmware & API:           │ Touchscreen GUI:          ║
║  1) [Klipper]             │  5) [KlipperScreen]       ║
║  2) [Moonraker]           │                           ║
║                           │ Webcam Streamer:          ║
║ Klipper Webinterface:     │  6) [Crowsnest]           ║
║  3) [Mainsail]            │                           ║
║  4) [Fluidd]              │                           ║
╟───────────────────────────┴───────────────────────────╢
║                       B) « Back                       ║
╚═══════════════════════════════════════════════════════╝
###### Perform action: 2
╔═══════════════════════════════════════════════════════╗
║ ~~~~~~~~~~~~~~~ [ Remove Moonraker ] ~~~~~~~~~~~~~~~~ ║
╟───────────────────────────────────────────────────────╢
║ Enter a number and hit enter to select / deselect     ║
║ the specific option for removal.                      ║
╟───────────────────────────────────────────────────────╢
║  a) Select everything                                 ║
╟───────────────────────────────────────────────────────╢
║  1) [ ] Remove Service                                ║
║  2) [ ] Remove Local Repository                       ║
║  3) [ ] Remove Python Environment                     ║
║  4) [ ] Remove Policy Kit Rules                       ║
╟───────────────────────────────────────────────────────╢
║  C) Continue                                          ║
╟───────────────────────────────────────────────────────╢
║                       B) « Back                       ║
╚═══════════════════════════════════════════════════════╝
###### Perform action: 1
╔═══════════════════════════════════════════════════════╗
║ ~~~~~~~~~~~~~~~ [ Remove Moonraker ] ~~~~~~~~~~~~~~~~ ║
╟───────────────────────────────────────────────────────╢
║ Enter a number and hit enter to select / deselect     ║
║ the specific option for removal.                      ║
╟───────────────────────────────────────────────────────╢
║  a) Select everything                                 ║
╟───────────────────────────────────────────────────────╢
║  1) [x] Remove Service                                ║
║  2) [ ] Remove Local Repository                       ║
║  3) [ ] Remove Python Environment                     ║
║  4) [ ] Remove Policy Kit Rules                       ║
╟───────────────────────────────────────────────────────╢
║  C) Continue                                          ║
╟───────────────────────────────────────────────────────╢
║                       B) « Back                       ║
╚═══════════════════════════════════════════════════════╝
###### Perform action: c

###### Removing Moonraker instances ...
╔═══════════════════════════════════════════════════════╗
║      The following Klipper instances were found:      ║
╟───────────────────────────────────────────────────────╢
║ a) Select all                                         ║
║                                                       ║
║ 1) moonraker-1                                        ║
║ 2) moonraker-2                                        ║
║ 3) moonraker-3                                        ║
╟───────────────────────────────────────────────────────╢
║                       B) « Back                       ║
╚═══════════════════════════════════════════════════════╝
###### Select Moonraker instance to remove: a

###### Removing instance moonraker-1 ...

###### Removing moonraker-1.service ...

###### Stop moonraker-1.service ...
[OK] OK!

###### Disable moonraker-1.service ...
[OK] OK!
[OK] File '/etc/systemd/system/moonraker-1.service' was successfully removed!
[OK] moonraker-1.service successfully removed!

###### Remove '/home/pi/printer_1_data/systemd/moonraker.env'
[INFO] Env file in /home/pi/printer_1_data/systemd not found. Skipped ...

###### Removing instance moonraker-2 ...

###### Removing moonraker-2.service ...

###### Stop moonraker-2.service ...
[OK] OK!

###### Disable moonraker-2.service ...
[OK] OK!
[OK] File '/etc/systemd/system/moonraker-2.service' was successfully removed!
[OK] moonraker-2.service successfully removed!

###### Remove '/home/pi/printer_2_data/systemd/moonraker.env'
[INFO] Env file in /home/pi/printer_2_data/systemd not found. Skipped ...

###### Removing instance moonraker-3 ...

###### Removing moonraker-3.service ...

###### Stop moonraker-3.service ...
[OK] OK!

###### Disable moonraker-3.service ...
[OK] OK!
[OK] File '/etc/systemd/system/moonraker-3.service' was successfully removed!
[OK] moonraker-3.service successfully removed!

###### Remove '/home/pi/printer_3_data/systemd/moonraker.env'
[INFO] Env file in /home/pi/printer_3_data/systemd not found. Skipped ...
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃        [ Moonraker Removal Process completed ]        ┃
┠───────────────────────────────────────────────────────┨
┃ The following actions were performed:                 ┃
┃ ● Moonraker instances removed: moonraker-1,           ┃
┃ moonraker-2, moonraker-3                              ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
╔═══════════════════════════════════════════════════════╗
║ ~~~~~~~~~~~~~~~ [ Remove Moonraker ] ~~~~~~~~~~~~~~~~ ║
╟───────────────────────────────────────────────────────╢
║ Enter a number and hit enter to select / deselect     ║
║ the specific option for removal.                      ║
╟───────────────────────────────────────────────────────╢
║  a) Select everything                                 ║
╟───────────────────────────────────────────────────────╢
║  1) [ ] Remove Service                                ║
║  2) [ ] Remove Local Repository                       ║
║  3) [ ] Remove Python Environment                     ║
║  4) [ ] Remove Policy Kit Rules                       ║
╟───────────────────────────────────────────────────────╢
║  C) Continue                                          ║
╟───────────────────────────────────────────────────────╢
║                       B) « Back                       ║
╚═══════════════════════════════════════════════════════╝
###### Perform action: b
╔═══════════════════════════════════════════════════════╗
║ ~~~~~~~~~~~~~~~~~~ [ Remove Menu ] ~~~~~~~~~~~~~~~~~~ ║
╟───────────────────────────────────────────────────────╢
║ INFO: Configurations and/or any backups will be kept! ║
╟───────────────────────────┬───────────────────────────╢
║ Firmware & API:           │ Touchscreen GUI:          ║
║  1) [Klipper]             │  5) [KlipperScreen]       ║
║  2) [Moonraker]           │                           ║
║                           │ Webcam Streamer:          ║
║ Klipper Webinterface:     │  6) [Crowsnest]           ║
║  3) [Mainsail]            │                           ║
║  4) [Fluidd]              │                           ║
╟───────────────────────────┴───────────────────────────╢
║                       B) « Back                       ║
╚═══════════════════════════════════════════════════════╝
###### Perform action: 1
╔═══════════════════════════════════════════════════════╗
║ ~~~~~~~~~~~~~~~~ [ Remove Klipper ] ~~~~~~~~~~~~~~~~~ ║
╟───────────────────────────────────────────────────────╢
║ Enter a number and hit enter to select / deselect     ║
║ the specific option for removal.                      ║
╟───────────────────────────────────────────────────────╢
║  a) Select everything                                 ║
╟───────────────────────────────────────────────────────╢
║  1) [ ] Remove Service                                ║
║  2) [ ] Remove Local Repository                       ║
║  3) [ ] Remove Python Environment                     ║
╟───────────────────────────────────────────────────────╢
║  C) Continue                                          ║
╟───────────────────────────────────────────────────────╢
║                       B) « Back                       ║
╚═══════════════════════════════════════════════════════╝
###### Perform action: 1
╔═══════════════════════════════════════════════════════╗
║ ~~~~~~~~~~~~~~~~ [ Remove Klipper ] ~~~~~~~~~~~~~~~~~ ║
╟───────────────────────────────────────────────────────╢
║ Enter a number and hit enter to select / deselect     ║
║ the specific option for removal.                      ║
╟───────────────────────────────────────────────────────╢
║  a) Select everything                                 ║
╟───────────────────────────────────────────────────────╢
║  1) [x] Remove Service                                ║
║  2) [ ] Remove Local Repository                       ║
║  3) [ ] Remove Python Environment                     ║
╟───────────────────────────────────────────────────────╢
║  C) Continue                                          ║
╟───────────────────────────────────────────────────────╢
║                       B) « Back                       ║
╚═══════════════════════════════════════════════════════╝
###### Perform action: c

###### Removing Klipper instances ...
╔═══════════════════════════════════════════════════════╗
║      The following Klipper instances were found:      ║
╟───────────────────────────────────────────────────────╢
║ a) Select all                                         ║
║                                                       ║
║ 1) klipper-1                                          ║
║ 2) klipper-2                                          ║
║ 3) klipper-3                                          ║
╟───────────────────────────────────────────────────────╢
║                       B) « Back                       ║
╚═══════════════════════════════════════════════════════╝
###### Select Klipper instance to remove: a

###### Removing instance klipper-1 ...

###### Removing klipper-1.service ...

###### Stop klipper-1.service ...
[OK] OK!

###### Disable klipper-1.service ...
[OK] OK!
[OK] File '/etc/systemd/system/klipper-1.service' was successfully removed!
[OK] klipper-1.service successfully removed!

###### Remove '/home/pi/printer_1_data/systemd/klipper.env'
[INFO] Env file in /home/pi/printer_1_data/systemd not found. Skipped ...

###### Removing instance klipper-2 ...

###### Removing klipper-2.service ...

###### Stop klipper-2.service ...
[OK] OK!

###### Disable klipper-2.service ...
[OK] OK!
[OK] File '/etc/systemd/system/klipper-2.service' was successfully removed!
[OK] klipper-2.service successfully removed!

###### Remove '/home/pi/printer_2_data/systemd/klipper.env'
[INFO] Env file in /home/pi/printer_2_data/systemd not found. Skipped ...

###### Removing instance klipper-3 ...

###### Removing klipper-3.service ...

###### Stop klipper-3.service ...
[OK] OK!

###### Disable klipper-3.service ...
[OK] OK!
[OK] File '/etc/systemd/system/klipper-3.service' was successfully removed!
[OK] klipper-3.service successfully removed!

###### Remove '/home/pi/printer_3_data/systemd/klipper.env'
[INFO] Env file in /home/pi/printer_3_data/systemd not found. Skipped ...
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃         [ Klipper Removal Process completed ]         ┃
┠───────────────────────────────────────────────────────┨
┃ The following actions were performed:                 ┃
┃ ● Klipper instances removed: klipper-1, klipper-2,    ┃
┃ klipper-3                                             ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
╔═══════════════════════════════════════════════════════╗
║ ~~~~~~~~~~~~~~~~ [ Remove Klipper ] ~~~~~~~~~~~~~~~~~ ║
╟───────────────────────────────────────────────────────╢
║ Enter a number and hit enter to select / deselect     ║
║ the specific option for removal.                      ║
╟───────────────────────────────────────────────────────╢
║  a) Select everything                                 ║
╟───────────────────────────────────────────────────────╢
║  1) [ ] Remove Service                                ║
║  2) [ ] Remove Local Repository                       ║
║  3) [ ] Remove Python Environment                     ║
╟───────────────────────────────────────────────────────╢
║  C) Continue                                          ║
╟───────────────────────────────────────────────────────╢
║                       B) « Back                       ║
╚═══════════════════════════════════════════════════════╝
###### Perform action: b
╔═══════════════════════════════════════════════════════╗
║ ~~~~~~~~~~~~~~~~~~ [ Remove Menu ] ~~~~~~~~~~~~~~~~~~ ║
╟───────────────────────────────────────────────────────╢
║ INFO: Configurations and/or any backups will be kept! ║
╟───────────────────────────┬───────────────────────────╢
║ Firmware & API:           │ Touchscreen GUI:          ║
║  1) [Klipper]             │  5) [KlipperScreen]       ║
║  2) [Moonraker]           │                           ║
║                           │ Webcam Streamer:          ║
║ Klipper Webinterface:     │  6) [Crowsnest]           ║
║  3) [Mainsail]            │                           ║
║  4) [Fluidd]              │                           ║
╟───────────────────────────┴───────────────────────────╢
║                       B) « Back                       ║
╚═══════════════════════════════════════════════════════╝
###### Perform action: b
╔═══════════════════════════════════════════════════════╗
║ ~~~~~~~~~~~~~~~~~~~~~ [ KIAUH ] ~~~~~~~~~~~~~~~~~~~~~ ║
║        Klipper Installation And Update Helper         ║
║ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ║
╚═══════════════════════════════════════════════════════╝
╔═══════════════════════════════════════════════════════╗
║ ~~~~~~~~~~~~~~~~~~~ [ Main Menu ] ~~~~~~~~~~~~~~~~~~~ ║
╟──────────────────┬────────────────────────────────────╢
║  0) [Log-Upload] │   Klipper: Incomplete              ║
║                  │     Owner: leexxiangyang           ║
║  1) [Install]    │      Repo: klipper                 ║
║  2) [Update]     ├────────────────────────────────────╢
║  3) [Remove]     │ Moonraker: Incomplete              ║
║  4) [Advanced]   │     Owner: zzcatvs                 ║
║  5) [Backup]     │      Repo: moonraker               ║
║                  ├────────────────────────────────────╢
║  S) [Settings]   │        Mainsail: Not installed     ║
║                  │          Fluidd: Not installed     ║
║ Community:       │   Client-Config: -                 ║
║  E) [Extensions] │                                    ║
║                  │   KlipperScreen: Not installed     ║
║                  │       Crowsnest: Not installed     ║
╟──────────────────┼────────────────────────────────────╢
║      v6.0.1      │  Changelog: https://git.io/JnmlX   ║
╟──────────────────┴────────────────────────────────────╢
║                        Q) Quit                        ║
╚═══════════════════════════════════════════════════════╝
###### Perform action: 1
╔═══════════════════════════════════════════════════════╗
║ ~~~~~~~~~~~~~~~ [ Installation Menu ] ~~~~~~~~~~~~~~~ ║
╟───────────────────────────┬───────────────────────────╢
║ Firmware & API:           │ Touchscreen GUI:          ║
║  1) [Klipper]             │  7) [KlipperScreen]       ║
║  2) [Moonraker]           │                           ║
║                           │ Webcam Streamer:          ║
║ Webinterface:             │ 😎 [Crowsnest]           ║
║  3) [Mainsail]            │                           ║
║  4) [Fluidd]              │                           ║
║                           │                           ║
║ Client-Config:            │                           ║
║  5) [Mainsail-Config]     │                           ║
║  6) [Fluidd-Config]       │                           ║
╟───────────────────────────┴───────────────────────────╢
║                       B) « Back                       ║
╚═══════════════════════════════════════════════════════╝
###### Perform action: 1

###### Installing Klipper ...
╔═══════════════════════════════════════════════════════╗
║ Please select the number of Klipper instances to set  ║
║ up. The number of Klipper instances will determine    ║
║ the amount of printers you can run from this host.    ║
║                                                       ║
║ WARNING:                                              ║
║ Setting up too many instances may crash your system.  ║
╟───────────────────────────────────────────────────────╢
║                       B) « Back                       ║
╚═══════════════════════════════════════════════════════╝
###### Number of Klipper instances to set up (default=1): 1
###### Create example printer.cfg? (Y/n): y

###### Cloning repository from 'https://github.com/Klipper3d/klipper'
###### '/home/pi/klipper' already exists. Overwrite? (y/N): y
Cloning into '/home/pi/klipper'...
remote: Enumerating objects: 45016, done.
remote: Counting objects: 100% (12/12), done.
remote: Compressing objects: 100% (11/11), done.
remote: Total 45016 (delta 5), reused 1 (delta 1), pack-reused 45004 (from 2)
Receiving objects: 100% (45016/45016), 6.65 MiB | 2.61 MiB/s, done.
Resolving deltas: 100% (34576/34576), done.
remote: Enumerating objects: 2293, done.
remote: Counting objects: 100% (1171/1171), done.
remote: Compressing objects: 100% (865/865), done.
remote: Total 2293 (delta 498), reused 306 (delta 306), pack-reused 1122 (from 1)
Receiving objects: 100% (2293/2293), 10.62 MiB | 2.87 MiB/s, done.
Resolving deltas: 100% (1032/1032), done.
Updating files: 100% (2305/2305), done.
[OK] Clone successful!

###### Installing dependencies ...
[INFO] The following packages need installation:
● unzip
● libusb-1.0

###### Updating package list...
Hit:1 http://ports.ubuntu.com/ubuntu-ports focal InRelease
Get:2 http://ports.ubuntu.com/ubuntu-ports focal-updates InRelease [128 kB]
Hit:3 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu focal InRelease
Get:4 http://ports.ubuntu.com/ubuntu-ports focal-backports InRelease [128 kB]
Get:5 http://ports.ubuntu.com/ubuntu-ports focal-security InRelease [128 kB]
Fetched 383 kB in 3s (146 kB/s)
Reading package lists... Done
[OK] System package list update successful!
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libusb-1.0-0' for regex 'libusb-1.0'
Note, selecting 'libusb-1.0-0-dev' for regex 'libusb-1.0'
Note, selecting 'libusb-1.0-doc' for regex 'libusb-1.0'
libusb-1.0-0 is already the newest version (2:1.0.23-2build1).
libusb-1.0-0-dev is already the newest version (2:1.0.23-2build1).
libusb-1.0-doc is already the newest version (2:1.0.23-2build1).
Suggested packages:
  zip
The following NEW packages will be installed:
  unzip
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 154 kB of archives.
After this operation, 437 kB of additional disk space will be used.
Get:1 http://ports.ubuntu.com/ubuntu-ports focal-updates/main armhf unzip armhf 6.0-25ubuntu1.2 [154 kB]
Fetched 154 kB in 1s (276 kB/s)
Selecting previously unselected package unzip.
(Reading database ... 90570 files and directories currently installed.)
Preparing to unpack .../unzip_6.0-25ubuntu1.2_armhf.deb ...
Unpacking unzip (6.0-25ubuntu1.2) ...
Setting up unzip (6.0-25ubuntu1.2) ...
Processing triggers for mime-support (3.64ubuntu1) ...
Processing triggers for man-db (2.9.1-1) ...
[OK] Packages successfully installed.

###### Set up Python virtual environment ...
###### Virtualenv already exists. Re-create? (y/N): y
created virtual environment CPython3.9.5.final.0-32 in 2390ms
  creator CPython3Posix(dest=/home/pi/klippy-env, clear=False, no_vcs_ignore=False, global=False)
  seeder FromAppData(download=False, pip=bundle, setuptools=bundle, via=copy, app_data_dir=/home/pi/.local/share/virtualenv)
    added seed packages: pip==25.2, setuptools==80.9.0
  activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator
[OK] Setup of virtualenv successful!

###### Installing Python requirements ...
Ignoring greenlet: markers 'python_version >= "3.12"' don't match your environment
Ignoring cffi: markers 'python_version >= "3.12"' don't match your environment
Ignoring setuptools: markers 'python_version >= "3.12"' don't match your environment
Collecting greenlet==2.0.2 (from -r /home/pi/klipper/scripts/klippy-requirements.txt (line 7))
  Downloading greenlet-2.0.2.tar.gz (164 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting cffi==1.14.6 (from -r /home/pi/klipper/scripts/klippy-requirements.txt (line 10))
  Downloading cffi-1.14.6.tar.gz (475 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting Jinja2==2.11.3 (from -r /home/pi/klipper/scripts/klippy-requirements.txt (line 13))
  Downloading Jinja2-2.11.3-py2.py3-none-any.whl.metadata (3.5 kB)
Collecting markupsafe==1.1.1 (from -r /home/pi/klipper/scripts/klippy-requirements.txt (line 14))
  Downloading MarkupSafe-1.1.1.tar.gz (19 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting pyserial==3.4 (from -r /home/pi/klipper/scripts/klippy-requirements.txt (line 16))
  Downloading pyserial-3.4-py2.py3-none-any.whl.metadata (1.6 kB)
Collecting python-can==3.3.4 (from -r /home/pi/klipper/scripts/klippy-requirements.txt (line 18))
  Downloading python-can-3.3.4.tar.gz (179 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting msgspec==0.19.0 (from -r /home/pi/klipper/scripts/klippy-requirements.txt (line 21))
  Downloading msgspec-0.19.0.tar.gz (216 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting pycparser (from cffi==1.14.6->-r /home/pi/klipper/scripts/klippy-requirements.txt (line 10))
  Downloading pycparser-2.23-py3-none-any.whl.metadata (993 bytes)
Collecting wrapt~=1.10 (from python-can==3.3.4->-r /home/pi/klipper/scripts/klippy-requirements.txt (line 18))
  Downloading wrapt-1.17.3-py3-none-any.whl.metadata (6.4 kB)
Collecting aenum (from python-can==3.3.4->-r /home/pi/klipper/scripts/klippy-requirements.txt (line 18))
  Downloading aenum-3.1.16-py3-none-any.whl.metadata (3.8 kB)
Downloading Jinja2-2.11.3-py2.py3-none-any.whl (125 kB)
Downloading pyserial-3.4-py2.py3-none-any.whl (193 kB)
Downloading wrapt-1.17.3-py3-none-any.whl (23 kB)
Downloading aenum-3.1.16-py3-none-any.whl (165 kB)
Downloading pycparser-2.23-py3-none-any.whl (118 kB)
Building wheels for collected packages: greenlet, cffi, markupsafe, python-can, msgspec
  Building wheel for greenlet (pyproject.toml) ... done
  Created wheel for greenlet: filename=greenlet-2.0.2-cp39-cp39-linux_armv7l.whl size=591769 sha256=c59de42c73001cd5e6a8463e53ba687de8635bbb626f4b7440c5dd6d89dfd2b2
  Stored in directory: /home/pi/.cache/pip/wheels/c4/e2/38/932349e5e893e6d464ea70f98f76a8d7b9ba73e62cc9db5579
  Building wheel for cffi (pyproject.toml) ... done
  Created wheel for cffi: filename=cffi-1.14.6-cp39-cp39-linux_armv7l.whl size=358075 sha256=76d2b47dcd8f17d1dee047d6d0e3d411e12cb4e7afdd1a9050bef8e82e2db93f
  Stored in directory: /home/pi/.cache/pip/wheels/46/7d/e8/89751b8ffd4aabd5a201f798535947ea389b61cd101456d290
  Building wheel for markupsafe (pyproject.toml) ... done
  Created wheel for markupsafe: filename=markupsafe-1.1.1-cp39-cp39-linux_armv7l.whl size=32230 sha256=568fa8d317a4796f77484bdb9ce0dd4826580ebeb1b9b1b01dbcf1003243f6b8
  Stored in directory: /home/pi/.cache/pip/wheels/e0/19/6f/6ba857621f50dc08e084312746ed3ebc14211ba30037d5e44e
  Building wheel for python-can (pyproject.toml) ... done
  Created wheel for python-can: filename=python_can-3.3.4-py2.py3-none-any.whl size=154277 sha256=ac66605d4db03224c73199165f60dca21c608df5adf99d7d427f7d8df728d1a0
  Stored in directory: /home/pi/.cache/pip/wheels/af/c4/49/95c8dc63f382ce9a822c5dd73b8b1215e63cb5d001c75a87a5
  Building wheel for msgspec (pyproject.toml) ... done
  Created wheel for msgspec: filename=msgspec-0.19.0-cp39-cp39-linux_armv7l.whl size=659484 sha256=c9bd9a866d2dd8c664acbf53f4d10e1bffbd10440da11439c86ccfb2a7abdd73
  Stored in directory: /home/pi/.cache/pip/wheels/7c/d0/60/f249ba46d70c6721629c048aa55cc79163682b68ae02791103
Successfully built greenlet cffi markupsafe python-can msgspec
Installing collected packages: pyserial, aenum, wrapt, pycparser, msgspec, markupsafe, greenlet, python-can, Jinja2, cffi
ERROR: Exception:
Traceback (most recent call last):
  File "/usr/lib/python3.9/py_compile.py", line 144, in compile
    code = loader.source_to_code(source_bytes, dfile or file,
  File "<frozen importlib._bootstrap_external>", line 918, in source_to_code
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/home/pi/klippy-env/lib/python3.9/site-packages/aenum/_py2.py", line 5
    raise exc, None, tb
             ^
SyntaxError: invalid syntax

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.9/compileall.py", line 238, in compile_file
    ok = py_compile.compile(fullname, cfile, dfile, True,
  File "/usr/lib/python3.9/py_compile.py", line 150, in compile
    raise py_exc
py_compile.PyCompileError:   File "/home/pi/klippy-env/lib/python3.9/site-packages/aenum/_py2.py", line 5
    raise exc, None, tb
             ^
SyntaxError: invalid syntax


During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/klippy-env/lib/python3.9/site-packages/pip/_internal/cli/base_command.py", line 107, in _run_wrapper
    status = _inner_run()
  File "/home/pi/klippy-env/lib/python3.9/site-packages/pip/_internal/cli/base_command.py", line 98, in _inner_run
    return self.run(options, args)
  File "/home/pi/klippy-env/lib/python3.9/site-packages/pip/_internal/cli/req_command.py", line 71, in wrapper
    return func(self, options, args)
  File "/home/pi/klippy-env/lib/python3.9/site-packages/pip/_internal/commands/install.py", line 460, in run
    installed = install_given_reqs(
  File "/home/pi/klippy-env/lib/python3.9/site-packages/pip/_internal/req/__init__.py", line 85, in install_given_reqs
    requirement.install(
  File "/home/pi/klippy-env/lib/python3.9/site-packages/pip/_internal/req/req_install.py", line 870, in install
    install_wheel(
  File "/home/pi/klippy-env/lib/python3.9/site-packages/pip/_internal/operations/install/wheel.py", line 737, in install_wheel
    _install_wheel(
  File "/home/pi/klippy-env/lib/python3.9/site-packages/pip/_internal/operations/install/wheel.py", line 623, in _install_wheel
    success = compileall.compile_file(path, force=True, quiet=True)
  File "/usr/lib/python3.9/compileall.py", line 255, in compile_file
    msg = err.msg.encode(sys.stdout.encoding,
TypeError: encode() argument 'encoding' must be str, not None

[ERROR] Error installing Python requirements: Installing Python requirements failed!
[ERROR] Error during installation of Klipper requirements!
[ERROR] Error installing Python requirements: Installing Python requirements failed!
[ERROR] Klipper installation failed!
 

Ci joint le thread complet de mes tentatives 

Posté(e)
Le 16/10/2025 at 22:35, pommeverte a dit :

Salut,

Malheureusement, je pense qu'il va falloir attendre l'avis de spécialistes. En attendant, tu peux utiliser la version FLSUN?

Salut, 

désolé pour le délai de réponse. 

J'ai enfin eu l'idée d'aller sur le discord klipper et un héro à sauver ma v400.... 

Je viens juste de finir les manoeuvres ssh qu'il m'a conseillé de faire et j'ai enfin klipper qui s'affiche sur mon speeder pad. Je vais essayer de la tester dès que possible mais c'est très encourageant ! 

Encore merci pour ton aide précieuse 

Le 13/10/2025 at 20:08, Pierr0t a dit :

Ok, je vais faire les mises à jours dès que je reçois ma Nano V 3.1

@Pierr0t, la route est longue mais pas impossible. Gagne du temps et connecte toi sur le discord klipper. 
Le lien vers mon post : https://discord.com/channels/431557959978450984/1431243410575982652 

Si ca peut t'aider. 

  • 2 weeks later...
Posté(e)

Est-ce que tu aurais la possibilité de faire une photo du câblage ? j'ai un doute pour les fiches vertes et bleus car les pins ne correspondent plus sur la V3 🙂

Posté(e)
Le 04/11/2025 at 12:43, Pierr0t a dit :

Est-ce que tu aurais la possibilité de faire une photo du câblage ? j'ai un doute pour les fiches vertes et bleus car les pins ne correspondent plus sur la V3 🙂

C'est les led j'avoue ne pas les avoir branché encore. Je voulais être sur que tout fonctionnait bien 

Posté(e)

Bon ! Après des heures de galères, j’ai enfin retrouvé ma V400 en parfait état de fonctionnement avec la carte mère MKS Nano V3.1.
Je partage mon retour d’expérience, au cas où quelqu’un en aurait besoin.


 Suivi du tuto de Guilouz

J’ai suivi exactement à la lettre le tuto de Guilouz (n’hésitez pas à utiliser le traducteur intégré du navigateur pour ceux qui ne lisent pas l’anglais).
Tout se passait très bien jusqu’à l’installation de Klipper et j'ai eu exactement le même message d’erreur que @Yog-Sothoth lors de l’installation.
Après des heures de recherche, je me suis aperçu que l’horloge du PAD était en avance d’une heure, ce qui suffit à bloquer l’installation.

Solution : j'ai recommencé l’installation depuis zéro après avoir corrigé l’heure du PAD. Cette fois, Klipper s’installe correctement.


Installation de Moonraker

Problème rencontré : un message d’erreur apparaît dès que la RAM du Speeder dépasse 0,94 Go, entraînant un reset systématique.

Solution : utiliser et augmenter temporairement la mémoire swap du PAD

Commandes à lancer :

  • sudo fallocate -l 2G /swapfile

  • sudo chmod 600 /swapfile

  • sudo mkswap /swapfile

  • sudo swapon /swapfile

Pour vérifier que la swap est bien activée :

  • free -h

Vous devriez voir : Swap: 2.0G disponible.

⚠️ Pensez à désactiver la swap après l’installation :

  • sudo swapoff /swapfile


Points importants à savoir

  • PID du hotend : impératif de le régler avant toute mise en chauffe. Sinon la carte envoie 24 V et peut griller la cartouche.

  • Carte SD : le firmware nécessite une carte SD de 256 Mo maximum. Vous pouvez créer une partition de 128 Mo sur une carte plus grande.

  • Z Offset : contrairement à la version d’origine, le réglage se fait avec le capteur. Ne pas l’oublier ! (J’ai détruit ma buse en oubliant…)

  • PIN TMC : connectez absolument les pins fournis avec la carte sous les TMC, sinon les moteurs ne fonctionneront pas.


En suivant à la lettre le tuto de Guilouz, tout fonctionne parfaitement !
Je n’ai pas encore trouvé les pins pour les LEDs du logo et de la tête, mais comme je ne les utilise pas, ce n’est pas un souci. Si je trouve d'ici la, je mettrai un message.

Créer un compte ou se connecter pour commenter

Vous devez être membre afin de pouvoir déposer un commentaire

Créer un compte

Créez un compte sur notre communauté. C’est facile !

Créer un nouveau compte

Se connecter

Vous avez déjà un compte ? Connectez-vous ici.

Connectez-vous maintenant
  • Sur cette page :   0 membre est en ligne

    • Aucun utilisateur enregistré regarde cette page.
  • YouTube / Les Imprimantes 3D .fr

×
×
  • Créer...