[Pythonmac-SIG] EasyDialog.AskFolder?

Benjamin Schollnick bscholl1 at rochester.rr.com
Mon Mar 15 06:17:55 EST 2004


Folks,

I am getting inconsistent results from Python on MOSX 10.3.2.

I am attempting to use EasyDialog.AskFolder, and receiving the  
following:

[megamac:~] benjamin% python  
/Users/benjamin/Desktop/finders/re-dup-file.py
True
Traceback (most recent call last):
   File "/Users/benjamin/Desktop/finders/re-dup-file.py", line 59, in ?
     test = EasyDialogs.AskFolder ( message="Please choose a folder to  
process")
   File  
"/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ 
python2.3/plat-mac/EasyDialogs.py", line 763, in AskFolder
     _interact()
   File  
"/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ 
python2.3/plat-mac/EasyDialogs.py", line 53, in _interact
     AE.AEInteractWithUser(50000000)
MacOS.Error: (-1713, 'no user interaction is allowed')
[megamac:~] benjamin%

The code is as follows:

#fss , ok = EasyDialogs.GetDirectory('Folder to search:')
test = EasyDialogs.AskFolder ( message="Please choose a folder to  
process")

Any suggestions?

I just ran the Python installer for 10.3... And received no errors...

		- Benjamin

System Brand: Apple Dual G5 2Ghz
   Operating System: Mac OS X 10.3.
   CPU Model: G5 (Dual)
   CPU Speed: 2Ghz x 2
   System Memory: 512 MB
   Graphics Chipset: ATI Radeon 9600
   Graphics Card Memory: 64 Mb
   Sound Card: Built in Apple
   CD/DVD Drive: DVD
   Internet Connection: Roadrunner (Cable)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 2192 bytes
Desc: not available
Url : http://mail.python.org/pipermail/pythonmac-sig/attachments/20040315/f088a8db/attachment.bin


More information about the Pythonmac-SIG mailing list