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

Antoine Pitrou report at bugs.python.org
Sat Sep 3 18:56:50 CEST 2011


Antoine Pitrou <pitrou at 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 for the string 'denied'; if this is
> not cross-platform, I won’t commit this line. 

I really don't think C error messages are portable, so you shouldn't
test for them :)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7219>
_______________________________________


More information about the Python-bugs-list mailing list