-
Notifications
You must be signed in to change notification settings - Fork 79
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
[Package]: Flaresolverr #631
Comments
It is hard to package this. Maybe it will be able to package using venv as pyinstaller doesn't work on Termux. |
you can proot into docker container, here is my output (aarch64, termux from f-droid, no root)
use proot-distro to proot into debian/ubuntu, update, install skopeo(for downloading) and umoci (for unpacking)
proot into this rootfs from termux and execute:
|
Thanks, but Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/pip/_vendor/platformdirs/android.py", line 85, in _android_folder
from jnius import autoclass
ModuleNotFoundError: No module named 'jnius'
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/usr/lib/python3/dist-packages/pip/__main__.py", line 29, in <module>
from pip._internal.cli.main import main as _main
File "/usr/lib/python3/dist-packages/pip/_internal/cli/main.py", line 9, in <module>
from pip._internal.cli.autocompletion import autocomplete
File "/usr/lib/python3/dist-packages/pip/_internal/cli/autocompletion.py", line 10, in <module>
from pip._internal.cli.main_parser import create_main_parser
File "/usr/lib/python3/dist-packages/pip/_internal/cli/main_parser.py", line 8, in <module>
from pip._internal.cli import cmdoptions
File "/usr/lib/python3/dist-packages/pip/_internal/cli/cmdoptions.py", line 23, in <module>
from pip._internal.cli.parser import ConfigOptionParser File "/usr/lib/python3/dist-packages/pip/_internal/cli/parser.py", line 12, in <module> from pip._internal.configuration import Configuration, ConfigurationError File "/usr/lib/python3/dist-packages/pip/_internal/configuration.py", line 26, in <module> from pip._internal.utils.logging import getLogger
File "/usr/lib/python3/dist-packages/pip/_internal/utils/logging.py", line 27, in <module>
from pip._internal.utils.misc import ensure_dir
File "/usr/lib/python3/dist-packages/pip/_internal/utils/misc.py", line 39, in <module> from pip._internal.locations import get_major_minor_version
File "/usr/lib/python3/dist-packages/pip/_internal/locations/__init__.py", line 14, in <module>
from . import _distutils, _sysconfig
File "/usr/lib/python3/dist-packages/pip/_internal/locations/_distutils.py", line 19, in <module>
from .base import get_major_minor_version
File "/usr/lib/python3/dist-packages/pip/_internal/locations/base.py", line 12, in <module>
USER_CACHE_DIR = appdirs.user_cache_dir("pip")
File "/usr/lib/python3/dist-packages/pip/_internal/utils/appdirs.py", line 17, in user_cache_dir return _appdirs.user_cache_dir(appname, appauthor=False)
File "/usr/lib/python3/dist-packages/pip/_vendor/platformdirs/__init__.py", line 114, in user_cache_dir
return PlatformDirs(appname=appname, appauthor=appauthor, version=version, opinion=opinion).user_cache_dir
File "/usr/lib/python3/dist-packages/pip/_vendor/platformdirs/android.py", line 43, in user_cache_dir
return self._append_app_name_and_version(_android_folder(), "cache")
File "/usr/lib/python3/dist-packages/pip/_vendor/platformdirs/android.py", line 97, in _android_folder raise OSError("Cannot find path to android app folder")
OSError: Cannot find path to android app folder EDIT: I successfully installe certifi from source |
@Vojtak42 after downloading and unpacking container you should exit from debian/ubuntu and proot from native termux into new rootfs by using script
place this script in ~/rootfs folder inside which you have another rootfs folder |
you shouldn't install anything post output
|
|
The
|
wtf you did with rootfs?
|
Before i installed chromium using apt, the only different thing was that there was: |
I will probably tomorrow start from beginning and i will see. |
from root user or just delete and unpack again, do not update/upgrade anything |
I reinstalled everything and now i get
But same error with flaresolverr. |
disable vpn if you have start with |
upd. do not resolve localhost also you can try to change dns (default 1.1.1.1)
PS. I don't know why it's try to resolve localhost and why CF and google dns aren't returning 127.0.0.1 for localhost
|
also add 'dumb-init' in order to kill zombie processes
|
Thank you! It works well with this: |
Name
Flaresolverr
Home page URL
No response
Source code URL
https://github.com/FlareSolverr/FlareSolverr
Packaging policy acknowledgement
Additional information
Officially arm64 is only supported on Docker (also due to chromium dependency) but there is (untested) guide from author for installing it on Arm64: FlareSolverr/FlareSolverr#88.
Thanks in advance
I would really appreciate it.
The text was updated successfully, but these errors were encountered: