Re: [NSNull Length]
Re: [NSNull Length]
- Subject: Re: [NSNull Length]
- From: Ben Waldie <email@hidden>
- Date: Mon, 7 Jan 2008 13:42:33 -0500
Ashton,
I'm pretty sure that "com.apple.finder.file-or-folder-object" has been
deprecated, and Apple's documentation may just not have been updated
yet to reflect it.
Some of my own actions were producing this same error until I removed
the references to "com.apple.finder.file-or-folder-object". I would
recommend checking to see if updated versions of the actions in
question are available. Apple recently updated Aperture to version
1.5.6. I've upgraded, and I'm not getting these errors when adding
Aperture actions to workflows.
Hope this helps.
-Ben
Ben Waldie
President
Automated Workflows, LLC
610.935.0652
=============================================
AppleScript * Automator * Workflow Automation
Products, Training, Custom Development Services
<http://www.automatedworkflows.com>
=============================================
On Jan 7, 2008, at 1:27 PM, Ashton Smith wrote:
Well I found one thing... Turns out it was on this list, but before
I got here. http://lists.apple.com/archives/Automator-users/2007/Nov/msg00010.html
Ben Waldie <email@hidden> wrote on: Mon, 12 Nov 2007 18:19:13 -0500
One way these problems can occur is if the action's info.plist file
contains a reference to an input or result type that existed in
Tiger but not in Leopard (such as "com.apple.finder.file-or-folder-
object"). You could try tinkering with the action's info.plist file
to find the culprit and remove it. However, I would advise against
this. It would probably be best to wait until Apple releases an
updated version of the action, as there could be other issues
causing problems too.
I looked and my action's info.plist all contain
"com.apple.finder.file-or-folder-object".
That being said, I could not find anywhere that says that
"com.apple.finder.file-or-folder-object" is deprecated in Leopard or
what would be a proper replacement/what to do with it. My programing/
scripting/XML skills are enough to be extremely dangerous and not
too helpful to most any code I meet.
Here is the "com.apple.finder.file-or-folder-object" info that I
found.
http://developer.apple.com/documentation/AppleApplications/Conceptual/AutomatorConcepts/Articles/AutomatorPropRef.html
http://developer.apple.com/documentation/AppleApplications/Conceptual/AutomatorConcepts/AutomatorConcepts.pdf
Page 111
Ashton Smith
On Jan 7, 2008, at 10:11 AM, Ashton Smith wrote:
I'm trying to make a new action for processing RAW image files and
having some problems. Several Apple Aperture, Photoshop, and third
party actions are giving me the following error when I try to put
them in the workflow.
*** -[NSNull length]: unrecognized selector sent to instance
0xa04fe020
The instance address varies. Any ideas on why I'm getting this?
My goal is make a workflow that takes image files from my CF card
reader or already on my HD and process them. I am using a "Batch
Manager" that limits the number of simultaneously processed files
into small chunks due to large numbers of files I am processing.
Add copy write info to the meta data. Sort them into dated folders
by analyzing the files meta data. Then take any RAWs and convert
them to Adobe DNG. Perform a backup and a make sure that the back-
up and the main working folders are synchronized. I'm contemplating
a final step of removing the original RAW files from the drive, but
haven't decided on that yet.
I can import and sort the files into dated folders by meta data.
That much is working.
What I'm having an issue with the "Batch Manager". I don't know how
to fix that and occationally with up to 3000 RAW images, Automator
crawls without it. Next the copy write part, Aperture has an action
that could do it, but it throws the error as well. Then the
workflow is further falling apart after the sort because the
Convert to Adobe DNG action is throwing the error, as are the
backup and sync actions.
Thanks,
Ashton Smith
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Automator-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden