[ python-Bugs-912758 ] AskFolder (EasyDialogs) does not work?

SourceForge.net noreply at sourceforge.net
Tue Mar 9 09:33:55 EST 2004


Bugs item #912758, was opened at 2004-03-09 09:33
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=912758&group_id=5470

Category: Macintosh
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Benjamin Schollnick (bscholln)
Assigned to: Jack Jansen (jackjansen)
Summary: AskFolder (EasyDialogs) does not work?

Initial Comment:
I previously was using this code:

#fss , ok = macfs.GetDirectory('Folder to search:')

Which worked fine on Python v2.3 on MOSX v10.3.

But, I am updating the code to use:

test = EasyDialogs.AskFolder ( message="Please choose a folder to 
process", defaultLocation=".", wanted=string)

Which results in:

Traceback (most recent call last):
  File "Panther:Users:benjamin:Desktop:Python:finders:re-dup-
file.py", line 59, in ?
    test = EasyDialogs.AskFolder ( message="Please choose a folder 
to process", defaultLocation=".", wanted=string)
AttributeError: 'module' object has no attribute 'AskFolder'

If I run the EasyDialogs.py self test, it dies (without a traceback), 
right after the following code:

  rv = AskFileForSave(wanted=Carbon.File.FSRef, 
savedFileName="%s.txt"%s)
    Message("rv.as_pathname: %s"%rv.as_pathname())
 
Which the AskFolder test is what appears to be crashing the 
EasyDialogs test...  (Since the pathname test message is appearing 
during the self test).



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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=912758&group_id=5470



More information about the Python-bugs-list mailing list