Skip to content
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
ghost opened this issue Sep 6, 2013 · 5 comments
Closed

Form encoding error with upload in Python 2.4 #77

ghost opened this issue Sep 6, 2013 · 5 comments

Comments

@ghost
Copy link

ghost 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


@ghost
Copy link
Author

ghost 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.

@ghost
Copy link
Author

ghost 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.

@ghost
Copy link
Author

ghost 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.

@ghost
Copy link
Author

ghost 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

@ghost
Copy link
Author

ghost commented Sep 7, 2013

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


Nice. Thanks Jason. :-)

@ghost ghost added major bug labels Mar 29, 2016
@ghost ghost closed this as completed Mar 29, 2016
jaraco added a commit that referenced this issue Dec 24, 2021
MinGW/Cygwin: Remove checks for ancient gcc/binutils
jaraco added a commit that referenced this issue Feb 4, 2023
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

0 participants