feelfreelinux / octo4a

Use your old Android device as an OctoPrint server.
GNU Affero General Public License v3.0
1.54k stars 147 forks source link

Installation Failed #429

Open spaghettiScreen opened 1 year ago

spaghettiScreen commented 1 year ago

Device: SM-G900I (Samsung Galaxy S5) Android Version: 6.0.1 Marshmallow Octo4A Version: 1.2.5

The Octo4A installation fails, logs are included below. I tried various fixes on this repo, e.g. #325.

I did manage to get the installation working on this device, but I had to flash a custom ROM, Lineage OS 18.1 (Android 11). I'm just creating this issue hoping that the logs may help in fixing installation failures for older versions of Android.

Logs:

💻 No bootstrap detected, proceeding with installation
💻 Arch: arm
💻 Downloading bootstrap 0.3.0 from https://github.com/feelfreelinux/android-linux-bootstrap/releases/download/0.3.0/bootstrap-armv7a.zip
💻 Request to https://objects.githubusercontent.com/github-production-release-asset-2e65be/352965812/2cd65898-00b6-4b5a-bd0f-7a036eff0c4f?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20230707%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230707T070358Z&X-Amz-Expires=300&X-Amz-Signature=338d917c90c068eea841fc2ca1f7bffd412ffc2ec98b83926627bafdf11c973a&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=352965812&response-content-disposition=attachment%3B%20filename%3Dbootstrap-armv7a.zip&response-content-type=application%2Foctet-stream returned status code 200
💻 Bootstrap extracted, setting it up...
💻 >ls
🐸 add-user.sh
🐸 fake_proc_stat
🐸 install-bootstrap.sh
🐸 ioctlHook.so
🐸 root
🐸 root-pre5
🐸 rootfs.tar.xz
🐸 run-bootstrap.sh
💻 >chmod -R 700 .
💻 >sh install-bootstrap.sh
🐸 chmod: chmod 'serialpipe' to 120777: Permission denied
🐸 chmod: chmod 'serialpipe' to 120777: Permission denied
🐸 bootstrap ready, run with run-bootstrap.sh
💻 >sh add-user.sh octoprint
💻 >cat /etc/motd
🐸 Welcome to Alpine!
🐸
🐸 The Alpine Wiki contains a large amount of how-to guides and general
🐸 information about administrating Alpine systems.
🐸 See .
🐸
🐸 You can setup the system with the command: setup-alpine
🐸
🐸 You may change this message by editing /etc/motd.
🐸
💻 >env
🐸 EXTRA_BIND=-b /storage/emulated/0/Android/data/com.octo4a/files:/root -b /data/data/com.octo4a/files/serialpipe:/dev/ttyOcto4a -b /data/data/com.octo4a/files/bootstrap/ioctlHook.so:/home/octoprint/ioctlHook.so
🐸 MC_AUTH_TOKEN_PATH=/efs
🐸 USER=root
🐸 KNOX_STORAGE=/data/knox/ext_sdcard
🐸 EXTERNAL_STORAGE=/sdcard
🐸 PROOT_L2S_DIR=/data/data/com.octo4a/files/bootstrap/bootstrap/.proot.meta
🐸 SHLVL=1
🐸 HOME=/root
🐸 ANDROID_ASSETS=/system/app
🐸 BOOTCLASSPATH=/system/framework/core-libart.jar:/system/framework/conscrypt.jar:/system/framework/okhttp.jar:/system/framework/core-junit.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/telephony-common.jar:/system/framework/voip-common.jar:/system/framework/ims-common.jar:/system/framework/apache-xml.jar:/system/framework/org.apache.http.legacy.boot.jar:/system/framework/sec_edm.jar:/system/framework/sagearpolicymanager.jar:/system/framework/secocsp.jar:/system/framework/timakeystore.jar:/system/framework/commonimsinterface.jar:/system/framework/imsmanager.jar:/system/framework/sprengine.jar:/system/framework/smartbondingservice.jar:/system/framework/knoxvpnuidtag.jar:/system/framework/sec_sdp_sdk.jar:/system/framework/sec_sdp_hidden_sdk.jar:/system/framework/simageis.jar:/system/framework/tcmiface.jar:/system/framework/qcmediaplayer.jar:/system/framework/qcom.fmradio.jar:/system/framework/oem-services.jar:/system/framework/com.qti.dpmframework.jar:/system/framework/dpmapi.jar:/system/framework/com.qti.location.sdk.jar
🐸 _=./root/bin/proot
🐸 ANDROID_DATA=/data
🐸 PATH=/sbin:/usr/sbin:/bin:/usr/bin
🐸 ANDROID_ROOT=/system
🐸 SECONDARY_STORAGE=/storage/extSdCard
🐸 LANG='en_US.UTF-8'
🐸 ENC_EMULATED_STORAGE_TARGET=/storage/enc_emulated
🐸 ANDROID_SOCKET_zygote=11
🐸 ASEC_MOUNTPOINT=/mnt/asec
🐸 PWD=/root
🐸 ANDROID_PROPERTY_WORKSPACE=9,0
🐸 SYSTEMSERVERCLASSPATH=/system/framework/services.jar:/system/framework/ethernet-service.jar:/system/framework/wifi-service.jar
🐸 ANDROID_STORAGE=/storage
🐸 PROOT_TMP_DIR=/data/data/com.octo4a/files/bootstrap/tmp
🐸 ANDROID_BOOTLOGO=1
💻 >ls /
🐸 bin
🐸 dev
🐸 etc
🐸 home
🐸 lib
🐸 media
🐸 mnt
🐸 opt
🐸 proc
🐸 root
🐸 run
🐸 sbin
🐸 srv
🐸 storage
🐸 sys
🐸 system
🐸 tmp
🐸 usr
🐸 var
🐸 vendor
💻 >apk add openssh-server curl bash unzip
🐸 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/armhf/APKINDEX.tar.gz
🐸 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/armhf/APKINDEX.tar.gz
🐸 (1/13) Installing ncurses-terminfo-base (6.3_p20221119-r1)
🐸 (2/13) Installing ncurses-libs (6.3_p20221119-r1)
🐸 (3/13) Installing readline (8.2.0-r0)
🐸 (4/13) Installing bash (5.2.15-r0)
🐸 Executing bash-5.2.15-r0.post-install
🐸 (5/13) Installing ca-certificates (20230506-r0)
🐸 (6/13) Installing brotli-libs (1.0.9-r9)
🐸 (7/13) Installing nghttp2-libs (1.51.0-r0)
🐸 (8/13) Installing libcurl (8.1.2-r0)
🐸 (9/13) Installing curl (8.1.2-r0)
🐸 (10/13) Installing openssh-keygen (9.1_p1-r3)
🐸 (11/13) Installing openssh-server-common (9.1_p1-r3)
🐸 (12/13) Installing openssh-server (9.1_p1-r3)
🐸 (13/13) Installing unzip (6.0-r13)
🐸 Executing busybox-1.35.0-r29.trigger
🐸 Executing ca-certificates-20230506-r0.trigger
🐸 OK: 15 MiB in 28 packages
💻 >echo "PermitRootLogin yes" >> /etc/ssh/sshd_config
💻 >ssh-keygen -A
🐸 ssh-keygen: generating new host keys: RSA ECDSA ED25519
💻 Installing p7zip...
💻 >apk add p7zip
🐸 ERROR: unable to select packages:
🐸 p7zip (no such package):
🐸 required by: world[p7zip]
💻 Failed to install p7zip from release repository, trying Alpine edge...
💻 This may be caused by the fact that p7zip is missing on armhf Alpine 3.17, see: https://gitlab.alpinelinux.org/alpine/aports/-/commits/master/main/p7zip/APKBUILD
💻 >apk add p7zip --repository=http://dl-cdn.alpinelinux.org/alpine/edge/main
🐸 fetch http://dl-cdn.alpinelinux.org/alpine/edge/main/armhf/APKINDEX.tar.gz
🐸 (1/3) Installing libgcc (13.1.1_git20230701-r0)
🐸 (2/3) Installing libstdc++ (13.1.1_git20230701-r0)
🐸 (3/3) Installing 7zip (23.01-r0)
🐸 Executing busybox-1.35.0-r29.trigger
🐸 OK: 19 MiB in 31 packages
💻 Bootstrap installed
💻 Downloading Octoprint from https://api.github.com/repos/OctoPrint/OctoPrint/zipball/1.9.1
💻 >curl -s https://raw.githubusercontent.com/feelfreelinux/octo4a/master/scripts/setup-octo4a.sh | bash -s
🐸 (1/99) Installing sdl2 (2.26.5-r0)
🐸 (2/99) Installing libxau (1.0.10-r0)
🐸 (3/99) Installing libmd (1.0.4-r0)
🐸 (4/99) Installing libbsd (0.11.7-r0)
🐸 (5/99) Installing libxdmcp (1.1.4-r0)
🐸 (6/99) Installing libxcb (1.15-r0)
🐸 (7/99) Installing libx11 (1.8.4-r1)
🐸 (8/99) Installing aom-libs (3.5.0-r0)
🐸 (9/99) Installing alsa-lib (1.2.8-r0)
🐸 (10/99) Installing libexpat (2.5.0-r0)
🐸 (11/99) Installing libbz2 (1.0.8-r4)
🐸 (12/99) Installing libpng (1.6.38-r0)
🐸 (13/99) Installing freetype (2.12.1-r0)
🐸 (14/99) Installing fontconfig (2.14.1-r0)
🐸 (15/99) Installing fribidi (1.0.12-r0)
🐸 (16/99) Installing libffi (3.4.4-r0)
🐸 (17/99) Installing libintl (0.21.1-r1)
🐸 (18/99) Installing libblkid (2.38.1-r1)
🐸 (19/99) Installing libmount (2.38.1-r1)
🐸 (20/99) Installing pcre2 (10.42-r0)
🐸 (21/99) Installing glib (2.74.7-r0)
🐸 (22/99) Installing graphite2 (1.3.14-r2)
🐸 (23/99) Installing harfbuzz (5.3.1-r1)
🐸 (24/99) Installing libass (0.16.0-r1)
🐸 (25/99) Installing libdav1d (1.0.0-r2)
🐸 (26/99) Installing libdrm (2.4.114-r0)
🐸 (27/99) Installing gmp (6.2.1-r2)
🐸 (28/99) Installing nettle (3.8.1-r0)
🐸 (29/99) Installing p11-kit (0.24.1-r1)
🐸 (30/99) Installing libtasn1 (4.19.0-r0)
🐸 (31/99) Installing libunistring (1.1-r0)
🐸 (32/99) Installing gnutls (3.7.8-r3)
🐸 (33/99) Installing lame (3.100-r2)
🐸 (34/99) Installing opus (1.3.1-r1)
🐸 (35/99) Installing libasyncns (0.8-r1)
🐸 (36/99) Installing dbus-libs (1.14.8-r0)
🐸 (37/99) Installing libltdl (2.4.7-r1)
🐸 (38/99) Installing orc (0.4.33-r0)
🐸 (39/99) Installing libogg (1.3.5-r2)
🐸 (40/99) Installing flac-libs (1.4.2-r0)
🐸 (41/99) Installing libvorbis (1.3.7-r0)
🐸 (42/99) Installing libsndfile (1.1.0-r2)
🐸 (43/99) Installing libgomp (12.2.1_git20220924-r4)
🐸 (44/99) Installing soxr (0.1.3-r3)
🐸 (45/99) Installing speexdsp (1.2.1-r0)
🐸 (46/99) Installing tdb-libs (1.4.6-r0)
🐸 (47/99) Installing libpulse (16.1-r6)
🐸 (48/99) Installing cjson (1.7.15-r3)
🐸 (49/99) Installing mbedtls (2.28.3-r0)
🐸 (50/99) Installing librist (0.2.7-r0)
🐸 (51/99) Installing libsrt (1.5.1-r0)
🐸 (52/99) Installing libssh (0.10.5-r0)
🐸 (53/99) Installing libtheora (1.1.1-r16)
🐸 (54/99) Installing libjpeg-turbo (2.1.4-r0)
🐸 (55/99) Installing v4l-utils-libs (1.22.1-r2)
🐸 (56/99) Installing libxext (1.3.5-r0)
🐸 (57/99) Installing libxfixes (6.0.0-r0)
🐸 (58/99) Installing wayland-libs-client (1.21.0-r1)
🐸 (59/99) Installing libva (2.16.0-r0)
🐸 (60/99) Installing libvdpau (1.5-r0)
🐸 (61/99) Installing vidstab (1.1.0-r2)
🐸 (62/99) Installing libvpx (1.12.0-r1)
🐸 (63/99) Installing libwebp (1.2.4-r2)
🐸 (64/99) Installing x264-libs (0.164_git20220602-r0)
🐸 (65/99) Installing numactl (2.0.16-r1)
🐸 (66/99) Installing x265-libs (3.5-r3)
🐸 (67/99) Installing xvidcore (1.3.7-r1)
🐸 (68/99) Installing libsodium (1.0.18-r2)
🐸 (69/99) Installing libzmq (4.3.4-r1)
🐸 (70/99) Installing ffmpeg-libs (5.1.3-r0)
🐸 (71/99) Installing ffmpeg (5.1.3-r0)
🐸 (72/99) Installing py3-netifaces (0.11.0-r1)
🐸 (73/99) Installing py3-olefile (0.46-r6)
🐸 (74/99) Installing gdbm (1.23-r0)
🐸 (75/99) Installing xz-libs (5.2.9-r0)
🐸 (76/99) Installing mpdecimal (2.5.1-r1)
🐸 (77/99) Installing sqlite-libs (3.40.1-r0)
🐸 (78/99) Installing python3 (3.10.12-r0)
🐸 (79/99) Installing libimagequant (4.0.4-r0)
🐸 (80/99) Installing lcms2 (2.14-r0)
🐸 (81/99) Installing openjpeg (2.5.0-r0)
🐸 (82/99) Installing zstd-libs (1.5.5-r0)
🐸 (83/99) Installing tiff (4.4.0-r4)
🐸 (84/99) Installing py3-pillow (9.3.0-r0)
🐸 (85/99) Installing py3-six (1.16.0-r3)
🐸 (86/99) Installing py3-retrying (1.3.3-r3)
🐸 (87/99) Installing py3-parsing (3.0.9-r0)
🐸 (88/99) Installing py3-packaging (21.3-r2)
🐸 (89/99) Installing py3-setuptools (65.6.0-r0)
🐸 (90/99) Installing py3-pip (22.3.1-r1)
🐸 (91/99) Installing py3-psutil (5.9.4-r0)
🐸 (92/99) Installing py3-regex (2022.10.31-r0)
🐸 (93/99) Installing yaml (0.2.5-r0)
🐸 (94/99) Installing py3-yaml (6.0-r0)
🐸 (95/99) Installing libuv (1.44.2-r0)
🐸 (96/99) Installing libwebsockets (4.3.2-r1)
🐸 (97/99) Installing libwebsockets-evlib_uv (4.3.2-r1)
🐸 (98/99) Installing json-c (0.16-r2)
🐸 (99/99) Installing ttyd (1.7.2-r0)
🐸 Executing busybox-1.35.0-r29.trigger
🐸 OK: 167 MiB in 130 packages
🐸 Collecting packaging
🐸 Downloading packaging-23.1-py3-none-any.whl (48 kB)
🐸 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.9/48.9 kB 500.2 kB/s eta 0:00:00
🐸 Installing collected packages: packaging
🐸 Successfully installed packaging-23.1
🐸 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
🐸 Collecting https://github.com/feelfreelinux/octo4a-argon2-mock/archive/main.zip
🐸 Downloading https://github.com/feelfreelinux/octo4a-argon2-mock/archive/main.zip
🐸 - 6.3 kB 583.3 kB/s 0:00:00
🐸 Installing build dependencies: started
🐸 Installing build dependencies: finished with status 'done'
🐸 Getting requirements to build wheel: started
🐸 Getting requirements to build wheel: finished with status 'done'
🐸 Preparing metadata (pyproject.toml): started
🐸 Preparing metadata (pyproject.toml): finished with status 'done'
🐸 Building wheels for collected packages: argon2-cffi
🐸 Building wheel for argon2-cffi (pyproject.toml): started
🐸 Building wheel for argon2-cffi (pyproject.toml): finished with status 'done'
🐸 Created wheel for argon2-cffi: filename=argon2_cffi-21.3.0-py3-none-any.whl size=1606 sha256=356869a2824f83c93f81d4a4fe4d6259bc31848476ce2b61d2841fc96c7f6c93
🐸 Stored in directory: /tmp/pip-ephem-wheel-cache-476f010a/wheels/6b/30/6b/6fcc594d71f28bbcbd8aae83b53e1ca59e203102a84d4e1121
🐸 Successfully built argon2-cffi
🐸 Installing collected packages: argon2-cffi
🐸 Successfully installed argon2-cffi-21.3.0
🐸 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
💻 >curl -o octoprint.zip -L https://api.github.com/repos/OctoPrint/OctoPrint/zipball/1.9.1
🐸 % Total % Received % Xferd Average Speed Time Time Time Current
🐸 Dload Upload Total Spent Left Speed
🐸
🐸 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
🐸 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
🐸 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
🐸
🐸 100 6167k 0 6167k 0 0 1636k 0 --:--:-- 0:00:03 --:--:-- 1636k
🐸 100 6167k 0 6167k 0 0 1629k 0 --:--:-- 0:00:03 --:--:-- 0
💻 >echo PWD IS $PWD, and running as $USER, patch is $PATH, Unzip is at $(which unzip) && ls -lah $(which unzip)
🐸 PWD IS /root, and running as root, patch is /sbin:/usr/sbin:/bin:/usr/bin, Unzip is at
🐸 total 20K
🐸 drwxrwx--- 4 root 9997 4.0K Jul 7 07:06 .
🐸 drwx------ 23 root root 4.0K Jul 7 07:06 ..
🐸 drwxrwx--- 3 root 9997 4.0K Jul 7 07:05 .cache
🐸 -rw-rw---- 1 root 9997 10 Jul 7 07:05 .octoCredentials
🐸 drwxrwx--- 3 root 9997 4.0K Jul 7 07:05 extensions
🐸 -rw-rw---- 1 root 9997 6.0M Jul 7 07:06 octoprint.zip
💻 >ls -lah
🐸 total 20K
🐸 drwxrwx--- 4 root 9997 4.0K Jul 7 07:06 .
🐸 drwx------ 23 root root 4.0K Jul 7 07:06 ..
🐸 drwxrwx--- 3 root 9997 4.0K Jul 7 07:05 .cache
🐸 -rw-rw---- 1 root 9997 10 Jul 7 07:05 .octoCredentials
🐸 drwxrwx--- 3 root 9997 4.0K Jul 7 07:05 extensions
🐸 -rw-rw---- 1 root 9997 6.0M Jul 7 07:06 octoprint.zip
💻 >7z x -y octoprint.zip
🐸
🐸 7-Zip (z) 23.01 (arm) : Copyright (c) 1999-2023 Igor Pavlov : 2023-06-20
🐸 32-bit arm_v:6 thumb:1 locale='en_US.UTF-8' Threads:2 OPEN_MAX:1024
🐸
🐸 Scanning the drive for archives:
🐸 1 file, 6315209 bytes (6168 KiB)
🐸
🐸 Extracting archive: octoprint.zip
🐸 --
🐸 Path = octoprint.zip
🐸 Type = zip
🐸 Physical Size = 6315209
🐸 Comment = 1d519a21702ea180c026929da2a6e17079470b9a
🐸
🐸 Everything is Ok
🐸
🐸 Folders: 227
🐸 Files: 912
🐸 Size: 19396526
🐸 Compressed: 6315209
💻 >cd Octo* && pip3 install .
🐸 Processing /root/OctoPrint-OctoPrint-1d519a2
🐸 Installing build dependencies: started
🐸 Installing build dependencies: finished with status 'done'
🐸 Getting requirements to build wheel: started
🐸 Getting requirements to build wheel: finished with status 'done'
🐸 Preparing metadata (pyproject.toml): started
🐸 Preparing metadata (pyproject.toml): finished with status 'done'
🐸 Collecting Flask-Assets<3,>=2.0
🐸 Downloading Flask_Assets-2.0-py3-none-any.whl (8.5 kB)
🐸 Requirement already satisfied: regex in /usr/lib/python3.10/site-packages (from OctoPrint==1.9.1) (2022.10.31)
🐸 Collecting semantic-version<3,>=2.10.0
🐸 Downloading semantic_version-2.10.0-py2.py3-none-any.whl (15 kB)
🐸 Collecting Click<9,>=8.1.3
🐸 Downloading click-8.1.4-py3-none-any.whl (98 kB)
🐸 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 98.2/98.2 kB 1.4 MB/s eta 0:00:00
🐸 Collecting pylru<2,>=1.2.1
🐸 Downloading pylru-1.2.1-py3-none-any.whl (16 kB)
🐸 Collecting flask<2.3,>=2.2.3
🐸 Downloading Flask-2.2.5-py3-none-any.whl (101 kB)
🐸 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 101.8/101.8 kB 1.3 MB/s eta 0:00:00
🐸 Collecting class-doc<0.3,>=0.2.6
🐸 Downloading class_doc-0.2.6-py3-none-any.whl (4.7 kB)
🐸 Collecting filetype<2,>=1.2.0
🐸 Downloading filetype-1.2.0-py2.py3-none-any.whl (19 kB)
🐸 Collecting markdown<4,>=3.4.3
🐸 Downloading Markdown-3.4.3-py3-none-any.whl (93 kB)
🐸 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 93.9/93.9 kB 844.1 kB/s eta 0:00:00
🐸 Collecting websocket-client<2,>=1.5.1
🐸 Downloading websocket_client-1.6.1-py3-none-any.whl (56 kB)
🐸 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 56.9/56.9 kB 658.6 kB/s eta 0:00:00
🐸 Collecting zipstream-ng<2.0.0,>=1.5.0
🐸 Downloading zipstream_ng-1.6.0-py3-none-any.whl (22 kB)
🐸 Collecting frozendict<3,>=2.3.7
🐸 Downloading frozendict-2.3.8.tar.gz (312 kB)
🐸 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 312.1/312.1 kB 1.8 MB/s eta 0:00:00
🐸 Installing build dependencies: started
🐸 Installing build dependencies: finished with status 'done'
🐸 Getting requirements to build wheel: started
🐸 Getting requirements to build wheel: finished with status 'done'
🐸 Preparing metadata (pyproject.toml): started
🐸 Preparing metadata (pyproject.toml): finished with status 'done'
🐸 Collecting colorlog<7,>=6.7.0
🐸 Downloading colorlog-6.7.0-py2.py3-none-any.whl (11 kB)
🐸 Collecting wheel
🐸 Using cached wheel-0.40.0-py3-none-any.whl (64 kB)
🐸 Collecting pyserial<4,>=3.5
🐸 Downloading pyserial-3.5-py2.py3-none-any.whl (90 kB)
🐸 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 90.6/90.6 kB 958.9 kB/s eta 0:00:00
🐸 Collecting Babel<2.13,>=2.12.1
🐸 Downloading Babel-2.12.1-py3-none-any.whl (10.1 MB)
🐸 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 10.1/10.1 MB 2.4 MB/s eta 0:00:00
🐸 Collecting emoji<3,>=2.2.0
🐸 Downloading emoji-2.6.0.tar.gz (356 kB)
🐸 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 356.6/356.6 kB 2.2 MB/s eta 0:00:00
🐸 Preparing metadata (setup.py): started
🐸 Preparing metadata (setup.py): finished with status 'done'
🐸 Collecting sarge==0.1.7.post1
🐸 Downloading sarge-0.1.7.post1-py2.py3-none-any.whl (18 kB)
🐸 Collecting cachelib<0.11,>=0.10.2
🐸 Downloading cachelib-0.10.2-py3-none-any.whl (18 kB)
🐸 Collecting unidecode
🐸 Downloading Unidecode-1.3.6-py3-none-any.whl (235 kB)
🐸 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 235.9/235.9 kB 2.2 MB/s eta 0:00:00
🐸 Collecting OctoPrint-FileCheck>=2021.2.23
🐸 Downloading OctoPrint_FileCheck-2021.2.23-py2.py3-none-any.whl (19 kB)
🐸 Requirement already satisfied: netifaces<1,>=0.11 in /usr/lib/python3.10/site-packages (from OctoPrint==1.9.1) (0.11.0)
🐸 Collecting pathvalidate<3,>=2.5.2
🐸 Downloading pathvalidate-2.5.2-py3-none-any.whl (20 kB)
🐸 Collecting OctoPrint-PiSupport>=2023.5.24
🐸 Downloading OctoPrint_PiSupport-2023.5.24-py2.py3-none-any.whl (33 kB)
🐸 Collecting sentry-sdk<2,>=1.19.1
🐸 Downloading sentry_sdk-1.27.1-py2.py3-none-any.whl (211 kB)
🐸 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 211.7/211.7 kB 1.5 MB/s eta 0:00:00
🐸 Collecting Flask-Login<0.7,>=0.6.2
🐸 Downloading Flask_Login-0.6.2-py3-none-any.whl (17 kB)
🐸 Requirement already satisfied: psutil<6,>=5.9.4 in /usr/lib/python3.10/site-packages (from OctoPrint==1.9.1) (5.9.4)
🐸 Collecting OctoPrint-FirmwareCheck>=2021.10.11
🐸 Downloading OctoPrint_FirmwareCheck-2021.10.11-py2.py3-none-any.whl (33 kB)
🐸 Collecting Flask-Limiter<4,>=3.3.0
🐸 Downloading Flask_Limiter-3.3.1-py3-none-any.whl (27 kB)
🐸 Requirement already satisfied: argon2-cffi<22,>=21.3.0 in /usr/lib/python3.10/site-packages (from OctoPrint==1.9.1) (21.3.0)
🐸 Collecting wrapt<1.16,>=1.15
🐸 Downloading wrapt-1.15.0-py3-none-any.whl (22 kB)
🐸 Collecting pkginfo<2,>=1.9.6
🐸 Downloading pkginfo-1.9.6-py3-none-any.whl (30 kB)
🐸 Collecting netaddr<0.9,>=0.8
🐸 Downloading netaddr-0.8.0-py2.py3-none-any.whl (1.9 MB)
🐸 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.9/1.9 MB 2.4 MB/s eta 0:00:00
🐸 Collecting feedparser<7,>=6.0.10
🐸 Downloading feedparser-6.0.10-py3-none-any.whl (81 kB)
🐸 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 81.1/81.1 kB 932.6 kB/s eta 0:00:00
🐸 Collecting requests<3,>=2.28.2
🐸 Downloading requests-2.31.0-py3-none-any.whl (62 kB)
🐸 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.6/62.6 kB 508.6 kB/s eta 0:00:00
🐸 Collecting watchdog<3,>=2.3.1
🐸 Downloading watchdog-2.3.1.tar.gz (123 kB)
🐸 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 123.1/123.1 kB 1.4 MB/s eta 0:00:00
🐸 Preparing metadata (setup.py): started
🐸 Preparing metadata (setup.py): finished with status 'done'
🐸 Collecting Flask-Babel<4,>=3.1.0
🐸 Downloading flask_babel-3.1.0-py3-none-any.whl (9.6 kB)
🐸 Collecting PyYAML<6,>=5.4.1
🐸 Downloading PyYAML-5.4.1.tar.gz (175 kB)
🐸 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 175.1/175.1 kB 1.6 MB/s eta 0:00:00
🐸 Installing build dependencies: started
🐸 Installing build dependencies: finished with status 'done'
🐸 Getting requirements to build wheel: started
🐸 Getting requirements to build wheel: finished with status 'done'
🐸 Preparing metadata (pyproject.toml): started
🐸 Preparing metadata (pyproject.toml): finished with status 'done'
🐸 Collecting passlib<2,>=1.7.4
🐸 Downloading passlib-1.7.4-py2.py3-none-any.whl (525 kB)
🐸 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 525.6/525.6 kB 2.3 MB/s eta 0:00:00
🐸 Collecting zeroconf==0.39.4
🐸 Downloading zeroconf-0.39.4-py3-none-any.whl (106 kB)
🐸 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 106.4/106.4 kB 1.4 MB/s eta 0:00:00
🐸 Collecting blinker<2,>=1.6.1
🐸 Downloading blinker-1.6.2-py3-none-any.whl (13 kB)
🐸 Collecting tornado<7,>=6.2
🐸 Downloading tornado-6.3.2.tar.gz (508 kB)
🐸 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 508.8/508.8 kB 2.6 MB/s eta 0:00:00
🐸 Installing build dependencies: started
🐸 Installing build dependencies: finished with status 'done'
🐸 Getting requirements to build wheel: started
🐸 Getting requirements to build wheel: finished with status 'done'
🐸 Preparing metadata (pyproject.toml): started
🐸 Preparing metadata (pyproject.toml): finished with status 'done'
🐸 Collecting pydantic<2,>=1.10.7
🐸 Downloading pydantic-1.10.11-py3-none-any.whl (158 kB)
🐸 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 158.2/158.2 kB 2.1 MB/s eta 0:00:00
🐸 Collecting werkzeug<2.3,>=2.2.3
🐸 Downloading Werkzeug-2.2.3-py3-none-any.whl (233 kB)
🐸 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 233.6/233.6 kB 2.0 MB/s eta 0:00:00
🐸 Collecting future<1,>=0.18.3
🐸 Downloading future-0.18.3.tar.gz (840 kB)
🐸 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 840.9/840.9 kB 2.8 MB/s eta 0:00:00
🐸 Preparing metadata (setup.py): started
🐸 Preparing metadata (setup.py): finished with status 'done'
🐸 Collecting async-timeout>=4.0.1
🐸 Downloading async_timeout-4.0.2-py3-none-any.whl (5.8 kB)
🐸 Collecting ifaddr>=0.1.7
🐸 Downloading ifaddr-0.2.0-py3-none-any.whl (12 kB)
🐸 Collecting more-itertools>=5.0.0
🐸 Downloading more_itertools-9.1.0-py3-none-any.whl (54 kB)
🐸 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 54.2/54.2 kB 743.5 kB/s eta 0:00:00
🐸 Collecting sgmllib3k
🐸 Downloading sgmllib3k-1.0.0.tar.gz (5.8 kB)
🐸 Preparing metadata (setup.py): started
🐸 Preparing metadata (setup.py): finished with status 'done'
🐸 Collecting itsdangerous>=2.0
🐸 Downloading itsdangerous-2.1.2-py3-none-any.whl (15 kB)
🐸 Collecting Jinja2>=3.0
🐸 Downloading Jinja2-3.1.2-py3-none-any.whl (133 kB)
🐸 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.1/133.1 kB 1.6 MB/s eta 0:00:00
🐸 Collecting webassets>=2.0
🐸 Downloading webassets-2.0-py3-none-any.whl (142 kB)
🐸 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 142.9/142.9 kB 1.2 MB/s eta 0:00:00
🐸 Collecting pytz>=2022.7
🐸 Downloading pytz-2023.3-py2.py3-none-any.whl (502 kB)
🐸 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 502.3/502.3 kB 2.4 MB/s eta 0:00:00
🐸 Collecting limits>=2.8
🐸 Downloading limits-3.5.0-py3-none-any.whl (43 kB)
🐸 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 43.0/43.0 kB 683.5 kB/s eta 0:00:00
🐸 Collecting rich<14,>=12
🐸 Downloading rich-13.4.2-py3-none-any.whl (239 kB)
🐸 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 239.4/239.4 kB 1.6 MB/s eta 0:00:00
🐸 Collecting typing-extensions>=4
🐸 Downloading typing_extensions-4.7.1-py3-none-any.whl (33 kB)
🐸 Collecting ordered-set<5,>4
🐸 Downloading ordered_set-4.1.0-py3-none-any.whl (7.6 kB)
🐸 Collecting certifi>=2017.4.17
🐸 Downloading certifi-2023.5.7-py3-none-any.whl (156 kB)
🐸 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 157.0/157.0 kB 1.7 MB/s eta 0:00:00
🐸 Collecting idna<4,>=2.5
🐸 Downloading idna-3.4-py3-none-any.whl (61 kB)
🐸 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.5/61.5 kB 627.8 kB/s eta 0:00:00
🐸 Collecting charset-normalizer<4,>=2
🐸 Downloading charset_normalizer-3.1.0-py3-none-any.whl (46 kB)
🐸 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 46.2/46.2 kB 614.0 kB/s eta 0:00:00
🐸 Collecting urllib3<3,>=1.21.1
🐸 Downloading urllib3-2.0.3-py3-none-any.whl (123 kB)
🐸 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 123.6/123.6 kB 1.8 MB/s eta 0:00:00
🐸 Collecting MarkupSafe>=2.1.1
🐸 Downloading MarkupSafe-2.1.3.tar.gz (19 kB)
🐸 Preparing metadata (setup.py): started
🐸 Preparing metadata (setup.py): finished with status 'done'
🐸 Collecting deprecated>=1.2
🐸 Downloading Deprecated-1.2.14-py2.py3-none-any.whl (9.6 kB)
🐸 Requirement already satisfied: packaging<24,>=21 in /usr/lib/python3.10/site-packages (from limits>=2.8->Flask-Limiter<4,>=3.3.0->OctoPrint==1.9.1) (23.1)
🐸 Requirement already satisfied: setuptools in /usr/lib/python3.10/site-packages (from limits>=2.8->Flask-Limiter<4,>=3.3.0->OctoPrint==1.9.1) (65.6.0)
🐸 Collecting importlib-resources>=1.3
🐸 Downloading importlib_resources-5.12.0-py3-none-any.whl (36 kB)
🐸 Collecting markdown-it-py>=2.2.0
🐸 Downloading markdown_it_py-3.0.0-py3-none-any.whl (87 kB)
🐸 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 87.5/87.5 kB 1.1 MB/s eta 0:00:00
🐸 Collecting pygments<3.0.0,>=2.13.0
🐸 Downloading Pygments-2.15.1-py3-none-any.whl (1.1 MB)
🐸 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 2.6 MB/s eta 0:00:00
🐸 Collecting mdurl~=0.1
🐸 Downloading mdurl-0.1.2-py3-none-any.whl (10.0 kB)
🐸 Building wheels for collected packages: OctoPrint, frozendict, PyYAML, tornado
🐸 Building wheel for OctoPrint (pyproject.toml): started
🐸 Building wheel for OctoPrint (pyproject.toml): finished with status 'error'
🐸 error: subprocess-exited-with-error
🐸
🐸 × Building wheel for OctoPrint (pyproject.toml) did not run successfully.
🐸 │ exit code: 1
🐸 ╰─> [25 lines of output]
🐸 /tmp/pip-build-env-lnxj0nzn/overlay/lib/python3.10/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg`
🐸 !!
🐸
🐸 ********************************************************************************
🐸 The license_file parameter is deprecated, use license_files instead.
🐸
🐸 By 2023-Oct-30, you need to update your project and remove deprecated calls
🐸 or your builds will no longer be supported.
🐸
🐸 See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
🐸 ********************************************************************************
🐸
🐸 !!
🐸 parsed = self.parsers.get(option_name, lambda x: x)(value)
🐸 running bdist_wheel
🐸 running build
🐸 running build_py
🐸 RUNNING copy_files_build_py
🐸 creating build
🐸 creating build/lib
🐸 creating build/lib/octoprint
🐸 creating build/lib/octoprint/templates
🐸 creating build/lib/octoprint/templates/_data
🐸 Copying AUTHORS.md to build/lib/octoprint/templates/_data/AUTHORS.md
🐸 error: [Errno 1] Operation not permitted
🐸 [end of output]
🐸
🐸 note: This error originates from a subprocess, and is likely not a problem with pip.
🐸 ERROR: Failed building wheel for OctoPrint
🐸 Building wheel for frozendict (pyproject.toml): started
🐸 Building wheel for frozendict (pyproject.toml): finished with status 'done'
🐸 WARNING: Building wheel for frozendict failed: [Errno 1] Operation not permitted
🐸 Building wheel for PyYAML (pyproject.toml): started
🐸 Building wheel for PyYAML (pyproject.toml): finished with status 'done'
🐸 WARNING: Building wheel for PyYAML failed: [Errno 1] Operation not permitted
🐸 Building wheel for tornado (pyproject.toml): started
🐸 Building wheel for tornado (pyproject.toml): finished with status 'done'
🐸 WARNING: Building wheel for tornado failed: [Errno 1] Operation not permitted
🐸 Failed to build OctoPrint frozendict PyYAML tornado
🐸 ERROR: Could not build wheels for OctoPrint, frozendict, PyYAML, tornado, which is required to install pyproject.toml-based projects
💻 An exception has occurred at:
java.lang.RuntimeException: Process exited with error code 1. [Processing /root/OctoPrint-OctoPrint-1d519a2 Ins
at com.octo4a.utils.ProcessUtilsKt.waitAndPrintOutput(ProcessUtils.kt:43)
at com.octo4a.utils.ProcessUtilsKt.waitAndPrintOutput$default(ProcessUtils.kt:16)
at com.octo4a.repository.OctoPrintHandlerRepositoryImpl$beginInstallation$2.invokeSuspend(OctoPrintHandlerRepository.kt:167)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.UndispatchedCoroutine.afterResume(Builders.common.kt:265)
at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:113)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
at io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:191)
at io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:147)
at io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:15)
at io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:93)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
at io.ktor.util.pipeline.SuspendFunctionGun.resumeRootWith(SuspendFunctionGun.kt:191)
at io.ktor.util.pipeline.SuspendFunctionGun.loop(SuspendFunctionGun.kt:147)
at io.ktor.util.pipeline.SuspendFunctionGun.access$loop(SuspendFunctionGun.kt:15)
at io.ktor.util.pipeline.SuspendFunctionGun$continuation$1.resumeWith(SuspendFunctionGun.kt:93)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)

Exception:
java.lang.RuntimeException: Process exited with error code 1. [Processing /root/OctoPrint-OctoPrint-1d519a2 Ins
SonOfSardaar commented 10 months ago

I had similar problems while installing, I flashed few different ROMS to try installation with varying results. Finally I found that Lineage OS with Android 7.1.1 worked for me. I would suggest flashing a custom rom for your device with android 6 or 7.