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

Spurious search plugin issues - "There aren't any seach plugins installed", can't install new plugins, plugin upgrade issue "plugin not supported" #13122

Closed
FranciscoPombal opened this issue Jul 8, 2020 · 52 comments
Labels
Can't reproduce Issues that cannot be reproduced has workaround Search engine Issues related to the search engine/search plugins functionality

Comments

@FranciscoPombal
Copy link
Member

FranciscoPombal commented Jul 8, 2020

NOTE: A known workaround exists

This has been posted in various other issue reports and the forum:


This problem has been previously reported in several issue reports such as:

#11149
#11872
#9287
#11223

  • Could be a nova/nova3 issue.
  • Might be caused by a bad search plugin or bad plugin upgrade (?)
  • Sometimes connected to the upgrade of qBittorrent versions (e.g. 4.1.x -> 4.2.x), but this is not consistent.
  • The issue seems to be cross-platform - was at least observed on Linux and Windows.
  • No reliable and precise steps to reproduce have been posted so far.
  • Could be related to Python 2 (2)

I think there is enough "user story" information spread across those issues at this point. Now we need more advanced and precise information, e.g. from debugging the program.

@apecity
Copy link

apecity commented Jul 9, 2020

When I have no connectivity at all when I start qbittorrent, the problem does not happen. This has been my workaround -- I disable wifi or unplug from the LAN when I start qbittorrent, then reconnect after, and never get the "no plugins" error. But if I have a less-than-perfect connection, which I often do as I'm using 3G much of the time, I frequently get the error when starting qbittorrent when connected. I know this is not an answer but I thought this information might help.

@liloli
Copy link

liloli commented Aug 9, 2020

Has this issue been fixed yet? I downloaded the updated version, re-install python. It's still there.

@cloo
Copy link

cloo commented Aug 21, 2020

In my case the plugins cannot be installed even after removing all qbittorrent data from %appdata% and %localappdata%, nor after reinstalling qbittorrent. I cannot even install plugins from file. The issue appeared with no apparent reason, and not after recent qbittorrent upgrade.

Qbittorrent v.4.2.5
Windows 10
Python 3.8.3rc1

UPDATE
Fixed by uninstalling Python and installing v.3.8.5.
Might be a hint: when uninstalling Python, windows installer showed that it was 3.8.1, but cmd python --version claimed it was 3.8.3rc1. Possibly bad declaration of version?

@boehs
Copy link

boehs commented Jan 3, 2021

Work around does not work for me

update: so - I'm dumb. I acquired the plugins by opening the search plugin gui and clicking "check for updates"

@cubedj
Copy link

cubedj commented Feb 25, 2021

It seems that's caused by the way qbittorrent.exe is searching for the python installation on the system, instead of looking in registry or in ENVIRONMENT (in path, lib or pythonhome) for the needed values it first scans the harddrive for "python3.exe" which in my case only one exist and that is in the Ubuntu installation for Linux subsystem in Windows (which is obviously no-go on Windows) and then after that scans for "python.exe" and there's maybe 30 of them in my system as parts of numerous software installations and based on which is found first results in working or not working python in qbittorrent.. In my case the first python.exe binary found was from Inkscape installation and doesnt work...

My workaround was creating a symbolic link of "python.exe" named "python3.exe" in my Python39 installation folder which resolved the issue..

@SamuelThand
Copy link

For me the issue always occurs when i start qbittorrent without internet connectivity, but is usually resolved after doing Search plugins... -> Check for update and waiting for a bit. This makes @cubedj description of ineffective searching likely, going to try that python.exe link fix.

@detalikota
Copy link

detalikota commented Apr 11, 2021

I fixed the issue just by deleting the "bad" plugin, I was trying to put these and those, and found, that "rutracker" one was bad and it made qBittorrent to not find any

@fullet-tortuga
Copy link

There's no way to definitively fix this. If I want to use this program I must restore from a working backup several times untill it decides to show the search engines. Then proceed to delete all the torrents that have been completed since the backup was made... you get the pain, not worth it.

@CeruleanSky
Copy link

