rob-smallshire / cartouche

A Sphinx extension to convert help() friendly docstrings to Sphinx markup
BSD 3-Clause "New" or "Revised" License
5 stars 3 forks source link

Parse errors do not report file or line number or line contents causing error. #9

Closed rob-smallshire closed 11 years ago

rob-smallshire commented 11 years ago

Original author: stevet...@gmail.com (October 05, 2012 16:47:07)

What steps will reproduce the problem?

  1. Write a comment that does not parse correctly, like leaving the colon (:) out of an Args specification.

What is the expected output? What do you see instead?

I expect cartouche to let me know what file / line number (maybe line contents) that parsed incorrectly. I could probably figure it out from there.

Instead it fails with this error: "Invalid cartouche argument syntax"

There are a lot of files in the project, and lots of comments with Args lists, where do I start?

What version of the product are you using? On what operating system?

cartouche 0.9 from PyPI on CentOS 6 64 bit

Original issue: http://code.google.com/p/cartouche/issues/detail?id=9

thezerobit commented 11 years ago

Looks like this was fixed with e3d5fae7f532fbc3f1e06d0101e2a11fd2f5dcaa which was for issue 6.