Bug #40
AppleScript execution failures
| Status: | Closed | Start: | ||
| Priority: | High | Due date: | ||
| Assigned to: | Yann BIZEUL | % Done: | 0% |
|
| Category: | GeekTool Helper | |||
| Target version: | 3.0 RC1 | |||
| Resolution: | fixed |
Description
Sorry to bring the bad news, but everything I've tried executing (and I tried pretty much everything) returned an error. Here's a couple of examples of commands that compile fine but run into an execution error (with the AEPrint of the transaction):
tell application "GeekTool" to refresh all
-->GeekTool got an error: Can’t continue refresh all
-- started
'ascr'\'tell'{
'----':'psn '("GeekTool")
}
'gktl'\'refa'{
&'subj':'null'(),
&'csig':65536
}
'ascr'\'tend'{ }
-- stopped
tell application "GeekTool" to set x to every geeklet
-->GeekTool got an error: Can’t get every geeklet.
-- started
'ascr'\'tell'{
'----':'psn '("GeekTool")
}
'core'\'getd'{
'----':'obj '{
'form':'indx',
'want':'gLet',
'seld':'abso'($206C6C61$),
'from':'null'()
},
&'csig':65536
}
'ascr'\'tend'{ }
-- stopped
This is on a MacBook Pro running 10.5.7.
History
Updated by Yann BIZEUL 454 days ago
I think this is incorrect :
tell application "GeekTool" to set x to every geeklet
What would that mean ?
The first line, tho, should work. What build of GeekTool is displayed at the bottom of the prefpane ? Are you sure you stopped GeekTool before upgrading ? Sometimes, the old background binary may still be running.
Updated by Yann BIZEUL 454 days ago
Sorry I did not catch the syntax correctly, btw, thos lines works fine here
Please confirm so that I can close the incident
Updated by Philippe Martin 453 days ago
Replying to [comment:1 yann]:
Are you sure you stopped GeekTool before upgrading ? Sometimes, the old background binary may still be running.
Ah! I didn't stop it before upgrading! Doh!
OK, that was it, then. Because after a (unrelated) reboot those commands work fine. Sorry about that, Yann! You can close that ticket, then.
But at some point it'd probably be wise to make it so the prefs pane quits and relaunches the background app automatically when you open the prefs pane and their versions don't match.
Updated by Yann BIZEUL 453 days ago
- Status changed from New to Closed
- Resolution set to fixed