View Single Post
Old 09-12-2008, 12:49 PM   #218
birch01
Member
birch01 began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Aug 2008
Device: sony prs500
I tried deleting the .confiig/calibre and adding a book, can't do it. Then I uninstalled it from /opt/calibre and installed the latest stable again, added a few books. Closed the stable and installed b12 over it. Started it from console and here's the output:

Upgrading database from version: 1
Upgrading database from version: 2
Upgrading database from version: 3
Upgrading database from version: 4
Upgrading database from version: 5
Upgrading database from version: 6
Upgrading database from version: 7
Upgrading database from version: 8
Upgrading database from version: 9
Upgrading database from version: 10
Upgrading database from version: 11
Traceback (most recent call last):
File "library.pyz/calibre.gui2.library", line 184, in sort
File "library.pyz/calibre.library.database2", line 229, in refresh
IndexError: list index out of range
Traceback (most recent call last):
File "library.pyz/calibre.gui2.library", line 184, in sort
File "library.pyz/calibre.library.database2", line 229, in refresh
IndexError: list index out of range

When I try to add a new book I get this error:

Traceback (most recent call last):
File "<string>", line 469, in add_books
File "<string>", line 503, in _add_books
File "library.pyz/calibre.gui2.library", line 145, in add_books
File "library.pyz/calibre.library.database2", line 715, in add_books
File "library.pyz/calibre.library.database2", line 440, in set_path
File "library.pyz/calibre.library.database2", line 521, in formats
TypeError: 'NoneType' object is unsubscriptable

What can I do? I can't try to replicate the bug till I can add books again.
birch01 is offline   Reply With Quote