griffith start interrupts with "TypeError: value is of the wrong type for this column"

Bug #702495 reported by NuZeb
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Griffith
Fix Committed
Medium
Michael

Bug Description

I successfully used griffith before. Don't know what changed the last few days (maybe some system updates).
----
~$ griffith
Traceback (most recent call last):
  File "/usr/bin/griffith", line 1466, in <module>
    griffith = Griffith(home_dir, config)
  File "/usr/bin/griffith", line 138, in __init__
    self.populate_treeview()
  File "/usr/bin/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

~$ griffith --debug
2011-01-13T18:38:47: D: Griffith(gconsole:85): Starting Griffith 0.12.1
2011-01-13T18:38:47: D: Griffith(gconsole:86): Platform: Linux-2.6.37-020637rc6-generic-x86_64-with-Ubuntu-11.04-natty (posix)
2011-01-13T18:38:47: D: Griffith(gconsole:87): Dependencies:
gtk :: 2.22.0
gtk.glade :: 2.22.0
sqlalchemy :: 0.6.4
sqlite3 :: 2.6.0
reportlab :: 2.5
PIL :: True
psycopg2 :: 2.2.1 (dt dec mx ext pq3)
MySQLdb :: 1.2.2.final.0
chardet :: 2.0.1
sqlite :: False
2011-01-13T18:38:47: D: Griffith(griffith:1451): config file used: /home/user/.griffith/griffith.cfg
2011-01-13T18:38:47: I: Griffith(initialize:102): Using Griffith directory: /home/user/.griffith
/usr/share/griffith/lib/initialize.py:140: GtkWarning: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
  define_widgets(self, gtk.glade.XML(gf))
2011-01-13T18:38:48: D: Griffith(sql:273): SELECT movies.number, movies.o_title, movies.title, movies.director, movies.poster_md5, movies.genre, movies.seen, movies.year, movies.runtime, movies.rating, movies.created, movies.updated
FROM movies ORDER BY movies.number ASC
Traceback (most recent call last):
  File "/usr/bin/griffith", line 1466, in <module>
    griffith = Griffith(home_dir, config)
  File "/usr/bin/griffith", line 138, in __init__
    self.populate_treeview()
  File "/usr/bin/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

NuZeb (nudelzebra)
description: updated
description: updated
Revision history for this message
Michael (mikej06) wrote :

Please can you provide me a backup of your database via email? I need it for reproduction of the error.

Changed in griffith:
assignee: nobody → Michael (mikej06)
importance: Undecided → Medium
status: New → Incomplete
Revision history for this message
NuZeb (nudelzebra) wrote :

np. I sent you the griffith.db file.

Revision history for this message
Michael (mikej06) wrote :

Fixed in rev. 1498

Changed in griffith:
milestone: none → 0.13
status: Incomplete → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.