On Wednesday, August 21, 2013 5:15:34 AM UTC-7, Daniel Krenn wrote:
>
> For some file I get 
>
>   [combinat ] /path/to/file/blub.py:docstring of sage.combinat.blub:27: 
>   ERROR: Unexpected indentation. 
>
> or "WARNING: Block quote ends without a blank line; unexpected 
> unindent." as output. 
>
> I want to solve that (the error/warning message itself is kind of 
> clear), but probably I'm too stupud to find the position in the file 
> blub.py. 
> So, how do I do that? And what does this "27" in the example above 
> stands for? 
>

Some times the error message is accurate and means that the error is in 
line 27 of the documentation for sage.combinat.blub, which would mean the 
top-level docstring in the file. But frequently it is not. When I'm looking 
for these errors, I usually

- scan through the source code hoping I spot the problem
- scan through the built documentation hoping I spot the problem (of course 
you should do this anyway, but sometimes one small error in indentation can 
lead to a lot of badly formatted documentation, which can be easy to see)
- divide and conquer
 

>
> (I do not want to do a divide and conquer process in a larger file...) 
>

(Sometimes it seems to be the only choice.)

-- 
John

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to