[issue7219] Unhelpful error message when a distutils package install fails due to a permissions error

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue7219] Unhelpful error message when a distutils package install fails due to a permissions error

2014-03-12 Thread Éric Araujo
Éric Araujo added the comment: The fix for #4931 may also fix this bug. The patch should be changed to remove the code changes and adapt the tests. -- components: -Distutils2 versions: +Python 3.4 -3rd party, Python 3.2 ___ Python tracker

[issue7219] Unhelpful error message when a distutils package install fails due to a permissions error

2011-09-06 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: Removed file: http://bugs.python.org/file23101/unnamed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7219 ___

[issue7219] Unhelpful error message when a distutils package install fails due to a permissions error

2011-09-06 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Thanks for testing the patch higery. I wonder if another exception was raised but ignored by unittest. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7219

[issue7219] Unhelpful error message when a distutils package install fails due to a permissions error

2011-09-05 Thread higery
higery shoulderhig...@gmail.com added the comment: I have run the 'test_install_lib' on cpython3.3(windows version), the 'test_install_error' failed. The detail is: *FAIL: test_install_error (__main__.InstallLibTestCase) --

[issue7219] Unhelpful error message when a distutils package install fails due to a permissions error

2011-09-05 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I really don't think C error messages are portable, so you shouldn't test for them :) Too bad. I’ll have to be satisfied with a manual test from Michael then. -- ___ Python tracker

[issue7219] Unhelpful error message when a distutils package install fails due to a permissions error

2011-09-03 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I have a patch that needs testing on Cpython Windows and if possible IPython. The test makes sure that the error message contains the path to the file (which the incomplete error message you report also does, BTW), and an explanation of the

[issue7219] Unhelpful error message when a distutils package install fails due to a permissions error

2011-09-03 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: The test makes sure that the error message contains the path to the file (which the incomplete error message you report also does, BTW), and an explanation of the error (to address the OP’s concern that the message must be helpful): it looks

[issue7219] Unhelpful error message when a distutils package install fails due to a permissions error

2010-11-11 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I wonder if this is IronPython-specific. Could you temporarily make the site-packages directory of a py3k CPython read-only and try to install a distribution with that CPython? I can try the same thing on unix. --

[issue7219] Unhelpful error message when a distutils package install fails due to a permissions error

2010-08-14 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: The None error message *looks* to me like the result of a failed assertion. That may not be correct of course... -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7219

[issue7219] Unhelpful error message when a distutils package install fails due to a permissions error

2010-08-13 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: An IOError is raised but file_util._copy_file_contents only produces the helpful message “could not create 'file': error” when catching os.error. Catching both classes is easy. We’d need a regression test first, and before that, agreement from

[issue7219] Unhelpful error message when a distutils package install fails due to a permissions error

2010-08-11 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: Output below, first without DISTUTILS_DEBUG (showing the not very useful default message) and second with. (The actual exception is Access to the path 'C:\Program Files\IronPython 2.7\Lib\site-packages\mock.py' is denied.) This is with

[issue7219] Unhelpful error message when a distutils package install fails due to a permissions error

2010-08-02 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Could you run ipy.exe setup.py build, then set DISTUTILS_DEBUG in the environment and run ipy.exe setup.py install? -- nosy: +merwok ___ Python tracker rep...@bugs.python.org

[issue7219] Unhelpful error message when a distutils package install fails due to a permissions error

2010-07-11 Thread Mark Lawrence
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- keywords: +easy -26backport versions: +Python 3.1 -Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7219 ___

[issue7219] Unhelpful error message when a distutils package install fails due to a permissions error

2009-10-27 Thread Michael Foord
New submission from Michael Foord mich...@voidspace.org.uk: This problem showed up when installing a package with IronPython, where the site-packages folder requires admin privileges to write to (which *should* be true with CPython Windows but isn't). If you perform a 'python setup.py install'