Skip to content
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

Error macOS BigSur access .Spotlight-V100 #6

Open
tsuihak opened this issue Dec 27, 2020 · 4 comments
Open

Error macOS BigSur access .Spotlight-V100 #6

tsuihak opened this issue Dec 27, 2020 · 4 comments

Comments

@tsuihak
Copy link

tsuihak commented Dec 27, 2020

Every time I try to run in the MacOS BigSur terminal I get the error below. Do you know how I can solve it? I am using the latest version of your program.

genilsonsilva@MacBook-Pro-de-Genilson` TwilightBoxart-MacOS-CLI % ./TwilightBoxart.CLI

TwilightBoxart - Created by KirovAir.
Loads of love to the devs of TwilightMenu++, LibRetro, GameTDB and the maintainers of the No-Intro DB.

Loaded settings:
SDRoot / Roms location: /Volumes/NO NAME
BoxArt location: /Volumes/NO NAME/_nds/TWiLightMenu/boxart

Is this OK?

Yes< / No

Started! Using width: 128 height: 115. Scanning /Volumes/NO NAME..
Searching art for BOOT.NDS..
Could not find boxart. (404)
Searching art for BOOT_cyclodsi.NDS..
Could not find boxart. (404)
Searching art for YSMenu.nds..
Could not find boxart. (404)
Searching art for _BOOT_DS.NDS..
Could not find boxart. (404)
Unhandled exception occured! System.UnauthorizedAccessException: Access to the path '/Volumes/NO NAME/.Spotlight-V100' is denied.
---> System.IO.IOException: Operation not permitted
--- End of inner exception stack trace ---
at System.IO.Enumeration.FileSystemEnumerator1.CreateDirectoryHandle(String path, Boolean ignoreNotFound) at System.IO.Enumeration.FileSystemEnumerator1.DequeueNextDirectory()
at System.IO.Enumeration.FileSystemEnumerator1.DirectoryFinished() at System.IO.Enumeration.FileSystemEnumerator1.FindNextEntry(Byte* entryBufferPtr, Int32 bufferLength)
at System.IO.Enumeration.FileSystemEnumerator`1.MoveNext()
at TwilightBoxart.BoxartCrawler.DownloadArt(IAppConfig downloadConfig) in C:\Users\Jesse\dev\TwilightBoxart\TwilightBoxart\BoxartCrawler.cs:line 44

@tsuihak tsuihak changed the title Error macOS BigSur acess .Spotlight-V100 Error macOS BigSur access .Spotlight-V100 Dec 27, 2020
@tsuihak
Copy link
Author

tsuihak commented Dec 27, 2020

Doing more tests here on MacOs and the same problem happened with the folder ".Trashes". It should cause the program to ignore those folders that start with "dot" since all of them on MacOs are system folders and also occur in the ".Spotlight-V100" folder. Congratulations on the program and I'm sorry for the English. I had to use Google Translator.

@KirovAir
Copy link
Owner

Hey, sorry for the late respone. I'll fix this in the next release and try to create some UI as well. ;)

@tsuihak
Copy link
Author

tsuihak commented Jul 13, 2022

Hey, how's it going? Any solution to this pointed error. I tried again today and the same thing happened. Please do not give up on me. hahahaha. I managed to edit the .ini file, thus placing the root of the SD, the place where the games are, so that it does not analyze the root and see those files that give errors.

; These are the default config values.
[Config]
SdRoot=/Volumes/NO NAME/roms/nds
BoxartPath=/Volumes/NO NAME/_nds/TWiLightMenu/boxart
SettingsPath={sdroot}/_nds/TWiLightMenu/settings.ini

Thanks.

@ilihasj
Copy link

ilihasj commented Feb 17, 2023

To fix the no permission error on macOS, you need to give Terminal Full Disk Access. You can search Google to find a quick tutorial, or (on macOS Ventura):

  1. Open System Settings
  2. Go to Privacy & Security
  3. Click "Full Disk Access"
  4. Find "Terminal" in the list of applications
  5. Toggle the button to give Terminal Full Disk Access

Afterwards, TwilightBoxart should run just fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants