2012-01-02 20:35:08 |
Dmitry Tantsur |
bug |
|
|
added bug |
2012-01-02 21:53:05 |
Julian Taylor |
attachment added |
|
getheaderpatch.patch https://bugs.launchpad.net/ubuntu/+source/distribute/+bug/910965/+attachment/2654584/+files/getheaderpatch.patch |
|
2012-01-02 21:53:14 |
Julian Taylor |
distribute (Ubuntu): status |
New |
Fix Released |
|
2012-01-02 21:53:23 |
Julian Taylor |
bug |
|
|
added subscriber Julian Taylor |
2012-01-02 21:54:11 |
Julian Taylor |
nominated for series |
|
Ubuntu Oneiric |
|
2012-01-02 23:00:29 |
Launchpad Janitor |
branch linked |
|
lp:~jtaylor/ubuntu/oneiric/distribute/fix-910965 |
|
2012-01-02 23:06:03 |
Julian Taylor |
description |
$ sudo easy_install3 pyzmq
Searching for pyzmq
Reading http://pypi.python.org/simple/pyzmq/
Reading http://github.com/zeromq/pyzmq
Reading http://github.com/zeromq/pyzmq/downloads
Best match: pyzmq 2.1.11
Downloading https://github.com/downloads/zeromq/pyzmq/pyzmq-2.1.11.zip
Traceback (most recent call last):
File "/usr/bin/easy_install3", line 9, in <module>
load_entry_point('distribute==0.6.16dev-r0', 'console_scripts', 'easy_install')()
File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 1912, in main
with_ei_usage(lambda:
File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 1893, in with_ei_usage
return f()
File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 1916, in <lambda>
distclass=DistributionWithoutHelpCommands, **kw
File "/usr/lib/python3.2/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.2/distutils/dist.py", line 917, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.2/distutils/dist.py", line 936, in run_command
cmd_obj.run()
File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 364, in run
self.easy_install(spec, not self.no_deps)
File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 591, in easy_install
self.local_index
File "/usr/lib/python3/dist-packages/setuptools/package_index.py", line 492, in fetch_distribution
dist = find(requirement)
File "/usr/lib/python3/dist-packages/setuptools/package_index.py", line 475, in find
location=self.download(dist.location, tmpdir)
File "/usr/lib/python3/dist-packages/setuptools/package_index.py", line 414, in download
found = self._download_url(scheme.group(1), spec, tmpdir)
File "/usr/lib/python3/dist-packages/setuptools/package_index.py", line 663, in _download_url
return self._attempt_download(url, filename)
File "/usr/lib/python3/dist-packages/setuptools/package_index.py", line 672, in _attempt_download
headers = self._download_to(url, filename)
File "/usr/lib/python3/dist-packages/setuptools/package_index.py", line 583, in _download_to
content_length = headers.getheaders("Content-Length")[0]
AttributeError: 'HTTPMessage' object has no attribute 'getheaders'
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: python3-setuptools 0.6.16-1
ProcVersionSignature: Ubuntu 3.0.0-14.23-generic 3.0.9
Uname: Linux 3.0.0-14-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
Date: Tue Jan 3 00:33:54 2012
InstallationMedia: Xubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101008.1)
PackageArchitecture: all
ProcEnviron:
PATH=(custom, no user)
LANG=ru_RU.UTF-8
SHELL=/bin/bash
SourcePackage: distribute
UpgradeStatus: Upgraded to oneiric on 2011-08-10 (145 days ago) |
[impact] installing python3 modules that need downloading does not work due to use of a function not available in python3
[Fix] upstream now uses a method available in all python versions, that fix applies to oneiric. (https://bitbucket.org/tarek/distribute/issue/206)
Note the fix does not reintroduce issue 196 as the method only returns one entry of the header even if there are multiple.
(https://bitbucket.org/tarek/distribute/issue/196/)
[Testcase]
sudo apt-get install python3-setuptools
mkdir -p /tmp/inst//lib/python3.2/site-packages
PYTHONPATH=/tmp/inst//lib/python3.2/site-packages easy_install3 --prefix /tmp/inst/ pyzmq
#or any other packages that is not installed
expected result: successful installation in the prefix
real result: traceback see original report
original report:
$ sudo easy_install3 pyzmq
Searching for pyzmq
Reading http://pypi.python.org/simple/pyzmq/
Reading http://github.com/zeromq/pyzmq
Reading http://github.com/zeromq/pyzmq/downloads
Best match: pyzmq 2.1.11
Downloading https://github.com/downloads/zeromq/pyzmq/pyzmq-2.1.11.zip
Traceback (most recent call last):
File "/usr/bin/easy_install3", line 9, in <module>
load_entry_point('distribute==0.6.16dev-r0', 'console_scripts', 'easy_install')()
File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 1912, in main
with_ei_usage(lambda:
File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 1893, in with_ei_usage
return f()
File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 1916, in <lambda>
distclass=DistributionWithoutHelpCommands, **kw
File "/usr/lib/python3.2/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.2/distutils/dist.py", line 917, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.2/distutils/dist.py", line 936, in run_command
cmd_obj.run()
File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 364, in run
self.easy_install(spec, not self.no_deps)
File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 591, in easy_install
self.local_index
File "/usr/lib/python3/dist-packages/setuptools/package_index.py", line 492, in fetch_distribution
dist = find(requirement)
File "/usr/lib/python3/dist-packages/setuptools/package_index.py", line 475, in find
location=self.download(dist.location, tmpdir)
File "/usr/lib/python3/dist-packages/setuptools/package_index.py", line 414, in download
found = self._download_url(scheme.group(1), spec, tmpdir)
File "/usr/lib/python3/dist-packages/setuptools/package_index.py", line 663, in _download_url
return self._attempt_download(url, filename)
File "/usr/lib/python3/dist-packages/setuptools/package_index.py", line 672, in _attempt_download
headers = self._download_to(url, filename)
File "/usr/lib/python3/dist-packages/setuptools/package_index.py", line 583, in _download_to
content_length = headers.getheaders("Content-Length")[0]
AttributeError: 'HTTPMessage' object has no attribute 'getheaders'
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: python3-setuptools 0.6.16-1
ProcVersionSignature: Ubuntu 3.0.0-14.23-generic 3.0.9
Uname: Linux 3.0.0-14-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
Date: Tue Jan 3 00:33:54 2012
InstallationMedia: Xubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101008.1)
PackageArchitecture: all
ProcEnviron:
PATH=(custom, no user)
LANG=ru_RU.UTF-8
SHELL=/bin/bash
SourcePackage: distribute
UpgradeStatus: Upgraded to oneiric on 2011-08-10 (145 days ago) |
|
2012-01-27 19:44:48 |
Bryce Harrington |
bug task added |
|
distribute (Ubuntu Oneiric) |
|
2012-01-27 19:46:52 |
Bryce Harrington |
description |
[impact] installing python3 modules that need downloading does not work due to use of a function not available in python3
[Fix] upstream now uses a method available in all python versions, that fix applies to oneiric. (https://bitbucket.org/tarek/distribute/issue/206)
Note the fix does not reintroduce issue 196 as the method only returns one entry of the header even if there are multiple.
(https://bitbucket.org/tarek/distribute/issue/196/)
[Testcase]
sudo apt-get install python3-setuptools
mkdir -p /tmp/inst//lib/python3.2/site-packages
PYTHONPATH=/tmp/inst//lib/python3.2/site-packages easy_install3 --prefix /tmp/inst/ pyzmq
#or any other packages that is not installed
expected result: successful installation in the prefix
real result: traceback see original report
original report:
$ sudo easy_install3 pyzmq
Searching for pyzmq
Reading http://pypi.python.org/simple/pyzmq/
Reading http://github.com/zeromq/pyzmq
Reading http://github.com/zeromq/pyzmq/downloads
Best match: pyzmq 2.1.11
Downloading https://github.com/downloads/zeromq/pyzmq/pyzmq-2.1.11.zip
Traceback (most recent call last):
File "/usr/bin/easy_install3", line 9, in <module>
load_entry_point('distribute==0.6.16dev-r0', 'console_scripts', 'easy_install')()
File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 1912, in main
with_ei_usage(lambda:
File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 1893, in with_ei_usage
return f()
File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 1916, in <lambda>
distclass=DistributionWithoutHelpCommands, **kw
File "/usr/lib/python3.2/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.2/distutils/dist.py", line 917, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.2/distutils/dist.py", line 936, in run_command
cmd_obj.run()
File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 364, in run
self.easy_install(spec, not self.no_deps)
File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 591, in easy_install
self.local_index
File "/usr/lib/python3/dist-packages/setuptools/package_index.py", line 492, in fetch_distribution
dist = find(requirement)
File "/usr/lib/python3/dist-packages/setuptools/package_index.py", line 475, in find
location=self.download(dist.location, tmpdir)
File "/usr/lib/python3/dist-packages/setuptools/package_index.py", line 414, in download
found = self._download_url(scheme.group(1), spec, tmpdir)
File "/usr/lib/python3/dist-packages/setuptools/package_index.py", line 663, in _download_url
return self._attempt_download(url, filename)
File "/usr/lib/python3/dist-packages/setuptools/package_index.py", line 672, in _attempt_download
headers = self._download_to(url, filename)
File "/usr/lib/python3/dist-packages/setuptools/package_index.py", line 583, in _download_to
content_length = headers.getheaders("Content-Length")[0]
AttributeError: 'HTTPMessage' object has no attribute 'getheaders'
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: python3-setuptools 0.6.16-1
ProcVersionSignature: Ubuntu 3.0.0-14.23-generic 3.0.9
Uname: Linux 3.0.0-14-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
Date: Tue Jan 3 00:33:54 2012
InstallationMedia: Xubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101008.1)
PackageArchitecture: all
ProcEnviron:
PATH=(custom, no user)
LANG=ru_RU.UTF-8
SHELL=/bin/bash
SourcePackage: distribute
UpgradeStatus: Upgraded to oneiric on 2011-08-10 (145 days ago) |
[Impact]
installing python3 modules that need downloading does not work due to use of a function not available in python3
[Development Fix]
upstream now uses a method available in all python versions, that fix applies to oneiric. (https://bitbucket.org/tarek/distribute/issue/206)
Note the fix does not reintroduce issue 196 as the method only returns one entry of the header even if there are multiple.
(https://bitbucket.org/tarek/distribute/issue/196/)
[Stable Fix]
See comment #2
https://bugs.launchpad.net/ubuntu/+source/distribute/+bug/910965/+attachment/2654584/+files/getheaderpatch.patch
[Testcase]
sudo apt-get install python3-setuptools
mkdir -p /tmp/inst//lib/python3.2/site-packages
PYTHONPATH=/tmp/inst//lib/python3.2/site-packages easy_install3 --prefix /tmp/inst/ pyzmq
#or any other packages that is not installed
expected result: successful installation in the prefix
real result: traceback see original report
[Regression Potential]
<fill me in with a discussion of likelihood and potential severity of regressions and how users could get inadvertently affected. >
original report:
$ sudo easy_install3 pyzmq
Searching for pyzmq
Reading http://pypi.python.org/simple/pyzmq/
Reading http://github.com/zeromq/pyzmq
Reading http://github.com/zeromq/pyzmq/downloads
Best match: pyzmq 2.1.11
Downloading https://github.com/downloads/zeromq/pyzmq/pyzmq-2.1.11.zip
Traceback (most recent call last):
File "/usr/bin/easy_install3", line 9, in <module>
load_entry_point('distribute==0.6.16dev-r0', 'console_scripts', 'easy_install')()
File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 1912, in main
with_ei_usage(lambda:
File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 1893, in with_ei_usage
return f()
File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 1916, in <lambda>
distclass=DistributionWithoutHelpCommands, **kw
File "/usr/lib/python3.2/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.2/distutils/dist.py", line 917, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.2/distutils/dist.py", line 936, in run_command
cmd_obj.run()
File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 364, in run
self.easy_install(spec, not self.no_deps)
File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line 591, in easy_install
self.local_index
File "/usr/lib/python3/dist-packages/setuptools/package_index.py", line 492, in fetch_distribution
dist = find(requirement)
File "/usr/lib/python3/dist-packages/setuptools/package_index.py", line 475, in find
location=self.download(dist.location, tmpdir)
File "/usr/lib/python3/dist-packages/setuptools/package_index.py", line 414, in download
found = self._download_url(scheme.group(1), spec, tmpdir)
File "/usr/lib/python3/dist-packages/setuptools/package_index.py", line 663, in _download_url
return self._attempt_download(url, filename)
File "/usr/lib/python3/dist-packages/setuptools/package_index.py", line 672, in _attempt_download
headers = self._download_to(url, filename)
File "/usr/lib/python3/dist-packages/setuptools/package_index.py", line 583, in _download_to
content_length = headers.getheaders("Content-Length")[0]
AttributeError: 'HTTPMessage' object has no attribute 'getheaders'
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: python3-setuptools 0.6.16-1
ProcVersionSignature: Ubuntu 3.0.0-14.23-generic 3.0.9
Uname: Linux 3.0.0-14-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
Date: Tue Jan 3 00:33:54 2012
InstallationMedia: Xubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101008.1)
PackageArchitecture: all
ProcEnviron:
PATH=(custom, no user)
LANG=ru_RU.UTF-8
SHELL=/bin/bash
SourcePackage: distribute
UpgradeStatus: Upgraded to oneiric on 2011-08-10 (145 days ago) |
|
2012-01-28 00:01:16 |
Arthur Miller |
bug |
|
|
added subscriber Arthur Miller |
2012-01-28 00:02:47 |
Launchpad Janitor |
distribute (Ubuntu Oneiric): status |
New |
Confirmed |
|
2012-02-15 07:38:27 |
Evan Broder |
bug |
|
|
added subscriber Evan Broder |
2012-02-17 09:37:07 |
Martin Pitt |
distribute (Ubuntu Oneiric): status |
Confirmed |
Fix Committed |
|
2012-02-17 09:37:09 |
Martin Pitt |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2012-02-17 09:37:11 |
Martin Pitt |
bug |
|
|
added subscriber SRU Verification |
2012-02-17 09:37:17 |
Martin Pitt |
tags |
amd64 apport-bug oneiric |
amd64 apport-bug oneiric verification-needed |
|
2012-02-19 01:19:18 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/oneiric-proposed/distribute |
|
2012-02-21 13:17:23 |
Jean-Baptiste Lallement |
tags |
amd64 apport-bug oneiric verification-needed |
amd64 apport-bug oneiric verification-done |
|
2012-02-26 22:29:21 |
Launchpad Janitor |
distribute (Ubuntu Oneiric): status |
Fix Committed |
Fix Released |
|