New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Form encoding error with upload in Python 2.4 #77

Closed
bb-migration opened this Issue Sep 6, 2013 · 5 comments

Comments

Projects
None yet
1 participant
@bb-migration

bb-migration commented Sep 6, 2013

Originally reported by: behackett (Bitbucket: behackett, GitHub: behackett)


#!python

...
removing 'build\bdist.win32\egg' (and everything under it)
running upload
Submitting dist\pymongo-2.6.2-py2.4-win32.egg to https://pypi.python.org/pypi
Upload failed (400): Form data is not correctly encoded in UTF-8

This is with setuptools 1.1.1


@bb-migration

This comment has been minimized.

bb-migration commented Sep 6, 2013

Original comment by behackett (Bitbucket: behackett, GitHub: behackett):


Interestingly enough, I don't get this error in Python 2.5. Comparing the upload.py shipped by setuptools for 2.4 support to upload.py from distutils in 2.5 doesn't show any difference that would seem to cause this problem.

@bb-migration

This comment has been minimized.

bb-migration commented Sep 7, 2013

Original comment by behackett (Bitbucket: behackett, GitHub: behackett):


This is python 2.4.4 on Windows, if that helps at all.

@bb-migration

This comment has been minimized.

bb-migration commented Sep 7, 2013

Original comment by jaraco (Bitbucket: jaraco, GitHub: jaraco):


It seems the issue stems from some delinting I did in the 1.1.1 release.

@bb-migration

This comment has been minimized.

bb-migration commented Sep 7, 2013

Original comment by jaraco (Bitbucket: jaraco, GitHub: jaraco):


Fix boolean test, incorrectly changed. Off-by-one errors are particularly ugly with booleans ;) Fixes #77

@bb-migration

This comment has been minimized.

bb-migration commented Sep 7, 2013

Original comment by behackett (Bitbucket: behackett, GitHub: behackett):


Nice. Thanks Jason. :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment