Bug 1277913

Summary: [meld] version 3.15.0 is broken and produces a backtrace
Product: [Fedora] Fedora Reporter: Joachim Frieben <jfrieben>
Component: meldAssignee: Dominic Hopf <dmaphy>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: christoph.wickert, dmaphy, gilboad
Target Milestone: ---   
Target Release: ---   
Hardware: noarch   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-06 14:08:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Joachim Frieben 2015-11-04 10:35:31 UTC
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):
meld-3.15.0-1.fc24

How reproducible:
Always

Steps to Reproduce:
1. Compare two non-identical text files with meld.

Actual results:
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.

Expected results:
The two text files are displayed next to each other highlighting any existing difference.

Additional info:
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[0] == b[0]:
  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'"

Comment 1 Joachim Frieben 2015-12-06 14:08:16 UTC
Issue was apparently caused by some other component; not seen in the current Fedora development tree any longer.