[Python-bugs-list] [ python-Bugs-812376 ] Problem with ftplib on
HP-UX11i
SourceForge.net
noreply at sourceforge.net
Fri Sep 26 13:50:28 EDT 2003
Bugs item #812376, was opened at 2003-09-25 21:10
Message generated for change (Comment added) made by anthonybaxter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=812376&group_id=5470
Category: Python Library
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Richard Townsend (rptownsend)
Assigned to: Nobody/Anonymous (nobody)
Summary: Problem with ftplib on HP-UX11i
Initial Comment:
The following code fails on Python 2.3 (and 2.3.1).
import ftplib
f = ftplib.FTP()
f.connect('hostname', 21)
this raises:
socket.gaierror: (8, 'host nor service provided, or not
known')
In FTP.connect() it is the call to socket.getaddrinfo()
that is raising the exception.
The same code works OK on Python 2.2.1
If I pass an IP address instead of a hostname, the code
runs OK on Python 2.3
----------------------------------------------------------------------
>Comment By: Anthony Baxter (anthonybaxter)
Date: 2003-09-27 03:50
Message:
Logged In: YES
user_id=29957
Hm. I'm obviously having reading difficulties. There's
obviously something else going on entirely. Damn. I will try
to grab some time on one of the HP test boxes to see if I
can figure what's going on...
----------------------------------------------------------------------
Comment By: Anthony Baxter (anthonybaxter)
Date: 2003-09-27 03:49
Message:
Logged In: YES
user_id=29957
Did the workaround fix the problem? I'm not sure why it'd
work for 2.3 and not 2.3.1, unless 2.3.1's script was
generated with a newer version of autoconf - aha. Yes, it was.
If you could check if the fix in
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=811160&group_id=5470
"makes it all better", that would be great. Put aclocal.m4
alongside configure &c, re-run autoconf, then ./configure ; make
----------------------------------------------------------------------
Comment By: Richard Townsend (rptownsend)
Date: 2003-09-27 03:21
Message:
Logged In: YES
user_id=200117
I had already applied the workaround to my 2.3.1 build.
I don't think configure was broken with Python 2.3 - and it
was with 2.3 that I first noticed the problem.
----------------------------------------------------------------------
Comment By: Anthony Baxter (anthonybaxter)
Date: 2003-09-27 03:04
Message:
Logged In: YES
user_id=29957
Hm. I wonder if this is related to the configure broken-ness.
Can you apply the workaround from
http://www.python.org/2.3.1/bugs.html and see if the problem
is fixed?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=812376&group_id=5470
More information about the Python-bugs-list
mailing list