classification
Title: improve error message for setup.py upload --sign without --identity
Type: behavior Stage: needs patch
Components: Distutils, Distutils2 Versions: Python 3.2, Python 3.1, Python 2.7, 3rd party
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: tarek Nosy List: eric.araujo, illume, tarek, zubin71
Priority: normal Keywords: easy

Created on 2010-01-11 15:22 by illume, last changed 2010-11-18 01:56 by eric.araujo.

Messages (2)
msg97589 - (view) Author: Rene Dudfield (illume) Date: 2010-01-11 15:22
hi,

When using setup.py upload --sign without --identity, gpg can give weird messages.

Rather than this error message:
"""running upload
gpg --detach-sign --local-user gn -a dist/pywebsite-0.1.18pre.tar.gz
gpg: skipped "gn": secret key not available
gpg: signing failed: secret key not available
error: command 'gpg' failed with exit status 2
make: *** [upload] Error 1"""

It might be nicer to also mention using --identity=, as well as a link to the documentation for --sign (url and also the help from "--help upload").

cheers,
msg101630 - (view) Author: Zubin Mithra (zubin71) Date: 2010-03-24 12:25
are you suggesting that a warning stating that 

'--identity has`nt been used'

has to be generated?
History
Date User Action Args
2010-11-18 01:56:56eric.araujosetkeywords: + easy
nosy: illume, tarek, eric.araujo, zubin71
title: distutils, better error message for setup.py upload -sign without identity. -> improve error message for setup.py upload --sign without --identity
components: + Distutils2
versions: + 3rd party, - Python 2.6
2010-04-09 00:04:34eric.araujosetnosy: + eric.araujo
2010-03-24 12:25:23zubin71setnosy: + zubin71
messages: + msg101630
2010-01-11 15:31:31brian.curtinsetpriority: normal
stage: needs patch
versions: + Python 2.6, Python 3.1, Python 2.7, Python 3.2
2010-01-11 15:22:33illumecreate