Red Hat Bugzilla – Bug 1277913
[meld] version 3.15.0 is broken and produces a backtrace
Last modified: 2015-12-06 09:08:16 EST
Description of problem:
When meld is launched in order to compare two text files, it simply displays them without any highlighting of existing differences.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Compare two non-identical text files with meld.
The two text are simply displayed next to each other without any highlighting of actual differences. When launched from the command line, it becomes apparent that a backtrace has been produced by meld.
The two text files are displayed next to each other highlighting any existing difference.
1. Meld version 3.14.1 works as expected in Fedora 23.
2. A backtrace is printed when run from the command line:
"Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/meld/task.py", line 110, in iteration
ret = next(task)
File "/usr/lib/python2.7/site-packages/meld/filediff.py", line 1202, in _set_files_internal
for i in self._diff_files():
File "/usr/lib/python2.7/site-packages/meld/filediff.py", line 1159, in _diff_files
while next(step) is None:
File "/usr/lib/python2.7/site-packages/meld/diffutil.py", line 466, in set_sequences_iter
while next(work) is None:
File "/usr/lib/python2.7/site-packages/meld/matchers.py", line 246, in initialise
a, b = self.preprocess()
File "/usr/lib/python2.7/site-packages/meld/matchers.py", line 155, in preprocess
a, b = self.preprocess_remove_prefix_suffix(self.a, self.b)
File "/usr/lib/python2.7/site-packages/meld/matchers.py", line 109, in preprocess_remove_prefix_suffix
self.common_prefix = find_common_prefix(a, b)
File "/usr/lib/python2.7/site-packages/meld/matchers.py", line 43, in find_common_prefix
if a == b:
File "/usr/lib/python2.7/site-packages/meld/meldbuffer.py", line 268, in __getitem__
line_end = line_start.copy()
AttributeError: '_ResultTuple' object has no attribute 'copy'"
Issue was apparently caused by some other component; not seen in the current Fedora development tree any longer.