Quote:
Originally Posted by Craig
Both now seem to be working for me in 95008. Let me know if that output would be useful to you regardless.
|
Okay, I spoke too soon, and I do have that output for you.
Note that the simple activate script wasn't triggering the workflow crash, but this is the script that was:
Code:
tell application "iCal" to quit
tell application "OmniFocus"
activate
tell default document
tell front document window
set perspective name to "starting soon"
end tell
end tell
end tell
tell application "end of the day" to activate
Here's what results from your procedure when the workflow containing this script is run (and crashes):
Code:
user$ AEDebugReceives=1 /Applications/OmniFocus.app/Contents/MacOS/OmniFocus
OCCCrashCatcher: Not enabling crash catching since we're connected to a tty (and thus presumably in gdb)
2007-11-28 17:07:09.382 OmniFocus[1768] linkPath /Users/user/Library/Mail/Bundles/OmniMailMessageServiceEnabler.mailbundle
2007-11-28 17:07:09.383 OmniFocus[1768] bundledPath /Applications/OmniFocus.app/Contents/Resources/OmniMailMessageServiceEnabler.mailbundle
2007-11-28 17:07:09.383 OmniFocus[1768] doesExist = 0, shouldExist = 0
AE2000 (1768): Received an event:
------oo start of event oo------
{ 1 } 'aevt': ascr/gdte (ppc ){
return id: 113967135 (0x6cb001f)
transaction id: 0 (0x0)
interaction level: 64 (0x40)
reply required: 1 (0x1)
remote: 0 (0x0)
target:
{ 1 } 'psn ': 8 bytes {
{ 0x0, 0x13a0001 } (end of the day)
}
optional attributes:
< empty record >
event data:
{ 1 } 'aevt': - 1 items {
key '----' -
{ 1 } 'long': 4 bytes {
0 (0x0)
}
}
}
------oo end of event oo------
2007-11-28 17:07:25.779 OmniFocus[1768] .sdef warning for part of complex type 'color | text | file | point | real | integer | boolean | point | missing value' used in suite 'OmniStyle Scripting': 'missing value' is not a valid type name.
AE2000 (1768): Received an event:
------oo start of event oo------
{ 1 } 'aevt': misc/actv (ppc ){
return id: 113967139 (0x6cb0023)
transaction id: 0 (0x0)
interaction level: 96 (0x60)
reply required: 1 (0x1)
remote: 0 (0x0)
target:
{ 1 } 'psn ': 8 bytes {
{ 0x0, 0x13a0001 } (end of the day)
}
optional attributes:
{ 1 } 'reco': - 2 items {
key 'subj' -
{ -1 } 'null': null descriptor
key 'csig' -
{ 1 } 'magn': 4 bytes {
65536l (0x10000)
}
}
event data:
{ 1 } 'aevt': - 0 items {
}
}
------oo end of event oo------
Hope that helps your bug-hunting!