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

500 when processing project.description via restructuredtext tag filter #3892

Closed
humitos opened this issue Apr 3, 2018 · 1 comment
Closed
Assignees
Labels
Bug A bug

Comments

@humitos
Copy link
Member

humitos commented Apr 3, 2018

Accessing https://readthedocs.org/projects/pydbgen/ you will get a 500.

The error happen because the title overline is not accurate:

SystemMessage: <string>:1: (SEVERE/4) Title overline & underline mismatch.

****************************************
Random database/dataframe generator
***************************************

The important code sections.

Template:

https://github.com/rtfd/readthedocs.org/blob/393e31ad3a9aafee297df64f1a654ffcda7ef04a/readthedocs/templates/core/project_details.html#L79-L83

Python code:

https://github.com/rtfd/readthedocs.org/blob/393e31ad3a9aafee297df64f1a654ffcda7ef04a/readthedocs/core/templatetags/core_tags.py#L45-L71

There is no feedback at all saying what's the error. Possible solutions:

  • should fail silently, show the raw description and communicate the user with a message or
  • do not parse it via restructuredtext at all
@humitos humitos added the Bug A bug label Apr 3, 2018
@davidfischer
Copy link
Contributor

I made a small edit as this issue was referencing my fork of RTD.

@davidfischer davidfischer self-assigned this Apr 4, 2018
davidfischer added a commit to davidfischer/readthedocs.org that referenced this issue Apr 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug A bug
Projects
None yet
Development

No branches or pull requests

2 participants