Klipper install fails on clean install, works on second try #199

Closed
opened 2022-05-24 21:22:50 +02:00 by Yeriwyn · 2 comments
Yeriwyn commented 2022-05-24 21:22:50 +02:00 (Migrated from github.com)

Linux Distribution

Armbian

What happened

When doing a clean install on a fresh system image, there is an error produced during the Klipper service installation step. The error is coming from one of the sed commands, I was able to narrow it down to the s|%CFG%|${cfg}| section in the write_klipper_service function

If you then remove Klipper via kiauh and re-install it, the installation completes successfully without error

What did you expect to happen

Install klipper :)

How to reproduce

Start with clean image with no prior kiauh, Klipper or any related install.

Install kiauh v4 from repo

Install Klipper using kiauh and python3 as the installation option

Additional information

No response

### Linux Distribution Armbian ### What happened When doing a clean install on a fresh system image, there is an error produced during the Klipper service installation step. The error is coming from one of the sed commands, I was able to narrow it down to the s|%CFG%|${cfg}| section in the write_klipper_service function If you then remove Klipper via kiauh and re-install it, the installation completes successfully without error ### What did you expect to happen Install klipper :) ### How to reproduce Start with clean image with no prior kiauh, Klipper or any related install. Install kiauh v4 from repo Install Klipper using kiauh and python3 as the installation option ### Additional information _No response_
Yeriwyn commented 2022-05-25 02:29:33 +02:00 (Migrated from github.com)

Found some more info, this seems to be dependent on the presence of the .kiauh.ini file. When that is missing (as on a clean install) the klipper service installation will fail, but on subsequent runs it works. By removing the ini file the failure can be reproduced

Found some more info, this seems to be dependent on the presence of the .kiauh.ini file. When that is missing (as on a clean install) the klipper service installation will fail, but on subsequent runs it works. By removing the ini file the failure can be reproduced
Yeriwyn commented 2022-05-25 16:51:06 +02:00 (Migrated from github.com)

Fixed via pr

Fixed via pr
Sign in to join this conversation.