Hi Varun, I've never seen this before either. Can you go into your Admin UI -> Diff Viewer settings and make sure that Paginate By is not 0?
Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org Beanbag, Inc. - http://www.beanbaginc.com On Thu, Oct 3, 2013 at 12:04 AM, Varun Jain <varun.iam.j...@gmail.com>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 > > -- > 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. > -- 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.