Closed lucastucious closed 11 months ago
I looked into it. I think the changed data path is a red herring, I tried it myself and it works fine, everything in the code also looks good on that front.
The error you get however can only occur when COMPASS detects that you have chrome installed but you said that you don't so the issue is most likely related to that. So I have taken the following steps to mitigate this issue:
After manys verifications :
Here is an error, i think related to this issue, when i try to renew cover from an homebrewery item :
and here is the log all.log
Here is what i found :
C:\Program Files\Google\Chrome\Application\chrome.exe
C:\Users\lucas\AppData\Local\JxBrowser\7.27
, but it's for flutter developmentC:\Users\lucas\AppData\Local\Vivaldi\Application
On app menu | after uninstall pressed |
---|---|
the log from F:/COMPASS is here all.log
Windows still think i have chromium, but when i want to uninstall it, it cant find the exe
Seems like windows has exactly the same problem COMPASS has, something must have gone wrong while uninstalling so the files are deleted but there is still a registry entry in windows indicating that the program is still there, not much I can do about it. But with the new code it will now just move on from this problem and use firefox so all good.
I have also solved the crash, it was trying to take the most recent webdriver but because you didn't have a webdriver due to your problem, it was trying to take the last out of an empty list, hence the error "sequence contains no elements".
Still, why compass can't find the chrome folder ?
It doesn't search for it, that would take way too long. Imagine if COMPASS was running on a PC with 16TB hard drive full of data, good luck finding that one chrome.exe file.
So instead of doing that, it looks at the windows registry where windows keeps a table of installed programs and where they are installed. It's the same list windows uses when you go to Apps in the windows settings or when you search for apps using Windows search. It's specifically designed so that you don't have to hunt down the right exe file every time you want to start an app.
So if that registry entry is wrong or outdated, neither Windows nor COMPASS will find it.
I understand, but since I have a registry entry for chromium, chrome and Firefox, you could have fallback when the first isn't found
That is exactly what I have done in the first commit that references this issue, the fix will be part of the next update.
More info : I've COMPASS installed on another computer. No data path changed, fresh install, chrome as main browser but still this message. here is the log all.log
Looked at the log and despite it being the same error, the problem is different.
In this case it does detect your chrome install correctly but fails to download the webdriver itself. Seems like chrome changed download url for their webdrivers starting with with version 115 so if you have an up to date version of chrome (118 at the time of writing) it will indeed fail.
The package I use (WebDriverManager.NET) has released a update that fixes this which will be included in the next release of COMPASS.
Describe the bug After changing path for Compass data, webdrivers can't download .
So I cannot download homebrewery cover, for example
To Reproduce Steps to reproduce the behavior:
Screenshots/files
System info (please complete the following information):