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-25-2011, 01:53 AM   #1
Newby
Enthusiast
Newby began at the beginning.
 
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.
Newby is offline   Reply With Quote
Old 01-25-2011, 03:04 AM   #2
ldolse
Wizard
ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.
 
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.
ldolse is offline   Reply With Quote
 
Enthusiast
Old 01-25-2011, 03:24 AM   #3
Worldwalker
Curmudgeon
Worldwalker ought to be getting tired of karma fortunes by now.Worldwalker ought to be getting tired of karma fortunes by now.Worldwalker ought to be getting tired of karma fortunes by now.Worldwalker ought to be getting tired of karma fortunes by now.Worldwalker ought to be getting tired of karma fortunes by now.Worldwalker ought to be getting tired of karma fortunes by now.Worldwalker ought to be getting tired of karma fortunes by now.Worldwalker ought to be getting tired of karma fortunes by now.Worldwalker ought to be getting tired of karma fortunes by now.Worldwalker ought to be getting tired of karma fortunes by now.Worldwalker ought to be getting tired of karma fortunes by now.
 
Posts: 3,087
Karma: 722355
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".
Worldwalker is offline   Reply With Quote
Old 01-25-2011, 03:31 AM   #4
Newby
Enthusiast
Newby began at the beginning.
 
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
Newby is offline   Reply With Quote
Old 01-25-2011, 03:36 AM   #5
Worldwalker
Curmudgeon
Worldwalker ought to be getting tired of karma fortunes by now.Worldwalker ought to be getting tired of karma fortunes by now.Worldwalker ought to be getting tired of karma fortunes by now.Worldwalker ought to be getting tired of karma fortunes by now.Worldwalker ought to be getting tired of karma fortunes by now.Worldwalker ought to be getting tired of karma fortunes by now.Worldwalker ought to be getting tired of karma fortunes by now.Worldwalker ought to be getting tired of karma fortunes by now.Worldwalker ought to be getting tired of karma fortunes by now.Worldwalker ought to be getting tired of karma fortunes by now.Worldwalker ought to be getting tired of karma fortunes by now.
 
Posts: 3,087
Karma: 722355
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.
Worldwalker is offline   Reply With Quote
Old 01-25-2011, 05:02 AM   #6
Newby
Enthusiast
Newby began at the beginning.
 
Posts: 33
Karma: 10
Join Date: May 2010
Device: Bookeen Cybook Gen3 Gold
actually i could do it myself
Newby is offline   Reply With Quote
Old 01-25-2011, 06:49 AM   #7
Manichean
Wizard
Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!
 
Manichean's Avatar
 
Posts: 3,130
Karma: 80446
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.
Manichean is offline   Reply With Quote
Old 01-25-2011, 06:51 AM   #8
user_none
Sigil & calibre developer
user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.
 
user_none's Avatar
 
Posts: 2,433
Karma: 950001
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.
user_none is offline   Reply With Quote
Old 01-25-2011, 05:09 PM   #9
Newby
Enthusiast
Newby began at the beginning.
 
Posts: 33
Karma: 10
Join Date: May 2010
Device: Bookeen Cybook Gen3 Gold
Quote:
Originally Posted by user_none View Post
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.

unfortunately, it doesn't work
Newby is offline   Reply With Quote
Old 01-26-2011, 02:49 PM   #10
Newby
Enthusiast
Newby began at the beginning.
 
Posts: 33
Karma: 10
Join Date: May 2010
Device: Bookeen Cybook Gen3 Gold
bye bye calibre...
Newby is offline   Reply With Quote
Old 01-26-2011, 10:49 PM   #11
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 8,781
Karma: 12516053
Join Date: Feb 2009
Location: North Carolina
Device: Nexus 7
Does calibre run without your device hooked up?
DoctorOhh is offline   Reply With Quote
Old 01-27-2011, 02:45 AM   #12
Newby
Enthusiast
Newby began at the beginning.
 
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.
Newby is offline   Reply With Quote
Old 01-27-2011, 02:56 AM   #13
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 8,781
Karma: 12516053
Join Date: Feb 2009
Location: North Carolina
Device: Nexus 7
Quote:
Originally Posted by Newby View Post
yes, I have already tried converting books without having the reader connected
Does calibre open for you? If yes, what errors do you see when you try to convert?

Quote:
Originally Posted by Newby View Post
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....
Here is a link to available previous versions.

Quote:
Originally Posted by Newby View Post
or the problem is my upgrade to 11.04 ubuntu...
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()"
Good Luck.
DoctorOhh is offline   Reply With Quote
Old 01-27-2011, 04:11 AM   #14
Newby
Enthusiast
Newby began at the beginning.
 
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.
Newby is offline   Reply With Quote
Old 01-27-2011, 04:13 AM   #15
Newby
Enthusiast
Newby began at the beginning.
 
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'
Newby is offline   Reply With Quote
Reply

Tags
linux

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 03:40 PM.


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