linuxserver / docker-pyload-ng

GNU General Public License v3.0
79 stars 10 forks source link

[BUG] Download from FTP doesn't work #24

Closed stefore closed 1 year ago

stefore commented 1 year ago

Is there an existing issue for this?

Current Behavior

Since the last update, download file from an FTP location doesn't work

Expected Behavior

It should download the file.

Steps To Reproduce

Start to download a file frome an ftp location : ftp:// ......../myfile.mkv

Environment

- OS: Debian 10

CPU architecture

x86-64

Docker creation

pyload:
    image: lscr.io/linuxserver/pyload-ng:latest
    container_name: pyload
    env_file: ./0env_files/pyload.env
    volumes:
      - ./pyload/config:/config
      - /mnt/downloads:/downloads
    restart: unless-stopped

Container logs

8706    2023-01-30 09:29:16 DEBUG   pyload  ADDON ExternalScripts: No script found under folder `download_processed`
8707    2023-01-30 09:29:16 DEBUG   pyload  ADDON ExternalScripts: No script found under folder `package_processed`
8708    2023-01-30 09:29:16 WARNING pyload  Download failed: myfile.mkv | Replacement index 1 out of range for positional args tuple
8709    ?   ?   ?   Traceback (most recent call last):
8710    ?   ?   ?     File "/usr/lib/python3.10/site-packages/pyload/plugins/downloaders/Ftp.py", line 58, in process
8711    ?   ?   ?       headers = self.load(pyfile.url, just_header=True)
8712    ?   ?   ?     File "/usr/lib/python3.10/site-packages/pyload/plugins/base/hoster.py", line 508, in load
8713    ?   ?   ?       return super().load(*args, **kwargs)
8714    ?   ?   ?     File "/usr/lib/python3.10/site-packages/pyload/plugins/base/plugin.py", line 218, in load
8715    ?   ?   ?       html = req.load(
8716    ?   ?   ?     File "/usr/lib/python3.10/site-packages/pyload/core/network/browser.py", line 127, in load
8717    ?   ?   ?       return self.http.load(*args, **kwargs)
8718    ?   ?   ?     File "/usr/lib/python3.10/site-packages/pyload/core/network/http/http_request.py", line 308, in load
8719    ?   ?   ?       self.c.perform()
8720    ?   ?   ?   pycurl.error: (60, 'SSL certificate problem: unable to get local issuer certificate')
8721    ?   ?   ?   
8722    ?   ?   ?   During handling of the above exception, another exception occurred:
8723    ?   ?   ?   
8724    ?   ?   ?   Traceback (most recent call last):
8725    ?   ?   ?     File "/usr/lib/python3.10/site-packages/pyload/core/threads/download_thread.py", line 56, in run
8726    ?   ?   ?       pyfile.plugin.preprocessing(self)
8727    ?   ?   ?     File "/usr/lib/python3.10/site-packages/pyload/plugins/base/hoster.py", line 291, in preprocessing
8728    ?   ?   ?       return self._process(*args, **kwargs)
8729    ?   ?   ?     File "/usr/lib/python3.10/site-packages/pyload/plugins/base/downloader.py", line 103, in _process
8730    ?   ?   ?       self.process(self.pyfile)
8731    ?   ?   ?     File "/usr/lib/python3.10/site-packages/pyload/plugins/downloaders/Ftp.py", line 64, in process
8732    ?   ?   ?       self.fail(self._("Error {}: {}").format(exc.args))
8733    ?   ?   ?   IndexError: Replacement index 1 out of range for positional args tuple
8734    2023-01-30 09:29:16 INFO    pyload  Debug Report written to /tmp/pyLoad/debug_Ftp_2023-01-30_09-29-16.zip
8735    2023-01-30 09:29:16 INFO    pyload  ADDON UnSkipOnFail: Looking for skipped duplicates of: myfile.mkv (pid:8)
8736    2023-01-30 09:29:16 INFO    pyload  ADDON UnSkipOnFail: No duplicates found
8737    2023-01-30 09:29:16 DEBUG   pyload  ADDON ExternalScripts: No script found under folder `download_failed`
8738    2023-01-30 09:29:16 DEBUG   pyload  ADDON ExternalScripts: No script found under folder `all_downloads_processed`
8739    2023-01-30 09:29:16 DEBUG   pyload  All downloads processed
github-actions[bot] commented 1 year ago

Thanks for opening your first issue here! Be sure to follow the bug or feature issue templates!

github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] commented 1 year ago

This issue is locked due to inactivity