qbittorrent / search-plugins

Search plugins for the search feature
GNU General Public License v2.0
4.27k stars 475 forks source link

After Update cannot Install Search Plugins #307

Open Homesys-NJW opened 1 month ago

Homesys-NJW commented 1 month ago

After doing the latest update i cannot install the search plugins that i had in the previous version. It gives the error - Cannot update "one377x" search plugin. Plugin not supported.

I have tried numerous plugins from my local plugin directory (note all worked on previous versions of gBittorrent) and also tried downloading the latest versions of the plugins from on-line. Plugin Error

I normally use the SAVE LINK AS function to a directory on my hard drive and it saves as a Python File Format OK (no change from previous usage)

Is the problem in the new version of qBittorrent or do I have to download ind reinstall Python.

Some help would be nice as I user the search feature fairly often.

Thanks for your time....

denkiryu commented 1 month ago

Found a fix, With qBit closed, went to "%localuserdata%\qBittorrent\nova3", renamed the "engines" folder to "engines1", reopened qBit and managed to drag-drop all the engines from the old folder straight to the "Install search plugins" window and they got installed.

xavier2k6 commented 1 month ago

@sa3dany @Alyetama @BurningMop @scadams Update the one337x.py to be compatible with newer/latest version of python & review link for downloading plugin....most links are raw & not gist

p060477 commented 1 month ago

Found a fix, With qBit closed, went to "%localuserdata%\qBittorrent\nova3", renamed the "engines" folder to "engines1", reopened qBit and managed to drag-drop all the engines from the old folder straight to the "Install search plugins" window and they got installed.

do not fix at all my case... :(

Astralyfuse commented 1 month ago

Found a fix, With qBit closed, went to "%localuserdata%\qBittorrent\nova3", renamed the "engines" folder to "engines1", reopened qBit and managed to drag-drop all the engines from the old folder straight to the "Install search plugins" window and they got installed.

This does work for me somehow, except not by drag and dropping, but just doing it like the usual with the "engines1" folder. image

p060477 commented 1 month ago

for me not fix at all...thxs anyway for yr kind effort

fabio1999ita commented 1 month ago

after complete delete from %AppData% and from %AppData%/../Local the qbittorrent folder and reinstalled it i get it works again

p060477 commented 1 month ago

after complete delete from %AppData% and from %AppData%/../Local the qbittorrent folder and reinstalled it i get it works again

unfurtunately not in my case... i've the -portable- vers

fabio1999ita commented 1 month ago

after complete delete from %AppData% and from %AppData%/../Local the qbittorrent folder and reinstalled it i get it works again

unfurtunately not in my case... i've the -portable- vers

i have installed version 5.0.0 no qt6 one

Homesys-NJW commented 1 month ago

Hi all, Thanks for the help and all the great ideas. I tried the repair of renaming the folder engine to engine1 then loading the files into qBittorrent again. I loaded some but not all the search engines I had. I then deleted qBittorrent and all associated files and re-installed everything. tried a load of the search engine files i have on a local drive and they loaded as they should, but I lost all the special settings I had in qBittorrent

For myself I am considering this request closed but the original problem of the search engine not loading or carrying over on the upgrade still exists. Hope all others find a workaround to the problem they have that is similar.

Pogman commented 1 month ago

My FIX:

Stop QBT and open Win Settings -> Apps Search for and uninstall any old Python versions Get the latest Python from here: https://www.python.org/downloads/windows/ Install - Run QBT and whatever plugins you had previously should now work and you can install new ones too.

p060477 commented 1 month ago

My FIX:

Stop QBT and open Win Settings -> Apps Search for and uninstall any old Python versions Get the latest Python from here: https://www.python.org/downloads/windows/ Install - Run QBT and whatever plugins you had previously should now work and you can install new ones too.

thxs so much...but...i've done this everytime a new vers come... for me..i repeat -for me- did not fix at all

mirco982 commented 1 month ago

What about macOS users?? Any advice?

Pogman commented 1 month ago

@mirco982

There seem to be multiple solutions to this issue and the problem relates to Python.

Have a look through the log for clues, it can be enabled via the view menu. For my fix I noticed it was using a older version of Python even though I had a more recent version installed. I had multiple versions and QBT picked the oldest version to run with, clearing them out and installing the most current worked.

On MAC you can try something similar and get the latest version for macOS: https://www.python.org/downloads/macos/

p060477 commented 1 month ago

@mirco982

There seem to be multiple solutions to this issue and the problem relates to Python.

Have a look through the log for clues, it can be enabled via the view menu. For my fix I noticed it was using a older version of Python even though I had a more recent version installed. I had multiple versions and QBT picked the oldest version to run with, clearing them out and installing the most current worked.

On MAC you can try something similar and get the latest version for macOS: https://www.python.org/downloads/macos/

also to me this strange behaviour but in my case python is portable not installed...i do not want to instal it i want to continue to use python portable, in my case is vers 3.8.10

Pogman commented 1 month ago

@p060477

Have a look into setting the Python path via QBT Advanced Options.

Screenshot 2024-10-02 205858

p060477 commented 1 month ago

so many thxs pogman! i really dont know it! now the problem is the python.exe....the portable vers that i've seems not suitable with this vers 5.00 thxs so many again cheers

mirco982 commented 1 month ago

Nothing seems working... I've installed the latest Python stable version 3.12.7, I checked Python path into QBT advanced options (first attempt I left the path empty, then I've set the path /usr/local/bin/python3), rebooted QBT and Mac Mini but I still have the same issues... It seems like the .py plugins are not compatible with QBT v.5.0.0 yet

mirco982 commented 1 month ago

I just tried with Python v3.13.0rc3 but nothing changes... QBT Log shows me this

02/10/24 22:35 - Plugin yggtracker non supportato. 02/10/24 22:35 - L'estensione di ricerca 'yggtracker.py' contiene stringa di versione non valida ('1.1.') 02/10/24 22:35 - Plugin one337x non supportato. 02/10/24 22:34 - Plugin eztv non supportato. 02/10/24 22:34 - L'estensione di ricerca 'eztv.py' contiene stringa di versione non valida ('1.16<') 02/10/24 22:34 - Mappatura porta UPnP/NAT-PMP riuscita. Messaggio: "successfully mapped port using UPnP. external port: UDP/57694" 02/10/24 22:34 - Mappatura porta UPnP/NAT-PMP riuscita. Messaggio: "successfully mapped port using UPnP. external port: TCP/57694" 02/10/24 22:34 - Trovato eseguibile Python. Nome: "/usr/local/bin/python3". Versione: "3.13"

One more time, I think plugins are not yet supported for v5.0.0

I've already also tried to reinstall previous version (4.6.x) but still......... :(

p060477 commented 1 month ago

@p060477

Have a look into setting the Python path via QBT Advanced Options.

Screenshot 2024-10-02 205858

my dear pogman i finally find a portable python.exe vers 12 and put in the path in the adv options as per yr clear instructions and now ALL goes very well!! so now with 3.8.10 works vers 4.6.7 and with python 12 works fine also portable 5.0.0 you and xavier2k6 have been my guardian angels! thxs to you forever i wish you all the best cause you deserve it! cheers

Pogman commented 1 month ago

I just tried with Python v3.13.0rc3 but nothing changes... QBT Log shows me this

02/10/24 22:35 - Plugin yggtracker non supportato. 02/10/24 22:35 - L'estensione di ricerca 'yggtracker.py' contiene stringa di versione non valida ('1.1.') 02/10/24 22:35 - Plugin one337x non supportato. 02/10/24 22:34 - Plugin eztv non supportato. 02/10/24 22:34 - L'estensione di ricerca 'eztv.py' contiene stringa di versione non valida ('1.16<') 02/10/24 22:34 - Mappatura porta UPnP/NAT-PMP riuscita. Messaggio: "successfully mapped port using UPnP. external port: UDP/57694" 02/10/24 22:34 - Mappatura porta UPnP/NAT-PMP riuscita. Messaggio: "successfully mapped port using UPnP. external port: TCP/57694" 02/10/24 22:34 - Trovato eseguibile Python. Nome: "/usr/local/bin/python3". Versione: "3.13"

One more time, I think plugins are not yet supported for v5.0.0

I've already also tried to reinstall previous version (4.6.x) but still......... :(

Your log suggests that it's not accessing / finding the Phyton you have installed. Try rebooting and also try setting the path to Python in QBT advanced options.

Sorry can't help much with macOS stuff. Good luck.

faktorqm commented 1 month ago

WOW WOW WOW Pogman is the men! I set the python path and everything starts working!! THANKS A LOT

p060477 commented 1 month ago

WOW WOW WOW Pogman is the men! I set the python path and everything starts working!! THANKS A LOT

i repeat and underline that Pogman has really saved all of us! thxs to you forever and ever

sloth456 commented 3 weeks ago

I'm on MacOS and nothing I do seems to work

mirco982 commented 3 weeks ago

Same here. I've found another method to search .torrent file.

javyyk commented 3 weeks ago

MY FIX (update python >= 3.9):

Hi, when I upgraded to version 5 I had this problem.

[!IMPORTANT] The minimum supported Python version (across all platforms) is specified at here.

Maybe this info should be posted at readme