How many files are in that diff, and what's the paginate setting set to?

Christian


On Thursday, July 14, 2016, satish singh <trivi...@gmail.com> wrote:

> We are too facing the same issue with Reviewboard 2.0.12. Please provide
> any pointer on this ?
>
>
> On Thursday, 3 October 2013 12:34:47 UTC+5:30, Varun Jain wrote:
>>
>> Hi Team,
>>
>> When I click on "show all files changed" for script review, I get
>> following error:
>>
>> float division by zero
>>
>>
>>
>> Traceback (most recent call last):
>>
>>   File
>> "/opt/software/lib/python2.7/site-packages/ReviewBoard-1.7.7.1-py2.7.egg/reviewboard/diffviewer/views.py",
>> line 226, in view_diff
>>
>>     page = paginator.page(page_num)
>>
>>   File
>> "/opt/software/lib/python2.7/site-packages/Django-1.4.5-py2.7.egg/django/core/paginator.py",
>> line 37, in page
>>
>>     number = self.validate_number(number)
>>
>>   File
>> "/opt/software/lib/python2.7/site-packages/Django-1.4.5-py2.7.egg/django/core/paginator.py",
>> line 28, in validate_number
>>
>>     if number > self.num_pages:
>>
>>   File
>> "/opt/software/lib/python2.7/site-packages/Django-1.4.5-py2.7.egg/django/core/paginator.py",
>> line 64, in _get_num_pages
>>
>>     self._num_pages = int(ceil(hits / float(self.per_page)))
>>
>> ZeroDivisionError: float division by zero
>>
>>
>>
>> I've not encountered this issue before, is something missing?
>>
>>
>> Thanks,
>>
>> Varun
>>
>> --
> Supercharge your Review Board with Power Pack:
> https://www.reviewboard.org/powerpack/
> Want us to host Review Board for you? Check out RBCommons:
> https://rbcommons.com/
> Happy user? Let us know! https://www.reviewboard.org/users/
> ---
> You received this message because you are subscribed to the Google Groups
> "reviewboard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to reviewboard+unsubscr...@googlegroups.com
> <javascript:_e(%7B%7D,'cvml','reviewboard%2bunsubscr...@googlegroups.com');>
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
-- 
Christian Hammond
President/CEO of Beanbag <https://www.beanbaginc.com/>
Makers of Review Board <https://www.reviewboard.org/>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to