qbittorrent / qBittorrent

qBittorrent BitTorrent client
https://www.qbittorrent.org
Other
27.8k stars 3.93k forks source link

Plugins not supported error after installing v5.0 #21445

Closed daVe55w closed 3 weeks ago

daVe55w commented 3 weeks ago

qBittorrent & operating system versions

qBittorent: 5.0.0 x64 Operating system: Windows 11 Pro x64 (23H2) 22631.4249

What is the problem?

Just installed v5.0.0 x64 on Win 11 64 bit v23H2 (OS build 22631.4249). None of the 20+ plugins appear in the Search tab. Window states "There aren't any search plugins installed." See screenshot below.

When the Search Plugins button is clicked in the bottom right, the plugins window that appears is blank. If I click Check for Updates, a bunch of windows appear, each stating, "Couldn't update PLUGIN NAME search engine plugin. Plugin is not supported."

Steps to reproduce

  1. Click Search tab
  2. Screen is blank with message, "There aren't any search plugins installed."

Additional context

Screenshot_1

Log(s) & preferences file(s)

Log contains sensitive info.

daVe55w commented 3 weeks ago

Forgot to mention that I uninstalled Python and installed the latest x64 version 3.12.6. The plugins issue remained.

tRidiot commented 3 weeks ago

Same problem here. Updated to 5.0.0.

All search plugins have disappeared and when trying to update I get popups for each one saying it is not supported. Installed jackett manually on my computer, tried to update via weblink for jackett - "not supported". Downloaded .py files, tried to update from local source - "not supported". Removed and reinstalled Python 3.8.5, removed and reinstalled Qbittorrent, no changes. Found something on Reddit about deleting the "nova3" folder - no change. All this with multiple reboots when removing/installing Python and Qbit, no change - always still just "not supported" plugins. On Win10Pro x64 version 22H2. Everything was working fine as recently as a few days ago - until today's update.

Should I upgrade Python to 3.12 or 3.14? I notice that didn't help daVe55w above...

tRidiot commented 3 weeks ago

Ok - Deleted Python Deleted Qbittorent Rebooted Installed Python - 3.12.6 Rebooted Installed Qbittorrent 5.0.0 Rebooted

Plugins working.

So.... 5.0.0 doesn't work with old 3.8.5? I guess?

Anyways. Happy now.

returntrip2024 commented 3 weeks ago

I was having same issue. I just started to download a torrent, waited a few minutes and clicked search plugins and they showed up. NB: FYI PAUSE is now replaced with STOP

CyrandeB commented 3 weeks ago

windows 10 with all updated installed. after update to qb 5.0 no matter what i do i cant seam to get the search plugins to work again. deinstalled python and qb restarted reinstalled python (newest version) restarted reinstalled qb = still not working any hope there will be some help from the developer of qb? would be grateful since i use it very ofthen (also with "Jackett")

CyrandeB commented 3 weeks ago

--- reinstalling the older version did NOT bring fix it.

DonManoloCelete commented 3 weeks ago

I'm having the same issue...

DonManoloCelete commented 3 weeks ago

Uninstall Python Uninstall Qbittorrent Reboot Install Python 3.12.6 Install Qbittorrent v5.0 Qbittorrent>Search>Search plugins>Check for updates

Did the trick for me! Up and running again!

CyrandeB commented 3 weeks ago

Uninstall Python Uninstall Qbittorrent Reboot Install Python 3.12.6 Install Qbittorrent v5.0 Qbittorrent>Search>Search plugins>Check for updates

...did not fix it for me.

xavier2k6 commented 3 weeks ago

Logs??

There isn't anything wrong with the official plugins, so there's probably 1 or more unofficial plugins that may now me incompatible/require updating by their authors.

CyrandeB commented 3 weeks ago

how do i get logs?

xavier2k6 commented 3 weeks ago

how do i get logs?

https://github.com/qbittorrent/qBittorrent/wiki/Frequently-Asked-Questions#Where_does_qBittorrent_save_its_settings

Wynand-S commented 3 weeks ago

The same problem was encountered. Uninstall / Reinstall / Reboot didn't solve the issue Waiting for a solution

imonlygitting commented 3 weeks ago

this procedure helped:

https://www.reddit.com/r/qBittorrent/comments/174jjop/guide_how_i_fixed_my_plugins_not_supported_no/

hope you find it useful too

xavier2k6 commented 3 weeks ago

Problematic plugins that may be causing these issues that I've come across: one337x.py & tokyotoshokan.py

daVe55w commented 3 weeks ago

Here's what fixed it for me with qBit v5.0.0

  1. Close qBittorrent.
  2. Check and replace your python version if not the most recent version, found at www.python.org/downloads/windows/ qBittorrent seems to sometimes have problems with older versions of Python. First, delete the older Python version.
  3. Delete the "nova3" folder in C:\Users\\AppData\Local\qBittorrent
  4. Open qBittorent. Click the Search tab. Click the Search Plugins button in the bottom right corner and the Search Plugins window will open. Click Check for Updates. Previously, there were 25+ search plugins in my qBit. Only 5, including Jackett, appeared.
  5. Go to the qBittorent Search Plugins site, https://github.com/qbittorrent/search-plugins/wiki/Unofficial-search-plugins
  6. Right-click the download icon and select Copy Link for each plugin you wish to install. In the qBit Search Plugins window, click Install a new one button on the bottom left, then click Web link in the new window and paste (CTRL-V) the copied link there. Repeat for each desired plugin.
  7. When finished installing plugins, click the qBit Search Plugins Check for Updates button. Finally, click Close.

The following search plugins are not supported and may have caused this issue: Nyaa.Pantsu Sukebei Nyaa Sukebei.Pantsu Tokyo Toshokan

CyrandeB commented 3 weeks ago

@daVe55w thanks. deleteing nova3 solved it for me.

glassez commented 3 weeks ago

@daVe55w thanks. deleteing nova3 solved it for me.

Could anyone affected by this problem try not to delete the entire nova3 folder, but only __pycache__ and __init__.py from it and from all its subfolders recursively?

PurpleXing commented 3 weeks ago

I had to install newest Python3.12.7. Then delete old python version folder from C:/Users/your user name/AppData/Local/Programs/Python/. Version: 3.8.10 in my case . Then every thing worked as it should.

gggirlgeek commented 3 weeks ago

I had to install newest Python3.12.7. Then delete old python version folder from C:/Users/your user name/AppData/Local/Programs/Python/. Version: 3.8.10 in my case . Then every thing worked as it should.

I didn't have to install newest version, just the version that qBittorrent offers (3.10). BUT to even get the offer, I had to uninstall v3.8 and reboot. I then, deleted the Nova3 folder while qBittorrent was NOT running.

Installing, and updating, the engines was successful, BUT most of them produced no results. So, in addition, I had to allow python.exe, in its new install path, through Windows Firewall (BOTH INCOMING AND OUTGOING -- 2 RULES.)

