Windows registry keys for Python file associations may have broken permissions, preventing build or installation #1371

Closed
opened 2011-02-25 00:44:15 +00:00 by davidsarah · 2 comments
davidsarah commented 2011-02-25 00:44:15 +00:00
Owner

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 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.

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 [this tahoe-dev thread](http://tahoe-lafs.org/pipermail/tahoe-dev/2011-February/006158.html). 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.
tahoe-lafs added the
packaging
major
defect
1.8.2
labels 2011-02-25 00:44:15 +00:00
tahoe-lafs added this to the undecided milestone 2011-02-25 00:44:15 +00:00
tahoe-lafs changed title from Windows registry keys for Python file associations may have broken permissions, preventing installation to Windows registry keys for Python file associations may have broken permissions, preventing build or installation 2011-02-25 00:44:40 +00:00
tahoe-lafs modified the milestone from undecided to 1.10.0 2011-08-12 15:27:02 +00:00
daira commented 2016-01-15 18:06:21 +00:00
Author
Owner

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.)

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.)
tahoe-lafs added the
wontfix
label 2016-01-15 18:06:21 +00:00
daira closed this issue 2016-01-15 18:06:21 +00:00
tahoe-lafs modified the milestone from soon to 1.11.0 2016-01-15 19:10:14 +00:00

Milestone renamed

Milestone renamed
warner modified the milestone from 1.11.0 to 1.12.0 2016-03-22 05:02:52 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Reference: tahoe-lafs/trac-2024-07-25#1371
No description provided.