ZeroDivisionErrorfloat division Please include this information in your bug reports!: Python Python 2.2.1: /usr/bin/python2.2 Linux osdbugz 2.4.18-bf2.4 #1 Son Apr 14 09:53:28 CEST 2002 i686 MoinMoin Release 1.2.2 [Revision 1.185] Tue Jul 13 17:54:59 2004 A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred. /usr/lib/python2.2/site-packages/MoinMoin/request.py in run(self=) 454 else: 455 try: >456 cgitb.Hook(file=self).handle(saved_exc) 457 # was: cgitb.handler() 458 except: cgitb = , cgitb.Hook = , file undefined, self = , ).handle undefined, saved_exc = (, , ) /usr/lib/python2.2/site-packages/MoinMoin/wikiaction.py in do_diff(pagename='CdcsMemoryUsage', request=) 294 if request.user.show_fancy_diff: 295 from MoinMoin.util.diff import diff >296 request.write(diff(request, oldpage.get_raw_body(), newpage.get_raw_body())) 297 newpage.send_page(request, count_hit=0, content_only=1, content_id="content-under-diff") 298 else: request = , request.write = >, diff = , oldpage = , oldpage.get_raw_body = >, newpage = , newpage.get_raw_body = > /usr/lib/python2.2/site-packages/MoinMoin/util/diff.py in diff(request=, old="== july 2004 ==\nMemory usage of CDCS seems to be...and indent your note (and sign with @''''''SIG@)\n", new="== july 2004 ==\n\nMemory usage of CDCS seems to b...and indent your note (and sign with @''''''SIG@)\n") 94 charmatch = charobj.get_matching_blocks() 95 >96 if charobj.ratio() < 0.5: 97 # Insufficient similarity. 98 if leftpane: charobj = , charobj.ratio = > /usr/lib/python2.2/difflib.py in ratio(self=) 526 matches = reduce(lambda sum, triple: sum + triple[-1], 527 self.get_matching_blocks(), 0) >528 return 2.0 * matches / (len(self.a) + len(self.b)) 529 530 def quick_ratio(self): matches = 0, len undefined, self = , self.a = '', self.b = '' ZeroDivisionError: float division __doc__ = 'Second argument to a division or modulo operation was zero.' __getitem__ = > __init__ = > __module__ = 'exceptions' __str__ = > args = ('float division',)