Bug 682064

Summary: [abrt] meld-1.4.0-2.fc15: tree.py:112:set_state:TypeError: value is of the wrong type for this column
Product: [Fedora] Fedora Reporter: David Le Sage <dlesage>
Component: meldAssignee: Dominic Hopf <dmaphy>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: asalkeld, bdpepple, christoph.wickert, mail, vondruch
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:06ef9123
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-07-04 23:07:43 UTC Type: ---
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
File: backtrace none

Description David Le Sage 2011-03-04 02:09:43 UTC
abrt version: 1.1.17
architecture: x86_64
cmdline: python /usr/bin/meld
component: meld
executable: /usr/bin/meld
kernel: 2.6.38-0.rc6.git4.1.fc15.x86_64
package: meld-1.4.0-2.fc15
reason: tree.py:112:set_state:TypeError: value is of the wrong type for this column
release: Fedora release 15 (Lovelock)
time: 1299204529
uid: 500

backtrace
-----
tree.py:112:set_state:TypeError: value is of the wrong type for this column

Traceback (most recent call last):
  File "/usr/share/meld/meld/meldapp.py", line 93, in on_response
    self.diff_methods[page](paths)
  File "/usr/share/meld/meld/meldapp.py", line 499, in append_dirdiff
    doc.set_locations(dirs)
  File "/usr/share/meld/meld/dirdiff.py", line 376, in set_locations
    self._update_item_state(child)
  File "/usr/share/meld/meld/dirdiff.py", line 812, in _update_item_state
    self.model.set_state(it, j,  tree.STATE_NORMAL, isdir)
  File "/usr/share/meld/meld/tree.py", line 112, in set_state
    self.set_value(it, STATE, state)
TypeError: value is of the wrong type for this column

Local variables in innermost frame:
isdir: True
name: 'en-US'
TEXT: 4
self: <DirDiffTreeStore object at 0x2c9d8c0 (meld+dirdiff+DirDiffTreeStore at 0x2d99e60)>
state: 2
it: <GtkTreeIter at 0x7f3a4c027b00>
STATE: 2
pane: 0
fullname: '/home/dlesage/upstreamrepo/branch/docs/Programmers_Guide/en-US'
ICON: 6

How to reproduce
-----
1. Unsure.  I had been trying to use the directory comparison feature which I reported in a previous Bugzilla entry was not working but this was not crashing it.  

I had actually just switched to using Firefox when I noted the abrt report. Meld itself is still running so the app itself has not crashed out.

Comment 1 David Le Sage 2011-03-04 02:09:45 UTC
Created attachment 482202 [details]
File: backtrace

Comment 2 Fedora Admin XMLRPC Client 2011-03-13 15:38:39 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 3 Vít Ondruch 2011-03-14 09:57:20 UTC
Package: meld-1.4.0-2.fc15
Architecture: x86_64
OS Release: Fedora release 15 (Lovelock)


How to reproduce
-----
1. Trying to compare '/media/1c7d9ceb-c72d-4482-b924-541c6b7a80bb/vondruch/.ssh' and '/home/vondruch/.ssh' folders
2.
3.

Comment 4 Angus Salkeld 2011-03-14 23:28:30 UTC
Package: meld-1.4.0-2.fc15
Architecture: x86_64
OS Release: Fedora release 15 (Lovelock)


How to reproduce
-----
1. in a git repo with some local changes
2. meld .
3.


Comment
-----
Any use of meld causes a crash

Comment 5 Tom Atkinson 2011-03-24 19:32:12 UTC
The corresponding Ubuntu bug (https://bugs.launchpad.net/ubuntu/+source/meld/+bug/703603) has a simple patch, plus there's a gnome bug (https://bugzilla.gnome.org/show_bug.cgi?id=639917) - however that's not accessible at the moment.

Comment 6 Dominic Hopf 2011-04-17 16:30:12 UTC
Hey Guys. Thanks very much for reporting this issue. This should be fixed in latest meld 1.5.1. A scratch build can be found here:

http://koji.fedoraproject.org/koji/taskinfo?taskID=3007032

Comment 7 Christoph Wickert 2011-07-04 23:07:43 UTC
Problem still exists in 1.5.1, see bug 684987.

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