Tuesday, December 18, 2018

#1 2018-03-13 02:28:16 am

ame
Member
Registered: 2011-06-28
Posts: 178

Strange Error

Hi, XCode 9.2 and Sierra:

Handler:

Applescript:

on ChooseImagesFolder_(sender)
       set pathImagesFolder to (choose folder with prompt "Seleziona la cartella immagini:") as string
   end ChooseImagesFolder:

I receive the following error:

2018-03-13 09:26:26.281228+0100 Taglia Descrizione Foto[2832:63220] [default] [ERROR] Failed getting container for URL: file:///Users/adminosx/Desktop/Normalizza%20Immagini%201012/, error: Error Domain=BRCloudDocsErrorDomain Code=2 "Logged out - iCloud Drive is not configured" UserInfo={NSDescription=Logged out - iCloud Drive is not configured}

What'means iCloud in a normal Choose Folder procedure????

Steven

Offline

 

#2 2018-03-13 05:51:04 am

Shane Stanley
Member
From:: Australia
Registered: 2002-12-07
Posts: 5488

Re: Strange Error

Do you have iCloud Drive turned on for Desktop & Documents Folders?


Shane Stanley <sstanley@myriad-com.com.au>
www.macosxautomation.com/applescript/apps/
latenightsw.com

Offline

 

#3 2018-03-13 11:09:26 am

ame
Member
Registered: 2011-06-28
Posts: 178

Re: Strange Error

Hi Shane, iCloud is OFF in the System Preferences Pane.

Stefano

Offline

 

#4 2018-03-13 12:48:55 pm

DJ Bazzie Wazzie
Member
From:: the Netherlands
Registered: 2004-10-20
Posts: 2808
Website

Re: Strange Error

Choose file probably breach the sandbox boundaries which throws similar errors.

Better is to use Cocoa's own open and save panels instead.

Offline

 

#5 2018-03-13 05:28:14 pm

Shane Stanley
Member
From:: Australia
Registered: 2002-12-07
Posts: 5488

Re: Strange Error

Check the Capabilities tab of the Target, and make sure both the sandbox and iCloud are off there (and everything else).


Shane Stanley <sstanley@myriad-com.com.au>
www.macosxautomation.com/applescript/apps/
latenightsw.com

Offline

 

#6 2018-03-14 10:13:18 am

ame
Member
Registered: 2011-06-28
Posts: 178

Re: Strange Error

Hi Shane, everything is off...
My impression is that in the "latest" macOS, Apple has abandoned AppleScript developers.
But AppleScript is unique ;-)

Stefano

Offline

 

#7 2018-03-14 04:49:32 pm

Shane Stanley
Member
From:: Australia
Registered: 2002-12-07
Posts: 5488

Re: Strange Error

If you want to send me a small project showing the problem, I'll have a look at it.


Shane Stanley <sstanley@myriad-com.com.au>
www.macosxautomation.com/applescript/apps/
latenightsw.com

Offline

 

#8 2018-03-30 04:07:09 am

ame
Member
Registered: 2011-06-28
Posts: 178

Re: Strange Error

Hi Shane, I reproduced the problem on a new fresh iMac installed only with 10.12.6 and Xcode 9.2

https://www.dropbox.com/s/k0uetpz4xkyk2 … e.zip?dl=0

But returned path seems OK. I also found some other user that have the same problem googling.

Stefano - Ame

Offline

 

#9 2018-03-30 05:14:43 am

Shane Stanley
Member
From:: Australia
Registered: 2002-12-07
Posts: 5488

Re: Strange Error

ame wrote:

But returned path seems OK.



That's really all you need to worry about.


Shane Stanley <sstanley@myriad-com.com.au>
www.macosxautomation.com/applescript/apps/
latenightsw.com

Offline

 

Board footer

Powered by FluxBB

RSS (new topics) RSS (active topics)