tkzv Tux's lil' helper

Joined: 22 Aug 2014 Posts: 98
|
Posted: Sun Apr 06, 2025 5:19 am Post subject: [solved] qBittorrent cannot use search plugins |
|
|
In the "Search tab" there's text "There aren't any search plugins installed. Click the "Search plugins..." button at the bottom right of the window to install some." When I press "Search plugins..." and "Check for updates", I get a series of messages "Couldn't install ... search engine plugin. Plugin is not supported." Same when I try to install search plugins manually.
net-p2p/qbittorrent-5.0.4, USE Flags: dbus gui -systemd -test -verify-sig -webui
Same with earlier 5.0.x versions.
In console 2 errors appear:
Code: |
Could not parse Nova search engine capabilities, msg:
Error: Traceback (most recent call last):
File "/home/tkzv/.local/share/qBittorrent/nova3/nova2.py", line 266, in <module>
main(sys.argv[1:])
File "/home/tkzv/.local/share/qBittorrent/nova3/nova2.py", line 224, in main
displayCapabilities(supported_engines)
File "/home/tkzv/.local/share/qBittorrent/nova3/nova2.py", line 172, in displayCapabilities
"".join(engines_to_xml(supported_engines)),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/tkzv/.local/share/qBittorrent/nova3/nova2.py", line 154, in engines_to_xml
tab, tab, "<name>", search_engine.name, "</name>\n",
^^^^^^^^^^^^^^^^^^
AttributeError: type object 'tokyotoshokan' has no attribute 'name'
|
and
Code: |
Could not parse Nova search engine capabilities, msg:
Error: /home/tkzv/.local/share/qBittorrent/nova3/engines/dmhyorg.py:51: SyntaxWarning: invalid escape sequence '\s'
get_item = re_compile('(?m)<a href="(/topics/view/[^"]+)"[^>]+>\s*([^<]*)</a>(?:\s*.*){2}(magnet:[^"]+)".*\s*.*>([\d\.]+)(\w+)</td[^/]+btl_1">([\d-]+)</span></td>\s*[^/]+bts_1">([\d-]+)<')
/home/tkzv/.local/share/qBittorrent/nova3/engines/torrentfunk.py:86: SyntaxWarning: invalid escape sequence '\s'
m = re.search('(/tor/.+?\s)', html)
/home/tkzv/.local/share/qBittorrent/nova3/engines/mejor.py:114: SyntaxWarning: invalid escape sequence '\.'
torrentLink2 = re.search('<a.*?href=[\'\"](.+?\.torrent)[\'\"]>',html)
/home/tkzv/.local/share/qBittorrent/nova3/engines/smallgames.py:52: SyntaxWarning: invalid escape sequence '\s'
match = re.compile('<a title=\"(.*?)\"\shref=\"/.*?i=(\d*).*?Скачать\sигру\s\((.{2,11})\)')
/home/tkzv/.local/share/qBittorrent/nova3/engines/magnetdl.py:17: SyntaxWarning: invalid escape sequence '\s'
'<td\sclass="m"><a\shref="(magnet.*?)"\stitle=".*?class="n"><a\shref="(.*?)"\stitle="(.*?)">.*?<td\sclass="t.">.*?</td><td>.*?</td><td>(.*?)</td><td\sclass="s">(.*?)</td><td\sclass="l">(.*?)</td>')
/home/tkzv/.local/share/qBittorrent/nova3/engines/yts.py:46: SyntaxWarning: invalid escape sequence '\s'
data = re.sub("\s\s+", "", data).replace('\n', '').replace('\r', '')
/home/tkzv/.local/share/qBittorrent/nova3/engines/yts.py:55: SyntaxWarning: invalid escape sequence '\s'
response_detail = re.sub("\s\s+", "", response_detail).replace('\n', '').replace('\r', '')
/home/tkzv/.local/share/qBittorrent/nova3/engines/yts.py:56: SyntaxWarning: invalid escape sequence '\d'
movie_id = re.findall('data-movie-id="(\d+)"', response_detail)[0]
/home/tkzv/.local/share/qBittorrent/nova3/engines/yts.py:91: SyntaxWarning: invalid escape sequence '\w'
'genre':{'x':'(term=\w+[\s+|$]?)'},
/home/tkzv/.local/share/qBittorrent/nova3/engines/yts.py:92: SyntaxWarning: invalid escape sequence '\w'
'quality':{'x':'(term=\w+[\s+|$]?)'},
/home/tkzv/.local/share/qBittorrent/nova3/engines/yts.py:93: SyntaxWarning: invalid escape sequence '\s'
'minimum_rating':{'x':'(term=?[0-9]*[.]?[0-9]+[\s+|$]?)'},
/home/tkzv/.local/share/qBittorrent/nova3/engines/yts.py:94: SyntaxWarning: invalid escape sequence '\w'
'sort_by':{'x':'(term=\w+[\s+|$]?)'},
/home/tkzv/.local/share/qBittorrent/nova3/engines/yts.py:95: SyntaxWarning: invalid escape sequence '\w'
'order_by':{'x':'(term=\w+[\s+|$]?)'},
/home/tkzv/.local/share/qBittorrent/nova3/engines/yts.py:96: SyntaxWarning: invalid escape sequence '\w'
'with_rt_ratings':{'x':'(term=\w+[\s+|$]?)'},
/home/tkzv/.local/share/qBittorrent/nova3/engines/yts.py:97: SyntaxWarning: invalid escape sequence '\w'
'page':{'x':'(term=\w+[\s+|$]?)','value':'1'},
/home/tkzv/.local/share/qBittorrent/nova3/engines/yts.py:98: SyntaxWarning: invalid escape sequence '\s'
'limit':{'x':'(term=.*[\s+|$]?)','value':'1'},
/home/tkzv/.local/share/qBittorrent/nova3/engines/yts.py:99: SyntaxWarning: invalid escape sequence '\s'
'query_term':{'x':'(term=.*[\s+|$]?)','value':'%%'}}
/home/tkzv/.local/share/qBittorrent/nova3/engines/linuxtracker.py:91: SyntaxWarning: "is" with 'int' literal. Did you mean "=="?
if self.strong_count is 0 and self.curr:
/home/tkzv/.local/share/qBittorrent/nova3/engines/linuxtracker.py:94: SyntaxWarning: "is" with 'int' literal. Did you mean "=="?
elif self.strong_count is 3 and self.curr:
/home/tkzv/.local/share/qBittorrent/nova3/engines/linuxtracker.py:101: SyntaxWarning: "is" with 'int' literal. Did you mean "=="?
elif self.strong_count is 4 and self.curr:
/home/tkzv/.local/share/qBittorrent/nova3/engines/linuxtracker.py:107: SyntaxWarning: "is" with 'int' literal. Did you mean "=="?
elif self.strong_count is 5 and self.curr:
/home/tkzv/.local/share/qBittorrent/nova3/engines/linuxtracker.py:113: SyntaxWarning: "is" with 'int' literal. Did you mean "=="?
elif self.strong_count is 6:
/home/tkzv/.local/share/qBittorrent/nova3/engines/cpasbien.py:60: SyntaxWarning: invalid escape sequence '\/'
link = self.real_url + re.findall("<a href='(\/get_torrents\/.*?)'>", content)[0]
/home/tkzv/.local/share/qBittorrent/nova3/engines/darklibria.py:32: SyntaxWarning: invalid escape sequence '\d'
dt_regex = re_compile('\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}')
/home/tkzv/.local/share/qBittorrent/nova3/engines/tntvillagedump.py:1501: SyntaxWarning: invalid escape sequence '\w'
["E3FE294056B63D6784BF81B0ABF09DF2D849FF85", "622475", "Death Parade S01e01-12 (2015) + OAV [BDmux 1080p - H265 - Ita Ac3 2.0 Jap Aac 2.0 Eng Aac 5.1 - Softsub Ita Eng] Filtered v2 \wSalem.85 ", 4191472845],
/home/tkzv/.local/share/qBittorrent/nova3/engines/tntvillagedump.py:27975: SyntaxWarning: invalid escape sequence '\s'
["96099AF956653A42E2FE5359F1D68662760B6A74", "551745", "Un Salto Nel Buio S03e12-22 [Mux - H264 - Ita Mp3 - SoftSub Ita] DVDmux by horror splatter zone\sub by evildead", 2064960717],
/home/tkzv/.local/share/qBittorrent/nova3/engines/tntvillagedump.py:28004: SyntaxWarning: invalid escape sequence '\s'
["D63A841C596875F186FEA4092D15F1761A2F02A1", "551638", "Un Salto Nel Buio S03e01-11 [Mux - H264 - Ita Mp3 - SoftSub Ita] DVDmux by horror splatter zone\sub by evildead", 2062863565],
/home/tkzv/.local/share/qBittorrent/nova3/engines/tntvillagedump.py:28016: SyntaxWarning: invalid escape sequence '\s'
["CC6DFC5D0ECAC0D5041292D10DCB6C021FDB3B87", "551610", "Un Salto Nel Buio S02e13-24 [Mux - H264 - Ita Mp3 - SoftSub Ita] DVDmux by horror splatter zone\sub by evildead", 2250558669],
/home/tkzv/.local/share/qBittorrent/nova3/engines/tntvillagedump.py:28102: SyntaxWarning: invalid escape sequence '\s'
["7D57B7E25F6076D33A6D06C48A783413E8F93F84", "551334", "Un Salto Nel Buio S02e01-12 [Mux - H264 - Ita Mp3 - SoftSub Ita] DVDmux by horror splatter zone\sub by evildead", 2261044429],
/home/tkzv/.local/share/qBittorrent/nova3/engines/tntvillagedump.py:28166: SyntaxWarning: invalid escape sequence '\s'
["34B0081DB166F92EF40B3605F0EEAE82B6E9945E", "551182", "Un Salto Nel Buio S01e12-23 [Mux - H264 - Ita Mp3 - SoftSub Ita] DVDmux by horror splatter zone\sub by evildead", 2242170061],
/home/tkzv/.local/share/qBittorrent/nova3/engines/tntvillagedump.py:31766: SyntaxWarning: invalid escape sequence '\H'
["8301D195F166661700106110A9A3145AB50CE01D", "539538", "Regression (2015) [BDrip 1080p - H264 - Ita Ac3 Eng Dts - Sub Ita Eng] Thriller\Horror *Prima Visione*", 8570378650],
/home/tkzv/.local/share/qBittorrent/nova3/engines/tntvillagedump.py:45655: SyntaxWarning: invalid escape sequence '\S'
["2C32F39A27C625448145AFB100598B2384F01768", "494434", "Dying Light: Enhanced Edition [1BD25 - Multi9] Azione\Survival - V.1.10.1 All DLC - FitGirl Repack", 18742666854],
/home/tkzv/.local/share/qBittorrent/nova3/engines/tntvillagedump.py:50515: SyntaxWarning: invalid escape sequence '\s'
["510B1CC035581BDB58A9F325A2308ED2784EA597", "476092", "Un Salto Nel Buio S01e01-11 [Mux - H264 - Ita Mp3 SoftSub Ita]dvdmux by horror splatter zone\sub by evildead", 2257164698],
/home/tkzv/.local/share/qBittorrent/nova3/engines/tntvillagedump.py:65654: SyntaxWarning: invalid escape sequence '\I'
["FDC0BE5E778A8B15CC1D0E25868053625D248CCF", "421355", "VigasioSexploitation [DVDRip - H264 - Muto FLAC\Ita AC3 - SoftSub Eng] + Extra + OST - Agricolo - Free Culture", 2415027814],
/home/tkzv/.local/share/qBittorrent/nova3/engines/tntvillagedump.py:76753: SyntaxWarning: invalid escape sequence '\M'
["08255B7B315A05429B72568EE562C923A92867B1", "378267", "Paul Kalkbrenner - Guten Tag (2012) [Mp3 128 Kbps] Tech-House\Minimal\Downtempo", 105195110],
/home/tkzv/.local/share/qBittorrent/nova3/engines/tntvillagedump.py:92400: SyntaxWarning: invalid escape sequence '\A'
["A30F3F2EBFC27E3DFE1D087E003C20DACB15C8D4", "312585", "Assassin’s Creed III [1 DVD9 - Multi5] Azione\Avventura - Xbox 360", 8742187827],
/home/tkzv/.local/share/qBittorrent/nova3/engines/tntvillagedump.py:93998: SyntaxWarning: invalid escape sequence '\G'
["67D996B6EA5BEBB48B113740CAE7F8F1DB4C56AE", "305088", "Dolphin 3.0.419 [1 CD - Eng] Emulatore Nintendo Wii\GC - Free culture", 4034560],
/home/tkzv/.local/share/qBittorrent/nova3/engines/tntvillagedump.py:96445: SyntaxWarning: invalid escape sequence '\M'
["EE94AD2A44F24FC4D251D349B4BF65C8A11874A1", "294182", "Roxio Creator 2012 Pro [Iso - MultiLang] Video editing\Masterizzazione - Progetto Grafica", 1894082150],
/home/tkzv/.local/share/qBittorrent/nova3/engines/tntvillagedump.py:105741: SyntaxWarning: invalid escape sequence '\R'
["FAB1A34ED11CB19626918A6CE1D17B549183CA5C", "253289", "Leonard Cohen - More Best Of [Flac] Folk\Rock", 462943027],
/home/tkzv/.local/share/qBittorrent/nova3/engines/tntvillagedump.py:110563: SyntaxWarning: invalid escape sequence '\C'
["B0A4925443542B7B154640B2C4D9954ADE3334B0", "233862", "Bloodshed Dev-C++ v4.9.9.2 & v4.0 [Exe - MultiLang] Compilatore in linguaggio C\C++ - Free Culture", 26624000],
/home/tkzv/.local/share/qBittorrent/nova3/engines/tntvillagedump.py:112231: SyntaxWarning: invalid escape sequence '\R'
["AF03B75F7785ED4F935C9ACA963FADA77572CCC1", "226052", "Leonard Cohen - Songs From The Road [BDrip 720p - H264 - Eng Ac3] Folk\Rock Live", 2344707686],
/home/tkzv/.local/share/qBittorrent/nova3/engines/tntvillagedump.py:112760: SyntaxWarning: invalid escape sequence '\A'
["30CA1C8A0735A3F68A4CA9D273886E6BC49606C4", "223542", "Mass Effect 2 [2 DVD9 - Multi5] Gioco di ruolo\Azione ", 15348373914],
/home/tkzv/.local/share/qBittorrent/nova3/engines/tntvillagedump.py:112944: SyntaxWarning: invalid escape sequence '\S'
["2C85DC77B3DBA945EE23DD2563073D3C7FB1CE22", "222631", "PS1 - Resident Evil 3 Nemesis [1 CD - Ita] PAL - Azione\Survival Horror [CURA] Ciclo Resident Evil", 356686234],
/home/tkzv/.local/share/qBittorrent/nova3/engines/tntvillagedump.py:119660: SyntaxWarning: invalid escape sequence '\E'
["025370829E7CF8B3D2051E141CE107E78A55D5B9", "184655", "Registry Booster, DriverScanner & SpeedUpMyPc [Win - Ita\Eng] Set Programmi Manutenzione PC by sasytherev - Progetto Ottimizza PC", 7938048],
/home/tkzv/.local/share/qBittorrent/nova3/engines/tntvillagedump.py:120548: SyntaxWarning: invalid escape sequence '\F'
["54BD190FB6F630DE9604CD087DC794CF62AE8AB7", "178985", "Blade Runner - The Final Cut (1982) [BDrip 720p - H264 - Ita Ac3 Eng Flac - Sub Ita Eng] Azione\Fantascienza - Scy Fy Vintage", 8549249843],
/home/tkzv/.local/share/qBittorrent/nova3/engines/tntvillagedump.py:122250: SyntaxWarning: invalid escape sequence '\A'
["3B78287D469AB6114CF61407E296AC4CE065C6D7", "165954", "Transformers (2007) [XviD - Ita Mp3] Azione\Avventura\Fantascienza", 1138045747],
/home/tkzv/.local/share/qBittorrent/nova3/engines/tntvillagedump.py:125940: SyntaxWarning: invalid escape sequence '\ '
["9AD5CE6208855E8FA43D7BAAB05635FC4686ED64", "136333", "Contact [DVD5 - Ita Eng - Sub Ita] Fantascienza \ Drammatico", 4680935014],
/home/tkzv/.local/share/qBittorrent/nova3/engines/tntvillagedump.py:129309: SyntaxWarning: invalid escape sequence '\C'
["C75FECB89719D9D6CCD6067173780467BEA3A452", "102081", "Microsoft Expression Web [Win - Ita] Programma della Microsoft per realizzare siti web HTML\CSS", 222206362],
/home/tkzv/.local/share/qBittorrent/nova3/engines/tntvillagedump.py:129970: SyntaxWarning: invalid escape sequence '\D'
["860383A069BAE5D0CE667CB02D0EFDA36DBE6DF9", "92187", "The President's Barber (2004) [Divx - Kor AC3 - sub Ita Eng Fra Esp] Asian Movie Commedia\Drammatico", 1468884582],
/home/tkzv/.local/share/qBittorrent/nova3/engines/tntvillagedump.py:130043: SyntaxWarning: invalid escape sequence '\I'
["49048EABD31725EC90B341244EC743BCE013DD3F", "91118", "Train Simulator [Simulazione - 1DVD - ENG\ITA]", 1310811750],
/home/tkzv/.local/share/qBittorrent/nova3/engines/tntvillagedump.py:131255: SyntaxWarning: invalid escape sequence '\H'
["54EA2E2C29101CBE714C95CC4313497C1F47EA19", "74275", "Death Note (2006) [Xvid - JAP AC3 - Sub Ita] Asian Movie Avventura\Horror", 1653918925],
/home/tkzv/.local/share/qBittorrent/nova3/engines/tntvillagedump.py:131985: SyntaxWarning: invalid escape sequence '\M'
["57AD74BBCC4875EAE4B48E5AF4DB25FA95584370", "62083", "NES\MSX2 - Metal Gear Rom Pack [Ita Eng] Azione + emulatori By TNT Cercatori", 40389836],
/home/tkzv/.local/share/qBittorrent/nova3/engines/elitetorrent.py:69: SyntaxWarning: invalid escape sequence '\.'
item['size'] = re.search("Tama.?o:</b> [0-9\.]+[\ GM]+B", data).group(0).split("</b>")[1].strip()
/home/tkzv/.local/share/qBittorrent/nova3/engines/tokyotoshokan.py:39: SyntaxWarning: invalid escape sequence '\s'
self.get_size_regex = re_compile(".*Size:\s+([^ ]*)\s+.*")
/home/tkzv/.local/share/qBittorrent/nova3/engines/tokyotoshokan.py:102: SyntaxWarning: invalid escape sequence '\?'
additional_links = re_compile("\?lastid=[0-9]+&page=[0-9]+&terms={}".format(query.replace('%20', '\\+')))
/home/tkzv/.local/share/qBittorrent/nova3/engines/cinecalidad.py:65: SyntaxWarning: invalid escape sequence '\/'
torrPage2Link = re.search('(\/protect.+?)[\'\"]',html)
/home/tkzv/.local/share/qBittorrent/nova3/engines/cinecalidad.py:68: SyntaxWarning: invalid escape sequence '\:'
magnet = re.search('(magnet\:\?.+?)[\'\"]',html2)
/home/tkzv/.local/share/qBittorrent/nova3/engines/torrent9.py:56: SyntaxWarning: invalid escape sequence '\/'
pattern = '"btn btn-danger download" href="(\/.*?)">'
Traceback (most recent call last):
File "/home/tkzv/.local/share/qBittorrent/nova3/nova2.py", line 266, in <module>
main(sys.argv[1:])
File "/home/tkzv/.local/share/qBittorrent/nova3/nova2.py", line 224, in main
displayCapabilities(supported_engines)
File "/home/tkzv/.local/share/qBittorrent/nova3/nova2.py", line 172, in displayCapabilities
"".join(engines_to_xml(supported_engines)),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/tkzv/.local/share/qBittorrent/nova3/nova2.py", line 154, in engines_to_xml
tab, tab, "<name>", search_engine.name, "</name>\n",
^^^^^^^^^^^^^^^^^^
AttributeError: type object 'tokyotoshokan' has no attribute 'name'
|
The former appeared before I access "Search" tab, the latter appeared after I pressed "Check for updates", then the first error repeated many times.
How do I fix it?
ANSWER: Deleting ~/.local/share/qBittorrent/nova3/ worked for me this time. I believe, I unsuccessfully tried that with one of the earlier versions last year.
Last edited by tkzv on Sun Apr 06, 2025 1:18 pm; edited 1 time in total |
|