While in project repo changes, I attempted to change the quantity of displayed changes to ALL by changing the default of 20 to "0". This sent me back to the main page with the message "float division by zero", and any attempt to go back into that or any other project's changelog returns to the main page with the same message.
The relevant log entries appear to be:
2012-07-18 08:58:13.889 INFO [rhodecode.lib.auth] user default is authenticated and granted access to ChangelogController:before 2012-07-18 08:58:13.963 ERROR [rhodecode.controllers.changelog] Traceback (most recent call last): File "/var/www/rhodecode-venv/local/lib/python2.7/site-packages/rhodecode/controllers/changelog.py", line 83, in index items_per_page=c.size, branch=branch_name) File "/var/www/rhodecode-venv/local/lib/python2.7/site-packages/rhodecode/lib/helpers.py", line 665, in init self.items_per_page)) ZeroDivisionError: float division by zero }}}
Restarting the rhodecode daemon does not resolve the
float divide by zero behaviour. Then I looked in my production.ini for an apparent setting, and finding none stopped rhodecode and copied my rhodecode.db sqlite file out. I spent a couple minutes browsing it, but did not see anything relevant to the changelog view to set back to a non-zero number.