fritzing-app icon indicating copy to clipboard operation
fritzing-app copied to clipboard

Search field is not working

Open igdr opened this issue 9 years ago • 26 comments

Hi,

I installed a new version (Version 0.9.3), but search field doesn't work at all. http://prntscr.com/ca83ov

OS: Windows 10 x64

Thanks.

igdr avatar Aug 25 '16 12:08 igdr

Hi I have identical problem with Fritzing 0.9.3b. OS: Windows 7 32 bit.

SteveSzyd avatar Sep 04 '16 18:09 SteveSzyd

OS: Windows 7 / 64-bit. Exact same problem.

bcelary avatar Sep 16 '16 13:09 bcelary

OS: Linux Mint 17.3 64-bit. After installing 0.9.2 version there is no search function at all.

skipperro avatar Sep 21 '16 19:09 skipperro

Same problem, Windows 10 64bit.

This renders the application practically unusable!

umarsear avatar Nov 09 '16 19:11 umarsear

Downgraded to 0.9.1b and the search works.

umarsear avatar Nov 09 '16 20:11 umarsear

Same issue with Fritzing 0.9.3 BETA, running on Windows 10 64bits.

Fergo avatar Jan 03 '17 16:01 Fergo

Same problem on 0.9.3. Search works for me on 0.9.2. Can't use Fritzing effectively without Search. Can't use earlier version as I need the newer parts.

beneuto avatar Mar 02 '17 05:03 beneuto

You folks may be interested in the discussion on this issue going on in the fritzing forums at

http://forum.fritzing.org/t/search-function-in-the-parts-view-does-not-work/1536/27

I so far can't recreate the problem on either Win7 or Win10, but believe the problem lies in the user directories that Fritzing creates, although deleting them has been reported to not work for at least someone with this problem. A post in the older forums has also been just found that indicates the same thing. Instructions on moving aside the directories is in the forum posts (be careful because the directories contain all your parts and sketches!).

vanepp avatar Mar 02 '17 22:03 vanepp

This was resolved for me by upgrading to Windows 10 Anniversary Update.

beneuto avatar Mar 06 '17 04:03 beneuto

i tried everything. no search box to type in. win 7 64 and .9.3b. i should note i have fritzing running from a second hard drive M:.

lagunacomputer avatar Jun 11 '17 20:06 lagunacomputer

The only thing that worked for me was to revert to a previous version, can't remember which.

umarsear avatar Jun 12 '17 01:06 umarsear

If you don't see the search box field at all, scroll down in the parts bins. At least once (and for one person that we tried everything else before remembering to suggest this) I have seen the search bin at the bottom of the list of bins rather than the top as is usual. If it is just below the scroll window you can drag it up to the top where it normally is.

vanepp avatar Jun 12 '17 18:06 vanepp

I too had the same problem on Windows 10, with the search icon not appearing in the parts bin from a fresh extraction. I have only started to use Fritzing for the first time in the last few days and was really stuck without this feature, so....

This morning, I tracked it down to my anti-virus software (in my case BitDefender) silently blocking writes to: c:\users\adam\onedrive\documents\fritzing\bins

I found a message in the event log for the AV, so 'allowed' / granted the program access to write to these sorts of protected areas including the AppData area for profiles and all is functioning. I have a search button - yeah.

Also, due to the updating of a fresh installation, I have found it best NOT to have Fritzing installed on a network share, it takes forever to start up the first time and killing the process before this update completes, is not good either.

Hope this helps others and may explain why it has been difficult for some to pinpoint.

Braehead avatar Aug 13 '18 05:08 Braehead

There is no search field visible in 0.9.6 on MacOS Catalina for me.

Janus303 avatar Mar 09 '21 06:03 Janus303

@Janus303 Do you have a file "search.fzb" in $HOME/Documents/Fritzing/bins/search.fzb ?

$HOME could also be iCloud, so it would show as "iCloud Drive > Documents > Fritzing > bins > search.fzb" in Finder. The file should have the fritzing icon, with the letters "fzb" on it.

What happens if you open that file in Fritzing? Right click or two finger click -> open . It should open Fritzing and show the last search result.

Any additional information might be useful. Some things to check:

What is the file size of search.fzb ?

If you rename the file, and then start fritzing, you should have two search bins one at the top, one at the bottom of the bin list.

If you delete the file, Fritzing should recreate it once you start it, and it should be about 15kB size.

