Skip to content

upload_docs fails with "Form data is not correctly encoded in UTF-8" #124

@ghost

Description

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


I'm attempting to upload docs for a new release of my package to pythonhosted.org but I get:

$ bin/docpy setup.py upload_docs --upload-dir=docs/_build/html
running upload_docs
Submitting documentation to http://pypi.python.org/pypi
Upload failed (400): Form data is not correctly encoded in UTF-8

My docs are all ascii as far as I know.

I'm using setuptools 2.0 on Python 2.7.3.

Downgrading to setuptools 1.4.2 fixed the problem.


Metadata

Metadata

Assignees

No one assigned

    Labels

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions