[quote]6/24/2014 9:22:28.850 PM RVCare Log Book.debug[715]: view service marshal for <NSRemoteView: 0xc151a30> failed to forget accessibility connection due to Error Domain=NSCocoaErrorDomain Code=4099 “Couldnt communicate with a helper application.” (The connection was invalidated from this process.) UserInfo=0xd447f40 {NSDebugDescription=The connection was invalidated from this process.}
timestamp: 21:22:28.850 Tuesday 24 June 2014
process/thread/queue: RVCare Log Book.debug (715) / 0xb0093000 / com.apple.NSXPCConnection.user.endpoint
code: line 2972 of /SourceCache/ViewBridge/ViewBridge-46.2/NSRemoteView.m in __57-[NSRemoteView viewServiceMarshalProxy:withErrorHandler:]_block_invoke
domain: communications-failure[/quote]
I’m trying to ‘sandbox’ test my application and I get the above message. Have tried to goggle it and can’t find much. I’m using OSX 10.9.3 running the debugger and Mini App Wrapper to make it sandbox.
I Googled it a bit and saw some references to file dialogs creating similar errors in the sandbox. Try opening Console.app and see when the message is posted. Is it at launch or when you do a specific action in the app?
The system message is produced after routine containing “f.Launch” (where f = folderitem); goes back to system event loop.
I guess I need to find replacement for the f.Launch.
This is BAD. If I had not been looking at the log I would have thought my application was ok, the document that was Launch was a .PDF and was opened in Preview.
Just to see what would happen if NOT sandboxed I ran and did the same things, NOT message.
You could try using the “open” command from a shel and see if you still see the error, though I don’t think the message is anything to panic about. As far as I can tell it seems to be an Apple bug, not your issue… (but you’ll maybe get complaints from users still)
try something like
dim sh as new shell
sh.execute("open -a Preview.app "+f.shellPath)
It a .pdf and user has just selected enclosing folder. I want the user’s default app to open it. And It does open ok in Preview, I just get and error message in syslog.
You might try doing the shell command I mentioned without the app specifier ie “open [path to the file]”. I’m assuming you have the “User selected files” entitlement selected…?