View Single Post
Old 10-02-2010, 09:08 AM   #1
Jonimeesermann
Connoisseur
Jonimeesermann began at the beginning.
 
Posts: 82
Karma: 12
Join Date: Apr 2010
Device: Nokia e71, Ipod Touch, Sony PRS 300
Calibre: TypeError:expected string or buffer

So, I've just had upgraded to Calibre's recent 0.7.21 version. In previous version I set up some custom column, and had no problem so far.

But after upgraded, when I tried to click one of my book which is in custom column it show error:

Code:
ERROR: ERROR: Unhandled exception: <b>TypeError</b>:expected string or buffer

Traceback (most recent call last):
  File "/home/kovid/build/calibre/src/calibre/gui2/library/models.py", line 366, in current_changed
  File "/home/kovid/build/calibre/src/calibre/gui2/library/models.py", line 342, in get_book_display_info
  File "/home/kovid/build/calibre/src/calibre/ebooks/metadata/book/base.py", line 451, in format_field
  File "/home/kovid/build/calibre/src/calibre/ebooks/metadata/book/base.py", line 477, in format_field_extended
  File "/home/kovid/build/calibre/src/calibre/utils/date.py", line 148, in format_date
  File "/usr/lib/python2.6/re.py", line 151, in sub
    return _compile(pattern, 0).sub(repl, string, count)
TypeError: expected string or buffer
.

Basically it kind of prevent me to see the book in booklist view (although I still can the metadata).
If anyone can explain why this is happened, much appreciated.
Jonimeesermann is offline   Reply With Quote