------------------------------------------------------------------------------ To reply, visit https://hellosplat.com/s/beanbag/tickets/4932/ ------------------------------------------------------------------------------
New ticket #4932 by dkmorgan For Beanbag, Inc. > Review Board Status: New Tags: Priority:Medium, Type:Defect ------------------------------------------------------------------------------ Error creating a review request with a SVN repository ============================================================================== # What version are you running? 4.02 # What's the URL of the page containing the problem? <root_url>/r/new/ # What steps will reproduce the problem? 1. Create a new review request 2. Select a SVN repository 3. Select a commit # What is the expected output? What do you see instead? Expect to be able to create a new review request but an error is shown instead. # What operating system are you using? What browser? Server side: Ubuntu 18.04 LTS Client side: Windows 10, Edge browser # Please provide any additional information below. The error in the log is as follows: File "/usr/local/lib/python2.7/dist-packages/reviewboard/scmtools/svn/__init__.py", line 590, in parse_diff_header if parsed_file.modified_file_details.endswith(b'(nonexistent)'): AttributeError: 'NoneType' object has no attribute 'endswith' The original code on lines 590-591 did not produce an error with Review Board 3.x. My guess is that the merge into the 4.x branch had some adverse effects. ------------------------------------------------------------------------------ -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/reviewboard-issues/20210627233826.19716.88348%40ip-10-1-54-209.ec2.internal.