ALSO, the 3.10 installer qbittorrent downloaded did not put python.exe in the Windows Environment PATH variables. Copy the main python.exe path name, open the Windows Environment Variables editor, and paste the text at the end of ALL USERS (SYSTEM) >> PATH. (The regular installer for Python does this, but qbittorrent programmers used the "Quiet" switch, so it doesn't set this properly.)

It was a pain troubleshooting each of these problems, as well as setting up my preferred engine-combination again, but the new, dark interface is well worth it. So I'm happy now.

Mike-Litoreece commented 3 weeks ago

What an utter mess. What are we supposed to do now?

I too updated to 5.0.0 and instantly disaster struck. Search tab is now completely blank. And that's not the only problem I noticed other things too.

Wynand-S commented 3 weeks ago

I installed the newest Python 3.12.6, rebooted, and had the same issue (no search plugins installed, etc) until I uninstalled the old Python 3.8.x. version still lurking on my system.

Closed and opened QB and search works successfully once more!

I like the new dark theme btw.

xavier2k6 commented 3 weeks ago

v5.0.0. has an option to set the path to a user desired python executable in the advanced options.

Mike-Litoreece commented 3 weeks ago

And it's not the only problem with version 5.0.0 It now also does something new. If you have multiple torrents then when the downloading reaches 99% Qbittorrent automatically takes that torrent to the bottom of the queue!!! I have never ever seen this before. I alone used to decide what the queue order is. Now Qbittorrent 5.0.0 is deciding for me what the order should be. And this leads to multiple torrents being almost complete but never actually complete. (since normally I restrict and not allow everything to be downloaded at the same time, but now I am forced to allow that mode in settings juist so that nothing is put on hold. That is the only way it can actually complete downloading if you have multiple torrents. This is unbelievable.

5.0.0 is not worth having at all. What is going on? Is this the beginning of the end? Have new owners taken over Qbittorrent?

xavier2k6 commented 3 weeks ago

@Mike-Litoreece Create a ne ticket for your issue.

xavier2k6 commented 3 weeks ago

@glassez It seems a change in 5.0.0 or indeed the official plugins has made python 3.9.0 a minimum requirement

Before 5.0.0 - python 3.8.10 "installer" was used for Windows <10 & python 3.10.11 for Windows 10+ 5.0.0 - just offers python 3.10.11 "installer" as we've dropped support for <Windows 10 1809 master made python 3.9.0 as minimum while offering python 3.12.x installer in #21064, I propose we backport this PR.

slaughter3000 commented 3 weeks ago

Mac OS user here. What a nightmare, losing all search plugins AND not being allowed to install them, all because you followed the applications advice and updated to the latest version. SOLUTION - MAC USERS: ALWAYS do Time Machine backups. I was able to use App Zapper to identify all of the system components of the application and then replaced them with working ones from my last working version of qbittorrent (4.6.5). To be safe I did the same with Python (not sure if qbt 5.0 broke that as well, but I was taking no chances). I guess I'll be never, ever be updating this application again, then, right? Hahaha.... that was frightening. Seriously though, is there a dedicated thread somewhere which logs whether updates will break qbittorrent for you, before you go through this sorta thing?

xavier2k6 commented 3 weeks ago

all because you followed the applications advice and updated to the latest version.

We didn't update to the latest version, we've kept minimum python version requirement as 3.7.0 for a while, we offered newer installers at the time to the max version the targeted OS could support, hence (3.8.10/3.10.11).

It now looks though that we need to make python 3.9.0 our minimum for 5.0.x (as we've already done this in master)

slaughter3000 commented 3 weeks ago

all because you followed the applications advice and updated to the latest version.

We didn't update to the latest version, we've kept minimum python version requirement as 3.7.0 for a while, we offered newer installers at the time to the max version the targeted OS could support, hence (3.8.10/3.10.11).

It now looks though that we need to make python 3.9.0 our minimum for 5.0.x (as we've already done this in master)

My comment was written in first person, so what I was saying was "What a nightmare, losing all search plugins AND not being allowed to install them, all because the user followed the applications advice and updated to the latest version."

Thanks for the clarification though. Is there a thread re: updates somewhere which users can check before risking an update in future? I'm sure there is, am new user of the forum, only signed up to provide advice for mac users on how to fix the problem...

xdarkridex commented 2 weeks ago

@glassez It seems a change in 5.0.0 or indeed the official plugins has made python 3.9.0 a minimum requirement

  • Install 4.6.7/python 3.8.10
  • Official plugins work/will update if outdated
  • Install 5.0.0
  • Official plugins don't work "Plugin ***** is not supported."
  • Un-install python 3.8.10 & install python 3.9.0 or choose 3.9.0 executable path in advanced options, choosing 3.8.10 path makes no difference.
  • Official plugins work

Before 5.0.0 - python 3.8.10 "installer" was used for Windows <10 & python 3.10.11 for Windows 10+ 5.0.0 - just offers python 3.10.11 "installer" as we've dropped support for <Windows 10 1809 master made python 3.9.0 as minimum while offering python 3.12.x installer in #21064, I propose we backport this PR.

This is incorrect. I followed these exact steps: bug still exists. Suggest re-opening issue. There's some step missing that the app needs to clean up during install. I've re-installed 5.0 three times, following different versions of this process based on advice found elsewhere and I'm still at square one, with the Python path (the latest, 3.12) absolutely set up in both Windows AND manually in the app settings.

If you want to say you aren't compatible with the latest Python? That's a strange stance. Chances of people having the latest Python are pretty high.

daVe55w commented 2 weeks ago

Check the solution above (Oct 1) from me as it worked, although it was a PITA to reinstall nearly all plugins.

xdarkridex commented 2 weeks ago

Check the solution above (Oct 1) from me as it worked, although it was a PITA to reinstall nearly all plugins.

Did it. No change.

Started by downloading and installing the latest windows 64 installer. It Uninstalled (telling it to leave settings and torrents alone) and it did that. Search doesn't work.

Google. Find thread on reddit suggesting the official fix I replied to here. Uninstalled all python. Restarted qbit. It prompted for python, let it install (3.10 I believe). No change.

Finding other tips, Uninstalled EVERYTHING qbit. Checked folder, removed nova3 manually. Reinstalled. No change.

Uninstalled python. Reinstalled 3.12 (latest) python. Verified manually that python is correctly in the path for windows. Also tried manually entering Python and Python Scripts lines in the config per Python recommendations. Finally tried entering the python path manually a couple of other ways in the qbit and that did nothing.

All of this was mixed with various reboots and is grabbed some plugins off the official (unofficial) git to put in a new nova3.

No joy.

If the goal is to wind up with qbit 5.0 and a python 3.9 or newer, I've done that. No change of any kind.

My guess? The app is pulling some version of python that windows doesn't know exists. Don't know how, I was as thorough as possible, but it's the only thing technically that makes sense. If anyone can point me to some registry keys or something to Manually check, I'll have a look and see if I can nail this thing. I'm happy to try to help narrow it down.

But the fact remains: no matter what is installed on a windows box, an app shouldn't have a problem making sure a popular and widespread system like python is where it needs to be and working during an update. That's a bug, and the latest installer doesn't fix it. What's listed above is a kluge, a workaround, at best.

PurpleXing commented 2 weeks ago

Checking the logs .I installed newest 32 and 64 bit python.Then deleted old version folder of python.Also deleted nova3 folder,but i dont think this was necessary.Everything works now.

xavier2k6 commented 2 weeks ago

@xdarkridex Do you have other plugins installed ie unofficial plugins besides the official one?

Care to provide logs etc?

PurpleXing commented 2 weeks ago

I noticed that qbittorrent was looking for my old 32 bit.python version then giving the plugin not supported error.After deleting old python version and installing both 32 and 64 bit python everything worked.

xavier2k6 commented 2 weeks ago

@PurpleXing 32bit not needed, unless you need it for work etc.

xavier2k6 commented 2 weeks ago

Python 3.12.7 (x64) link

There may be issues with the MS Store version on Windows 11.....(unverified)

xdarkridex commented 2 weeks ago

I grabbed some unofficial ones from the git to repopulate the search. Nothing weird, the bigger ones. But it failed with no nova3 folder or plugins installed, unless it's looking somewhere else and somehow plugins wound up in a strange place.

Everything -should- have always been in the same place.

I'm nocturnal and am about to crash, but once I'm up I'll do the following:

Grab logs. Look for any .py files on any of my drives. See if there's any kind of python cleaner utility out there that can find a bogus/damaged/improper version hiding. Nothing is in the path, the windows install list, etc, but I've had stuff like python go rogue and end up stranded.

On Sat, Oct 5, 2024, 7:25 AM xavier2k6 @.***> wrote:

@xdarkridex https://github.com/xdarkridex Do you have other plugins installed ie unofficial plugins besides the official one?

Care to provide logs etc?

— Reply to this email directly, view it on GitHub https://github.com/qbittorrent/qBittorrent/issues/21445#issuecomment-2395040409, or unsubscribe https://github.com/notifications/unsubscribe-auth/BL3FOOHW6CVQB3OIVPWD6G3ZZ7LDXAVCNFSM6AAAAABPEMJCJ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJVGA2DANBQHE . You are receiving this because you were mentioned.Message ID: @.***>

xavier2k6 commented 2 weeks ago

DELETE: tokyotoshokan.py plugin & it's related icon tokyotoshokan.icoas it appears to longer be compatible! Can be found in nova3\engines

You can also delete the tokyotoshokan.cpython-*.pyc file found in nova3\engines\__pycache__

Screenshot 2024-10-05 172757

glassez commented 2 weeks ago

@glassez It seems a change in 5.0.0 or indeed the official plugins has made python 3.9.0 a minimum requirement

I researched it from your suggestion. Some plugins and (most importantly!) some (or all) of the basic scripts (nova2.dl etc.) have indeed become incompatible with python-3.8 as a result of recent changes. At the same time, qBittorrent 5.0 still keeps v3.8 as the minimum supported version and therefore does not offer users to update it. Therefore, #21064 definitely needs to be backported to v5.0.x branch.

xavier2k6 commented 2 weeks ago

There have been 2x Pull Requests made for 2 issues with the unofficial tokyo toshokan plugin....but I doubt they will be merged any time soon. See: https://github.com/BrunoReX/qBittorrent-Search-Plugin-TokyoToshokan/pull/1 & https://github.com/BrunoReX/qBittorrent-Search-Plugin-TokyoToshokan/pull/2

glassez commented 2 weeks ago

I also found other related issues:

  1. When qBittorrent searches for python, it stops the search on the first option found, even if it is unsuitable. Therefore, when a user has several versions installed, qBittorrent often cannot find a suitable one. It would be better to try detecting all the existing python installations, and choose the most appropriate one.
  2. qBittorrent does not seem to repeat the python search in case a suitable version was not found the first time. It would be more convenient if it still search python again when user tries to open the search tab (e.g. after they installed python).
glassez commented 2 weeks ago

I also found other related issues:

@Chocobo1 You seem to have shown an interest in search engine issues recently. Would you like to deal with these?

glassez commented 2 weeks ago

@Chocobo1 It might also be a good idea if the plugin files and (at least) basic scripts contained info (e.g. within comments at top of the file) about minimally supported python version, instead of hardcoding it in qBittorrent itself, which can cause such inconsistency problems. The most interesting thing is that if qBittorrent had checked such info, it could have decided not to update the basic scripts in case the detected python version is compatible with the current scripts, but not compatible with the new ones.

xdarkridex commented 2 weeks ago

@xdarkridex Do you have other plugins installed ie unofficial plugins besides the official one?

Care to provide logs etc?

Here's what looks relevant. I completely purged everything Python from my system except for some .py files built into Plex. I completely removed all things Qbit from my system. Rebooted. Ran CCleaner's registry cleaner THREE TIMES to make sure nothing was hanging around in the registry that was disconnected. (Sure enough, it did find some stranded Python references the first time.)

Reinstalled with the latest Windows 64 installer for Qbit. Let it install the Python IT wanted (3.10). Rebooted.

Same results. Opening the search engine dialogue and checking for updates, everything wasn't supported.

Here are the relevant log entries:

(I) 2024-10-05T21:13:57 - Failed to find `python3` executable in PATH environment variable. PATH: "C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Program Files\dotnet\;C:\Users\Mr. Dark\AppData\Local\Programs\Python\Python312\;C:\Users\Mr. Dark\AppData\Local\Programs\Python\Python312\Scripts\;C:\Users\Mr. Dark\AppData\Local\Microsoft\WindowsApps"
(I) 2024-10-05T21:13:57 - Failed to find `python` executable in PATH environment variable. PATH: "C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Program Files\dotnet\;C:\Users\Mr. Dark\AppData\Local\Programs\Python\Python312\;C:\Users\Mr. Dark\AppData\Local\Programs\Python\Python312\Scripts\;C:\Users\Mr. Dark\AppData\Local\Microsoft\WindowsApps"
(I) 2024-10-05T21:13:58 - Found Python executable. Name: "C:/Users/Mr. Dark/AppData/Local/Programs/Python/Python310/python.exe". Version: "3.10.11"

Thoughts?

xavier2k6 commented 2 weeks ago

@xdarkridex Try this: Options->advanced->scroll down to "Python executable path (may require restart)" & copy & paste C:/Users/Mr. Dark/AppData/Local/Programs/Python/Python310/python.exe -> apply->close & re-open qBittorrent.

This should ensure that python 3.10.11 is properly used, now if there's no plugins loaded/showing or you get an unsupported error, then please try https://github.com/qbittorrent/qBittorrent/issues/21445#issuecomment-2395110516

xdarkridex commented 2 weeks ago

@xdarkridex Try this: Options->advanced->scroll down to "Python executable path (may require restart)" & copy & paste C:/Users/Mr. Dark/AppData/Local/Programs/Python/Python310/python.exe -> apply->close & re-open qBittorrent.

This should ensure that python 3.10.11 is properly used, now if there's no plugins loaded/showing or you get an unsupported error, then please try #21445 (comment)

21445 WORKED.

So, you're distributing a plugin that breaks the app. Best remove that from the distrib post haste, as nobody is going to ever look for that guy on their own.

I KNOW it was gone before this most recent reinstall, because I searched the drive for all .py files. Even if the uninstall didn't kill it, I'd have seen it when searching.

I appreciate your help!

yawarasuuna commented 2 weeks ago

@daVe55w thanks. deleteing nova3 solved it for me.

Could anyone affected by this problem try not to delete the entire nova3 folder, but only __pycache__ and __init__.py from it and from all its subfolders recursively?

This worked, I just installed a python version ^3.8 and deleted above files. I didn`t lose any plugins. Thanks.

xavier2k6 commented 2 weeks ago

So, you're distributing a plugin that breaks the app.

xdarkridex commented 2 weeks ago

So, you're distributing a plugin that breaks the app.

  • It's an unofficial plugin & users are free to download/install or not if they choose, there have been 2 Pull Requests made for the author to fix the issues.
  • An issue has been identified with users who have python 3.8.x & a fix will included in next release.

I uninstalled everything, then manually searched for all *.py files. I didn't download that plugin. If it didn't come from the distrib, where did it come from? I never downloaded and installed it.