'maximum recursion depth exceeded' on /people/304vn
Fixed in internetarchive/infogami#189
https://openlibrary.org/people/304vn returns:
/opt/openlibrary/deploys/openlibrary/68474f6/openlibrary/templates/type/user/view.html: error in processing template: RuntimeError: maximum recursion depth exceeded (falling back to default template)
https://openlibrary.org/people/304vn?&debug=true returns:
<type 'exceptions.RuntimeError'> at /people/304vn
maximum recursion depth exceeded
Python /opt/openlibrary/deploys/openlibrary/68474f6/infogami/utils/markdown/markdown.py in _linesUntil, line 1426
Web GET https://openlibrary.org/people/304vn
Evidence / Screenshot (if possible)
[... a lot more of that last message ... ]

I haven't seen this with any other page, and I don't see any related past or present issues when searching for that error.
Relevant url?
https://openlibrary.org/people/304vn
Steps to Reproduce
- Go to one of the two URLs above and wait
- Actual: (see above)
- Expected: Page renders, even if in some sort of degraded mode once a timeout is reached
Details
- Logged in (Y/N)? N
- Browser type/version? Chrome
- Operating system? Linux
- Environment (prod/dev/local)? prod
Proposal & Constraints
Related files
Stakeholders
@mekarpeles
This specific user profile was filled with spam (we blocked the account + reverted) https://openlibrary.org/people/304vn.json?v=2
We should keep this open, though and figure out why the recursion problem was happening may be related to markdown
I want to take up this issue. As I am new to this contribution can to you guide me through where to look up for this issue. I am unable to locate the file markdown.py. Thanks in advance
Take a look at the "Prerequisites & Troubleshooting" section of https://github.com/internetarchive/openlibrary/blob/master/docker/README.md. It looks like markdown.py is in the Git submodule called infogami, which I guess you might not get if you git clone the repository via https.