Your message dated Tue, 27 Dec 2022 23:25:10 +0000
with message-id <e1pajjm-00cclq...@fasolo.debian.org>
and subject line Bug#1027108: Removed package(s) from unstable
has caused the Debian Bug report #663927,
regarding python2.7: urllib throws socket.timeout error instead of
urllib2.URLError
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
663927: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=663927
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: python2.7
Version: 2.7.3~rc1-1
Severity: important
I get randomly a different error than what should be expected on that
situation. The normal behaviour is to get urllib2.URLError. I often get
a direct socket.timeout error.
I could not reproduce this on python2.4, python2.6 and on a
hand-compiled python2.7.2 on Debian Squeeze.
Another reference of this bug:
https://bitbucket.org/tarek/distribute/issue/256/python27-throws-sockettimeout-directly
$ python
Python 2.7.3rc1 (default, Mar 10 2012, 00:01:06)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import urllib2
>>> import socket
>>> socket.setdefaulttimeout(1)
>>> urllib2.urlopen("http://trac.pocoo.org/repos/werkzeug/trunk")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 400, in open
response = self._open(req, data)
File "/usr/lib/python2.7/urllib2.py", line 418, in _open
'_open', req)
File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 1207, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "/usr/lib/python2.7/urllib2.py", line 1177, in do_open
raise URLError(err)
urllib2.URLError: <urlopen error timed out>
>>> urllib2.urlopen("http://trac.pocoo.org/repos/werkzeug/trunk")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 400, in open
response = self._open(req, data)
File "/usr/lib/python2.7/urllib2.py", line 418, in _open
'_open', req)
File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 1207, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "/usr/lib/python2.7/urllib2.py", line 1180, in do_open
r = h.getresponse(buffering=True)
File "/usr/lib/python2.7/httplib.py", line 1030, in getresponse
response.begin()
File "/usr/lib/python2.7/httplib.py", line 407, in begin
version, status, reason = self._read_status()
File "/usr/lib/python2.7/httplib.py", line 365, in _read_status
line = self.fp.readline()
File "/usr/lib/python2.7/socket.py", line 447, in readline
data = self._sock.recv(self._rbufsize)
socket.timeout: timed out
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 3.1.0-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages python2.7 depends on:
ii libbz2-1.0 1.0.6-1
ii libc6 2.13-27
ii libdb4.8 4.8.30-11
ii libexpat1 2.0.1-7.2
ii libgcc1 1:4.6.3-1
ii libncursesw5 5.9-4
ii libreadline6 6.2-8
ii libsqlite3-0 3.7.10-1
ii libtinfo5 5.9-4
ii mime-support 3.52-1
ii python2.7-minimal 2.7.3~rc1-1
python2.7 recommends no packages.
Versions of packages python2.7 suggests:
ii binutils 2.22-6
ii python2.7-doc 2.7.3~rc1-1
-- no debconf information
--- End Message ---
--- Begin Message ---
Version: 2.7.18-13.2+rm
Dear submitter,
as the package python2.7 has just been removed from the Debian archive
unstable we hereby close the associated bug reports. We are sorry
that we couldn't deal with your issue properly.
For details on the removal, please see https://bugs.debian.org/1027108
The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.
Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.
This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmas...@ftp-master.debian.org.
Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)
--- End Message ---