Tim Golden added the comment:
[Housekeeping] Closing this as fixed. The mimetypes fix is in; the 3.4
installer is well out of support. If any other issues arise on current
installers they should be raised as new issues.
--
resolution: -> fixed
stage: -> resolved
status: open ->
Chris Brennan added the comment:
This bug appears (for me) when I use longer install paths, both in the GUI
installer and doing a silent install via msiexec. The paths I've used so far
are these:
E:\langs\Python\x32\27
E:\langs\Python\x32\34
E:\langs\Python\x64\27
E:\langs\Python\x64\34
Roundup Robot added the comment:
New changeset bf2016a1911f by Steve Dower in branch '3.4':
Issue #22028: Ensure mimetypes will not open registry keys with embedded nulls
https://hg.python.org/cpython/rev/bf2016a1911f
New changeset 6ccade563bf7 by Steve Dower in branch 'default':
Issue #22028:
Roundup Robot added the comment:
New changeset 7c4c4e43c452 by Steve Dower in branch '2.7':
Issue #22028: Ensure mimetypes will not open registry keys with embedded nulls
https://hg.python.org/cpython/rev/7c4c4e43c452
--
nosy: +python-dev
___
Python
Tim Golden added the comment:
This has come up again in issue23604. Steve, please apply your patch. I think
it should go against 2.7, 3.4 3.5 especially since all those versions now
ship with ensurepip.
--
___
Python tracker rep...@bugs.python.org
Changes by Piotr Dobrogost p...@bugs.python.dobrogost.net:
--
nosy: +piotr.dobrogost
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22028
___
___
Changes by Tim Golden m...@timgolden.me.uk:
--
assignee: - tim.golden
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22028
___
___
Tim Golden added the comment:
This has just come up again over on python-list:
https://mail.python.org/pipermail/python-list/2015-January/696660.html
I'm the nearest thing we have to a mimetypes maintainer at least for Windows so
I'll try to pick Steve's patch up.
--
Martin v. Löwis added the comment:
I don't think the installer needs fixing beyond fixing mimetypes. If ensurepip
fails, the whole installation ought to fail (IMO); that's the way MSI is
supposed to work. It's the same if some other component could not be installed
for some reason
venza added the comment:
This is the exception that comes out after running the py -m ensurepip manually:
C:\Python34\lib\ensurepip\__main__.py run on 08/07/14 15:44:36
Ignoring indexes: https://pypi.python.org/simple/
Steve Dower added the comment:
Presumably the value for subkeyname being passed to OpenKey contains an
embedded null, which I believe is legal for the registry in general, but
doesn't make much sense in this context and is quite possibly a corruption
issue on your machine.
We can certainly
Steve Dower added the comment:
FWIW, on my machine I don't have embedded nulls in any of the values that
enum_keys is looking for:
import winreg
hkcr=winreg.OpenKey(winreg.HKEY_CLASSES_ROOT, '')
n = []
i = 0
while True:
... try:
... n.append(winreg.EnumKey(hkcr, i))
... except
venza added the comment:
Ok, I had three such keys. I run RegDelNull.exe and managed to remove two of
them. The third one is still there.
I'm reasonably sure that this machine is clean, anyway:
1. the Python installer should not fail silently when an exception is thrown
during pip
Steve Dower added the comment:
Agreed on both points, but we need to find someone willing to fix the 3.4
installer (I'm completely focused on the 3.5 installer, which won't suffer from
the first point).
There's a separate issue tracker for pip which would be the place to get their
developers
Mark Lawrence added the comment:
Nobody is listed as a maintainer for mimetypes here
https://docs.python.org/devguide/experts.html but I've seen Tim has done some
work on it so adding him to nosy list.
--
nosy: +BreamoreBoy, tim.golden
___
Python
Changes by Ned Deily n...@acm.org:
--
nosy: +steve.dower, zach.ware
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22028
___
___
Python-bugs-list
Changes by Donald Stufft don...@stufft.io:
--
nosy: +dstufft
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22028
___
___
Python-bugs-list mailing
Steve Dower added the comment:
You can always deselect pip from the installation. Running it separately after
installation will no doubt show what the actual problem is.
--
nosy: +loewis
___
Python tracker rep...@bugs.python.org
New submission from Jim Conyngham:
Python will not install on my Windows 7 (64-bit) OS.
I have repeatedly tried the install with variations (specifying an install
directly vs. taking the default; running as admininstrator vs. not; with and
without logging) and with multiple downloads
19 matches
Mail list logo