-
-
Notifications
You must be signed in to change notification settings - Fork 151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
octoklipper error: externally-managed-environment #493
Comments
There is a new script for the 2.0.0 version of octo4a https://github.com/feelfreelinux/octo4a/blob/master/scripts/setup-klipper-moonraker.sh By the way i'm still figuring out, how to get it to work i'm running network error. |
@Bartouzz did you manage to get it to work, I'm running into a network issue as well |
@zaid-hm Still not ... Starting to lose hope, see my current klippy log: mcu 'mcu': Starting serial connect seem's like permission problem but i can't find the right answer. i'll post if get something EDIT: If someone can help... |
I'm working on this issue, am updating the klipper install script to work with octo4a 2.0 |
I've fixed the environment and permission denied error, but have run into the next error (non rooted device) https://github.com/schmttc/octo4a/blob/schmttc-patch-1/scripts/setup-klipper.sh
|
I've used setup-klipper-moonraker.sh and reduced it to only install Klipper, which resolves all issues. Please try https://github.com/schmttc/octo4a/blob/klipper-fix/scripts/setup-klipper.sh Note, you will get this error in klippy.log if Klipper is not set to the correct serial port, or the printer is not available/powered off. This error will go away once the printer is connected and configured correctly.
|
This may need more troubleshooting, while everything kicked off OK either Octoprint or Klipper crashed part way though a test print |
I'm trying to use setup-klipper-moonraker.sh itself and faced similar
What is connection information in your printer.cfg? Mine is:
Also, I checked that my printer is setup correctly because other devices running Klippy are able to control it. |
Sadly I never got to the bottom of this, it worked intermittently a couple of times and then not again.
Error
|
@apparle I've done some testing, and if you use the older Octo4a app version 1.2.6, it installs the latest Octoprint, and fixes the Klipper issues |
Find a fix or at least a cause? Tried to roll back to older version of octo4a and it's still giving me permission errors, would a work around be using a rooted device |
Hello, I got it to work on the main version of Octo4a. The changes I have done is on /mnt/.../klipper/start.sh and adding LD_PRELOAD=/home/octoprint/... Version: Android 13 (NOT ROOTED) Printing is working. I am printing a benchy right now
~/printer_data/config/printer.cfg
~/printer_data/config/mainsail.cfg
|
|
@akei-ai can you report which version of the https://github.com/feelfreelinux/octo4a-bootstrap-builder (selected first time octo4a sets up the octoprint server) you got working with Klipper?. |
@apparle I got the 2.1.0 version, and the current Octoprint builder 1.10.2-f4f81ac1? I've gotten it to work on two devices: I haven't tested other devices besides this. I think its pretty much in an alpha state right now, Octo4a crashes sometimes when using the klipper+mainsail+moonraker setup but it works pretty much that I'm printing |
I'm trying to run klipper on a galaxy tab A (2019)
But when running the command in the instruction I get the following error:
The text was updated successfully, but these errors were encountered: