[Win32] Installing Python 2.7 breaks the search engine

Bug #701512 reported by supermatic
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
qBittorrent
Confirmed
Undecided
Christophe Dumez

Bug Description

After a Python upgrade, from v 2.6 installed by qbittorent to 2.7 installed by me, the search engines I had added were disappeared. I went to the List of unofficial search engine plugins web page to add again the ones are not included in qbittorent: if I choose to import as a file I got an error (Not possible to install the plugin), if I choose to import as web link I got the cursor becoming a sand glass without any response, I have just to close the program.
I try to uninstall everything and reinstall back but with no success, also, in a new installation, if I choose to install Python by qbittorent the sand glass is back for hours with no positive results

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

I'm guessing this is on Windows?

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

Also, do you still have Python 2.6 on your system or just v2.7?

Are you using the default install path or did you install Python somewhere else?

qBittorrent is trying to detect the Python path from the registry key:
HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore

What does it look like on your machine?

Worst scenario, qBittorrent tries to fallback to
"C:\Python26\python.exe" or "C:\Python25\python.exe"

I have just added C:\Python27\python.exe fallback for the next release so this will fix your issue if you installed it at the default location.

summary: - impossible to add search engines
+ [Win32] Installing Python 2.7 breaks the search engine
Changed in qbittorrent:
assignee: nobody → Christophe Dumez (hydr0g3n)
status: New → Incomplete
Revision history for this message
supermatic (zacarna69) wrote :

Hello, tks for the answer.
Yes, I'm so sorry, I forgot to mention the OS: Windows XP Pro sp3 with all updates.

Python 2.6 was installed as per its orginal settings, I didn't change the default installation path and the same condition was for the version 2.7 installation

At the beginning I dind't see the added search engines plugins were missing after Python upgrade, what let me to discover that was IE and FF was not working anymore, any web page I went to open they show me just white pages with no error messages. For that issue I removed Python 2.7 reinstalling 2.6, and here rise the problem described in my first post.

Now I restored a ghost image and everything is fine

Revision history for this message
zeddock (zeddock) wrote :

Now on qbit version 2.8.1.1 on Win 7 64 bit.
When I go to search it complains that I must have Python 2+ installed... asks if I want to do it and I say yes.

First, I would expect to see some indication something is happening.
Second, when I download and install Python version 3.xx it still errors.

What should I do?

Thanx!

zeddock

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

zeddock: Python 3 is not supported (it breaks compatibility with Python 2.x). Install Python 2.7.x instead.

Revision history for this message
pandarean (mclzc89) wrote :

Hi,

I have almost the same problem.

A little windows appears when I try to install a new plugin from a local file, it says: "##### search engine plugin could not be installed." The same happens when I provide a web link.

It happens with all the links from the unnofficial plugins page.

I have installed Python 2.7 and also Python 3.2 in ArchLinux.

Changed in qbittorrent:
status: Incomplete → Confirmed
Revision history for this message
anon8234 (b9e6i) wrote :

I somewhat fixed this by removing python from my PATH.

No idea why it works now. I did so because I heard qbittorrent installed python itself and was hoping it'd give me the right version instead of me trying 10 different ones. Instead, it just worked. Before I had no "Installed search engines" and it would always give me an error when installing new ones. Now they just show up.

However, I still can't install new ones.

Also, while I was scrolling through my single line path line, drinking my cup of tea and waiting for the words "PYTHON" to flash by, I could help but think how shit microsoft was for giving me such a pathetic input dialogue.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.