Bazarr Installation Script Python error - PVE9.0.3 #1665

Closed
opened 2025-11-20 05:14:27 -05:00 by saavagebueno · 4 comments
Owner

Originally created by @Xerovoxx98 on GitHub (Aug 8, 2025).

Have you read and understood the above guidelines?

yes

📜 What is the name of the script you are using?

Bazarr

📂 What was the exact command used to execute the script?

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/bazarr.sh)"

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 12

📝 Provide a clear and concise description of the issue.

Below errors occur when running the Bazarr installation script on PVE 9.0.3 (I have not tested on PVE8)

🔄 Steps to reproduce the issue.

Run installation script with advanced or default settings.

Paste the full error output (if available).

When using Advanced settings:

  ✔️    Setup Python3
  ✔️    Setup uv 0.8.8
Installed Python 3.13.6 in 2.48s
 + cpython-3.13.6-linux-x86_64-gnu (python3.13)
warning: `/root/.local/bin` is not on your PATH. To use installed Python executables, run `export PATH="/root/.local/bin:$PATH"` or `uv pytho
n update-shell`.
  ✔️    Setup Python 3.13.6 via uv
  ✔️    Deployed: bazarr (1.5.2)
  ⏳   Installing Bazarrerror: Expected `--hash`, found `"--only-binary=Pillow"` at /opt/bazarr/requirements.txt:5:15

[ERROR] in line 28: exit code 0: while executing command $STD uv pip install -r /opt/bazarr/requirements.txt --system

[ERROR] in line 1353: exit code 0: while executing command lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/c
ommunity-scripts/ProxmoxVE/main/install/${var_install}.sh)"

When using Default settings:

  ✔️   Deployed: bazarr (1.5.2)
⠙ Installing Bazarr
[ERROR] in line 159: exit code 0: while executing command "$@" > /dev/null 2>&1
⠧ Installing Bazarr
[ERROR] in line 1353: exit code 0: while executing command lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/${var_install}.sh)"

🖼️ Additional context (optional).

No response

Originally created by @Xerovoxx98 on GitHub (Aug 8, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? Bazarr ### 📂 What was the exact command used to execute the script? bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/bazarr.sh)" ### ⚙️ What settings are you using? - [x] Default Settings - [x] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 12 ### 📝 Provide a clear and concise description of the issue. Below errors occur when running the Bazarr installation script on PVE 9.0.3 (I have not tested on PVE8) ### 🔄 Steps to reproduce the issue. Run installation script with advanced or default settings. ### ❌ Paste the full error output (if available). When using Advanced settings: ``` ✔️ Setup Python3 ✔️ Setup uv 0.8.8 Installed Python 3.13.6 in 2.48s + cpython-3.13.6-linux-x86_64-gnu (python3.13) warning: `/root/.local/bin` is not on your PATH. To use installed Python executables, run `export PATH="/root/.local/bin:$PATH"` or `uv pytho n update-shell`. ✔️ Setup Python 3.13.6 via uv ✔️ Deployed: bazarr (1.5.2) ⏳ Installing Bazarrerror: Expected `--hash`, found `"--only-binary=Pillow"` at /opt/bazarr/requirements.txt:5:15 [ERROR] in line 28: exit code 0: while executing command $STD uv pip install -r /opt/bazarr/requirements.txt --system [ERROR] in line 1353: exit code 0: while executing command lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/c ommunity-scripts/ProxmoxVE/main/install/${var_install}.sh)" ``` When using Default settings: ``` ✔️ Deployed: bazarr (1.5.2) ⠙ Installing Bazarr [ERROR] in line 159: exit code 0: while executing command "$@" > /dev/null 2>&1 ⠧ Installing Bazarr [ERROR] in line 1353: exit code 0: while executing command lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/${var_install}.sh)" ``` ### 🖼️ Additional context (optional). _No response_
saavagebueno added the bug label 2025-11-20 05:14:27 -05:00
Author
Owner

@Xerovoxx98 commented on GitHub (Aug 8, 2025):

Looks related to #6663
UV can't parse --only-binary=Pillow in the requirements.txt file

Going to see if I can remember how to set up my dev branch for this so I can try some stuff that doesn't involve removing UV

@Xerovoxx98 commented on GitHub (Aug 8, 2025): Looks related to #6663 UV can't parse --only-binary=Pillow in the requirements.txt file Going to see if I can remember how to set up my dev branch for this so I can try some stuff that doesn't involve removing UV
Author
Owner

@Xerovoxx98 commented on GitHub (Aug 9, 2025):

I ended up getting it working just using this:

sed -i.bak 's/--only-binary=Pillow//g' /opt/bazarr/requirements.txt
$STD uv pip install -r /opt/bazarr/requirements.txt --system

I do not know if this is a solution that is acceptable for the REPO (text manipulation is usually dodgy) - but I will create a PR anyway

@Xerovoxx98 commented on GitHub (Aug 9, 2025): I ended up getting it working just using this: ``` sed -i.bak 's/--only-binary=Pillow//g' /opt/bazarr/requirements.txt $STD uv pip install -r /opt/bazarr/requirements.txt --system ``` I do not know if this is a solution that is acceptable for the REPO (text manipulation is usually dodgy) - but I will create a PR anyway
Author
Owner

@MickLesk commented on GitHub (Aug 9, 2025):

Oops i forgot this while merging

@MickLesk commented on GitHub (Aug 9, 2025): Oops i forgot this while merging
Author
Owner

@michelroegl-brunner commented on GitHub (Aug 9, 2025):

Fix merged.

@michelroegl-brunner commented on GitHub (Aug 9, 2025): Fix merged.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/ProxmoxVE#1665