While I'm sure there are multiple reasons for this, for my case, when I installed windows python 3.8 from the installer on the python.org website it did not include an executable named python3.exe, only python.exe, so qbittorrent kept searching the path until it found python3.exe of which I had one in the msys install, which failed when used with the search plugins. While I don't have it installed, the Microsoft store package according to the docs also has a python3.exe so if I did have that installed it probably would of used that instead.

I fixed the problem by making a hard link to python.exe with the name python3.exe in my python3 install directory

So check if you have multiple python installations or if qbittorrent is finding python in unexpected places due to the various python installations having different aliases for python.

image

@fullet-tortuga
Copy link

Funny enough my qbittorrent version (4.3.5) is happy enough with python.exe, without caring much for python3, which actually MUST be installed from whithin the program. Any chance to use an existing python installation when installed with an offline installer will miserably fail for me.

Then there's the 32-64bit big party too, lots of fun with that in order to make the search engines work since this program downloads the 32bit installation without even giving you a chance to choose the actual version nor the architecture. There's such a mess in this project that, I stand corrected, it's not even funny.

Again, if you manage to make it work once... make a full backup of all the directories affected and keep that configuration forever. Because once it breaks you can say good-bye to your nice list of 50+ search engines.

@dufferzafar
Copy link

I'm facing this issue as well. Have tried downgrading versions from 4.3.9 to 4.3.5 (& all in between)

Also deleted the entire %LOCALAPPDATA%\qbittorrent directory. That didn't fix this either.

BTW, @CeruleanSky Which tool is your screenshot from?

@dufferzafar
Copy link

I used API Monitor to inspect qBittorrent and it turned out that it was picking up the wrong Python3 executable (from a MSYS distribution I have @ C:\msys64\usr\bin\python3.exe) For some reason that isn't compatible with QBittorrent.

So I copied my python executable to python3 and that fixed the issue: cp C:\Python39\python.exe C:\Python39\python3.exe

@chuacw
Copy link

chuacw commented Mar 11, 2022

This seems to rely on the presence of python3.exe instead of python.exe on Windows.
If you have python.exe but not python3.exe (either a link or a copy of python.exe but just copying python.exe to python3.exe), then your search plugins will disappear, even though you've previously installed them.

Also, after installing plugins, these plugins are not saved to the settings, that's why they disappear, when you restart the app.

@VsevolodGolovanov
Copy link

To recover from "There aren't any seach plugins installed" in my case it was enough to delete __pycache__ and __init__.py in %localappdata%\qBittorrent\nova3\engines\. That way you don't have to reinstall the plugins, they just come back when starting qBittorrent.

@bphd
Copy link

bphd commented Jul 26, 2022

To recover from "There aren't any seach plugins installed" in my case it was enough to delete __pycache__ and __init__.py in %localappdata%\qBittorrent\nova3\engines\. That way you don't have to reinstall the plugins, they just come back when starting qBittorrent.

Same result as before with that method, even by deleting the problematic .pys producing "Couldn't update search engine plugin. Plugin is not supported."

/usr/bin/python3 is used by qB, it seems to execute /usr/bin/python3 /home/$USER/.local/share/qBittorrent/nova3/nova2.py --capabilities

Executing it myself gives me "Connection Error: Service Temporarily Unavailable" then a list of 66 engines in HTML like layout

$ /usr/bin/python3 --version
Python 3.10.5

Work around does not work for me

update: so - I'm dumb. I acquired the plugins by opening the search plugin gui and clicking "check for updates"

For me the issue always occurs when i start qbittorrent without internet connectivity, but is usually resolved after doing Search plugins... -> Check for update and waiting for a bit. This makes @cubedj description of ineffective searching likely, going to try that python.exe link fix.

I get ~10 of "Couldn't update search engine plugin. Plugin is not supported." like that (not all installed engines, but still, none displays in the chart afterward)

@slrslr
Copy link
Contributor

slrslr commented Aug 21, 2022

@FranciscoPombal says > Now we need more advanced and precise information, e.g. from debugging the program.

I am on Linux. qbittorrent/now 4.4.2 amd64 [installed,local]
How the command should look like and how exactly extract needed information? If contains sensitive data, how to send it in private?

