Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New 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

*** READ THIS BEFORE POSTING!
***
*** You must complete this form in its entirety, or your bug report will be
*** rejected.
***
*** If you have a security issue to report, please send it confidentially
to
*** secur...@reviewboard.org. Posting security-related issues to this bug
*** tracker causes us to have to do an emergency release.
***
*** For customer support, please post to reviewbo...@googlegroups.com
***
*** If you have a patch, please submit it to
http://reviews.reviewboard.org/
***
*** This bug tracker is public. Please check that any logs or other
information
*** that you include has been stripped of confidential information.


What version are you running?
2.0.12

What's the URL of the page containing the problem?
https://bld-rb01.cisco.com/r/13072/

What steps will reproduce the problem?
1. Not sure - the screen is just crashing after upgrade.
2.
3.

What is the expected output? What do you see instead?
The screen should not crash.

What operating system are you using? What browser?
Red Hat Linux 5.5 server and Google Chrome browser.

Please provide any additional information below.

2015-01-12 15:33:50,719 - ERROR - - Exception thrown for user mamiles at https://bld-rb01.cisco.com/r/13072/

unsupported operand type(s) for +=: 'instance' and 'int'
Traceback (most recent call last):
File "/local/ichnaea_conf/site/python_ve/reviewboard_v2.0/lib/python2.7/site-packages/Django-1.6.9-py2.7.egg/django/core/handlers/bas
e.py", line 112, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/local/ichnaea_conf/site/python_ve/reviewboard_v2.0/lib/python2.7/site-packages/ReviewBoard-2.0.12-py2.7.egg/reviewboard/accoun
ts/decorators.py", line 21, in _check
    return login_required(view_func)(*args, **kwargs)
File "/local/ichnaea_conf/site/python_ve/reviewboard_v2.0/lib/python2.7/site-packages/Django-1.6.9-py2.7.egg/django/contrib/auth/deco
rators.py", line 22, in _wrapped_view
    return view_func(request, *args, **kwargs)
File "/local/ichnaea_conf/site/python_ve/reviewboard_v2.0/lib/python2.7/site-packages/ReviewBoard-2.0.12-py2.7.egg/reviewboard/site/d
ecorators.py", line 35, in _check
    return view_func(request, local_site=local_site, *args, **kwargs)
File "/local/ichnaea_conf/site/python_ve/reviewboard_v2.0/lib/python2.7/site-packages/ReviewBoard-2.0.12-py2.7.egg/reviewboard/review
s/views.py", line 663, in review_detail
    changedesc.fields_changed[field_id])
File "/local/ichnaea_conf/site/python_ve/reviewboard_v2.0/lib/python2.7/site-packages/ReviewBoard-2.0.12-py2.7.egg/reviewboard/reviews/fields.py", line 161, in get_change_entry_sections_html
    'rendered_html': mark_safe(self.render_change_entry_html(info)),
File "/local/ichnaea_conf/site/python_ve/reviewboard_v2.0/lib/python2.7/site-packages/ReviewBoard-2.0.12-py2.7.egg/reviewboard/reviews/fields.py", line 514, in render_change_entry_html
    new_lines = list(iter_markdown_lines(new_value))
File "/local/ichnaea_conf/site/python_ve/reviewboard_v2.0/lib/python2.7/site-packages/ReviewBoard-2.0.12-py2.7.egg/reviewboard/reviews/markdown_utils.py", line 241, in iter_markdown_lines
    i += 1
TypeError: unsupported operand type(s) for +=: 'instance' and 'int'



--
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