can't add,create volumes Mac OS Catalina
Moderators: Cat_7, Ronald P. Regensburg, ClockWise
-
- Space Cadet
- Posts: 4
- Joined: Sun Jul 07, 2019 5:36 am
can't add,create volumes Mac OS Catalina
SheepShaver[1380:44701] +[NSXPCSharedListener endpointForReply:withListenerName:]: an error occurred while attempting to obtain endpoint for listener 'com.apple.view-bridge': Connection interrupted
SheepShaver[1380:44570] +[NSXPCSharedListener endpointForReply:withListenerName:]: an error occurred while attempting to obtain endpoint for listener 'com.apple.view-bridge': Connection interrupted
SheepShaver[1380:45140] +[NSXPCSharedListener endpointForReply:withListenerName:]: an error occurred while attempting to obtain endpoint for listener 'com.apple.view-bridge': Connection interrupted
SheepShaver[1380:45034] +[NSXPCSharedListener endpointForReply:withListenerName:]: an error occurred while attempting to obtain endpoint for listener 'com.apple.view-bridge': Connection interrupted
SheepShaver[1380:45289] +[NSXPCSharedListener endpointForReply:withListenerName:]: an error occurred while attempting to obtain endpoint for listener 'com.apple.view-bridge': Connection interrupted
SheepShaver[1380:45321] +[NSXPCSharedListener endpointForReply:withListenerName:]: an error occurred while attempting to obtain endpoint for listener 'com.apple.view-bridge': Connection interrupted
I always get those messages when try to create and remove Volumes
SheepShaver[1380:44570] +[NSXPCSharedListener endpointForReply:withListenerName:]: an error occurred while attempting to obtain endpoint for listener 'com.apple.view-bridge': Connection interrupted
SheepShaver[1380:45140] +[NSXPCSharedListener endpointForReply:withListenerName:]: an error occurred while attempting to obtain endpoint for listener 'com.apple.view-bridge': Connection interrupted
SheepShaver[1380:45034] +[NSXPCSharedListener endpointForReply:withListenerName:]: an error occurred while attempting to obtain endpoint for listener 'com.apple.view-bridge': Connection interrupted
SheepShaver[1380:45289] +[NSXPCSharedListener endpointForReply:withListenerName:]: an error occurred while attempting to obtain endpoint for listener 'com.apple.view-bridge': Connection interrupted
SheepShaver[1380:45321] +[NSXPCSharedListener endpointForReply:withListenerName:]: an error occurred while attempting to obtain endpoint for listener 'com.apple.view-bridge': Connection interrupted
I always get those messages when try to create and remove Volumes
Last edited by teelekkung on Sun Jul 07, 2019 8:30 am, edited 1 time in total.
- Ronald P. Regensburg
- Expert User
- Posts: 7835
- Joined: Thu Feb 09, 2006 10:24 pm
- Location: Amsterdam, Netherlands
Re: can't add create remove volumes Mac OS Catalina
Which SheepShaver build (date) do you use?
Adding, creating, and removing volumes are different operations. The only thing they have in common is, when you click the "Save and Quit" button, writing he change to the prefs file and asking SheepShaver to quit. Is that when the error occurs?
Does the same happen when you try to change and save other preferences settings?
Adding, creating, and removing volumes are different operations. The only thing they have in common is, when you click the "Save and Quit" button, writing he change to the prefs file and asking SheepShaver to quit. Is that when the error occurs?
Does the same happen when you try to change and save other preferences settings?
-
- Space Cadet
- Posts: 4
- Joined: Sun Jul 07, 2019 5:36 am
Re: can't add create remove volumes Mac OS Catalina
Version 2.5, 4 May 2019
every thing is working fine only add and create is not working is always load beach balls
every thing is working fine only add and create is not working is always load beach balls
Last edited by teelekkung on Sun Jul 07, 2019 8:31 am, edited 1 time in total.
- Ronald P. Regensburg
- Expert User
- Posts: 7835
- Joined: Thu Feb 09, 2006 10:24 pm
- Location: Amsterdam, Netherlands
Re: can't add create remove volumes Mac OS Catalina
Also remove? That is strange, it does nothing but change a line in the prefs file.
You select the line with the image file to be removed from the list
Then you click Remove
Then you click Save and Quit
At which point does the problem occur?
You select the line with the image file to be removed from the list
Then you click Remove
Then you click Save and Quit
At which point does the problem occur?
-
- Space Cadet
- Posts: 4
- Joined: Sun Jul 07, 2019 5:36 am
Re: can't add create remove volumes Mac OS Catalina
Sorry only create and add volumes
- Ronald P. Regensburg
- Expert User
- Posts: 7835
- Joined: Thu Feb 09, 2006 10:24 pm
- Location: Amsterdam, Netherlands
Re: can't add,create volumes Mac OS Catalina
So, at which point does Add give the problem?
Do you get the Open dialog when you click Add?
Can you navigate to the image file you want to add?
Can you select the file?
Can you click Open?
Do you get the Open dialog when you click Add?
Can you navigate to the image file you want to add?
Can you select the file?
Can you click Open?
-
- Space Cadet
- Posts: 4
- Joined: Sun Jul 07, 2019 5:36 am
Re: can't add,create volumes Mac OS Catalina
all answer is no
https://youtu.be/ILQ4aG9aric this is what happen
the video Quality is need to be hight but it upload at 360p so sorry for bad video
https://youtu.be/ILQ4aG9aric this is what happen
the video Quality is need to be hight but it upload at 360p so sorry for bad video
- Ronald P. Regensburg
- Expert User
- Posts: 7835
- Joined: Thu Feb 09, 2006 10:24 pm
- Location: Amsterdam, Netherlands
Re: can't add,create volumes Mac OS Catalina
Apparently this is at the very start of the setup. We do not even know if there already is a ~/.sheepshaver_prefs file.
I will ask almeath to have a look at this thread and see if he can make changes to the volumes list while running SheepShaver in Catalina. He reported that SheepShaver has no issues in Catalina: viewtopic.php?f=20&t=10234
I will ask almeath to have a look at this thread and see if he can make changes to the volumes list while running SheepShaver in Catalina. He reported that SheepShaver has no issues in Catalina: viewtopic.php?f=20&t=10234
Re: can't add,create volumes Mac OS Catalina
Add/Create both use the beginSheetForDirectory method to open a file browser. Apple deprecated that back in 10.6, and 10.15 may be officially dropping support. That looks to be the case in teelekkung's video since all browse modals fail to open.
Apple recommends moving to beginSheetModalForWindow. It may be a direct mapping, but I'm not sure yet.
Apple recommends moving to beginSheetModalForWindow. It may be a direct mapping, but I'm not sure yet.
-
- Space Cadet
- Posts: 3
- Joined: Mon Jul 08, 2019 6:05 pm
Re: can't add,create volumes Mac OS Catalina
I found this thread because I was having the same problem. For now, manually editing the ~/.sheepshaver_prefs file has worked as a workaround.
Added to the top of the .sheepshaver_prefs file:
Added to the top of the .sheepshaver_prefs file:
Code: Select all
disk /Full/Path/To/Disk/File
cdrom /Full/Path/To/CD/Image
Re: can't add,create volumes Mac OS Catalina
I've attempted to switch to the updated API. It seems to be working in 10.14, but I haven't installed the 10.15 beta yet.
The test build is here (source); can someone running Catalina check if the problem persists?
The test build is here (source); can someone running Catalina check if the problem persists?
-
- Space Cadet
- Posts: 3
- Joined: Mon Jul 08, 2019 6:05 pm
Re: can't add,create volumes Mac OS Catalina
Elyus - I tested the new build, but it seems to still have the same issue.
Test video: https://youtu.be/c_lyXtxMh6Y
Test video: https://youtu.be/c_lyXtxMh6Y
Re: can't add,create volumes Mac OS Catalina
Thank you for checking! Too bad it's not such a quick fix, but I guess this could be a number of different issues. Maybe it's a permissions problem? I'll download the Catalina beta to try tracing the error we're encountering.
Re: can't add,create volumes Mac OS Catalina
Found the problem: it's tied to permissions and the increasingly tight security settings in Mac OS.
Basically, Apple has changed the NS Open and Save panels to always behave as though an application is sandboxed. I take this as further evidence that Apple soon hopes to force all Mac app distribution through its store. The immediate impact is that SheepShaver must be sandboxed to use those native GUI elements.
Therein lies a conflict because SheepShaver's design relies on full disk access to read preferences and load volumes, rom files, etc. Apple still allows these exceptions for the moment, but it looks like they're giving developers a choice: either use Apple's native elements with sandboxing and hardened runtime (requirements for App Store distribution) or use none of them and continue to ask for exceptions from the user for disk and input access (with the risk that fewer and fewer features will function as they add more things like Gatekeeper, SIP, etc).
I favor making SheepShaver sandboxed for better future-proofing, but it means Mac builds will no longer be able to store preferences at ~/.sheepshaver_prefs, and all SheepShaver files will need to be stored in the provided ~/Library/Container location. SheepVM packages will also be an alternative since you could store all relevant files inside a .sheepvm. Outside of that, Apple doesn't provide much access.
The below screenshot is SheepShaver running in the latest developer beta with sandboxing and hardened runtime. To get the program to launch, I used a .sheepvm to hold prefs and nvram, and all the files were placed in Downloads (one of the few locations you can get an entitlement to access).
http://i67.tinypic.com/aucvti.jpg
Basically, Apple has changed the NS Open and Save panels to always behave as though an application is sandboxed. I take this as further evidence that Apple soon hopes to force all Mac app distribution through its store. The immediate impact is that SheepShaver must be sandboxed to use those native GUI elements.
Therein lies a conflict because SheepShaver's design relies on full disk access to read preferences and load volumes, rom files, etc. Apple still allows these exceptions for the moment, but it looks like they're giving developers a choice: either use Apple's native elements with sandboxing and hardened runtime (requirements for App Store distribution) or use none of them and continue to ask for exceptions from the user for disk and input access (with the risk that fewer and fewer features will function as they add more things like Gatekeeper, SIP, etc).
I favor making SheepShaver sandboxed for better future-proofing, but it means Mac builds will no longer be able to store preferences at ~/.sheepshaver_prefs, and all SheepShaver files will need to be stored in the provided ~/Library/Container location. SheepVM packages will also be an alternative since you could store all relevant files inside a .sheepvm. Outside of that, Apple doesn't provide much access.
The below screenshot is SheepShaver running in the latest developer beta with sandboxing and hardened runtime. To get the program to launch, I used a .sheepvm to hold prefs and nvram, and all the files were placed in Downloads (one of the few locations you can get an entitlement to access).
http://i67.tinypic.com/aucvti.jpg
- adespoton
- Forum All-Star
- Posts: 4285
- Joined: Fri Nov 27, 2009 5:11 am
- Location: Emaculation.com
- Contact:
Re: can't add,create volumes Mac OS Catalina
How much work would it take to store SheepShaver setups in a SheepVM by default? This would simplify things for many users, although it would mean that macOS would work differently than other OSes. And Basilisk II is going to have similar issues, and doesn't do VMs.
- Ronald P. Regensburg
- Expert User
- Posts: 7835
- Joined: Thu Feb 09, 2006 10:24 pm
- Location: Amsterdam, Netherlands
Re: can't add,create volumes Mac OS Catalina
A VM with preconfigured prefs file (just file names, no full paths) will use files added to the VM as configured. Multiple disk image names can be preconfigured as SheepShaver simply ignores image files not found.
- Ronald P. Regensburg
- Expert User
- Posts: 7835
- Joined: Thu Feb 09, 2006 10:24 pm
- Location: Amsterdam, Netherlands
Re: can't add,create volumes Mac OS Catalina
Is that so? Is the Downloads folder in that respect different from other folders in the Home folder?Elyus wrote:To get the program to launch, I used a .sheepvm to hold prefs and nvram, and all the files were placed in Downloads (one of the few locations you can get an entitlement to access).
And why didn't you use the files inside the .sheepvm VM?
Re: can't add,create volumes Mac OS Catalina
@adespoton, in addition to Ronald's manual suggestion, we could make SheepShaver copy selected files to the current VM for those using the GUI. BasiliskII accepts a custom pref file at launch, so it could do something similar. Although, as you point out, defaulting to VMs would be very different than other versions; it may be equally confusing for some as it is easier for others.
Looking at the sandbox documentation more, we could use Security-Scoped Bookmarks with user-selected files to partially restore current functionality. Theoretically, if the user approves the preference and nvram location on first launch, SheepShaver could continue to use the home directory, and then we obtain permission for persistent resource access as users build up their files in settings. However, adding volumes outside the GUI would no longer be supported as SheepShaver wouldn't obtain the correct permissions.
Yes, Downloads and media (Pictures, Music, and Movies) are allowed by Apple through their own entitlements. That's partly why I didn't place the files in a SheepVM, to test the Downloads entitlement.Ronald P. Regensburg wrote:Is that so? Is the Downloads folder in that respect different from other folders in the Home folder?
And why didn't you use the files inside the .sheepvm VM?
Looking at the sandbox documentation more, we could use Security-Scoped Bookmarks with user-selected files to partially restore current functionality. Theoretically, if the user approves the preference and nvram location on first launch, SheepShaver could continue to use the home directory, and then we obtain permission for persistent resource access as users build up their files in settings. However, adding volumes outside the GUI would no longer be supported as SheepShaver wouldn't obtain the correct permissions.
- Ronald P. Regensburg
- Expert User
- Posts: 7835
- Joined: Thu Feb 09, 2006 10:24 pm
- Location: Amsterdam, Netherlands
Re: can't add,create volumes Mac OS Catalina
With "entitlements" do you mean what in English is usually called "permissions" and "privileges"?
In my Home folder on my Mojave system, the folders Documents, Pictures. Movies, Music, Desktop, and Downloads have identical permissions and privileges.
In my Home folder on my Mojave system, the folders Documents, Pictures. Movies, Music, Desktop, and Downloads have identical permissions and privileges.
-
- Forum All-Star
- Posts: 1726
- Joined: Tue Oct 14, 2008 12:12 am
Re: can't add,create volumes Mac OS Catalina
"Entitlements" is Apple's English-language term for permissions to do certain actions. Here are the details:
https://developer.apple.com/library/arc ... ments.html
https://developer.apple.com/library/arc ... ments.html
- Ronald P. Regensburg
- Expert User
- Posts: 7835
- Joined: Thu Feb 09, 2006 10:24 pm
- Location: Amsterdam, Netherlands
Re: can't add,create volumes Mac OS Catalina
OK. This is new to me. I will not even try to understand all of this.
- Ronald P. Regensburg
- Expert User
- Posts: 7835
- Joined: Thu Feb 09, 2006 10:24 pm
- Location: Amsterdam, Netherlands
Re: can't add,create volumes Mac OS Catalina
Well, I will need to try and understand.
Which entitlements would SheepShaver need to have in order to run as it did in earlier macOS versions?
- Read/write access to files the user has selected using an Open or Save dialog
- Network access
- More?
Will read/write access to hidden "dot" files be at all possible?
Which entitlements would SheepShaver need to have in order to run as it did in earlier macOS versions?
- Read/write access to files the user has selected using an Open or Save dialog
- Network access
- More?
Will read/write access to hidden "dot" files be at all possible?
-
- Forum All-Star
- Posts: 1726
- Joined: Tue Oct 14, 2008 12:12 am
Re: can't add,create volumes Mac OS Catalina
EDIT: I haven't experimented with the default SheepShaver build yet, but will do and report. It's easy to change the code so that the prefs and PRAM are ordinary, not hidden, files, and I've done that in my build, but it may not be necessary.
Also, I think it's impossible to notarize SheepShaver. When I build it with the Hardened Runtime option enabled (as it has to be for notarization), it runs correctly. But when I apply the command-line command that prepares the application for notarization, it does something (I don't know what) that causes SheepShaver to crash on launch.
The best that can be done with SheepShaver, I think, is codesign it.
I'll experiment later with the current build and report what happens.
Also, I think it's impossible to notarize SheepShaver. When I build it with the Hardened Runtime option enabled (as it has to be for notarization), it runs correctly. But when I apply the command-line command that prepares the application for notarization, it does something (I don't know what) that causes SheepShaver to crash on launch.
The best that can be done with SheepShaver, I think, is codesign it.
I'll experiment later with the current build and report what happens.
-
- Forum All-Star
- Posts: 1726
- Joined: Tue Oct 14, 2008 12:12 am
Re: can't add,create volumes Mac OS Catalina
While I'm testing (full report later), here is a script that will open .sheepshaver_prefs in TextEdit, so that you can add an existing disk image to the prefs. This should make things easier until SheepShaver gets fixed.
Edit SheepShaver Prefs
My guess is that Adespoton or another expert here can write an AppleScript or application that will create a suitable disk image, to take the place of the existing "Create" option in the Preferences.
EDIT: The script is now added to the downloads in the wiki. I also changed the link above to point to the file in the wiki sheepshaver downloads.
Edit SheepShaver Prefs
My guess is that Adespoton or another expert here can write an AppleScript or application that will create a suitable disk image, to take the place of the existing "Create" option in the Preferences.
EDIT: The script is now added to the downloads in the wiki. I also changed the link above to point to the file in the wiki sheepshaver downloads.
Last edited by Ronald P. Regensburg on Tue Jul 16, 2019 11:16 am, edited 3 times in total.
Reason:
Reason:
-
- Forum All-Star
- Posts: 1726
- Joined: Tue Oct 14, 2008 12:12 am
Re: can't add,create volumes Mac OS Catalina
So: under Catalina, everything seems to work in SheepShaver except in the Preferences, where "Add", "Create" and the "Browse" buttons don't work. If you add a disk to the prefs file by hand, then it will appear in the Preferences, and you can remove it, but you can't add a disk except by editing the file.