New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows compatibility (WAS: 0.20.2 Support) #16
Comments
I can' find it with 0.20.1. Installed it by git clone, and with addon manager. |
Downloading the latest release now, I'll have a look. @paulstarkebaum @offbyfour pretty please ping me in a couple of days if I don't get back to you, I tend to get distracted easily. |
Okay that was easy, seems like in 20.x the package.xml is taken into account and forces the code to be in a subfolder. This fix has broken compatibility with 19.x unfortunately 🤷♀️, not sure how to have a version that works on both. Closing for now. |
Compatibility issue fixed (had to move everything in a subfolder, now works with 0.20.x and using a bunch of symlinks we have an approximate compatibility with 19.x, happy to make it work with both properly if there's a nicer workaround). Edit: merged #14 which was the correct fix and the PR was right under my nose all the time… |
There it is! Thank you so much! |
Ooo yes the update worked and I can see it now. However I'm getting an error saying the cache file cannot be found: 16:02:49 File "C:\Users\offbyfour\AppData\Roaming\FreeCAD\Mod\SearchBar.\RefreshTools.py", line 53, in readCacheTools |
@offbyfour I can't reproduce, even if I remove that file. That function is only called in one place, wrapped in a try/except to initialize the cache if it can't read it.
Thanks a lot for helping me debug this. |
I think the file path did exist but there was no file "Cache_SearchBarMod" in it (I did accidentally take out a slash). I dug through the code and it looks like the cache file was not being written because the lxml library was not found on my pc. I had to fight it a little bit but entering this into the python console (windows specific) fixed my issue: ''' pipModule = "lxml" pip_cmd = 'python' |
Ok, now I'm running into another issue, it seems that its loading the data from the workbench but the selection dont seem to work. Every time I click an item it takes me to the top of the search bar and nothing else happens. I tried searching for cylinder but nothing comes up.Also I think the icons are not being pulled in (see picture). |
Thanks a lot for taking the time to help debug this, @offbyfour ! Sorry about the late reply, I've been unwell lately. In a6668a6 I've added
The screenshot looks okay, the part of the results you are showing lists FreeCAD parameters, they don't have an icon (they're just the parameters you can see in |FC Menu Bar |
Hello, is this addon supported on 0.20.2? I have installed it, but I cant seem to find the searchbar anywhere.
The text was updated successfully, but these errors were encountered: