https://github.com/qbittorrent/qBittorr ... 1335212274 tells us an extra option could be enabled for the advanced tab which would let users specify the Python executable path.
I want to try this because qBittorrent fails to find my Python installations (viewtopic.php?t=11055&start=75)
Has that option been discarded again? Should I compile my own version? Where can I find the file advancedsettings.cpp so I can add the required line to be added so that advanced option to set the python path manually is shown?
It feels like this might be a workaround to my stubborn python not found problem :(
:) Thanks!
UPDATE EDIT: apparently, this option will be for version 5, but an alpha version is out as of 6 months ago at least. From: https://www.reddit.com/r/qBittorrent/co ... t/k4abqdr/
Allow users to specify Python executable path #19644
Allow users to specify Python executable path #19644
Last edited by bitcoin on Sat Apr 20, 2024 8:23 am, edited 1 time in total.
Re: Allow users to specify Python executable path #19644
While I await feedback on the original question...
I'm going to see what this registry hack can do for me: https://github.com/qbittorrent/qBittorr ... e-23511099
Until the <EDIT> :)
EDIT: while being hopeful, adding the appropriate missing python path registry keys to wow64 did not fix anything. Python still isn't found.
REG file I imported:
Nor did changing back to Python 3.8.5 fix anything. After doing that, qB still starts the no python found dialogue... https://www.reddit.com/r/qBittorrent/co ... ported_no/
I'm going to see what this registry hack can do for me: https://github.com/qbittorrent/qBittorr ... e-23511099
Until the <EDIT> :)
EDIT: while being hopeful, adding the appropriate missing python path registry keys to wow64 did not fix anything. Python still isn't found.
REG file I imported:
Code: Select all
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Wow6432Node\Python\PythonCore\3.10\InstallPath]
@="C:\\Users\\Gebruiker\\AppData\\Local\\Programs\\Python\\Python310\\"
"ExecutablePath"="C:\\Users\\Gebruiker\\AppData\\Local\\Programs\\Python\\Python310\\python.exe"
"WindowedExecutablePath"="C:\\Users\\Gebruiker\\AppData\\Local\\Programs\\Python\\Python310\\pythonw.exe"
Code: Select all
C:\Windows\System32>where python
C:\Program Files\Python312\python.exe
C:\Users\Gebruiker\AppData\Local\Programs\Python\Python310\python.exe
C:\Users\Gebruiker\AppData\Local\Microsoft\WindowsApps\python.exe
Code: Select all
C:\Windows\System32>python --version
Python 3.12.3
Re: Allow users to specify Python executable path #19644
I updated to 5.0.0beta1_lt20
First test: start clean, remove Python and enable View - Search.
Same results:
First test: start clean, remove Python and enable View - Search.
Same results:
Code: Select all
20-4-2024 11:07 - Failed to find Python executable
20-4-2024 11:07 - Failed to find `python` executable in Windows Registry.
20-4-2024 11:07 - Failed to find `python` executable in PATH environment variable. PATH: "C:\Program Files (x86)\Microsoft\Edge\Application;C:\Program Files\Python312\Scripts\;C:\Program Files\Python312\;C:\Program Files\Python38\Scripts;C:\Program Files\Python38;C:\Users\Gebruiker\AppData\Local\Programs\Python\Python310;C:\Users\Gebruiker\AppData\Local\Programs\Python\Python38;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\WINDOWS\System32\OpenSSH;C:\Program Files\dotnet;C:\Program Files\Git\cmd;C:\Program Files (x86)\Microsoft SQL Server\160\Tools\Binn;C:\Program Files\Microsoft SQL Server\160\Tools\Binn;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn;C:\Program Files\Microsoft SQL Server\160\DTS\Binn;C:\Program Files\dotnet\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;C:\Program Files\Microsoft SQL Server\160\DTS\Binn\;C:\Users\Gebruiker\AppData\Local\Programs\Python\Python39\;C:\Users\Gebruiker\AppData\Local\Programs\Python\Python39\Scripts;C:\Users\Gebruiker\AppData\Local\Programs\Python\Python310;C:\Users\Gebruiker\AppData\Local\Programs\Python\Python310\Scripts;C:\Users\Gebruiker\AppData\Local\Programs\Python\Python38;C:\Users\Gebruiker\AppData\Local\Programs\Python\Python38\Scripts;C:\Users\Gebruiker\AppData\Local\Microsoft\WindowsApps;C:\Users\Gebruiker\AppData\Local\Programs\Microsoft VS Code\bin;"
20-4-2024 11:07 - Failed to find `python3` executable in PATH environment variable. PATH: "C:\Program Files (x86)\Microsoft\Edge\Application;C:\Program Files\Python312\Scripts\;C:\Program Files\Python312\;C:\Program Files\Python38\Scripts;C:\Program Files\Python38;C:\Users\Gebruiker\AppData\Local\Programs\Python\Python310;C:\Users\Gebruiker\AppData\Local\Programs\Python\Python38;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\WINDOWS\System32\OpenSSH;C:\Program Files\dotnet;C:\Program Files\Git\cmd;C:\Program Files (x86)\Microsoft SQL Server\160\Tools\Binn;C:\Program Files\Microsoft SQL Server\160\Tools\Binn;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn;C:\Program Files\Microsoft SQL Server\160\DTS\Binn;C:\Program Files\dotnet\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;C:\Program Files\Microsoft SQL Server\160\DTS\Binn\;C:\Users\Gebruiker\AppData\Local\Programs\Python\Python39\;C:\Users\Gebruiker\AppData\Local\Programs\Python\Python39\Scripts;C:\Users\Gebruiker\AppData\Local\Programs\Python\Python310;C:\Users\Gebruiker\AppData\Local\Programs\Python\Python310\Scripts;C:\Users\Gebruiker\AppData\Local\Programs\Python\Python38;C:\Users\Gebruiker\AppData\Local\Programs\Python\Python38\Scripts;C:\Users\Gebruiker\AppData\Local\Microsoft\WindowsApps;C:\Users\Gebruiker\AppData\Local\Programs\Microsoft VS Code\bin;"
20-4-2024 11:07 - Failed to find Python executable
20-4-2024 11:07 - Failed to find `python` executable in Windows Registry.
20-4-2024 11:07 - Failed to find `python` executable in PATH environment variable. PATH: "C:\Program Files (x86)\Microsoft\Edge\Application;C:\Program Files\Python312\Scripts\;C:\Program Files\Python312\;C:\Program Files\Python38\Scripts;C:\Program Files\Python38;C:\Users\Gebruiker\AppData\Local\Programs\Python\Python310;C:\Users\Gebruiker\AppData\Local\Programs\Python\Python38;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\WINDOWS\System32\OpenSSH;C:\Program Files\dotnet;C:\Program Files\Git\cmd;C:\Program Files (x86)\Microsoft SQL Server\160\Tools\Binn;C:\Program Files\Microsoft SQL Server\160\Tools\Binn;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn;C:\Program Files\Microsoft SQL Server\160\DTS\Binn;C:\Program Files\dotnet\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;C:\Program Files\Microsoft SQL Server\160\DTS\Binn\;C:\Users\Gebruiker\AppData\Local\Programs\Python\Python39\;C:\Users\Gebruiker\AppData\Local\Programs\Python\Python39\Scripts;C:\Users\Gebruiker\AppData\Local\Programs\Python\Python310;C:\Users\Gebruiker\AppData\Local\Programs\Python\Python310\Scripts;C:\Users\Gebruiker\AppData\Local\Programs\Python\Python38;C:\Users\Gebruiker\AppData\Local\Programs\Python\Python38\Scripts;C:\Users\Gebruiker\AppData\Local\Microsoft\WindowsApps;C:\Users\Gebruiker\AppData\Local\Programs\Microsoft VS Code\bin;"
20-4-2024 11:07 - Failed to find `python3` executable in PATH environment variable. PATH: "C:\Program Files (x86)\Microsoft\Edge\Application;C:\Program Files\Python312\Scripts\;C:\Program Files\Python312\;C:\Program Files\Python38\Scripts;C:\Program Files\Python38;C:\Users\Gebruiker\AppData\Local\Programs\Python\Python310;C:\Users\Gebruiker\AppData\Local\Programs\Python\Python38;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\WINDOWS\System32\OpenSSH;C:\Program Files\dotnet;C:\Program Files\Git\cmd;C:\Program Files (x86)\Microsoft SQL Server\160\Tools\Binn;C:\Program Files\Microsoft SQL Server\160\Tools\Binn;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn;C:\Program Files\Microsoft SQL Server\160\DTS\Binn;C:\Program Files\dotnet\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;C:\Program Files\Microsoft SQL Server\160\DTS\Binn\;C:\Users\Gebruiker\AppData\Local\Programs\Python\Python39\;C:\Users\Gebruiker\AppData\Local\Programs\Python\Python39\Scripts;C:\Users\Gebruiker\AppData\Local\Programs\Python\Python310;C:\Users\Gebruiker\AppData\Local\Programs\Python\Python310\Scripts;C:\Users\Gebruiker\AppData\Local\Programs\Python\Python38;C:\Users\Gebruiker\AppData\Local\Programs\Python\Python38\Scripts;C:\Users\Gebruiker\AppData\Local\Microsoft\WindowsApps;C:\Users\Gebruiker\AppData\Local\Programs\Microsoft VS Code\bin;"
20-4-2024 11:03 - UPnP/NAT-PMP port mapping failed. Message: "could not map port using UPnP[192.168.56.1]: no router found"
20-4-2024 11:03 - UPnP/NAT-PMP port mapping failed. Message: "could not map port using UPnP[192.168.56.1]: no router found"
20-4-2024 11:03 - Failed to find Python executable
20-4-2024 11:03 - Failed to find `python` executable in Windows Registry.
20-4-2024 11:03 - Failed to find `python` executable in PATH environment variable. PATH: "C:\Program Files (x86)\Microsoft\Edge\Application;C:\Program Files\Python312\Scripts\;C:\Program Files\Python312\;C:\Program Files\Python38\Scripts;C:\Program Files\Python38;C:\Users\Gebruiker\AppData\Local\Programs\Python\Python310;C:\Users\Gebruiker\AppData\Local\Programs\Python\Python38;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\WINDOWS\System32\OpenSSH;C:\Program Files\dotnet;C:\Program Files\Git\cmd;C:\Program Files (x86)\Microsoft SQL Server\160\Tools\Binn;C:\Program Files\Microsoft SQL Server\160\Tools\Binn;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn;C:\Program Files\Microsoft SQL Server\160\DTS\Binn;C:\Program Files\dotnet\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;C:\Program Files\Microsoft SQL Server\160\DTS\Binn\;C:\Users\Gebruiker\AppData\Local\Programs\Python\Python39\;C:\Users\Gebruiker\AppData\Local\Programs\Python\Python39\Scripts;C:\Users\Gebruiker\AppData\Local\Programs\Python\Python310;C:\Users\Gebruiker\AppData\Local\Programs\Python\Python310\Scripts;C:\Users\Gebruiker\AppData\Local\Programs\Python\Python38;C:\Users\Gebruiker\AppData\Local\Programs\Python\Python38\Scripts;C:\Users\Gebruiker\AppData\Local\Microsoft\WindowsApps;C:\Users\Gebruiker\AppData\Local\Programs\Microsoft VS Code\bin;"
20-4-2024 11:03 - Failed to find `python3` executable in PATH environment variable. PATH: "C:\Program Files (x86)\Microsoft\Edge\Application;C:\Program Files\Python312\Scripts\;C:\Program Files\Python312\;C:\Program Files\Python38\Scripts;C:\Program Files\Python38;C:\Users\Gebruiker\AppData\Local\Programs\Python\Python310;C:\Users\Gebruiker\AppData\Local\Programs\Python\Python38;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\WINDOWS\System32\OpenSSH;C:\Program Files\dotnet;C:\Program Files\Git\cmd;C:\Program Files (x86)\Microsoft SQL Server\160\Tools\Binn;C:\Program Files\Microsoft SQL Server\160\Tools\Binn;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn;C:\Program Files\Microsoft SQL Server\160\DTS\Binn;C:\Program Files\dotnet\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;C:\Program Files\Microsoft SQL Server\160\DTS\Binn\;C:\Users\Gebruiker\AppData\Local\Programs\Python\Python39\;C:\Users\Gebruiker\AppData\Local\Programs\Python\Python39\Scripts;C:\Users\Gebruiker\AppData\Local\Programs\Python\Python310;C:\Users\Gebruiker\AppData\Local\Programs\Python\Python310\Scripts;C:\Users\Gebruiker\AppData\Local\Programs\Python\Python38;C:\Users\Gebruiker\AppData\Local\Programs\Python\Python38\Scripts;C:\Users\Gebruiker\AppData\Local\Microsoft\WindowsApps;C:\Users\Gebruiker\AppData\Local\Programs\Microsoft VS Code\bin;"
20-4-2024 11:01 - Failed to find Python executable
20-4-2024 11:01 - Failed to find `python` executable in Windows Registry.
20-4-2024 11:01 - Failed to find `python` executable in PATH environment variable. PATH: "C:\Program Files (x86)\Microsoft\Edge\Application;C:\Program Files\Python312\Scripts\;C:\Program Files\Python312\;C:\Program Files\Python38\Scripts;C:\Program Files\Python38;C:\Users\Gebruiker\AppData\Local\Programs\Python\Python310;C:\Users\Gebruiker\AppData\Local\Programs\Python\Python38;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\WINDOWS\System32\OpenSSH;C:\Program Files\dotnet;C:\Program Files\Git\cmd;C:\Program Files (x86)\Microsoft SQL Server\160\Tools\Binn;C:\Program Files\Microsoft SQL Server\160\Tools\Binn;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn;C:\Program Files\Microsoft SQL Server\160\DTS\Binn;C:\Program Files\dotnet\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;C:\Program Files\Microsoft SQL Server\160\DTS\Binn\;C:\Users\Gebruiker\AppData\Local\Programs\Python\Python39\;C:\Users\Gebruiker\AppData\Local\Programs\Python\Python39\Scripts;C:\Users\Gebruiker\AppData\Local\Programs\Python\Python310;C:\Users\Gebruiker\AppData\Local\Programs\Python\Python310\Scripts;C:\Users\Gebruiker\AppData\Local\Programs\Python\Python38;C:\Users\Gebruiker\AppData\Local\Programs\Python\Python38\Scripts;C:\Users\Gebruiker\AppData\Local\Microsoft\WindowsApps;C:\Users\Gebruiker\AppData\Local\Programs\Microsoft VS Code\bin;"
20-4-2024 11:01 - Failed to find `python3` executable in PATH environment variable. PATH: "C:\Program Files (x86)\Microsoft\Edge\Application;C:\Program Files\Python312\Scripts\;C:\Program Files\Python312\;C:\Program Files\Python38\Scripts;C:\Program Files\Python38;C:\Users\Gebruiker\AppData\Local\Programs\Python\Python310;C:\Users\Gebruiker\AppData\Local\Programs\Python\Python38;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\WINDOWS\System32\OpenSSH;C:\Program Files\dotnet;C:\Program Files\Git\cmd;C:\Program Files (x86)\Microsoft SQL Server\160\Tools\Binn;C:\Program Files\Microsoft SQL Server\160\Tools\Binn;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn;C:\Program Files\Microsoft SQL Server\160\DTS\Binn;C:\Program Files\dotnet\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;C:\Program Files\Microsoft SQL Server\160\DTS\Binn\;C:\Users\Gebruiker\AppData\Local\Programs\Python\Python39\;C:\Users\Gebruiker\AppData\Local\Programs\Python\Python39\Scripts;C:\Users\Gebruiker\AppData\Local\Programs\Python\Python310;C:\Users\Gebruiker\AppData\Local\Programs\Python\Python310\Scripts;C:\Users\Gebruiker\AppData\Local\Programs\Python\Python38;C:\Users\Gebruiker\AppData\Local\Programs\Python\Python38\Scripts;C:\Users\Gebruiker\AppData\Local\Microsoft\WindowsApps;C:\Users\Gebruiker\AppData\Local\Programs\Microsoft VS Code\bin;"
20-4-2024 11:00 - Failed to find Python executable
20-4-2024 11:00 - Failed to find `python` executable in Windows Registry.
20-4-2024 11:00 - Failed to find `python` executable in PATH environment variable. PATH: "C:\Program Files (x86)\Microsoft\Edge\Application;C:\Program Files\Python312\Scripts\;C:\Program Files\Python312\;C:\Program Files\Python38\Scripts;C:\Program Files\Python38;C:\Users\Gebruiker\AppData\Local\Programs\Python\Python310;C:\Users\Gebruiker\AppData\Local\Programs\Python\Python38;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\WINDOWS\System32\OpenSSH;C:\Program Files\dotnet;C:\Program Files\Git\cmd;C:\Program Files (x86)\Microsoft SQL Server\160\Tools\Binn;C:\Program Files\Microsoft SQL Server\160\Tools\Binn;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn;C:\Program Files\Microsoft SQL Server\160\DTS\Binn;C:\Program Files\dotnet\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;C:\Program Files\Microsoft SQL Server\160\DTS\Binn\;C:\Users\Gebruiker\AppData\Local\Programs\Python\Python39\;C:\Users\Gebruiker\AppData\Local\Programs\Python\Python39\Scripts;C:\Users\Gebruiker\AppData\Local\Programs\Python\Python310;C:\Users\Gebruiker\AppData\Local\Programs\Python\Python310\Scripts;C:\Users\Gebruiker\AppData\Local\Programs\Python\Python38;C:\Users\Gebruiker\AppData\Local\Programs\Python\Python38\Scripts;C:\Users\Gebruiker\AppData\Local\Microsoft\WindowsApps;C:\Users\Gebruiker\AppData\Local\Programs\Microsoft VS Code\bin;"
20-4-2024 11:00 - Failed to find `python3` executable in PATH environment variable. PATH: "C:\Program Files (x86)\Microsoft\Edge\Application;C:\Program Files\Python312\Scripts\;C:\Program Files\Python312\;C:\Program Files\Python38\Scripts;C:\Program Files\Python38;C:\Users\Gebruiker\AppData\Local\Programs\Python\Python310;C:\Users\Gebruiker\AppData\Local\Programs\Python\Python38;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\WINDOWS\System32\OpenSSH;C:\Program Files\dotnet;C:\Program Files\Git\cmd;C:\Program Files (x86)\Microsoft SQL Server\160\Tools\Binn;C:\Program Files\Microsoft SQL Server\160\Tools\Binn;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn;C:\Program Files\Microsoft SQL Server\160\DTS\Binn;C:\Program Files\dotnet\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;C:\Program Files\Microsoft SQL Server\160\DTS\Binn\;C:\Users\Gebruiker\AppData\Local\Programs\Python\Python39\;C:\Users\Gebruiker\AppData\Local\Programs\Python\Python39\Scripts;C:\Users\Gebruiker\AppData\Local\Programs\Python\Python310;C:\Users\Gebruiker\AppData\Local\Programs\Python\Python310\Scripts;C:\Users\Gebruiker\AppData\Local\Programs\Python\Python38;C:\Users\Gebruiker\AppData\Local\Programs\Python\Python38\Scripts;C:\Users\Gebruiker\AppData\Local\Microsoft\WindowsApps;C:\Users\Gebruiker\AppData\Local\Programs\Microsoft VS Code\bin;"
20-4-2024 11:00 - IP geolocation database loaded. Type: DBIP-Country-Lite. Build time: Mon Apr 1 02:25:20 2024.
Code: Select all
C:\Windows\System32>python --version
Python 3.10.11
C:\Windows\System32>where python
C:\Users\Gebruiker\AppData\Local\Programs\Python\Python310\python.exe
C:\Users\Gebruiker\AppData\Local\Microsoft\WindowsApps\python.exe
Re: Allow users to specify Python executable path #19644
FRACK! NOT EVEN MANUALLY SETTING THE PATH HELPS qB finding my Python!!!! WTF! HOW!! :(

EDIT: don't forget to add python.exe to that full ...path\-statement!

EDIT: don't forget to add python.exe to that full ...path\-statement!
Last edited by bitcoin on Sat Apr 20, 2024 11:59 am, edited 2 times in total.
Re: Allow users to specify Python executable path #19644
Still no dice: I posted a bug report to github: https://github.com/qbittorrent/qBittorrent/issues/20737
-
- Newbie
- Posts: 1
- Joined: Fri May 16, 2025 3:25 am
Re: Allow users to specify Python executable path #19644
Hi,
I came up with your post and I hope you found the solution. However, I'm posting here how I solved the same problem. What happens is that we must enter both the full path and the executable file name as well into the 'Python executable path' field value. So, in your case, you should enter (e.g.):
C:\Users\Gebruiker\AppData\Local\Programs\Python\Python310\python.exe
Please, note that you must write the exact name of your python executable file. (e.g. python.exe, python3.exe ...). I hope it helps everyone else who's struggling with the same issue when trying to use search view.
I came up with your post and I hope you found the solution. However, I'm posting here how I solved the same problem. What happens is that we must enter both the full path and the executable file name as well into the 'Python executable path' field value. So, in your case, you should enter (e.g.):
C:\Users\Gebruiker\AppData\Local\Programs\Python\Python310\python.exe
Please, note that you must write the exact name of your python executable file. (e.g. python.exe, python3.exe ...). I hope it helps everyone else who's struggling with the same issue when trying to use search view.