rentzsch/mogenerator

Without --output-dir (or --machine-dir and --human-dir), Xmod.scpt gets an exception

datalogics-kam opened this issue · 2 comments

1/13/11 5:37:46 PM  kam[50342]  Xmod.scpt exception: Finder got an error: Can’t get folder "iOSReferenceViewer" of folder "iOSReferenceViewer" of folder "samples" of folder "reader-mobile-sdk" of disk "PDFL8".

The actual directory path is /Volumes/PDFL8/reader-mobile-sdk/samples/iOSReferenceViewer. Maybe it somehow got an extra folder in there?

Reproducible on both internal and external drives:

1/13/11 6:08:33 PM  kam[50495]  Xmod.scpt exception: Finder got an error: Can’t get folder "XmodTestProject" of folder "XmodTestProject" of folder "kam" of folder "Unencrypted" of disk "Medved".
1/13/11 6:09:31 PM  kam[50509]  Xmod.scpt exception: Finder got an error: Can’t get folder "XmodTestProject" of folder "XmodTestProject" of folder "kam" of folder "Unencrypted" of folder "Users" of startup disk.

To reproduce, simply create an iOS Navigation-based application, with Use Core Data for storage.

Add xmod to the .xcdatamodel file, make an edit to the data model, and save it; the exception will show in Console.app.

Adding --output-dir fixes it.

I think I committed a fix to this in 462a485