![]() |
#1 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 164
Karma: 70995
Join Date: Mar 2008
Location: United Kingdom
Device: iPhone, PRS-505, K2i, iPad 64GB+3G, K3, Nexus S
|
Adding new books problem
I've been getting a problem recently where Calibre will stop letting me add new books and throwing up an error about not being able to add metadata. The only way I've found to get it working again is to reinstall which works for a random amount of time.
WARNING: Failed to read metadata: Failed to read metadata from the following: test.html Traceback (most recent call last): File "calibre\gui2\add.pyo", line 92, in run File "calibre\gui2\add.pyo", line 137, in add File "calibre\library\database2.pyo", line 1373, in create_book_entry File "calibre\library\sqlite.pyo", line 170, in run DatabaseException: no such function: uuid4 RemoteTraceback (most recent call last): File "calibre\library\sqlite.pyo", line 141, in run OperationalError: no such function: uuid4 At this point any document I try to add will throw up the same error. Calibre 0.6.29 (Although the version doesn't seem to matter) running on 64bit Windows 7. |
![]() |
![]() |
![]() |
#2 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 164
Karma: 70995
Join Date: Mar 2008
Location: United Kingdom
Device: iPhone, PRS-505, K2i, iPad 64GB+3G, K3, Nexus S
|
Actually scratch that version number. It's actually 0.6.16. Turns out I downloaded the newest version but got distracted and never installed it
![]() |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 164
Karma: 70995
Join Date: Mar 2008
Location: United Kingdom
Device: iPhone, PRS-505, K2i, iPad 64GB+3G, K3, Nexus S
|
It's happening again with a fully up to date copy
WARNING: Failed to read metadata: Failed to read metadata from the following: WhenSlayBellsRing.pdf Traceback (most recent call last): File "calibre\gui2\add.pyo", line 92, in run File "calibre\gui2\add.pyo", line 137, in add File "calibre\library\database2.pyo", line 1373, in create_book_entry File "calibre\library\sqlite.pyo", line 170, in run DatabaseException: no such function: uuid4 RemoteTraceback (most recent call last): File "calibre\library\sqlite.pyo", line 141, in run OperationalError: no such function: uuid4 TheCeleryandtheIvy.pdf Traceback (most recent call last): File "calibre\gui2\add.pyo", line 92, in run File "calibre\gui2\add.pyo", line 137, in add File "calibre\library\database2.pyo", line 1373, in create_book_entry File "calibre\library\sqlite.pyo", line 170, in run DatabaseException: no such function: uuid4 RemoteTraceback (most recent call last): File "calibre\library\sqlite.pyo", line 141, in run OperationalError: no such function: uuid4 |
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,219
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
That error indicates you're not running a fully updated copy.
|
![]() |
![]() |
![]() |
#5 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 164
Karma: 70995
Join Date: Mar 2008
Location: United Kingdom
Device: iPhone, PRS-505, K2i, iPad 64GB+3G, K3, Nexus S
|
So what would you suggest? Remove everything including the database and start again? That's not a problem (I don't maintain a large database. Just stuff I have on the reader at the moment) but I'd like to find out how it happened to avoid the problem in future.
For the latest version I uninstalled the old copy before installing fresh. The problem as you've seen still occurred. Not straight away though. It works for a little while before failing. |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,219
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Yeah do a full clean. Basically a few version back there was a change to the database schema which meant that if you upgraded to a version newer than that and then went back to a version older than that, you would see this error.
|
![]() |
![]() |
![]() |
#7 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 164
Karma: 70995
Join Date: Mar 2008
Location: United Kingdom
Device: iPhone, PRS-505, K2i, iPad 64GB+3G, K3, Nexus S
|
Thanks for the help. One clean reinstall later and everything seems to be working.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
utf8 problem in the path adding books | thcuvelier | Calibre | 1 | 02-01-2010 10:51 AM |
Help with adding books please | stustaff | Calibre | 12 | 10-27-2009 02:30 PM |
6.11 problem with adding large book collection | acekyoto | Calibre | 25 | 10-01-2009 12:25 PM |
problem adding multiple pdf's | mazzeltjes | Calibre | 1 | 04-24-2009 11:03 AM |
Adding books by drap and drop problem | ki5ck | Calibre | 2 | 02-08-2009 06:31 PM |