Bug 986671

Summary: Crash in SVN view in on_row_activated, fix attached.
Product: [Fedora] Fedora Reporter: Gilboa Davara <gilboad>
Component: meldAssignee: Dominic Hopf <dmaphy>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: c.david86, christoph.wickert, dmaphy
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: 2013-10-25 14:17:43 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:
Attachments:
Description Flags
vcview crash fix. none

Description Gilboa Davara 2013-07-21 13:10:52 UTC
Created attachment 776451 [details]
vcview crash fix.

Description:
When opening multiple files in SVN mode, meld crashes after the 3'rd file.
Attached fix taken from upstream head and OK'ed by developer [1]

Version-Release number of selected component (if applicable):
meld-1.7.3-1.fc19.noarch

- Gilboa
[1] https://mail.gnome.org/archives/meld-list/2013-June/msg00035.html

Comment 1 Gilboa Davara 2013-07-21 13:11:42 UTC
Missing callstack:

Traceback (most recent call last):
  File "/usr/share/meld/meld/vcview.py", line 576, in on_row_activated
    self.run_diff( [path] )
  File "/usr/share/meld/meld/vcview.py", line 612, in run_diff
    [], [(os.path.basename(path), path)])[1][0]
IndexError: list index out of range
Traceback (most recent call last):
  File "/usr/share/meld/meld/vcview.py", line 576, in on_row_activated
    self.run_diff( [path] )
  File "/usr/share/meld/meld/vcview.py", line 612, in run_diff
    [], [(os.path.basename(path), path)])[1][0]
IndexError: list index out of range

Comment 2 Gilboa Davara 2013-10-25 09:34:02 UTC
Fixed by current version of meld.
Bug can be fixed.

Comment 3 Christoph Wickert 2013-10-25 14:17:43 UTC

*** This bug has been marked as a duplicate of bug 1022230 ***