This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Priscila.Manhaes
Recipients Priscila.Manhaes, eric.araujo, jcea, pje
Date 2010-11-20.17:52:56
SpamBayes Score 4.13376e-07
Marked as misclassified No
Message-id <>
Well, I fixed the problem moving the "if" that instances "result" even though it getting HTTPError into the "try".

        # send the data
            result = urlopen(request)
            status = result.getcode()
            reason = result.msg
            if self.show_response:
                self.announce('-'*75,, '-'*75)
        except socket.error, e:
            self.announce(str(e), log.ERROR)
        except HTTPError, e:
            status = e.code
            reason = e.msg

        if status == 200:
            self.announce('Server response (%s): %s' % (status, reason),
            self.announce('Upload failed (%s): %s' % (status, reason),


So now it explains the real error:

python sdist upload
running sdist
running check
warning: sdist: manifest template '' does not exist (using default file list)

writing manifest file 'MANIFEST'
creating Python-2.7
creating Python-2.7/Lib
creating Python-2.7/Tools
creating Python-2.7/Tools/scripts
making hard links in Python-2.7...
hard linking README -> Python-2.7
'_struct.c' not a regular file -- skipping
hard linking -> Python-2.7
hard linking Lib/ -> Python-2.7/Lib
hard linking Tools/scripts/2to3 -> Python-2.7/Tools/scripts
hard linking Tools/scripts/idle -> Python-2.7/Tools/scripts
hard linking Tools/scripts/pydoc -> Python-2.7/Tools/scripts
Creating tar archive
removing 'Python-2.7' (and everything under it)
running upload
Submitting dist/Python-2.7.tar.gz to
Upload failed (401): Unauthorized


Is this ok?
Date User Action Args
2010-11-20 17:52:58Priscila.Manhaessetrecipients: + Priscila.Manhaes, jcea, pje, eric.araujo
2010-11-20 17:52:58Priscila.Manhaessetmessageid: <>
2010-11-20 17:52:56Priscila.Manhaeslinkissue10367 messages
2010-11-20 17:52:56Priscila.Manhaescreate