FileManagerLib won't compile with version "2.2.1"

(Eric) #1

Recently installed the new FileManagerLib.scptd file.

After adding the necessary code to my script-

use AppleScript version “2.4” – Yosemite (10.10) or later
use scripting additions
use PrefLib : script “PrefsLib3”
use FileMgrLib : script “FileManagerLib” version “2.2.1”

ScriptDebugger v7.0.4 will not compile unless I remove the version.
Can’t get script “FileManagerLib” whose version ≥ “2.2.1”.

And if I remove the version and save as an app. It will launch and quit without running.

Pasting the code into Script Editor, it will compile, but crash when run-
abort() called
*** error for object 0x7f950188f800: incorrect checksum for freed object - object was probably modified after being freed.

It runs fine as .scpt or scptd. Something about the app.

(Shane Stanley) #2

Can you email me the app? (and PrefsLib3).

(Eric) #3

Let’s see if attaching a zip here works.

fmgr (97.8 KB)


(Shane Stanley) #4

It opens and compiles OK here. First thing I suggest is that you restart, then re-download the lib.

(Eric) #5


I tested it on another machine to verify. After installing the Lib, the script would not compile until after a restart.

So during boot-up, script libraries are read into the system or the restart cleared RAM, or something woo.

Thank you Shane.

(Ed Stockly) #6

I had the exact same problem at work yesterday. I tried a few things, including removing the version number in the script, but got the same issue.

I was having other issues with the mac and restarted it, and the issue went away. I thought maybe what ever was the mac to be slow and unstable was related to the script not compiling.

(Shane Stanley) #7

I suspect something woo is the more likely explanation.