[go: nahoru, domu]

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

restart of pyload fails when pyload is a bash script #4466

Open
milahu opened this issue May 25, 2024 · 1 comment
Open

restart of pyload fails when pyload is a bash script #4466

milahu opened this issue May 25, 2024 · 1 comment
Assignees
Labels
bug Something isn't working pyLoad Next

Comments

@milahu
Copy link
milahu commented May 25, 2024

pyload should use os.exec pyload for restart, not python pyload

[2024-05-25 08:54:30]  INFO                pyload  pyLoad is restarting...
[2024-05-25 08:54:31]  INFO                pyload  Download aborted: Yf32ufm42N76kj89h56dqj9ixSJizy7320TOTlm2n_S06E07.rar
[2024-05-25 08:54:32]  INFO                pyload  Exiting core...
  File "/nix/store/z9qnzzn6rkplja6lk4viil6gy0603qs7-pyload-0.5.0b3.dev82/bin/pyload", line 2
    PATH=${PATH:+':'$PATH':'}
         ^
SyntaxError: invalid syntax
~ $ head -n3 /nix/store/z9qnzzn6rkplja6lk4viil6gy0603qs7-pyload-0.5.0b3.dev82/bin/pyload
#! /nix/store/h3bhzvz9ipglcybbcvkxvm4vg9lwvqg4-bash-5.2p26/bin/bash -e
PATH=${PATH:+':'$PATH':'}
PATH=${PATH/':''/nix/store/2nszsr6kyzs9pj3icanifbmpwmfcdwkm-python3.11-bitmath-1.3.3.1/bin'':'/':'}
@milahu milahu added bug Something isn't working pyLoad Next labels May 25, 2024
@GammaC0de
Copy link
Member

First of all, please enable debug mode so the logs are more verbose.
Secondly, what do you mean by "pyload should use os.exec pyload for restart, not python pyload"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working pyLoad Next
Development

No branches or pull requests

3 participants