Bug 690232

Summary: griffith crashes with main_treeview.py:536:setmovie:TypeError: value is of the wrong type for this column error
Product: [Fedora] Fedora Reporter: Narasimhan <lakshminaras2002>
Component: griffithAssignee: Narasimhan <lakshminaras2002>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 15CC: christian.jann, lakshminaras2002
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: griffith-0.12.1-2.fc15 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-03-31 16:58:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Narasimhan 2011-03-23 16:31:56 UTC
After upgrading from 0.10 to 0.12.1 and starting griffith with movie data in the existing database, it crashes with this trace (from Bug 676195)

main_treeview.py:536:setmovie:TypeError: value is of the wrong type for this
column



Traceback (most recent call last):

  File "/usr/share/griffith/lib/griffith", line 1466, in <module>

    griffith = Griffith(home_dir, config)

  File "/usr/share/griffith/lib/griffith", line 138, in __init__

    self.populate_treeview()

  File "/usr/share/griffith/lib/griffith", line 982, in populate_treeview

    main_treeview.populate(self, statement, where)

  File "/usr/share/griffith/lib/main_treeview.py", line 490, in populate

    addmovie(self, movie)

  File "/usr/share/griffith/lib/main_treeview.py", line 506, in addmovie

    setmovie(self, movie, myiter)

  File "/usr/share/griffith/lib/main_treeview.py", line 536, in setmovie

    treemodel.set_value(iter, 7, movie.year)

TypeError: value is of the wrong type for this column



Local variables in innermost frame:

movie: (378, ####clipped####)

self: <__main__.Griffith object at 0x17ce110>

pixbuf: <gtk.gdk.Pixbuf object at 0x285ca50 (GdkPixbuf at 0x2f740a0)>

iter: <GtkTreeIter at 0x2f7fba0>

filename:
u'/#clipped#.griffith/posters/9d44510b183875e59ea7d5340846c4b7_s.jpg'

treemodel: <gtk.TreeStore object at 0x30c4960 (GtkTreeStore at 0x2fb8dc0)>

Comment 1 Fedora Update System 2011-03-23 17:28:44 UTC
griffith-0.12.1-2.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/griffith-0.12.1-2.fc14

Comment 2 Fedora Update System 2011-03-23 17:28:56 UTC
griffith-0.12.1-2.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/griffith-0.12.1-2.fc15

Comment 3 Narasimhan 2011-03-28 12:42:21 UTC
This defect is fixed in v 0.13 of griffith. The patch has to be removed while upgrading to 0.13

Comment 4 Fedora Update System 2011-03-31 16:57:57 UTC
griffith-0.12.1-2.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 5 Fedora Update System 2011-03-31 20:05:00 UTC
griffith-0.12.1-2.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.