Do you have write access to the Documents/Fritzing/bin directory, is it on a removable media? Or is it synced via iCloud with other machines that run older versions of Fritzing?

KjellMorgenstern avatar Mar 09 '21 13:03 KjellMorgenstern

I think it is most likely that Fritzing is prevented from writing the file. That could happen due to antivirus or network drives, or even old (long fixed) bugs with case insensitive file systems In any case, it might help to show an error message when the file can not be created, showing the path to the user. That way it should be much easier to identify the various causes.

KjellMorgenstern avatar Mar 13 '21 13:03 KjellMorgenstern

Fritzing has no search field on my Mac (Big Sur). In my machine the Fritzing folder in $HOME/Documents is an alias to the Fritzing package folder in Applications. I replaced the alias with a plain empty folder called Fritzing, started Fritzing, and the search field now works.

zzjlamb avatar Dec 27 '21 05:12 zzjlamb

Similar issues with Windows 11. Installed 0.9.9 (x64) and there's no search function at all.

Reynolds-Beta avatar May 10 '22 13:05 Reynolds-Beta

@Reynolds-Beta Do you have a file "search.fzb" in $HOME/Documents/Fritzing/bins/search.fzb ?

KjellMorgenstern avatar May 10 '22 13:05 KjellMorgenstern

If you mean %userprofile% instead of %HOME% (Windows doesn't have %HOME%) then no, there's no Fritzing subfolder there. That's not where the installer puts Fritzting.

Fritzing gets installed to: %userprofile%/AppData/Local/Programs/Fritzing

Parts bins are located here: %userprofile%/AppData/Local/Programs/Fritzing/fritzing-parts/bins

There is no search.fzb in this or any subfolder

In fact, searching the whole hard drive, there doesn't appear to be a file search.fzb anywhere.

Reynolds-Beta avatar May 10 '22 14:05 Reynolds-Beta

Paths follow operating system conventions using https://doc.qt.io/qt-5/qstandardpaths.html.

I think on windows it should be C:\Users\<USER>\Documents\Fritzing\bins\search.fzb If the file does not exist, Fritzing will try to create it on each start. The other issue you opened also points to a problem that prevents Fritzing from creating files.

KjellMorgenstern avatar May 10 '22 14:05 KjellMorgenstern

It is not application data, but user data. It stores search results, but also custom (imported) parts, edited parts and the like. The installer could run with admin permissions, which would make this issue much worse.

KjellMorgenstern avatar May 10 '22 15:05 KjellMorgenstern

The core issue seems to be that Fritzing (the app) silently fails creating this folder structure at %userprofile%/Documents/Fritzing/bins. No debug output. As this is a core feature, it would be best that the folder structure and feature gets installed at installation time versus at runtime. Alternatively, the installer could make the folder structure so that if it fails an error can be added to the setup logs.

I manually created the folders, then started Fritzing and was able to proceed normally (search shows up at the bottom of the list of bins)

Reynolds-Beta avatar May 10 '22 15:05 Reynolds-Beta

Do you have any antivirus or the like installed, or are you using a unsual configuration (e.g. network filesystem)? Not sure what would prevent Fritzing from creating a directory with user permissions.

KjellMorgenstern avatar May 10 '22 15:05 KjellMorgenstern

If you mean %userprofile% instead of %HOME% (Windows doesn't have %HOME%) then no, there's no Fritzing subfolder there. That's not where the installer puts Fritzting.

Fritzing gets installed to: %userprofile%/AppData/Local/Programs/Fritzing

Parts bins are located here: %userprofile%/AppData/Local/Programs/Fritzing/fritzing-parts/bins

There is no search.fzb in this or any subfolder

In fact, searching the whole hard drive, there doesn't appear to be a file search.fzb anywhere.

This is the location Fritzing gets installed to when you choose "Only this user" (versus "All users") at installation time.

Reynolds-Beta avatar May 10 '22 15:05 Reynolds-Beta

Do you have any antivirus or the like installed, or are you using a unsual configuration (e.g. network filesystem)? Not sure what would prevent Fritzing from creating a directory with user permissions.

Windows Defender didn't flag anything as unusual when Fritzing starts, so I doubt this is an antivirus blocking problem. Other apps have no problem creating folders in %userprofile%/Documents - Arduino IDE, for example.

Reynolds-Beta avatar May 10 '22 15:05 Reynolds-Beta