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

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://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/groups/opt_out.

Reply via email to