[ python-Bugs-912758 ] AskFolder (EasyDialogs) does not work?
SourceForge.net
noreply at sourceforge.net
Thu Jun 3 09:40:31 EDT 2004
Bugs item #912758, was opened at 2004-03-09 15:33
Message generated for change (Comment added) made by jackjansen
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: Closed
>Resolution: Works For Me
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).
----------------------------------------------------------------------
>Comment By: Jack Jansen (jackjansen)
Date: 2004-06-03 15:40
Message:
Logged In: YES
user_id=45365
Sorry for being so late replying to this: I missed it.
But: I cannot repeat this. Could you please test again, to see that there
wasn't some transient problem? Please run with "pythonw -v" and verify
that you're getting the correct EasyDialogs, not some modified
(incomplete) copy. If you still see the problem: please reopen the bug
report, and supply exact version of Python and MacOS, plus the output of
"pythonw -v" of your code and "dir(EasyDialogs)".
----------------------------------------------------------------------
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