Bug 1098492

Summary: meld not working on epel7
Product: [Fedora] Fedora EPEL Reporter: Levente Farkas <lfarkas>
Component: meldAssignee: Lubomir Rintel <lkundrak>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel7CC: lkundrak
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-05-19 17:34:32 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 Levente Farkas 2014-05-16 11:11:29 UTC
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/meld/meldapp.py", line 69, in do_command_line
    tab = self.parse_args(command_line)
  File "/usr/lib/python2.7/site-packages/meld/meldapp.py", line 278, in parse_args
    if not self.window.has_pages():
AttributeError: 'MeldApp' object has no attribute 'window'

Comment 1 Lubomir Rintel 2014-05-16 13:59:04 UTC
It certainly works for me.

Please be more specific about which version you run and how do you reproduce this issue -- is trying to run it sufficient, or you did something else?

Comment 2 Levente Farkas 2014-05-19 14:00:45 UTC
meld-3.11.0-1.el7.noarch

if a run as 
meld x.txt y/ 
where y is directory containing a file called x.txt it was working before but not now just gives the above error.

Comment 3 Lubomir Rintel 2014-05-19 17:34:32 UTC
Seems like they've removed the functionality in GNOME 3 version, and messed up the error handling along the way

I've added two patches that at least produce a meaningful error message:

meld♥ ~/fedora/meld/meld-3.11.0/bin/meld x.txt y/
Usage: 
  meld                              Start with an empty window
  meld <file|folder>                Start a version control comparison
  meld <file> <file> [<file>]       Start a 2- or 3-way file comparison
  meld <folder> <folder> [<folder>] Start a 2- or 3-way folder comparison


meld♥ 


Please report the issue upstream if you're concerned about the functionality.

Thank you!