Tiger X11 fails to start from Script
Tiger X11 fails to start from Script
- Subject: Tiger X11 fails to start from Script
- From: "Elwood C. Downey" <email@hidden>
- Date: Sat, 30 Apr 2005 20:12:08 -0600 (MDT)
- Importance: Normal
I am having problems scripting X11 after upgrading to Tiger and installing its X11. I have an Apple Script that
contains the following:
tell application "X11"
activate
end tell
do shell script "cd /usr/local/xephem; ../bin/xephem"
Running this from the Script Editor I see X11 appear in the dock and see this in the event log:
tell application "X11"
activate
current application
activate
Nothing else happens on the screen and Script Editor hangs at this point, even clicking the Apple icon in the upper
left corner does nothing. I have tried waiting a few minutes and nothing changes. Then if I Quit X11 via it's dock
icon I simultaneously get two dialogs. One is an Alert from X11 asking if I am sure I want to quit, the other is an
AppleScript Error saying "X11 got an error: AppleEvent timed out".
Sometimes it works a little differently. In the second scenario the only thing in the event log are the two lines up
to the first activate. In this case, X11 does not appear in the dock, and again Script Editor is hung and the Apple
icon does nothing. The only way I have found to get out of this is to start X11 from a terminal, which immediately
results in return of Script Editor and Apple icon functionality and an entry in the Script Editor event log as
follows:
current application
"X11 got an error: Connection is invalid."
I hope this helps, I hope this problem will be corrected very soon.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden