BibDesk 1.5.4 (2141)
Mac OS 10.7.1 (11B26)
Opening a tex file in BibDesk using AppleScript results in a hang situation and an "AppleEvent timed out." number -1712" error after the timeout. BibDesk does launch (if not already running) and open the tex file, but control flow does seem to be returned to the AppleScript interpreter. While the script hangs, BibDesk can be sampled using the Activity Monitor application (see attached sample file).
Here's is a simple script that causes the hang situation:
set theFile to POSIX file "/private/tmp/test.bib"
tell application "BibDesk"
open theFile
end tell
This started happening after upgrading to Mac OS Lion, so maybe it's a bug in Lion's AppleScript engine rather than in BibDesk.
Nobody/Anonymous
None
None
Public
|
Date: 2011-09-04 12:43:07 PDT Thank you, Christiaan. I reported the bug to Apple. |
|
Date: 2011-09-02 02:15:58 PDT So this is really a system bug, as we're not in control of suspending the |
|
Date: 2011-09-02 02:09:13 PDT It's only the script that hangs. BibDesk launches and opens the document |
|
Date: 2011-09-01 10:25:52 PDT Another thing, does it change when you add an extra "activate" at the |
|
Date: 2011-09-01 04:11:04 PDT Looks really like a Lion bug to me. We have no control over *how* Cocoa |
|
Date: 2011-09-01 02:51:59 PDT In line 2 it should be "but control flow does NOT seem to be returned". |
| Filename | Description | Download |
|---|---|---|
| Sample of BibDesk.txt | Sample of BibDesk application while AppleScript hangs | Download |