[Distutils] problems with sdist upload since CDN update

Donald Stufft donald at stufft.io
Fri May 31 21:44:49 CEST 2013


On May 31, 2013, at 2:10 PM, Donald Stufft <donald at stufft.io> wrote:

> 
> On May 31, 2013, at 1:44 PM, Matt Wilkie <maphew at gmail.com> wrote:
> 
>> I'm also having trouble with uploading to pypi, it's not random,
>> meaning it's happened every time so far. My last upload was about a
>> week ago and seamless.
>> 
>> Here is my best reconstruction of today:
>> 
>> {{{
>> python setup.py sdist upload
>> 
>> ...snip
>> adding 'leo-4.11.devel-build-5802\leo.egg-info\PKG-INFO'
>> adding 'leo-4.11.devel-build-5802\leo.egg-info\SOURCES.txt'
>> adding 'leo-4.11.devel-build-5802\leo.egg-info\top_level.txt'
>> removing 'leo-4.11.devel-build-5802' (and everything under it)
>> running upload
>> submitting d:/leo/dist\leo-4.11.devel-build-5802.zip to
>> http://pypi.python.org/pypi
>> upload failed (500): There's been a problem with your request
>> 
>> python setup.py sdist upload
>> :: same error
>> 
>> python setup.py register
>> :: was okay
>> 
>> python setup.py sdist upload
>> :: same error
>> }}}
>> 
>> I then went to https://pypi.python.org/pypi?%3Aaction=pkg_edit&name=leo
>> and noticed that I had my role mysteriously expanded to include Owner
>> as well as Maintainer.
>> 
>> I used the web interface and removed the Owner role for myself, and
>> then manually uploaded the sdist package, which succeeded.
>> 
>> Went back to cmd shell and:
>> 
>> {{{
>> B:\apps\leo\pypi-411>python setup.py bdist_wininst upload
>> 
>> ...snip
>> adding 'SCRIPTS\leoc-script.py'
>> adding 'SCRIPTS\leoc.exe'
>> adding 'SCRIPTS\leoc.exe.manifest'
>> removing 'd:/leo/build' (and everything under it)
>> running upload
>> Submitting d:/leo/dist\leo-4.11.devel-build-5802.win32.exe to
>> http://pypi.python.org/pypi
>> Server response (200): OK
>> Submitting d:/leo/dist\leo-4.11.devel-build-5802.win32.exe to
>> http://pypi.python.org/pypi
>> Upload failed (400): A file named
>> "leo-4.11.devel-build-5802.win32.exe" already exists for
>> leo-4.11.devel-build-5802. To fix problems with that file you should
>> create a new release.
>> }}}
>> 
>> Note the double upload.
>> 
>> Going back to the website https://pypi.python.org/pypi/leo there are
>> now 2 packages listed: "leo 4.10-final", which corresponds to the
>> sdist package, and "leo 4.11.devel-build-5802" corresponding the win32
>> .exe installer.
>> 
>> The metadata for 4.10-final has the correct author and maintainer, but
>> all the other metadata is old and hasn't been updated.
>> 
>> The metadata for 4.11-devel is up to date for homepage through
>> maintainer but has the wrong Author and is missing the long
>> description.
>> 
>> The journal entries for the 2 packages mirror each other except for
>> the last line:
>> {{{
>> Journal
>> Action	Date	User	Address
>> create 	2003-10-09 17:32 	edreamleo 	66.168.19.217
>> add Owner edreamleo 	2003-10-09 17:32 	edreamleo 	66.168.19.217
>> new release 	2012-03-29 13:53 	edreamleo 	68.185.171.138
>> add Maintainer maphew 	2013-05-07 13:08 	edreamleo 	172.8.201.39
>> add Owner maphew 	2013-05-22 23:21 	maphew 	199.247.128.35
>> update _pypi_hidden 	2013-05-22 23:22 	maphew 	199.247.128.35
>> update _pypi_hidden 	2013-05-31 16:52 	maphew 	199.27.75.22
>> remove Owner maphew 	2013-05-31 16:53 	maphew 	199.27.75.22
>> update hosting_mode 	2013-05-31 16:56 	maphew 	199.27.75.20
>> add source file leo-4.11.devel-build-5802.zip 	2013-05-31 16:59
>> 	maphew 	199.27.75.21
>> }}}
>> 
>> {{{
>> add any file leo-4.11.devel-build-5802.win32.exe 	2013-05-31 17:02
>> 	maphew 	199.27.75.23
>> }}}
>> 
>> Also curious is that all the ip addresses for today are wrong and
>> variable. My external-to-world-ip should be 199.247.128.35 and static.
>> 
>> cheers,
>> 
>> -matt
>> _______________________________________________
>> Distutils-SIG maillist  -  Distutils-SIG at python.org
>> http://mail.python.org/mailman/listinfo/distutils-sig
> 
> I see an exception here in Sentry, I'll investigate further in a bit.
> 
> -----------------
> Donald Stufft
> PGP: 0x6E3CBCE93372DCFA // 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 DCFA
> 
> _______________________________________________
> Distutils-SIG maillist  -  Distutils-SIG at python.org
> http://mail.python.org/mailman/listinfo/distutils-sig


Matt, is your code available online anywhere?

-----------------
Donald Stufft
PGP: 0x6E3CBCE93372DCFA // 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 DCFA

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20130531/1f51cbc8/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20130531/1f51cbc8/attachment.pgp>


More information about the Distutils-SIG mailing list