[Pythonmac-SIG] appscript path problem from a newbie

Ned Deily nad at acm.org
Mon Apr 14 22:25:18 CEST 2008


In article <Pine.GSO.4.58.0804140839150.21166 at watt>,
 John Ott <jott at watt.ame.nd.edu> wrote:

> I am getting file not found errors from appscript.
> 
> I manually open my OmniOutliner file Projets.oo3 first then from a xterm
> window:
> 
> python
> from appscript import *
> oop = app('OmniOutliner Professional')
> pod = oop.documents['Projects.oo3']
> 
> A second copy of OmniOutliner Professional is started and a new file is
> opened then I get my error.  I'm suspecting an path variable not set
> properly but I can't find where to set it.  Any ideas?
> 
> I am running mac os x 10.3.9, macpython 2.4.4, appscript 0.18.1

FWIW, it works OK here for 10.5.2, 2.5.2, 0.19-alpha.

Any chance the xterm shell is running under a different user name?  Have 
you tried the same sequence from Terminal.app rather than xterm?

-- 
 Ned Deily,
 nad at acm.org



More information about the Pythonmac-SIG mailing list