Closed zdog90210 closed 1 year ago
Not feeling like creating yet another issue regarding corrupted installations, having same issue there, the only working version for me is 0.0.5 running on rooted samsung galaxy a02 (OneUI 3.1 Core, Android 11). I've managed to extract some logs from 1.1.2 though.
Having the same issue on my galaxy note 8. Iβve tried rooting it, installing about 8 different roms covering 5 different Android versions, every version of the app and only 0.0.5 works for me as well. It crashes and when I open it back up itβs at the βdisable battery optimizationβ pop up and once I click that to disable optimized battery and click to restart the install again, it just crashes again. Rinse and repeat.
Same for me on a Samsung Galaxy S6. Device is not rooted, but that isnt a requirement afaik?
Version 0.0.5 also seems to work (havent tested, but I get the octoprint is running)
Same here with my S10 running Android 10.
Same problem here with Motorola G5 plus running Android 11. Tested versions 1.1.2 and 1.1.1.
See log (seems to be the same error as in #325) octo4a-crash-filtered.txt
Don't know if it's relevant, but I also get a lot of avc denied messages like:
12-10 22:35:16.885 6626 6626 W pip3 : type=1400 audit(0.0:41116): avc: denied { ioctl } for uid=10294 path="/data/data/com.octo4a/files/bootstrap/bootstrap/tmp/pip-req-build-dpn6x_i3/tests/plugin/_plugins/hook_plugin.py" dev="mmcblk0p54" ino=12097 ioctlcmd=5413 scontext=u:r:untrusted_app_27:s0:c38,c257,c512,c768
Same issue happening on Pixel 3 XL
Same issue on a Pixel 3 XL was working then had to reinstall and now will not work also on a Galaxy A12 and PIxel 5
same issue on Moto e3 power android 7.1 rooted,even tried to reinstall ROM but still not working!
same issue on 1.1.1 when installing dependencies , the app will shutdown
I tried 1.1.1, 1.1.2 And 1.0.2 failed Finally, the log was saved when the 1.0.2 execution failed
inflating: OctoPrint-OctoPrint-ab3ebf1/versioneer.py
πΈ proot warning: can't sanitize binding "/data/data/com.octo4a/files/serialpipe": No such file or directory
πΈ Processing /root/OctoPrint-OctoPrint-ab3ebf1
πΈ ERROR: Command errored out with exit status 1:
πΈ command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-6v5wr_mn/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-6v5wr_mn/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-yca5tos6
πΈ cwd: /tmp/pip-req-build-6v5wr_mn/
πΈ Complete output (31 lines):
πΈ Traceback (most recent call last):
πΈ File "<string>", line 1, in <module>
πΈ File "/usr/lib/python3.9/site-packages/setuptools/__init__.py", line 16, in <module>
πΈ import setuptools.version
πΈ File "/usr/lib/python3.9/site-packages/setuptools/version.py", line 1, in <module>
πΈ import pkg_resources
πΈ File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3243, in <module>
πΈ def _initialize_master_working_set():
πΈ File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3226, in _call_aside
πΈ f(*args, **kwargs)
πΈ File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3255, in _initialize_master_working_set
πΈ working_set = WorkingSet._build_master()
πΈ File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 559, in _build_master
πΈ ws = cls()
πΈ File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 552, in __init__
πΈ self.add_entry(entry)
πΈ File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 608, in add_entry
πΈ for dist in find_distributions(entry, True):
πΈ File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 2059, in find_on_path
πΈ path_item_entries = _by_version_descending(filtered)
πΈ File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 2029, in _by_version_descending
πΈ return sorted(names, key=_by_version, reverse=True)
πΈ File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 2027, in _by_version
πΈ return [packaging.version.parse(part) for part in parts]
πΈ File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 2027, in <listcomp>
πΈ return [packaging.version.parse(part) for part in parts]
πΈ File "/usr/lib/python3.9/site-packages/packaging/version.py", line 52, in parse
πΈ return Version(version)
πΈ File "/usr/lib/python3.9/site-packages/packaging/version.py", line 197, in __init__
πΈ raise InvalidVersion(f"Invalid version: '{version}'")
πΈ packaging.version.InvalidVersion: Invalid version: '/usr/lib/python3.9/site'
πΈ ----------------------------------------
πΈ WARNING: Discarding file:///root/OctoPrint-OctoPrint-ab3ebf1. Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
πΈ ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
π» Dependencies installed
Hey guys, try the fix from here https://github.com/feelfreelinux/octo4a/issues/325#issuecomment-1345426359 . Fixed it for me!
Hey guys, try the fix from here #325 (comment) . Fixed it for me!
Can confirm this worked for me as well.
Hey guys, try the fix from here #325 (comment) . Fixed it for me!
Sadly, this didn't work for me, i assume octo4a doesn't setup alpine container where i could ssh into. The only other option for me is to modify the sources or use 0.0.5.
Just wondering if someone could explain this more easily to understand I had 2 lenovo tablets running octo 4A with Zero issues both on android 10. got 2 more used and Tried to install and setup just like other 2 and I am getting the missing permissions error, Does anyone know for sure yet if it is octo 4A or android that is causing this problem. I know a couple of people on here have fixed it but if you are someone like me that does very little with android then it is pretty much an impossible daunting task to accomplish.
I mean What does missing storage permissions even mean and why did it just all of a sudden start
@RickzFPV The Octo4A needs to download some packages like Python, drivers and many other things to be able to run the OctoPrint itself. The setup script, which i suspect is this one https://github.com/feelfreelinux/octo4a/blob/master/scripts/setup-octo4a.sh used to worked fine, but probably recent Python package update screwed up some dependency and you need to update it manually. To make it working, you need to run the script, then you run the fix, and to make it complete you run the script again. Running the script first time is done by the Installer, but as it crashes you have to apply the fix and run it manually again.
Hey guys, try the fix from here #325 (comment) . Fixed it for me!
Can confirm this worked for me as well.
Worked for me! Thanks
Hey guys, try the fix from here #325 (comment) . Fixed it for me!
This was the fix for me! the user to login is root
Yeah it worked for me also perfectly on my Lenovo Tablets but I canβt get it to work on my Blu View 2 phones. Donβt know if the problem is they are not rooted or what but I gave up on them. Gonna see if I can find some older phones with android 10 on them and see if I can get a few more setup.
Hey guys, try the fix from here #325 (comment) . Fixed it for me!
Can confirm, worked for me on Samsung Galaxy S6 (not rooted)
Yeah it worked fine for me to on both of my Lenovo tablets running android 10, but havenβt had any luck with the Blu View 2βs running Android 11
they are both the B131 DL models, I know guys have had luck with the B130 DL but canβt find them anywhere
Just Curious has anyone been able to do this fix with a device running Android 11 if so which device.
I had it running on a galaxy A12 on Android 11 before I updated it.
On Sat, Dec 17, 2022, 11:44 AM RickzFPV @.***> wrote:
Just Curious has anyone been able to do this fix with a device running Android 11 if so which device.
β Reply to this email directly, view it on GitHub https://github.com/feelfreelinux/octo4a/issues/326#issuecomment-1356329273, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXYS75UFKDEXYOEOJ23HKX3WNXUW5ANCNFSM6AAAAAAS2EJKWE . You are receiving this because you commented.Message ID: @.***>
Yeah that is when it broke on mine too I didnβt know any better and updated them is there an easy way to reset an android device to before it updated
Hey guys, try the fix from here #325 (comment) . Fixed it for me!
This was the fix for me! the user to login is root
How did you login as root? I am only ever able to login using the username octoprint.
On my tablets I just logged in straight from the up address with port 8022 and it let me right in. I think android defaults to port 22, but then you donβt have access to octoprint
https://github.com/feelfreelinux/octo4a/issues/325#issuecomment-1345426359
See this it is the solution for this problem.
Yeah that solution worked on my tablets with windows 10 but it wonβt work on the 2 Blu B131DL phones I have running Android 11.
This still won't work with my Blu phone that previously had no problem
Is It normal to receive these errors when following t fixed script
return Version(version)
File "/usr/lib/python3.9/site-packages/packaging/version.py", line 197, in __init__
raise InvalidVersion(f"Invalid version: '{version}'")
packaging.version.InvalidVersion: Invalid version: '/tmp/pip'
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/5a/03/459c9a4565cabf02d151d0392dc26ef714e3730ac349b4cd0dc27e338287/tornado-3.0.1.tar.gz#sha256=1d0f13df1358ba8f0511bf2d2f7b2cf74abb46f43d45974f8f0797bfcbfbe8f3 (from https://pypi.org/simple/tornado/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Downloading tornado-3.0.tar.gz (348 kB)
|ββββββββββββββββββββββββββββββββ| 348 kB 6.0 MB/s
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-kfnh9pdl/tornado_809a3acec58d42ba8e00d49e4339c393/setup.py'"'"'; __file__='"'"'/tmp/pip-install-kfnh9pdl/tornado_809a3acec58d42ba8e00d49e4339c393/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-3lm2a58y
cwd: /tmp/pip-install-kfnh9pdl/tornado_809a3acec58d42ba8e00d49e4339c393/
Complete output (31 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python3.9/site-packages/setuptools/__init__.py", line 16, in <module>
import setuptools.version
File "/usr/lib/python3.9/site-packages/setuptools/version.py", line 1, in <module>
import pkg_resources
File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3243, in <module>
def _initialize_master_working_set():
File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3226, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3255, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 559, in _build_master
ws = cls()
File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 552, in __init__
self.add_entry(entry)
File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 608, in add_entry
for dist in find_distributions(entry, True):
File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 2059, in find_on_path
path_item_entries = _by_version_descending(filtered)
File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 2029, in _by_version_descending
return sorted(names, key=_by_version, reverse=True)
File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 2027, in _by_version
return [packaging.version.parse(part) for part in parts]
File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 2027, in <listcomp>
return [packaging.version.parse(part) for part in parts]
File "/usr/lib/python3.9/site-packages/packaging/version.py", line 52, in parse
return Version(version)
File "/usr/lib/python3.9/site-packages/packaging/version.py", line 197, in __init__
raise InvalidVersion(f"Invalid version: '{version}'")
packaging.version.InvalidVersion: Invalid version: '/tmp/pip'
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/94/28/496d3eb40f3f5a3c315f94830c729f2dff00e637b560ed29d8fd48f374da/tornado-3.0.tar.gz#sha256=f5740cd779caa1effb0e6f079433c97bc1b7948c88b296279b63faa463b4222d (from https://pypi.org/simple/tornado/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Downloading tornado-2.4.1.tar.gz (348 kB)
|ββββββββββββββββββββββββββββββββ| 348 kB 6.7 MB/s
Same problem on Samsung S8
Hey guys, try the fix from here #325 (comment) . Fixed it for me!
Can confirm this worked for me as well.
Hi, can someone please explain me how to do this? I'm a beginner and I don't know how to get there and what the individual steps mean. It would be great if you could provide me with detailed instructions. Thank you so much
You probably donβt want to mess with it right now until they release a new version that works correctly. You need to know how to ssh into the device and add and update things, and if you are brand new it will be extremely difficult.
You probably donβt want to mess with it right now until they release a new version that works correctly. You need to know how to ssh into the device and add and update things, and if you are brand new it will be extremely difficult.
If you have time now, I would like to do it now, I know some basics, but I am lost in the procedure that someone mentioned here.
I have only been able to install the 0.0.5 release, without a corrupted notice. I previously had this working, but a reinstall broke it. But, It won't launch the UI. In settings, there is no entry for Server Port. Is that to be the same as the main page that lists 198.162..... etc? If so, It won't allow entry of the dot between the numerals?
Hey guys, try the fix from here #325 (comment) . Fixed it for me!
Confirmed working for me
325 US-Dollar (Kommentar) Works for me on Huawai P8 and Ulefon Armor X6 THX
unzip octoprint.zip results in no such file
I understand the steps laid out in the fix that's working for everyone, but I can't for the life of me login on putty or bitvise to be able to start running the commands. Anyone else having an impossible time with SSH???
@RickzFPV The Octo4A needs to download some packages like Python, drivers and many other things to be able to run the OctoPrint itself. The setup script, which i suspect is this one https://github.com/feelfreelinux/octo4a/blob/master/scripts/setup-octo4a.sh used to worked fine, but probably recent Python package update screwed up some dependency and you need to update it manually. To make it working, you need to run the script, then you run the fix, and to make it complete you run the script again. Running the script first time is done by the Installer, but as it crashes you have to apply the fix and run it manually again.
Sorry but which fix? And how do I run it without ssh or ttyd (both broken)? I have root access and Termux if it could help somehow
Yeah I have the same issue on my BLU B131DL phones they wonβt even allow me to ssh into them since updating to android 11 so I can not even start the process. I can not believe people are still having to do this work around to get it running, and they have not done anything with a new release version addressing these issues.
@RickzFPV thanks for keeping this thread alive. This is a great app, if we could just get someone to fix the current issues. As others have said, you can get it working on Android 10 and lower using the fix found here: https://github.com/feelfreelinux/octo4a/issues/325#issuecomment-1345426359
Android 11 will not allow SSH to start so you can't apply the fixes above. That's why devices like the BLU View2 B130DL (Android 10) work with the fix applied, but the BLU View2 B131DL (Android 11) do not allow you to process the steps.
Hey guys, try the fix from here #325 (comment) . Fixed it for me!
The fix in #325 worked for me but I had to skip step 6 otherwise it wouldn't complete and I had to do it twice and before the second time I rebooted my device.
unzip octoprint.zip results in no such file
@Chefschweisser were you able to find a fix/workaround? I'm running into the same issue. There doesn't appear to be any file downloaded to my Nexus running Octo4a named "octoprint.zip".
localhost:~# curl -s https://raw.githubusercontent.com/feelfreelinux/octo4a/master/scripts/setup-octo4a.sh | bash -s
fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz
OK: 144 MiB in 134 packages
Collecting packaging
Using cached packaging-23.0-py3-none-any.whl (42 kB)
Installing collected packages: packaging
Successfully installed packaging-23.0
Collecting https://github.com/feelfreelinux/octo4a-argon2-mock/archive/main.zip
Using cached https://github.com/feelfreelinux/octo4a-argon2-mock/archive/main.zip (6.3 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
localhost:~# unzip octoprint.zip
unzip: cannot find or open octoprint.zip, octoprint.zip.zip or octoprint.zip.ZIP.
@jstarnet Have you tried restarting your device and skipping step 6? I was getting that same message until I skipped step 6.
@feelfreelinux is there a way to access octo4a's console without ssh or ttyd? Because they're both broken in Android 11. I was thinking about something like Termux, but how should one go about telling Termux where to send those commands? Even only fixing ssh should suffice, the rest could be done through it. Also root privileges are an option, but again I won't know how to make use of them.
Hello All,
A complete Noob here, trying to make Octo4a to work. I got the installation corrupted error every time I install the app on the phone I bought for this specifict purpose (Samsung A23).
I was following the steps found here and at first while i am runing the: pip3 install --upgrade setuptools wheel tornado --no-cache-dir command I was getting an error while "Preparing wheel metadata"
Then it looked like it started to download older tornado versions one after the other until it gives these final 2 errors:
After doing some updates to python and following some other steps I am now able to run that command with no issues but now I am getting an error following the next step: curl -s https://raw.githubusercontent.com/feelfreelinux/octo4a/master/scripts/setup-octo4a.sh | bash -s
I am including an screenshot of the error that I am getting now.
I feel that I am way out of my technical confort zone trying to get this resolved and I really apreciate any help to get Octo4a working.
Thanks in advance!
PS: Sorry if I am not explaining myself clearly or for any grammar error, english is not my first language
Was facing the same issue and here is how I solved: 1) in the app, go do Extensions and enable Remote Web Terminal. Connect using a browser and use root/octoprint as user/password 2) now execute the steps mentioned in the article.
Hello All,
A complete Noob here, trying to make Octo4a to work. I got the installation corrupted error every time I install the app on the phone I bought for this specifict purpose (Samsung A23).
I was following the steps found here and at first while i am runing the: pip3 install --upgrade setuptools wheel tornado --no-cache-dir command I was getting an error while "Preparing wheel metadata"
Then it looked like it started to download older tornado versions one after the other until it gives these final 2 errors:
- Could not find a version that satisfies the requierement tornado
- No matching distribution found for tornado
After doing some updates to python and following some other steps I am now able to run that command with no issues but now I am getting an error following the next step: curl -s https://raw.githubusercontent.com/feelfreelinux/octo4a/master/scripts/setup-octo4a.sh | bash -s
I am including an screenshot of the error that I am getting now.
I feel that I am way out of my technical confort zone trying to get this resolved and I really apreciate any help to get Octo4a working.
Thanks in advance!
PS: Sorry if I am not explaining myself clearly or for any grammar error, english is not my first language
Thanks for the help! Sadly I do not know how to connect using a web browser, if you have a link with a tutorial on how to do ot I highly apreciated.
Thanks!
Was facing the same issue and here is how I solved:
1. in the app, go do Extensions and enable Remote Web Terminal. Connect using a browser and use root/octoprint as user/password 2. now execute the steps mentioned in the article.
Hello All, A complete Noob here, trying to make Octo4a to work. I got the installation corrupted error every time I install the app on the phone I bought for this specifict purpose (Samsung A23). I was following the steps found here and at first while i am runing the: pip3 install --upgrade setuptools wheel tornado --no-cache-dir command I was getting an error while "Preparing wheel metadata" Then it looked like it started to download older tornado versions one after the other until it gives these final 2 errors:
- Could not find a version that satisfies the requierement tornado
- No matching distribution found for tornado
After doing some updates to python and following some other steps I am now able to run that command with no issues but now I am getting an error following the next step: curl -s https://raw.githubusercontent.com/feelfreelinux/octo4a/master/scripts/setup-octo4a.sh | bash -s I am including an screenshot of the error that I am getting now.
I feel that I am way out of my technical confort zone trying to get this resolved and I really apreciate any help to get Octo4a working. Thanks in advance! PS: Sorry if I am not explaining myself clearly or for any grammar error, english is not my first language
@jstarnet Have you tried restarting your device and skipping step 6? I was getting that same message until I skipped step 6.
@2JayR11 I did try restarting. Since I had already run step 6 previously, I tried to pick up on step 7 but I still get the same message:
localhost:~# unzip octoprint.zip
`unzip: cannot find or open octoprint.zip, octoprint.zip.zip or octoprint.zip.ZIP.
I don't see that file (octoprint.zip) in the "fix" and it doesn't make sense to me that you would be required to run the unzip command for a file that isn't there. Feel like something is missing in the fix steps or in where I am trying to execute the commands.
If I skip ahead to step 8 I get the same message as before:
localhost:~# cd Octo* && pip3 install .
-ash: cd: can't cd to Octo*: No such file or directory
I'm in /root and there is no dir that is created under "Octo". There is the hidden /root/.octoprint/ dir but that doesn't do anything either...
I have tried as many different fixes I could think of including 3 different phones and one tablet as well as upgrading and downgrading my pixel 2 xl to see if various android versions were the culprit no luck every time I install it gives me the installation corrupted. I have tried all versions and the only working one is the 0.0.5 release none of the main releases work. I have used the app flawlessly for months prior to updating my phone and accidentally formatted my user data. I have tried on both rooted and unrooted phones and no luck. is there any way to chose the install version of octoprint to try if that is the error. I am not sure what logs I can attach as the app crashes after installation.