Fritzing.0.9.3b.64.pc just hangs on Windows 10


#1

Steps I took that resulted in the problem:

I was informed there is a parts update. After a long time the parts update had downloaded, but had not completed, and fritzing appeared to be hung. I had to reboot the computer. Now Fritzing just hangs after opening up (“Not responding” - using about 20% cpu, but apparently not doing anything)

What I expected should have happened instead:

Should not have hung. Should display any progress so we know if it is actually doing something, and regular progress updates would mean Windows would not think it is not responding. But… how do I now cure the hang? :slight_smile:

My version of Fritzing and my operating system:

fritzing.0.9.3b.64.pc
Windows 10 1803 (Build 17666.1000)

Please also attach any files that help explaining this problem


#2

It is interesting to look at the Fritzing process using Process Monitor because it is going round just about every folder in my computer (why?) trying to create git.exe and I think this is why it appears to be hanging.

For example:

CreateFile C:\Program Files\Common Files\microsoft shared\Windows Live\git.exe “NAME NOT FOUND”

I think this is why it is taking so long and I hope it can be fixed. :slight_smile:


#3

Since you forced it closed the database now needs to be deleted manually and then you can restart and be patient while it downloads and installs parts updates. It takes a long time and gives no feedback. We know it was working because it corrupted the database.

There is a hidden Fritzing folder that has all of your parts in it along with your configuration files. I do not know where it is on Windows. Once you find it you can make a copy if you have added any parts manually and if not you can simply delete the entire thing. Then you just reinstall/start Fritzing and wait patiently, go for a coffee or watch a movie while you wait.


#4

Sorry, but clearly that’s not what is wrong. Why is Fritzing.exe iterating around every folder on my PC looking for git.exe ?


#5

Maybe this will help others. I installed Git from https://git-scm.com/download/win then I copied git.exe from C:\Program Files\Git\bin to c:\windows\ and I saw (in Procmon) that Fritzing stopped trying to find Git and then moved on to tell me there were some old files to clean, then it offered the parts update, and off it went. No problem opening my existing fzz files, no corruption.

But the underlying problem is that Fritzing is trying to find git.exe (and git.cmd, and some other git -related files). Hopefully this problem can be fixed in the next Fritzing release. :slight_smile:


#6

i’m not that familiar with the fritzing use of git but generally programs need to be kept in the install directory in order to work as designed. since you moved git if fritzing was to call git to perform a function then git may not function correctly. since fritzing was scanning for git location it would probably have found the normal install directory. could be this speculation of mine is wrong but something to keep in mind should git crash or fritzing not perform correctly.


#7

Yes, but I only installed Git as a workaround to fix the hang in the first place, and I put it in one of the locations that I saw Fritzing was trying to find it at.

Git is not required to operate Fritzing, but Fritzing looks for it in the wrong way.

Fritzing should look for Git in a proper way, not by looking round my entire filesystem repeatedly each and every time it opens a file. There must be a proper way to detect Git (not sure, maybe by a registry entry). And if not found, don’t try to go searching the file system for it.

It is clearly a bug. :slight_smile:

Hope that it can be fixed in the next release.