Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

PyPI page shows raw ReST source #84

Closed
mgedmin opened this issue Dec 17, 2014 · 7 comments
Closed

PyPI page shows raw ReST source #84

mgedmin opened this issue Dec 17, 2014 · 7 comments
Milestone

Comments

@mgedmin
Copy link

mgedmin commented Dec 17, 2014

https://pypi.python.org/pypi/pep257 looks like this:
ekrano nuotrauka is 2014-12-17 18 35 54

Typically this happens when PyPI encounters a ReStructuredText syntax error or a feature that is explicitly disabled for PyPI (like non-absolute URLs in links).

Usually I use restview's --pypi-strict mode to discover the source of the error, but here restview doesn't complain, so I"m baffled.

@keleshev
Copy link
Contributor

Another thing to try is pip install docutils, rst2html.py --strict README.rst, but it may be practically the same. @Nurdok

@mgedmin
Copy link
Author

mgedmin commented Dec 17, 2014

rst2html --strict doesn't complain either.

A possible debugging strategy would be to edit the long_description field through PyPI's web interface, removing bits, until you can isolate the one that breaks things.

@Nurdok
Copy link
Member

Nurdok commented Dec 17, 2014

I'll check it out - thanks for the report and the tips, everyone!

@mgedmin
Copy link
Author

mgedmin commented Dec 18, 2014

Some ideas from #pypa on irc.freenode.net:

mgedmin: maybe they use an archaic version of docutils
mgedmin: for example, the .. code:: directive is supported since 0.9, August 2012

@Nurdok Nurdok modified the milestone: 0.4.0 Release Dec 31, 2014
@Nurdok
Copy link
Member

Nurdok commented Jan 2, 2015

I checked the current master branch against testpypi and it looks okay, so I guess it was fixed somewhere along the way. I will close the issue after it is confirmed against the real pypi server.

@sigmavirus24
Copy link
Member

There have been several updates on PyPI recently to fix formatting issues found by users. The changes have been deployed to both testpypi and pypi itself. You should be able to close this now if it works on testpypi.

@Nurdok
Copy link
Member

Nurdok commented Jan 9, 2015

Solved as of version 0.4.1

@Nurdok Nurdok closed this as completed Jan 9, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants