------------------------------------------------------------------------------
To reply, visit https://hellosplat.com/s/beanbag/tickets/4627/
------------------------------------------------------------------------------

New ticket #4627 by jhominal
For Beanbag, Inc. > Review Board

Status: New
Tags: Priority:Medium, Type:Defect


------------------------------------------------------------------------------
Diff fragments do not load.
==============================================================================

# What version are you running?
3.0.2

# What's the URL of the page containing the problem?
/reviews/r/:review_id/diff/:diff_id

# What steps will reproduce the problem?
1. Open a review diff page


# What is the expected output? What do you see instead?
None of the diff fragments load.

# What operating system are you using? What browser?
The server's operating system is Python 2.7.5 shipped by Red Hat on RHEL 7. 
(Browser is Chrome on Windows)

# Please provide any additional information below.
The Python exception is "TypeError: Struct() argument 1 must be string, not 
unicode".

I was able to fix the issue on my instance by patching all of 
`reviews/views.py` calls to `struct.pack` (lines 975, 977 and 1430) by using 
byte literals in the first argument instead of string literals (which are 
implied to be unicode).


------------------------------------------------------------------------------

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.

Reply via email to