milke / GitFinder-Issues

Bug and issue tracker for GitFinder - git client with macOS Finder integration
16 stars 1 forks source link

Failed to create repository commits manager #42

Closed scattersoft closed 4 years ago

scattersoft commented 5 years ago

There was an error creating or loading repository commits database.

I just get this whenever I access any folder that is supposed to have a repo in it. Nothing works and I have to force quit.

milke commented 5 years ago

First of all, let's try to fix or find a workaround for the issue… GitFinder keeps its own database of cached repository commits and some other data for faster presentation and operations. That database is kept inside repository's (hidden) .git directory inside its own (also hidden) directory named ag.zigz.GitFinder, like in the picture below:

Screen Shot 2019-03-20 at 19 24 08

Reveal hidden files in Finder (cmd+shift+. or you can execute all following operations in the terminal), go to directories of every affected repository, then go into their .git directory and delete ag.zigz.GitFinder directories from there. Check it this solves the problem.

It may happened GitFinder was repeatedly crashing for some reason and hence corrupted commits' databases. I'd appreciate if you open Console.app, select User Reports in the left sidebar and see if there are any crash reports coming from processes named GitFinder or GitFinderSync, or whose name starts with ag.zigz.GitFinder, like in the picture below: Screen Shot 2019-03-20 at 19 19 01 Let me know if this helps. I'll add more descriptive error information in this case in the next version of GitFinder.

Oh yes, make sure GitFinder is not running while doing all of the above!

milke commented 4 years ago

Closed due to inactivity.