Description

Diffing two versions of a page causes ZeroDivisionError under certain circumstances.

How to reproduce

Bug is reproduceable on a private Moin installation. Python traceback included (in text format) in PythonTraceback.txt.

The bug is triggered when diffing two versions where the second version has an empty line added somewhere in the page. Maybe this has to do with the python version I'm running (2.2.1) because this doesn't happen on this MoinMoin (I tried using this page).

Details

MoinMoin Version

1.2.2

OS and Version

Debian Linux w/kernel 2.4.18

Python Version

Python 2.2.1

Python Traceback

PythonTraceback.txt

Discussion

Upgrade either Python to a never version or at least difflib.py (see CHANGES file of moin).

Plan


CategoryMoinMoinNoBug

MoinMoin: MoinMoinBugs/DiffCausesZeroDivisionError (last edited 2007-10-29 19:11:45 by localhost)