octo4a
octo4a copied to clipboard
error installing 1.2.6 on fire hd 8 (android 9)
not sure wheres the problem the updated installer works on my newer tablet but not on my old fire hd 8
hope this helps you resolve the issue if possible
I believe I am having the same problem when attempting to download octo4a on my kindle fire HD8. I have tried version 1.2.6 three times as well as various older versions. octo4a.log
I have a fire 8 doing octoprint as well and it seems that 1.10.0 has an issue updating on mine. I post here becuase I am seeing the same line as both of you
error: can't find Rust compiler
I am wondering if there is an issue downloading a Rust compiler or if a package used by 1.10 is now requiring that and the app does not pull one in. Even the recent release of 1.2.6 does not work for me.
@darkzeroat and @matt012345 the new 1.10.1 release rolls back netifaces back from the version requiring Rust. you might see if it will allow it to upgrade on your machine now. I am struggling to get it to install for me but will report if I figure out the issue.
Ok. I have figured out that if you have an existing working installation it should work. The rust error should be able to be bypassed if you dont get an error about cc1 not being found.
However I had issues compiling CFFI for the argon2 framework with GCC errors so here are the steps I followed from a fresh install:
- First download Octo4A 1.2.6 and install it.
- Attempt to install the latest OctoPrint, this step will likely fail
- Setup SSH and remote into the alpine environment
- I had to upgrade the base alpine system to a newer version from 3.17 to 3.18, had problems with 3.19. (steps abbreviated from here https://wiki.alpinelinux.org/wiki/Upgrading_Alpine)
1. sed -i 's/3\.17/3\.18/g' /etc/apk/repositories
2. apk update
3. apk add --upgrade apk-tools
4. apk upgrade --available
6. sync
- Run
apk add py3-argon2-cffi
to install the argon2-cffi package requirements to prevent needing to build with gcc. GCC has been having issues finding cc1 for me. - You should now be able to go into the downloaded octoprint in the root folder and install 1.10.1
cd /root/Octo*
pip install .
- Once you are done with the build and install step reboot your phone / tablet. Once that reboot finished try launching the app and seeing if OctoPrint server comes online. It should successfully come online and be ready to go.
do you have a solution for psutil doing the same cc1 error when upgrading from the octoprint ui?
No I sure dont, I am not sure what is causing errors with the CC1 compiler. I never could recreate a fix.
So I would enable web ssh in the app or SSH in via terminal then try the following:
/ ! \ Untested, not sure what it will do to the environment but this will pull and install v 5.9.6 / ! \
apk add py3-psutil --no-cache --upgrade --repository="http://dl-cdn.alpinelinux.org/alpine/v3.19/community"
To pull the necessary 5.9.6 that 1.10 is calling out.
@hhocker i can't manage to install octolapse like this, cc1plus is erroring out and i can't figure out what package is doing it.
Interesting. I hadn't considered the issue of building plugins. I presumed they were some sort of precompiled scripts. I am hoping that Filip is successful in launching the new version soon. It seems odd that there have been a rash of GCC errors crop up recently.
Well, the new release should be here later today. Just writing some release notes, and testing out the changes a bit more :)
Released https://github.com/feelfreelinux/octo4a/releases/tag/2.0.0 which should resolve this issue :)