Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 01-26-2011, 03:31 AM   #1
htchd2
Member
htchd2 began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Sep 2010
Location: Grasse
Device: HTC HD2
Opening Library fails

Hello, I reinstalled Calibre on a new PC. I managed to open my old Libray, everything OK. I added a few books and closed Calibre. Today it refuses to open this Library (I'm not desperate because I've got another one (older backup) which open. But I have some more info in the newest Library.
I get that message :
Quote:
calibre Journal de débogage
calibre 0.7.42
Windows-7-6.1.7600
Windows
('Windows', '7', '6.1.7600')
Python 2.7.0
Windows: ('7', '6.1.7600', '', 'Multiprocessor Free')
Starting up...
Started up in 25.757999897
Traceback (most recent call last):
File "site-packages\calibre\gui2\__init__.py", line 306, in dispatch
File "site-packages\calibre\gui2\actions\choose_library.py", line 391, in switch_requested
File "site-packages\calibre\gui2\ui.py", line 415, in library_moved
File "site-packages\calibre\library\database2.py", line 163, in __init__
File "site-packages\calibre\library\database2.py", line 172, in initialize_dynamic
File "site-packages\calibre\library\prefs.py", line 20, in __init__
File "site-packages\calibre\library\prefs.py", line 26, in raw_to_object
File "json\__init__.py", line 323, in loads
File "json\decoder.py", line 346, in decode
File "json\decoder.py", line 362, in raw_decode
ValueError: Invalid control character at: line 142 column 13 (char 2959)
I thing I can try to correct this line 142 (may be even delete it ?). But I did not find what to do.

Anybody can help ?
htchd2 is offline   Reply With Quote
Old 01-26-2011, 11:40 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 26,435
Karma: 5383257
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That error means your metadata.db has been corrupted. Zip it up and post it here, I'll fix it for you.
kovidgoyal is offline   Reply With Quote
Old 01-26-2011, 03:23 PM   #3
htchd2
Member
htchd2 began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Sep 2010
Location: Grasse
Device: HTC HD2
Thanks for your answer !
Here is the file.
Attached Files
File Type: zip metadata.zip (250.7 KB, 39 views)
htchd2 is offline   Reply With Quote
Old 01-26-2011, 03:31 PM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 26,435
Karma: 5383257
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Here you go
Attached Files
File Type: zip metadata.zip (258.2 KB, 36 views)
kovidgoyal is offline   Reply With Quote
Old 01-26-2011, 05:23 PM   #5
htchd2
Member
htchd2 began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Sep 2010
Location: Grasse
Device: HTC HD2
Thumbs up

Amazing !!
Thanks a lot, you're very helpful and fast. Your work is Fantastic !
htchd2 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
sony reader library fails to load geoffrichards Sony Reader 4 05-14-2010 11:53 PM
Reader library opening when connected leevancleef Sony Reader 8 02-02-2010 11:16 PM
Help Sony E Library not opening Kiwimick Sony Reader 14 11-07-2009 03:32 PM
Sony eBook Library update fails w/Vista petercreasey Sony Reader 2 10-06-2009 01:03 PM
Sony eBook Library update fails w/Vista petercreasey Sony Reader 1 10-06-2009 01:02 PM


All times are GMT -4. The time now is 08:54 PM.


MobileRead.com is a privately owned, operated and funded community.