Right above this post is linked issue where i have described my workaround and feedback about this issue.

@TroyBW8
Copy link

TroyBW8 commented Dec 12, 2022

I'm running macOS. What I did was go into my applications folder and found Python 3.11 folder. Clicked the update shell profile command then install certificates. I restarted qBittorent and updated the search plug-in. -Check for updates they all installed and that fixed it for me.

@bphd
Copy link

bphd commented Dec 13, 2022

Lol sitll not corrected after two years, despite dev having seeing it

I know they have priorities, but after such time, I don't know if it's about priority or don't carism (same apply to other issues years old)

@boehs
Copy link

boehs commented Dec 25, 2022

I know they have priorities, but after such time, I don't know if it's about priority or don't carism (same apply to other issues years old)

Feel free to debug and fix it yourself, or sponsor another open source developer to fix it for you. You are not entitled to free labour.

@bphd
Copy link

bphd commented Jan 2, 2024

but is there here someone who has been able to have search plug in working...?? this is a very old BUG this is a very real BIG SHAME where are the devs...??

People say they do better things, but I haven't verified...

@slrslr
Copy link
Contributor

slrslr commented Jan 2, 2024

@p060477 Some suggestions regarding what to try to fix non working search are at https://forum.qbittorrent.org/viewtopic.php?p=42155#p42155

@bphd
Copy link

bphd commented Jan 2, 2024

@p060477 Some suggestions regarding what to try to fix non working search are at https://forum.qbittorrent.org/viewtopic.php?p=42155#p42155

Main thing to try being for elected staff to repair the code

@p060477
Copy link

p060477 commented Jan 2, 2024

i totally quote:
"staff to repair the code"....
2 years of BUG is a real SHAME

@stopforumspam
Copy link

Just a FYI from what I found. I found the app isolation apps, and in my example Comodo firewall, messed with the ability to use plugins in this exact way. A red herring for most but its something that I can repo

@walker2top
Copy link

in case anyone still hasn't known how to fix this issue, could take a look at #11149

I finally solved it by following suggestions to clean nova3 folder

@luzpaz

This comment was marked as outdated.

@xavier2k6
Copy link
Member

Closing - Can be used as an FYI.

@xavier2k6 xavier2k6 closed this as not planned Won't fix, can't repro, duplicate, stale Sep 30, 2024
@bphd
Copy link

bphd commented Sep 30, 2024

What, the problem is still here but because you can hack a workaround it's considered resoved? What kind of dead project is that?

@xavier2k6
Copy link
Member

@bphd If you have a problem with search plugins, then open a new ticket.

@bphd
Copy link

bphd commented Oct 1, 2024

Well I don't need to have a problem personally as a problem is there for people since before 2020, and the conclusion of that trhread is that it's not corrected

@p060477
Copy link

p060477 commented Oct 1, 2024

