WebUI: When the python3 executable isn't found WebUI silently doesn't do anything when the user tried to add search plugins #15033

Open
opened 2026-02-22 01:41:40 -05:00 by deekerman · 7 comments
Owner

Originally created by @yurivict on GitHub (Oct 17, 2023).

qBittorrent & operating system versions

qBittorrent-4.5.5

What is the problem?

No error or warning in WebUI when there is no python3 executable, and the user tried to add search plugins.
GUI does produce warnings in this situation.

Steps to reproduce

No response

Additional context

No response

Log(s) & preferences file(s)

No response

Originally created by @yurivict on GitHub (Oct 17, 2023). ### qBittorrent & operating system versions qBittorrent-4.5.5 ### What is the problem? No error or warning in WebUI when there is no python3 executable, and the user tried to add search plugins. GUI does produce warnings in this situation. ### Steps to reproduce _No response_ ### Additional context _No response_ ### Log(s) & preferences file(s) _No response_
Author
Owner

@realdevnullius commented on GitHub (Oct 17, 2023):

I'm the user stuck with this problem. More details and steps taken can be found here: https://forum.qbittorrent.org/viewtopic.php?t=11055&start=30

@realdevnullius commented on GitHub (Oct 17, 2023): I'm the user stuck with this problem. More details and steps taken can be found here: https://forum.qbittorrent.org/viewtopic.php?t=11055&start=30
Author
Owner

@luzpaz commented on GitHub (Mar 25, 2024):

@realdevnullius any progress on this ? (it looks like a workaround was found?)

@luzpaz commented on GitHub (Mar 25, 2024): @realdevnullius any progress on this ? (it looks like a workaround was found?)
Author
Owner

@luzpaz commented on GitHub (Aug 29, 2024):

@glassez any chance you have a moment to fix this for our FreeBSD friends ?

@luzpaz commented on GitHub (Aug 29, 2024): @glassez any chance you have a moment to fix this for our FreeBSD friends ?
Author
Owner

@glassez commented on GitHub (Aug 29, 2024):

@glassez any chance you have a moment to fix this for our FreeBSD friends ?

It is WebUI issue, isn't it? I have no enough skills to deal with it.

@glassez commented on GitHub (Aug 29, 2024): > @glassez any chance you have a moment to fix this for our FreeBSD friends ? It is WebUI issue, isn't it? I have no enough skills to deal with it.
Author
Owner

@luzpaz commented on GitHub (Aug 29, 2024):

@skomerko given your recent webui contributions, perhaps you could look into this? TIA

@luzpaz commented on GitHub (Aug 29, 2024): @skomerko given your recent webui contributions, perhaps you could look into this? TIA
Author
Owner

@yurivict commented on GitHub (Aug 29, 2024):

When cmake configures the project, it knows the real path to the current python executable. (python3 is just a symlink.)

cmake should configure the project to use the real python path instead of python3.

@yurivict commented on GitHub (Aug 29, 2024): When cmake configures the project, it knows the real path to the current python executable. (python3 is just a symlink.) cmake should configure the project to use the real python path instead of python3.
Author
Owner

@inphobia commented on GitHub (Sep 1, 2024):

just a comment, on windows v5.1.0alpha1 (64-bit) libtorrent2 with python 3.1.2 installed under local user the python executable is just python.exe.

windows 11 however seems to have python.exe & python3.exe as part of "app installer". you can check this under settings -> apps -> advanced app settings -> app execution aliases.

i "fixed" python in qbittorrent by adding the local version in the %PATH% env setting and placing it pretty high, but now i see that app installer also has a python.exe this can lead to issues.

btw, if you execute python or python3 on a windows 11 23h2 it will actually just open the ms store on the python download page.

not sure what's the best solution here.

  • with an install from python.org you'll either need to place it higher in your %path% as app installer
  • or disable the app execution alias
  • or use the full path in your qbittorrent config

using the full path will however require you to change it every time you update python since it also includes the full version number.

@inphobia commented on GitHub (Sep 1, 2024): just a comment, on windows v5.1.0alpha1 (64-bit) libtorrent2 with python 3.1.2 installed under local user the python executable is just `python.exe`. windows 11 however seems to have `python.exe` & `python3.exe` as part of "app installer". you can check this under `settings -> apps -> advanced app settings -> app execution aliases`. i "fixed" python in qbittorrent by adding the local version in the %PATH% env setting and placing it pretty high, but now i see that app installer also has a python.exe this can lead to issues. btw, if you execute python or python3 on a windows 11 23h2 it will actually just open the ms store on the python download page. not sure what's the best solution here. * with an install from python.org you'll either need to place it higher in your %path% as app installer * or disable the app execution alias * or use the full path in your qbittorrent config using the full path will however require you to change it every time you update python since it also includes the full version number.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/qBittorrent#15033
No description provided.