[Python-bugs-list] [ python-Bugs-789397 ] webbrowser hangs finder
on ftp links
SourceForge.net
noreply at sourceforge.net
Fri Aug 15 12:15:24 EDT 2003
Bugs item #789397, was opened at 2003-08-15 11:15
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=789397&group_id=5470
Category: Macintosh
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Russell Owen (reowen)
Assigned to: Jack Jansen (jackjansen)
Summary: webbrowser hangs finder on ftp links
Initial Comment:
On MacOS X 10.2.6, running either unix python 2.2.2 or MacPython (aqua framework) 2.3, the following hangs my Finder. This seems to be a permanent hang; waiting 1/2 hour did nothing.
pythonw
>>>import webbrowser
>>>url = "ftp://acct:@machine/dir/image.fits"
>>>w.open(url)
The first time I'm asked for where to download the file (by a Finder"Choose a Folder" dialog box) and a blank file is downloaded. My password is never asked for, but it's in the keychain so maybe that's why.
The second time the Finder simply hangs. Even waiting 1/2 hour doesn't do anything. I have to force quit it.
Adding ;type=i to the url makes no difference (I'd prefer to download it as an explicit binary, but tried the simpler url to see if that helped).
I also have unix Python 2.2.2 installed. Same story.
In neither case is my web browser ever opened.
webbrowser.open works just fine on http: urls (except the known problem that the anchor specification, e.g. #..., is ignored).
Also, anonymous ftp of text files does seem to work (again, using the finder and having it ask for the destination each time; I'd really like to make my web browser do the downloading as it has a much nicer download status window!).
I'm happy to provide a working url, account and password to anybody trying to solve this problem.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=789397&group_id=5470
More information about the Python-bugs-list
mailing list