![]() |
#1 |
Enthusiast
![]() Posts: 33
Karma: 10
Join Date: May 2010
Device: Bookeen Cybook Gen3 Gold
|
A Problem [Python errors and failing to start in Linux]
After I start my calibre from linux console, I got the following error....and Calibre never finishes the detection of my Opus....
and it started a short time ago....any idea? thanks here is it: exception during JSON decoding Traceback (most recent call last): File "site-packages/calibre/ebooks/metadata/book/json_codec.py", line 118, in decode_from_file File "json/__init__.py", line 278, in load File "json/__init__.py", line 339, in loads File "json/decoder.py", line 360, in decode File "json/decoder.py", line 378, in raw_decode ValueError: No JSON object could be decoded Error: Kid object (page 148) is wrong type (null) Error: Kid object (page 148) is wrong type (null) Error: Kid object (page 148) is wrong type (null) Error: Kid object (page 148) is wrong type (null) Error: Kid object (page 148) is wrong type (null) Error: Kid object (page 148) is wrong type (null) Error: Kid object (page 148) is wrong type (null) Error: Kid object (page 148) is wrong type (null) Error: Kid object (page 148) is wrong type (null) Error: Kid object (page 148) is wrong type (null) Error: Kid object (page 148) is wrong type (null) Error: Kid object (page 148) is wrong type (null) Error: Kid object (page 148) is wrong type (null) Error: Kid object (page 148) is wrong type (null) Error: Kid object (page 148) is wrong type (null) Error: Kid object (page 148) is wrong type (null) Error: Kid object (page 148) is wrong type (null) Error: Kid object (page 148) is wrong type (null) Error: Kid object (page 148) is wrong type (null) Error: Kid object (page 148) is wrong type (null) Error: Kid object (page 148) is wrong type (null) Error: Kid object (page 148) is wrong type (null) Error: Kid object (page 148) is wrong type (null) Error: Kid object (page 148) is wrong type (null) Error: Kid object (page 148) is wrong type (null) Error: Kid object (page 148) is wrong type (null) Error: Kid object (page 148) is wrong type (null) Error: Kid object (page 148) is wrong type (null) Error: Kid object (page 148) is wrong type (null) Error: Kid object (page 148) is wrong type (null) Error: Kid object (page 148) is wrong type (null) Error: Kid object (page 148) is wrong type (null) Error: Kid object (page 148) is wrong type (null) Error: Page count in top-level pages object is incorrect ^C Last edited by Newby; 01-25-2011 at 05:02 AM. |
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
|
A more descriptive subject line would be helpful.
If you're on Linux, how did you install Calibre, and what version are you running? If you used your distribution's repository this may be the cause of your problems, try installing the latest version from the Calibre website. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,085
Karma: 722357
Join Date: Feb 2010
Device: PRS-505
|
What Idolse said.
The number of people who are going to click on a thread entitled "A Problem" (and actually be able to help you) is much smaller than those who would read and respond to a thread entitled "Calibre giving Python errors and failing to start in Linux". |
![]() |
![]() |
![]() |
#4 |
Enthusiast
![]() Posts: 33
Karma: 10
Join Date: May 2010
Device: Bookeen Cybook Gen3 Gold
|
@idolse
i followed instructions from calibre website @worldwalker you probably have right, but now i dont know how to change the title ![]() |
![]() |
![]() |
![]() |
#5 |
Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,085
Karma: 722357
Join Date: Feb 2010
Device: PRS-505
|
Report your own own post (the little ! to your left) and tell the moderators via that text box what you want the thread renamed to. They're happy to have a "report" that's really just for a renaming instead of a persistent troll.
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Enthusiast
![]() Posts: 33
Karma: 10
Join Date: May 2010
Device: Bookeen Cybook Gen3 Gold
|
actually i could do it myself
![]() |
![]() |
![]() |
![]() |
#7 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
|
No, that only changed the title of the first post, not the title of the thread.
|
![]() |
![]() |
![]() |
#8 |
Sigil & calibre developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,487
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
Without calibre running, open the Opus in your file manager and see if there is a file called metadata.calibre or something similar. Delete it, and start calibre.
|
![]() |
![]() |
![]() |
#9 |
Enthusiast
![]() Posts: 33
Karma: 10
Join Date: May 2010
Device: Bookeen Cybook Gen3 Gold
|
|
![]() |
![]() |
![]() |
#10 |
Enthusiast
![]() Posts: 33
Karma: 10
Join Date: May 2010
Device: Bookeen Cybook Gen3 Gold
|
bye bye calibre...
|
![]() |
![]() |
![]() |
#11 |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,890
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
Does calibre run without your device hooked up?
|
![]() |
![]() |
![]() |
#12 |
Enthusiast
![]() Posts: 33
Karma: 10
Join Date: May 2010
Device: Bookeen Cybook Gen3 Gold
|
yes, I have already tried converting books without having the reader connected
I would actually be happy also if I could find the 0.7.38. version, it worked fine for me...the problem came as I upgraded to 0.7.42....or the problem is my upgrade to 11.04 ubuntu... Last edited by Newby; 01-27-2011 at 02:48 AM. |
![]() |
![]() |
![]() |
#13 | ||
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,890
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
Quote:
Quote:
This is possible. You might want to remove all traces of calibre from your system (except the library) then reinstall using the binary install described here. Code:
sudo python -c "import urllib2; exec urllib2.urlopen('http://status.calibre-ebook.com/linux_installer').read(); main()" |
||
![]() |
![]() |
![]() |
#14 |
Enthusiast
![]() Posts: 33
Karma: 10
Join Date: May 2010
Device: Bookeen Cybook Gen3 Gold
|
unfortunately nothing works, and here are the error messages:
Unable to open device <calibre.devices.eb600.driver.COOL_ER object at 0xa4a824c> Traceback (most recent call last): File "site-packages/calibre/gui2/device.py", line 162, in do_connect File "site-packages/calibre/devices/usbms/device.py", line 689, in open File "site-packages/calibre/devices/usbms/device.py", line 609, in open_linux File "site-packages/calibre/devices/usbms/device.py", line 507, in find_device_nodes DeviceError: Unable to detect the COOL_ER disk drive. Unable to open device <calibre.devices.eb600.driver.ITALICA object at 0xa4a830c> Traceback (most recent call last): File "site-packages/calibre/gui2/device.py", line 162, in do_connect File "site-packages/calibre/devices/usbms/device.py", line 689, in open File "site-packages/calibre/devices/usbms/device.py", line 609, in open_linux File "site-packages/calibre/devices/usbms/device.py", line 507, in find_device_nodes DeviceError: Unable to detect the ITALICA disk drive. Unable to open device <calibre.devices.eb600.driver.ECLICTO object at 0xa4a832c> Traceback (most recent call last): File "site-packages/calibre/gui2/device.py", line 162, in do_connect File "site-packages/calibre/devices/usbms/device.py", line 689, in open File "site-packages/calibre/devices/usbms/device.py", line 609, in open_linux File "site-packages/calibre/devices/usbms/device.py", line 507, in find_device_nodes DeviceError: Unable to detect the ECLICTO disk drive. Unable to open device <calibre.devices.eb600.driver.DBOOK object at 0xa4a834c> Traceback (most recent call last): File "site-packages/calibre/gui2/device.py", line 162, in do_connect File "site-packages/calibre/devices/usbms/device.py", line 689, in open File "site-packages/calibre/devices/usbms/device.py", line 609, in open_linux File "site-packages/calibre/devices/usbms/device.py", line 507, in find_device_nodes DeviceError: Unable to detect the DBOOK disk drive. Unable to open device <calibre.devices.eb600.driver.INVESBOOK object at 0xa4a836c> Traceback (most recent call last): File "site-packages/calibre/gui2/device.py", line 162, in do_connect File "site-packages/calibre/devices/usbms/device.py", line 689, in open File "site-packages/calibre/devices/usbms/device.py", line 609, in open_linux File "site-packages/calibre/devices/usbms/device.py", line 507, in find_device_nodes DeviceError: Unable to detect the INVESBOOK disk drive. Unable to open device <calibre.devices.eb600.driver.BOOQ object at 0xa4a83ac> Traceback (most recent call last): File "site-packages/calibre/gui2/device.py", line 162, in do_connect File "site-packages/calibre/devices/usbms/device.py", line 689, in open File "site-packages/calibre/devices/usbms/device.py", line 609, in open_linux File "site-packages/calibre/devices/usbms/device.py", line 507, in find_device_nodes DeviceError: Unable to detect the BOOQ disk drive. Unable to open device <calibre.devices.eb600.driver.EB600 object at 0xa4a83cc> Traceback (most recent call last): File "site-packages/calibre/gui2/device.py", line 162, in do_connect File "site-packages/calibre/devices/usbms/device.py", line 689, in open File "site-packages/calibre/devices/usbms/device.py", line 609, in open_linux File "site-packages/calibre/devices/usbms/device.py", line 507, in find_device_nodes DeviceError: Unable to detect the EB600 disk drive. Unable to open device <calibre.devices.eb600.driver.MENTOR object at 0xa4a864c> Traceback (most recent call last): File "site-packages/calibre/gui2/device.py", line 162, in do_connect File "site-packages/calibre/devices/usbms/device.py", line 689, in open File "site-packages/calibre/devices/usbms/device.py", line 609, in open_linux File "site-packages/calibre/devices/usbms/device.py", line 507, in find_device_nodes DeviceError: Unable to detect the MENTOR disk drive. |
![]() |
![]() |
![]() |
#15 |
Enthusiast
![]() Posts: 33
Karma: 10
Join Date: May 2010
Device: Bookeen Cybook Gen3 Gold
|
and also:
exception during JSON decoding Traceback (most recent call last): File "site-packages/calibre/ebooks/metadata/book/json_codec.py", line 118, in decode_from_file File "json/__init__.py", line 278, in load File "json/__init__.py", line 339, in loads File "json/decoder.py", line 360, in decode File "json/decoder.py", line 376, in raw_decode ValueError: Expecting : delimiter: line 173 column 15 (char 4096) [Errno 30] Read-only file system: u'/media/Cybook Opus/metadata.calibre' Traceback (most recent call last): File "site-packages/calibre/gui2/device.py", line 64, in run File "site-packages/calibre/gui2/device.py", line 307, in _books File "site-packages/calibre/devices/usbms/driver.py", line 164, in books File "site-packages/calibre/devices/usbms/driver.py", line 305, in sync_booklists File "site-packages/calibre/devices/usbms/driver.py", line 303, in write_prefix IOError: [Errno 30] Read-only file system: u'/media/Cybook Opus/metadata.calibre' Traceback (most recent call last): File "site-packages/calibre/gui2/__init__.py", line 306, in dispatch File "site-packages/calibre/gui2/device.py", line 1175, in books_uploaded File "site-packages/calibre/gui2/device.py", line 383, in add_books_to_metadata File "site-packages/calibre/devices/usbms/driver.py", line 247, in add_books_to_metadata AttributeError: 'list' object has no attribute 'add_book' [Errno 30] Read-only file system: '/media/Cybook Opus/eBooks/GmbH, taz Entwicklungs & KG, Co. Medien' Traceback (most recent call last): File "site-packages/calibre/gui2/device.py", line 64, in run File "site-packages/calibre/gui2/device.py", line 372, in _upload_books File "site-packages/calibre/devices/usbms/driver.py", line 182, in upload_books File "site-packages/calibre/devices/usbms/device.py", line 949, in create_upload_path File "os.py", line 157, in makedirs OSError: [Errno 30] Read-only file system: '/media/Cybook Opus/eBooks/GmbH, taz Entwicklungs & KG, Co. Medien' |
![]() |
![]() |
![]() |
Tags |
linux |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre Start Problem | drwschneider | Calibre | 1 | 11-21-2009 01:15 PM |
calibre python-lxml problem on ubuntu | carpii | Calibre | 5 | 11-29-2008 05:34 AM |
Calibre Start-up Problem | mattjg01 | Calibre | 5 | 09-02-2008 10:18 AM |
Calibre won't start: Linux | JeffElkins | Calibre | 16 | 08-30-2008 11:33 AM |
libprs500 failing to start on Vista | Dave Qua | Calibre | 2 | 04-27-2008 08:24 AM |