Comment #3 on issue 3715 by mami...@gmail.com: markdown_utils.py line 241, in iter_markdown_lines i += 1 TypeError: unsupported operand type(s) for +=: 'instance' and 'int'
https://code.google.com/p/reviewboard/issues/detail?id=3715

We made these changes to the code:

diff markdown_utils.py.orig markdown_utils.py
230a231,237
                 try:
                     print "next line is out i"
                     print i, i.name, i.value
                     i = int(i.value)
                 except:
                     print "we went to except"
                     i = 1

This is the output when we access this review.

[Mon Jan 12 21:42:20 2015] [error] next line is out i
[Mon Jan 12 21:42:20 2015] [error] <xml.dom.minidom.Attr instance at 0x2af3e15be9e0> start 2
[Mon Jan 12 21:42:20 2015] [error] next line is out i
[Mon Jan 12 21:42:20 2015] [error] <xml.dom.minidom.Attr instance at 0x2af3e16346c8> start 10
[Mon Jan 12 21:42:20 2015] [error] next line is out i
[Mon Jan 12 21:42:20 2015] [error] <xml.dom.minidom.Attr instance at 0x2af3e1634f38> start 24
[Mon Jan 12 21:42:20 2015] [error] next line is out i
[Mon Jan 12 21:42:20 2015] [error] <xml.dom.minidom.Attr instance at 0x2af3e18c1560> start 25
[Mon Jan 12 21:42:20 2015] [error] next line is out i
[Mon Jan 12 21:42:20 2015] [error] <xml.dom.minidom.Attr instance at 0x2af3e18d32d8> start 27
[Mon Jan 12 21:42:20 2015] [error] next line is out i
[Mon Jan 12 21:42:20 2015] [error] <xml.dom.minidom.Attr instance at 0x2af3e19040e0> start 26

I hope this helps.

-Marvin
512-423-3542

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard-issues+unsubscr...@googlegroups.com.
To post to this group, send email to reviewboard-issues@googlegroups.com.
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.

Reply via email to