[tahoe-lafs-trac-stream] [Tahoe-LAFS] #1371: Windows registry keys for Python file associations may have broken permissions, preventing build or installation

Tahoe-LAFS trac at tahoe-lafs.org
Fri Jan 15 18:06:21 UTC 2016


#1371: Windows registry keys for Python file associations may have broken
permissions, preventing build or installation
----------------------------+--------------------------------
     Reporter:  davidsarah  |      Owner:  davidsarah
         Type:  defect      |     Status:  closed
     Priority:  major       |  Milestone:  soon
    Component:  packaging   |    Version:  1.8.2
   Resolution:  wontfix     |   Keywords:  windows setuptools
Launchpad Bug:              |
----------------------------+--------------------------------
Changes (by daira):

 * status:  assigned => closed
 * resolution:   => wontfix


Old description:

> A build or install may fail on some Windows systems with the following
> error:
> {{{
> Setting up environment to run scripts for the current user...
> error: Setup script exited with error: I was going to associate the
> filetype .pyscript with Python.File for the current user, but that
> won't work because the Python.File class does not exist in the
> registry, as far as I can tell.
> WindowsError(5, 'Access is denied')
> }}}
>
> See [http://tahoe-lafs.org/pipermail/tahoe-dev/2011-February/006158.html
> this tahoe-dev thread]. The Windows system in that case was Windows 7
> ultimate 64-bit.
>
> This problem may occur because the Python.File key is not inheriting
> permissions from its parent (at least, clearing this permission
> inheritance is necessary to reproduce the problem on my machine).
>
> For other reasons as well (#1302), we should probably stop relying on
> Python.File to point to the Python interpreter.

New description:

 A build or install may fail on some Windows systems with the following
 error:
 {{{
 Setting up environment to run scripts for the current user...
 error: Setup script exited with error: I was going to associate the
 filetype .pyscript with Python.File for the current user, but that
 won't work because the Python.File class does not exist in the
 registry, as far as I can tell.
 WindowsError(5, 'Access is denied')
 }}}

 See [http://tahoe-lafs.org/pipermail/tahoe-dev/2011-February/006158.html
 this tahoe-dev thread]. The Windows system in that case was Windows 7
 ultimate 64-bit.

 This problem may occur because the Python.File key is not inheriting
 permissions from its parent (at least, clearing this permission
 inheritance is necessary to reproduce the problem on my machine).

 For other reasons as well (#1302), we should probably stop relying on
 Python.File to point to the Python interpreter.

--

Comment:

 When we remove zetuptoolz and switch to newer setuptools, this will be
 fixed because the scriptsetup code will go away. (Newer setuptools
 generates a Windows executable, and if this causes any regressions then
 we'll try to fix them upstream.)

--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1371#comment:3>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list