Bug 690232 - griffith crashes with main_treeview.py:536:setmovie:TypeError: value is of the wrong type for this column error
Summary: griffith crashes with main_treeview.py:536:setmovie:TypeError: value is of th...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: griffith
Version: 15
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Narasimhan
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-23 16:31 UTC by Narasimhan
Modified: 2011-03-31 20:05 UTC (History)
2 users (show)

Fixed In Version: griffith-0.12.1-2.fc15
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-03-31 16:58:05 UTC
Type: ---


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 676195 0 unspecified CLOSED [abrt] griffith-0.10-2.fc14: expression.py:1439:__nonzero__:TypeError: Boolean value of this clause is not defined 2021-02-22 00:41:40 UTC

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.


Note You need to log in before you can comment on or make changes to this bug.