since 2020 this problem always appears at any new vers of qbittorret...where are the developers...??...maybe they are really playing the fools with all of us...what a pity...what a shame... :(

@fullet-tortuga
Copy link

Go figure. I actually quit torrenting altogether years ago just for this bug. Can you imagine Emule without the search functionallity?
Now reopening the same bug ad infinitum with different bug ids makes absolutely no sense. Not from the Quality Assurance point of view nor any other.

@xavier2k6
Copy link
Member

There appear to be some issues with "unofficial" plugins, there's no issue(s) with the official plugins provided by us.

some examples:
#21445 (comment)
#21445 (comment)

@p060477 there's no need to keep posting on different tickets & on our different repo's!

You posted that you were using an outdated version & it's a portable version at that.

i've a portable vers. of qbittorrent so i've no :%localuserdata%\qBittorrent\nova3",
is in:
G:\back up 29.04.2010\C\Documents and Settings\Administrator\Dati applicazioni\qBittorrent-4.5.2\Data\settings\LocalAppData_qBittorrent\nova3\engines
and doing whta you suggest...so clocing qbittorrent rename the folder and doing whta you clearly described unfurtunately don work...:(
where is my fault?
i always get extension not supported......

What you need to do at the very least is use the latest official (v5.0.0).

@xavier2k6
Copy link
Member

If you experience issues with any of the plugins posted here, please report to the author directly.

https://github.com/qbittorrent/search-plugins/wiki/Unofficial-search-plugins

@bphd
Copy link

bphd commented Oct 1, 2024

What you need to do at the very least is use the latest official (v5.0.0).

And seeing that it's still there because a workaround wrote on an obscure GitHub place is good enough for all userbase

@p060477
Copy link

p060477 commented Oct 1, 2024

the very last 5.0 is the one who make all search plug ins, that were well working in 4.6.7, incredibly disappear...
its a nighytmare..at avery new ver the bug of the plugin serch comes again and again...but the delep are jocking with us..??

@xavier2k6
Copy link
Member

at avery new ver the bug of the plugin serch comes again and again

how do we know that you're not installing the same bugged plugin??

If you want to get to the bottom of why things aren't working for you then, yes! may I suggest you use qBittorrent v5.0.0 - you can run a clean portable version if you wish.

https://github.com/qbittorrent/qBittorrent/wiki/How-to-use-portable-mode

Again though I would re-iterate that you open a new ticket as this ticket has been a catchment of various potential issues etc.

@p060477
Copy link

p060477 commented Oct 1, 2024

thxs for yr reply...but the matter is not with some plugin...the matter is that -all- disapper...and if you try to instal the one s that with the prev vers worked it reply:"error extension not supported"...to every......this happened since years...at every new vers...is a very nightmare...

@glassez
Copy link
Member

glassez commented Oct 1, 2024

thxs for yr reply...but the matter is not with some plugin...the matter is that -all- disapper...and if you try to instal the one s that with the prev vers worked it reply:"error extension not supported"...to every......this happened since years...at every new vers...is a very nightmare...

Could you provide the (archived) contents of your plugins folder for testing the next time this happens?

@p060477
Copy link

p060477 commented Oct 1, 2024

i'm really not the one exeriencing it...seems that lots of people claims...anyway the are the one here:
https://github.com/qbittorrent/search-plugins/wiki/Unofficial-search-plugins
every times work well, for ex in vers 4.6.7...then in the newest 5.0 all-disappear and are not re-downloadable due to the exposed frustrating error: -extension not supported-

@glassez
Copy link
Member

glassez commented Oct 1, 2024

i'm really not the one exeriencing it...seems that lots of people claims...

But it seems that no one who could fix it.

@xavier2k6
Copy link
Member

i'm really not the one exeriencing it...seems that lots of people claims...

But you are posting all over the place that it doesn't work for you etc. so you are having issues but you're not really willing to help us to help you!!!

qbittorrent/search-plugins#284 (comment)
qbittorrent/search-plugins#305 (comment)
qbittorrent/search-plugins#307 (comment)
qbittorrent/search-plugins#307 (comment)

#20222
#18644
#13181

@xavier2k6
Copy link
Member

For reference in relation to a broken plug-in:
qbittorrent/search-plugins#274 (comment)
qbittorrent/search-plugins#284 (comment)

@p060477
Copy link

p060477 commented Oct 1, 2024

i'm really not the one exeriencing it...seems that lots of people claims...

But you are posting all over the place that it doesn't work for you etc. so you are having issues but you're not really willing to help us to help you!!!

qbittorrent/search-plugins#284 (comment) qbittorrent/search-plugins#305 (comment) qbittorrent/search-plugins#307 (comment) qbittorrent/search-plugins#307 (comment)

#20222 #18644 #13181

maybe you forgot i'm runnin a portable vers....
and i'm really not the one who claims...since 2020 at avery upgrade someunluckyone as me experiment the disappearing of all its plugins...

@xavier2k6
Copy link
Member

maybe you forgot i'm runnin a portable vers....

I didn't forget, I mentioned it 4 hours ago -> #13122 (comment)

I don't see any point in continuing this any further here......if you are experiencing an issue, then open a new ticket following the template & providing logs etc.


locking ticket

@qbittorrent qbittorrent locked as off-topic and limited conversation to collaborators Oct 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Can't reproduce Issues that cannot be reproduced has workaround Search engine Issues related to the search engine/search plugins functionality
Projects
None yet
Development

No branches or pull requests