Closed UserX404 closed 6 months ago
[2024-03-20 19:08:04] DEBUG pyload ADDON ExtractArchive: Targets for UnRar: [(20426, '/share/CACHEDEV1_DATA/Download/Pyload/Shogun.2024.S01.German.DL.720p.WEB.h264-WvF_WAYNE - serienfans.org/shogun.2024.s01e04.german.dl.720.p.web.h.264-wvf.part1.rar', '/share/CACHEDEV1_DATA/Multimedia/_downloaded/')]
[2024-03-20 19:08:04] DEBUG pyload ADDON ExtractArchive: shogun.2024.s01e04.german.dl.720.p.web.h.264-wvf.part1.rar | File not found
So what is happening is that exists('/share/CACHEDEV1_DATA/Download/Pyload/Shogun.2024.S01.German.DL.720p.WEB.h264-WvF_WAYNE - serienfans.org/shogun.2024.s01e04.german.dl.720.p.web.h.264-wvf.part1.rar')
fails somehow.
So the question is why!?
it seems i messed up my python installation when updating pyload. I'm pretty sure i run into a similar situation in the past but couldn find a hint whats going wrong. At the moment i stuck at my pycurl installation
[/opt] # python -m pip install --force-reinstall https://github.com/pyload/pyload/archive/refs/heads/develop.zip
Collecting https://github.com/pyload/pyload/archive/refs/heads/develop.zip
Using cached https://github.com/pyload/pyload/archive/refs/heads/develop.zip
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting Cheroot~=8.4 (from pyload-ng==0.5.0b3)
Using cached cheroot-8.6.0-py2.py3-none-any.whl.metadata (6.5 kB)
Collecting Flask (from pyload-ng==0.5.0b3)
Using cached flask-3.0.2-py3-none-any.whl.metadata (3.6 kB)
Collecting Flask-Babel~=1.0 (from pyload-ng==0.5.0b3)
Using cached Flask_Babel-1.0.0-py3-none-any.whl.metadata (2.2 kB)
Collecting Flask-Caching~=1.9 (from pyload-ng==0.5.0b3)
Using cached Flask_Caching-1.11.1-py3-none-any.whl.metadata (2.2 kB)
Collecting Flask-Compress~=1.8 (from pyload-ng==0.5.0b3)
Using cached Flask_Compress-1.14-py3-none-any.whl.metadata (7.8 kB)
Collecting Flask-Themes2~=1.0 (from pyload-ng==0.5.0b3)
Using cached Flask-Themes2-1.0.1.tar.gz (12 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Collecting bitmath~=1.3 (from pyload-ng==0.5.0b3)
Using cached bitmath-1.3.3.1.tar.gz (88 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Collecting filetype~=1.0 (from pyload-ng==0.5.0b3)
Using cached filetype-1.2.0-py2.py3-none-any.whl.metadata (6.5 kB)
Collecting Js2Py~=0.7 (from pyload-ng==0.5.0b3)
Using cached Js2Py-0.74-py3-none-any.whl.metadata (868 bytes)
Collecting pycurl~=7.43 (from pyload-ng==0.5.0b3)
Using cached pycurl-7.45.3.tar.gz (236 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
à Getting requirements to build wheel did not run successfully.
â exit code: 1
â°â> [31 lines of output]
Traceback (most recent call last):
File "<string>", line 229, in configure_unix
File "/opt/lib/python3.11/subprocess.py", line 1026, in __init__
File "/opt/lib/python3.11/subprocess.py", line 1950, in _execute_child
FileNotFoundError: [Errno 2] No such file or directory: 'curl-config'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
main()
File "/opt/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
^^^^^^^^^^^^^^^^^^^^^
File "/share/CACHEDEV1_DATA/.qpkg/Entware/tmp/pip-build-env-ifjrw_42/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 325, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=['wheel'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/share/CACHEDEV1_DATA/.qpkg/Entware/tmp/pip-build-env-ifjrw_42/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 295, in _get_build_requires
self.run_setup()
File "/share/CACHEDEV1_DATA/.qpkg/Entware/tmp/pip-build-env-ifjrw_42/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 487, in run_setup
super().run_setup(setup_script=setup_script)
File "/share/CACHEDEV1_DATA/.qpkg/Entware/tmp/pip-build-env-ifjrw_42/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 311, in run_setup
exec(code, locals())
File "<string>", line 997, in <module>
File "<string>", line 658, in get_extension
File "<string>", line 93, in __init__
File "<string>", line 234, in configure_unix
ConfigurationError: Could not run curl-config: [Errno 2] No such file or directory: 'curl-config'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
à Getting requirements to build wheel did not run successfully.
â exit code: 1
â°â> See above for output.
but installed pycurl from external Entware without no problem
[/opt] # opkg install --force-reinstall python3-curl
Removing package python3-curl from root...
Installing python3-curl (7.45.2-3) to root...
Downloading http://bin.entware.net/x64-k3.2/python3-curl_7.45.2-3_x64-3.2.ipk
Configuring python3-curl.
[/opt] # pip list | grep pycurl
pycurl 7.45.2
Starting Pyload [/opt] # bin/pyload --userdir /opt/var/pyload --storagedir /share/Download/Pyload --tempdir /opt/tmp/pyload leads to this fault when it comes to load ExtractArchive
[2024-03-25 20:53:08] DEBUG pyload ADDON ExtractArchive: Found HjSplit 0.02 | Found UnRar 6.24 | Found SevenZip 16.02 | Found UnZip 3.11.7 | Found UnTar 3.11.7
[2024-03-25 20:53:08] DEBUG pyload ADDON ExtractArchive: Use for extensions: .7z|.bz2|.bzip2|.gz|.gzip|.lha|.lzh|.lzma|.rar|.tar|.taz|.tbz|.tbz2|.tgz|.xar|.xz|.z|.zip
[2024-03-25 20:53:08] WARNING pyload ADDON TORRENT: torrents / magnets are not associated with any plugin
[2024-03-25 20:53:08] INFO pyload ADDON ExtractArchive: Check package: Classroom.of.the.Elite.S03.GERMAN.DL.ANiME.720p.WEB.H264-ONiGiRi - filecrypt.cc
[2024-03-25 20:53:08] DEBUG pyload ADDON ExtractArchive: Targets for UnRar: [(20442, '/share/CACHEDEV1_DATA/Download/Pyload/Classroom.of.the.Elite.S03.GERMAN.DL.ANiME.720p.WEB.H264-ONiGiRi - filecrypt.cc/ClaotEli.web.7p.S03E08.rar', '/share/CACHEDEV1_DATA/Multimedia/_downloaded/')]
[2024-03-25 20:53:08] DEBUG pyload ADDON ExtractArchive: /share/CACHEDEV1_DATA/Download/Pyload/Classroom.of.the.Elite.S03.GERMAN.DL.ANiME.720p.WEB.H264-ONiGiRi - filecrypt.cc/ClaotEli.web.7p.S03E08.rar | File not found
[2024-03-25 20:53:08] DEBUG pyload ADDON ExtractArchive: ClaotEli.web.7p.S03E08.rar | File not found
[2024-03-25 20:53:08] DEBUG pyload ADDON ExtractArchive: Targets for SevenZip: [(20442, '/share/CACHEDEV1_DATA/Download/Pyload/Classroom.of.the.Elite.S03.GERMAN.DL.ANiME.720p.WEB.H264-ONiGiRi - filecrypt.cc/ClaotEli.web.7p.S03E08.rar', '/share/CACHEDEV1_DATA/Multimedia/_downloaded/')]
[2024-03-25 20:53:08] DEBUG pyload ADDON ExtractArchive: /share/CACHEDEV1_DATA/Download/Pyload/Classroom.of.the.Elite.S03.GERMAN.DL.ANiME.720p.WEB.H264-ONiGiRi - filecrypt.cc/ClaotEli.web.7p.S03E08.rar | File not found
[2024-03-25 20:53:08] DEBUG pyload ADDON ExtractArchive: ClaotEli.web.7p.S03E08.rar | File not found
Exception in thread Thread-9:
Traceback (most recent call last):
File "/opt/lib/python3.11/threading.py", line 1045, in _bootstrap_inner
File "/opt/lib/python3.11/site-packages/pyload/core/threads/addon_thread.py", line 51, in run
self.f(*self.args, **self.kwargs)
File "/opt/lib/python3.11/site-packages/pyload/plugins/addons/ExtractArchive.py", line 158, in extract_queued
if self.extract(packages, thread):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/lib/python3.11/site-packages/pyload/plugins/base/addon.py", line 31, in wrapper
return func(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/lib/python3.11/site-packages/pyload/plugins/addons/ExtractArchive.py", line 387, in extract
if len(os.listdir(pack_dl_folder)) == 0:
^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/share/CACHEDEV1_DATA/Download/Pyload/Classroom.of.the.Elite.S03.GERMAN.DL.ANiME.720p.WEB.H264-ONiGiRi - filecrypt.cc/'
Edit: Due to ExtractArchive wasn't working i extracted manually and deleted the download files. Seems pyload wants to start extracting those already deleted files. After deleting the related packages ExtractArcive start extracting the other undone packages (after pyload restart) Have to download a new package and re-check if ExtractArchive gets it's trigger again.
FileNotFoundError: [Errno 2] No such file or directory: 'curl-config'
libcurl-dev
Not completly solved but closing due to ExtractArchive is working again. Thinking about a broken package or pyfile anywhere within my queue list.
This ticket has been automatically locked since there has not been any recent activity after it was closed.
Description
After updating pyload-ng (dev) extractarchive doesn't get triggered after package complete.
when e.g. look at package 'Constellation.S01.German.DL.720p.WEB' it's completed. Extractarchive seems to find some of those completed package after restart but don't start to extract/overwrite them. Some of them i had allready extracted manually. The given 'Constellation' package is also not recognized as finished.
Tried to collect all relevant details, but feel free to ask if something is missing.
Debug log
Additional references
Manually updated with python -m pip install --upgrade
Version pyload-ng 0.5.0b3
I think it was commit: a3f9a03
Settings extractarchive:
Screenshots
IMHO not neccessary