Skip to content
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

[BUG] missing dependencies for proxy plugin #25

Open
1 task done
Noki opened this issue Feb 6, 2025 · 9 comments
Open
1 task done

[BUG] missing dependencies for proxy plugin #25

Noki opened this issue Feb 6, 2025 · 9 comments

Comments

@Noki
Copy link

Noki commented Feb 6, 2025

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

In the current build the dependencies for socks5 are missing and therefore the proxy plugin (https://flexget.com/en/Plugins/proxy) does not work with socks5.

Image

Expected Behavior

The required dependencies should be added so socks5 support is available for the proxy plugin.

pip install pysocks requests[socks] urllib3[socks] should do the job.

Steps To Reproduce

Setup a flexget task using a socks5 proxy

proxy: 'socks5h://proxy:9150'

Environment

- OS: Synology DSM

CPU architecture

x86-64

Docker creation

As part of a docker-compose file


  flexget:
    image: lscr.io/linuxserver/flexget:latest
    container_name: flexget
    environment:
      - PUID=1031
      - PGID=100
      - TZ=Europe/Berlin
      - FG_LOG_LEVEL=info
      - FG_LOG_FILE=/config/flexget.log
      - FG_CONFIG_FILE=/config/.flexget/config.yml
      - FG_WEBUI_PASSWORD=XXX
    entrypoint: /config/entrypoint.sh
    volumes:
      - /volume1/docker/bittorrent/flexget/config:/config
      - /volume1/docker/bittorrent/flexget/data:/data
      - /volume1/video:/data/video
      - /volume1/docker/bittorrent/flexget/downloads:/downloads
    ports:
      - "5050:5050"
    restart: unless-stopped
    networks:
      - torrent

Container logs

-
Copy link

github-actions bot commented Feb 6, 2025

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

@Noki
Copy link
Author

Noki commented Feb 6, 2025

Note: I used a custom entrypoint to add the missing dependencies previously, but it would be really good to just have them by default.

@LinuxServer-CI
Copy link
Contributor

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

@Noki
Copy link
Author

Noki commented Mar 9, 2025

This issue still persists...

@Stiefmeister
Copy link

Stiefmeister commented Mar 14, 2025

Can confirm that this issue is still present, even when using ENV variables:

  • DOCKER_MODS=linuxserver/mods:universal-package-install
  • INSTALL_PIP_PACKAGES=py3-rarfile|py3-pysocks|ftputil

So all plugins requiring additional python packages are affected and do not work anymore:
https://flexget.com/en/Plugins/proxy
https://flexget.com/Plugins/ftp_list
https://flexget.com/Plugins/decompress

Flexget will complain that packages/dependencies are missing.

@vivodi
Copy link

vivodi commented Mar 17, 2025

You might consider using the official Docker image maintained by the FlexGet team. If you encounter any issues, you can report them directly to the FlexGet repository: FlexGet Issues.

Using the official image ensures you receive bug fixes more quickly.

@Stiefmeister
Copy link

You might consider using the official Docker image maintained by the FlexGet team. If you encounter any issues, you can report them directly to the FlexGet repository: FlexGet Issues.

Using the official image ensures you receive bug fixes more quickly.

Sadly same issue with official image -> ftp_list is not working - stating missing dependency 'ftputil' - even though ftputil is installed

@vivodi
Copy link

vivodi commented Mar 25, 2025

You might consider using the official Docker image maintained by the FlexGet team. If you encounter any issues, you can report them directly to the FlexGet repository: FlexGet Issues.
Using the official image ensures you receive bug fixes more quickly.

Sadly same issue with official image -> ftp_list is not working - stating missing dependency 'ftputil' - even though ftputil is installed

I’ve submitted a PR that might resolve your issue if it gets merged.

@Stiefmeister
Copy link

When switching back to versions 3.11 / 3.12 dependencies are not an issue, so it is relatedonly to newer Python / Flexget versions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Issues
Development

No branches or pull requests

4 participants