We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Bundling aria2p fails Bundling aria2p code fails.
To Reproduce Steps to reproduce the behavior:
Expected behavior Successfull bundle aria2p to a standalone executable.
Screenshots
bash -c 'pyinstaller -F -n aria2p -p $VIRTUAL_ENV/lib/python*/site-packages src/aria2p/main.py' 279 INFO: PyInstaller: 3.6 279 INFO: Python: 3.9.2 284 INFO: Platform: Linux-5.11.2-arch1-1-x86_64-with-glibc2.33 285 INFO: wrote /home/kamikaze/.python/learn/aria2p/aria2p.spec 289 INFO: UPX is not available. 293 INFO: Extending PYTHONPATH with paths ['/home/kamikaze/.python/learn/aria2p/src', '/home/kamikaze/.cache/pypoetry/virtualenvs/aria2p-qrNkMWhi-py3.9/lib/python3.9/site-packages', '/home/kamikaze/.python/learn/aria2p'] 293 INFO: checking Analysis 293 INFO: Building Analysis because Analysis-00.toc is non existent 293 INFO: Initializing module dependency graph... 298 INFO: Caching module graph hooks... 333 INFO: Analyzing base_library.zip ... 4662 INFO: Processing pre-find module path hook distutils 4699 INFO: distutils: retargeting to non-venv dir '/usr/lib/python3.9' 9577 INFO: Caching module dependency graph... 9770 INFO: running Analysis Analysis-00.toc 9906 INFO: Analyzing /home/kamikaze/.python/learn/aria2p/src/aria2p/main.py 11767 INFO: Processing pre-safe import module hook urllib3.packages.six.moves 15316 INFO: Processing pre-safe import module hook six.moves 16031 INFO: Processing pre-safe import module hook win32com 20632 INFO: Processing module hooks... 20633 INFO: Loading module hook "hook-xml.py"... 20879 INFO: Loading module hook "hook-sysconfig.py"... 20951 INFO: Loading module hook "hook-certifi.py"... 20976 INFO: Loading module hook "hook-encodings.py"... 21078 INFO: Loading module hook "hook-pkg_resources.py"... 22770 INFO: Excluding import 'main' 22771 INFO: Removing import of main from module pkg_resources 22771 INFO: Loading module hook "hook-pydoc.py"... 22800 INFO: Loading module hook "hook-lib2to3.py"... 22831 INFO: Loading module hook "hook-distutils.py"... 22856 INFO: Loading module hook "hook-appdirs.py"... 22858 INFO: Excluding import 'win32com' 22860 INFO: Removing import of win32com from module appdirs 22904 INFO: Looking for ctypes DLLs Traceback (most recent call last): File "/home/kamikaze/.cache/pypoetry/virtualenvs/aria2p-qrNkMWhi-py3.9/bin/pyinstaller", line 8, in sys.exit(run()) File "/home/kamikaze/.cache/pypoetry/virtualenvs/aria2p-qrNkMWhi-py3.9/lib/python3.9/site-packages/PyInstaller/main.py", line 114, in run run_build(pyi_config, spec_file, **vars(args)) File "/home/kamikaze/.cache/pypoetry/virtualenvs/aria2p-qrNkMWhi-py3.9/lib/python3.9/site-packages/PyInstaller/main.py", line 65, in run_build PyInstaller.building.build_main.main(pyi_config, spec_file, **kwargs) File "/home/kamikaze/.cache/pypoetry/virtualenvs/aria2p-qrNkMWhi-py3.9/lib/python3.9/site-packages/PyInstaller/building/build_main.py", line 734, in main build(specfile, kw.get('distpath'), kw.get('workpath'), kw.get('clean_build')) File "/home/kamikaze/.cache/pypoetry/virtualenvs/aria2p-qrNkMWhi-py3.9/lib/python3.9/site-packages/PyInstaller/building/build_main.py", line 681, in build exec(code, spec_namespace) File "/home/kamikaze/.python/learn/aria2p/aria2p.spec", line 6, in a = Analysis(['src/aria2p/main.py'], File "/home/kamikaze/.cache/pypoetry/virtualenvs/aria2p-qrNkMWhi-py3.9/lib/python3.9/site-packages/PyInstaller/building/build_main.py", line 244, in init self.postinit() File "/home/kamikaze/.cache/pypoetry/virtualenvs/aria2p-qrNkMWhi-py3.9/lib/python3.9/site-packages/PyInstaller/building/datastruct.py", line 160, in postinit self.assemble() File "/home/kamikaze/.cache/pypoetry/virtualenvs/aria2p-qrNkMWhi-py3.9/lib/python3.9/site-packages/PyInstaller/building/build_main.py", line 440, in assemble ctypes_binaries = scan_code_for_ctypes(co) File "/home/kamikaze/.cache/pypoetry/virtualenvs/aria2p-qrNkMWhi-py3.9/lib/python3.9/site-packages/PyInstaller/depend/utils.py", line 143, in scan_code_for_ctypes binaries = _resolveCtypesImports(binaries) File "/home/kamikaze/.cache/pypoetry/virtualenvs/aria2p-qrNkMWhi-py3.9/lib/python3.9/site-packages/PyInstaller/depend/utils.py", line 317, in _resolveCtypesImports load_ldconfig_cache() File "/home/kamikaze/.cache/pypoetry/virtualenvs/aria2p-qrNkMWhi-py3.9/lib/python3.9/site-packages/PyInstaller/depend/utils.py", line 400, in load_ldconfig_cache path = m.groups()[-1] AttributeError: 'NoneType' object has no attribute 'groups'
System (please complete the following information):
aria2p
The text was updated successfully, but these errors were encountered:
It seems to be an issue with pyinstaller rather than aria2p. I'll try to bundle it on my end and see if I get the same error.
Sorry, something went wrong.
Yup, seems to be this: pyinstaller/pyinstaller#5540 Waiting for a pyinstaller release.
make docs-serve is working fine on my end. If you see errors, please open a new issue 🙂
make docs-serve
No branches or pull requests
Bundling aria2p fails
Bundling aria2p code fails.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Successfull bundle aria2p to a standalone executable.
Screenshots
System (please complete the following information):
aria2p
version: [ 0.10.4]The text was updated successfully, but these errors were encountered: