milke / GitFinder-Issues

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

Error: 'Repository is outside of "RepoFolders"' even though it is listed #45

Closed ianthrive closed 4 years ago

ianthrive commented 5 years ago

Opening a repository folder displays the error message 'Repsitory is outside of "Repo Folders"' even though the folder is listed.

The list of folders in Preferences > Repsitories cannot be changed. There are several folders listed, but attempting to add to or remove from the list has no effect.

milke commented 5 years ago

Hm, it seems for some reason one of the preferences file got corrupted. I'd like to know what happened, but I guess it's too late now. In any case I'll look in the code to see if I can identify situations when that may happen.

That being said, try the following procedure, it should fix things for you:

  1. Make sure GitFinder is not running.
  2. Delete preferences file: ~/Library/Containers/ag.zigz.GitFinder/Data/Library/Preferences/ag.zigz.GitFinder.plist, or if you want to keep your settings, open that file and delete key GFFoldersURLs.
  3. Delete preferences file: ~/Library/Group Containers/MQ76M469AB.ag.zigz.GitFinder/Library/Preferences/MQ76M469AB.ag.zigz.GitFinder.plist, or again, to keep other preferences open that file and delete key GFFoldersURLs.
  4. Open Terminal.app and execute this from there: "defaults read ag.zigz.GitFinder”.

After executing these steps, relaunch GitFinder, your repo folders list should be empty. Try to add a repository folder (or its parent) to “Repo Folder” preferences list. If it still doesn't work please let me know and we’ll see what further steps we can take to debug/resolve this issue.

ianthrive commented 5 years ago

Thanks, step 2 was all that was needed, I didn’t do anything else.

Here’s the .plist file in case it’s helpful.

On 2 Aug 2019, at 04:10, Dragan Milić notifications@github.com wrote:

Hm, it seems for some reason one of the preferences file got corrupted. I'd like to know what happened, but I guess it's too late now. In any case I'll look in the code to see if I can identify situations when that may happen.

That being said, try the following procedure, it should fix things for you:

Make sure GitFinder is not running. Delete preferences file: ~/Library/Containers/ag.zigz.GitFinder/Data/Library/Preferences/ag.zigz.GitFinder.plist, or if you want to keep your settings, open that file and delete key GFFoldersURLs. Delete preferences file: ~/Library/Group Containers/MQ76M469AB.ag.zigz.GitFinder/Library/Preferences/MQ76M469AB.ag.zigz.GitFinder.plist, or again, to keep other preferences open that file and delete key GFFoldersURLs. Open Terminal.app and execute this from there: "defaults read ag.zigz.GitFinder”. After executing these steps, relaunch GitFinder, your repo folders list should be empty. Try to add a repository folder (or its parent) to “Repo Folder” preferences list. If it still doesn't work please let me know and we’ll see what further steps we can take to debug/resolve this issue.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/milke/GitFinder-Issues/issues/45?email_source=notifications&email_token=AAGV4TSXEIKDQ4AZUNNK5MTQCQBY7A5CNFSM4II2TVN2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3NKK2A#issuecomment-517645672, or mute the thread https://github.com/notifications/unsubscribe-auth/AAGV4TVP4YRBKCWQHK2UKY3QCQBY7ANCNFSM4II2TVNQ.