EasyDialogs module problem with python 2.4.1

scott scmarsh at hotmail.com
Mon Apr 18 13:38:03 EDT 2005


scott wrote:
> First my setup:
> 
> I'm using the framework build of Python 2.4.1
> 
> ( http://bob.pythonmac.org/archives/2005/03/31/macpython-241-installer/ )
> 
> on an ibook G4 running Mac OS 10.3.8.
> 
> I installed wxPython 2.5.5.1 ( Unicode runtime 2.5.5.1 for the Panther 
> version of Macpython-OSX 2.4 )
> 
> ( http://wxpython.org )
> 
> Now my problem:
> 
> EasyDialogs module
> 
> ( http://www.python.org/doc/2.4.1/mac/module-EasyDialogs.html )
> 
> works with pyshell (interactive python program included with wxPython) 
> but not with python launched at the terminal:
> ie:
> 
> -----------------------
> 
> PyShell 0.9.4 - The Flakiest Python Shell
> Sponsored by Orbtech - Your source for Python programming expertise.
> Python 2.4.1 (#2, Mar 31 2005, 00:05:10)
> [GCC 3.3 20030304 (Apple Computer, Inc. build 1666)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
>  >>>import EasyDialogs
>  >>>EasyDialogs.Message('hi')

Sorry, the rest of the message:

At the terminal, EasyDialogs doesn't work:

------------------------

Last login: Mon Apr 18 10:30:53 on console
Welcome to Darwin!
scott$ python
Python 2.4.1 (#2, Mar 31 2005, 00:05:10)
[GCC 3.3 20030304 (Apple Computer, Inc. build 1666)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
 >>> import EasyDialogs
 >>> EasyDialogs.Message('hi')
Traceback (most recent call last):
   File "<stdin>", line 1, in ?
   File 
"/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/plat-mac/EasyDialogs.py", 
line 75, in Message
     _interact()
   File 
"/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/plat-mac/EasyDialogs.py", 
line 53, in _interact
     AE.AEInteractWithUser(50000000)
MacOS.Error: (-1713, 'no user interaction is allowed')
 >>>

-------------------------

I want to use EasyDialogs as a user front end for some simple scripts 
and can't do that until this issue is resolved. Thanks in advance.



More information about the Python-list mailing list