cron, perl, osascript, Installer VISE
cron, perl, osascript, Installer VISE
- Subject: cron, perl, osascript, Installer VISE
- From: "Aaron London" <email@hidden>
- Date: Tue, 1 Jul 2003 17:03:37 -0400
- Thread-topic: cron, perl, osascript, Installer VISE
Hi,
Wondering whether anyone out there could offer some insight as I'm almost
going crazy at this point.
I have an automated build environment for OS X primarily consisting of perl
scripts and some AppleScript. The two major apps used in the environment are
CodeWarrior and Installer VISE. Initially I used the Mac::AppleScript and
Mac::AppleScript::Glue modules because they provide an oo-like interface to
AppleScript. These modules worked very well, but I stopped using them and fell
back to system calls to osascript as an attempt to isolate the cause of my
troubles when I started seeing some odd behavior. Unfortunately, the modules
were not a factor as the problems persist.
Nightly builds are kicked off from a non-root user crontab entry
'/usr/bin/open /path/to/command/file/build.command'. The command file invokes
the primary perl build script and the process is up and running. AppleScript
is used to make CodeWarrior projects and build Installer VISE archives.
Everything worked smoothly under OS X 10.2.4, but under OS X 10.2.5 and 10.2.6
building Installer VISE archives began to fail. Unfortunately, the failure is
not something captured by a try block or on stderr. Watching the automated
process, I am able to observe the osascript calls in the terminal session and
Installer VISE going through the motions of opening an archive, building it
(displaying a dialog with progress bar), and saving the archive, BUT there
isn't any installer. No errors are reported by Installer VISE or osascript.
The rub is that it doesn't happen in any consistent manner. I have four
machines setup with the above described environment. Each night most or all or
the 8 to 10 installers built on each system fail, though not in any consistent
order, in the above manner.
To make matters worse I have yet to produce an isolated case outside my
environment with which others could diagnose the problem. I have instrumented
the environment scripts and implemented several test scripts to try and
isolate the problem but without any positive result so far. Even launching the
test scripts with cron does not reproduce the problem.
Here's a rundown of some of the symptoms and factors:
1. CodeWarrior is unaffected.
2. Installer VISE versions 8.0.2, 8.2, and 8.2.1 all exhibit this behavior.
3. MindVision can't help me until they are able reproduce the problem, though
far be it from them to act proactively.
4. Back-reving the build machines to OS X 10.2.4 makes the problem go away.
Thanks for any help,
Aaron London
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.