Closed Jonathan1407 closed 2 years ago
I have the same issue on old Tolino Tab 7 (4.2.2). Probably "apk add py3-wheel" in install scripts would fix it. Unfortunately I have no idea about Android development toolchain.
But I resolved it by doing Alpine Linux bootstrap manually (or use something like Linux Deploy), then login trough ssh to the Alpine container and install OctoPrint usual way:
sudo apk add py3-pip py3-yaml py3-regex py3-netifaces py3-psutil unzip py3-pillow py3-wheel
sudo apk add ttyd ffmpeg python3-dev build-base gcc g++
python3 -m pip install OctoPrint
Then you can just start Octo as module in background:
python3 -m octoprint serve &
Still need to figure out how to run this at boot on Alpine.
EDIT: Just occurred to me that you may also need to change permissions on /dev/ttyACM0 to connect to printer, because Octo will be running with user id. Unless you do this on root account. Simplest one can be something like:
sudo chmod a+rw /dev/ttyACM0
But it should be properly added to udev rules or something.
I get the same tornado issue on my Samsung SM-T230 running 4.4.2
No idea how to do any of this:
But I resolved it by doing Alpine Linux bootstrap manually (or use something like Linux Deploy), then login trough ssh to the Alpine container and install OctoPrint usual way:
so stuck for now, which is a shame as I have a bunch of these tablets doing nothing and printers ready and waiting :)
I get the same tornado issue on my Samsung SM-T230 running 4.4.2
No idea how to do any of this:
I can give some starting points, but if you don't have working knowledge of Linux, then you will be stuck anyway:
This is short procedure, but I probably forgetting about some obvious caveats, which of course are obvious to me. Sorry don't have time to write comprehensive guide, and Octo4a hopefully will fix this soon. So wait for next release (and pray they will not bump API version to android 5 or 7), or prepare for lots of googling if you're new to Linux. Good luck ;)
I think this issue was fixed with the newest version.
Feel free to ping me if it still persists.
Hello @alufers I am using the newest version of octo4a on the exact same devices as the OP but I have the same problem. I hooked my devices to Android Studio for debugging to try understanding what's going on. Could you please give me some directions ?
The problem happens on runCommand("cd Octo* && pip3 install .") in OctoPrintHandlerRepository
Hello I have managed to make it work by editing the code and manually installing wheel and tornado with a pip3 command - please follow #319 for more info
Hello folks, I'm trying to install octo4a on a Samsung galaxy a3 from 2016. Unfortunately, the installation always breaks off at the same point. The message in the log is: Failed to build tornado
Error: Could not build wheels for tornado which use PEP 517 and cannot be installed directly
Thanks for your Help!