Hi,
I just wanted to note that the script does not seem to like projects with a comma in the name. Unfortunately, commas are in the default date project naming for Aperture imports.
I get an error when it tries to re-import the JPEG to Aperture in this line:
error “Aperture got an error: Can’t get project "Nov 23, 2013".” number -1728 from project “Nov 23, 2013”
Removing the comma in the date seems to fix the problem. I’m not sure if there is a way to handle the comma in-code. Or, there may be a way to batch rename the projects to remove the commas.