Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 01-15-2011, 02:56 PM   #1
Ken Guenther
Junior Member
Ken Guenther began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jun 2010
Device: Kindle
after .7.40, Calibre does not show books on Kindle

After updating to 0.7.40, I continually get the following error message when I try to send a book to my Kindle (Kindle 2):
Traceback (most recent call last):
File "site-packages\calibre\gui2\__init__.py", line 306, in dispatch
File "site-packages\calibre\gui2\device.py", line 1180, in books_uploaded
File "site-packages\calibre\gui2\device.py", line 389, 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'

Calibre actually does send the book to the Kindle, but it still gives me the error message, and Calibre will not show any of my books on the Kindle.

any suggestions as to what to do?

Last edited by Ken Guenther; 01-21-2011 at 01:20 AM. Reason: missed the word "not"
Ken Guenther is offline   Reply With Quote
Old 01-15-2011, 06:20 PM   #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: 43,856
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That error message isn't very informative, can you run calibre in debug mode and post the debug log. Click the arrow next to preferences and select start in debug mode.
kovidgoyal is offline   Reply With Quote
Advert
Old 01-16-2011, 12:45 AM   #3
Ken Guenther
Junior Member
Ken Guenther began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jun 2010
Device: Kindle
I am not sure the log file is very helpful either. But here it is.


calibre Debug log
calibre 0.7.40
Windows-Vista-6.0.6002-SP2
Windows
('Windows', 'Vista', '6.0.6002')
Python 2.7.0
Windows: ('Vista', '6.0.6002', 'SP2', 'Multiprocessor Free')
Starting up...
Started up in 5.16100001335
Job: 1 Get device information finished
No details available.
DEBUG: 0.0 USBMS: Fetching list of books from device. oncard= None
DEBUG: 0.0 USBMS: dirs are: F:\ documents
DEBUG: 2.0 USBMS: count found in cache: 211, count of files in metadata: 211,

need_sync: False
DEBUG: 2.0 USBMS: Finished fetching list of books from device. oncard= None
DEBUG: 2.1 USBMS: Fetching list of books from device. oncard= carda
DEBUG: 2.1 USBMS: Fetching list of books from device. oncard= cardb
Job: 2 Get list of books on device finished
No details available.
Traceback (most recent call last):
File "site-packages\calibre\gui2\__init__.py", line 306, in dispatch
File "site-packages\calibre\gui2\device.py", line 765, in metadata_downloaded
File "site-packages\calibre\gui2\device.py", line 1279, in set_books_in_library
File "site-packages\calibre\library\database2.py", line 693, in get_metadata
AttributeError: 'NoneType' object has no attribute 'split'
Ken Guenther is offline   Reply With Quote
Old 01-16-2011, 01:11 AM   #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: 43,856
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Hmm well there is one bug in 0.7.40 that could possibly be causing this, fix will be in the next release (on Friday). In the meantime I suggest you downgrade to 0.7.38 available from https://sourceforge.net/projects/calibre/files/
kovidgoyal is offline   Reply With Quote
Old 01-16-2011, 02:16 AM   #5
Ken Guenther
Junior Member
Ken Guenther began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jun 2010
Device: Kindle
Yes, reverting to 0.7.38 solved the problem.
Ken Guenther is offline   Reply With Quote
Advert
Old 01-16-2011, 02:50 AM   #6
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
i think the thread title was intended to be 7.40 does not show....

anyway, I have 7.40 & it shows the books on my kindle 3 all OK
cybmole is offline   Reply With Quote
Old 01-16-2011, 03:20 AM   #7
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 11,741
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
The bug is triggered by a condition that is never supposed to exist -- a book having no authors. The next release will have a check for it.

Workarounds:
1. revert to 0.7.38
2. ensure every book has an author. Search for authors:false and fix each book.
chaley is offline   Reply With Quote
Old 01-17-2011, 06:49 PM   #8
drmathprog
Connoisseur
drmathprog began at the beginning.
 
Posts: 70
Karma: 22
Join Date: Oct 2008
Device: Sony PRS-505
I'm getting this same error message on .7.40 with a Sony PRS-505. The books in question do have authors. Reverting to .7.35 seems to repair my problem.

Last edited by drmathprog; 01-17-2011 at 06:58 PM.
drmathprog is offline   Reply With Quote
Old 01-18-2011, 12:52 AM   #9
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 11,741
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by drmathprog View Post
I'm getting this same error message on .7.40 with a Sony PRS-505. The books in question do have authors. Reverting to .7.35 seems to repair my problem.
It is triggered if any book in your library has no author, not just the one(s) you are sending.
chaley is offline   Reply With Quote
Old 04-16-2011, 01:59 PM   #10
bythewind
Junior Member
bythewind doesn't litterbythewind doesn't litterbythewind doesn't litter
 
Posts: 2
Karma: 200
Join Date: Apr 2011
Device: Kindle
Same error MSG with Calibre 0.7.55

First I get a RO-Kindle.

I do
sudo fsck.vfat -a /dev/sdc1

dosfsck 3.0.9, 31 Jan 2010, FAT32, LFN
/metadata.calibre
Contains a free cluster (358912). Assuming EOF.
/metadata.calibre
File size is 107532 bytes, cluster chain length is 16384 bytes.
Truncating file to 16384 bytes.
Unable to create unique name

Then I upload a book and get the error-msg.
After that I get again a RO-Kindle and the book on my Kindle.

Here is the calibre Debug log

-----------------
calibre 0.7.55
Linux-2.6.35-28-generic-i686-with-debian-squeeze-sid
Linux
('Linux', '2.6.35-28-generic', '#50-Ubuntu SMP Fri Mar 18 19:00:26 UTC 2011')
Python 2.7.1
Linux: ('debian', 'squeeze/sid', '')
Starting up...
Started up in 38.0711610317
Job: 1 Get device information finished
No details available.
DEBUG: 0.0 USBMS: Fetching list of books from device. Device= KINDLE2 oncard= None
DEBUG: 0.0 USBMS: dirs are: /media/Kindle/ documents
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: Unterminated string starting at: line 836 column 7 (char 22443)
DEBUG: 0.0 USBMS: scan from root False /media/Kindle/documents
Failed to read MOBI cover
Failed to read MOBI cover
Failed to read MOBI cover
Failed to read MOBI cover
Failed to read MOBI cover
Failed to read MOBI cover
Failed to read MOBI cover
Failed to read MOBI cover
Failed to read MOBI cover
Failed to read MOBI cover
Failed to read MOBI cover
DEBUG: 13.8 USBMS: count found in cache: 0, count of files in metadata: 44, need_sync: True
DEBUG: 13.8 USBMS: starting sync_booklists
Job: 2 Get list of books on device finished
[Errno 30] Read-only file system: u'/media/Kindle/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 317, in _books
File "site-packages/calibre/devices/kindle/driver.py", line 202, in books
File "site-packages/calibre/devices/usbms/driver.py", line 224, in books
File "site-packages/calibre/devices/usbms/driver.py", line 365, in sync_booklists
File "site-packages/calibre/devices/usbms/driver.py", line 363, in write_prefix
IOError: [Errno 30] Read-only file system: u'/media/Kindle/metadata.calibre'

[Errno 30] Read-only file system: u'/media/Kindle/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 317, in _books
File "site-packages/calibre/devices/kindle/driver.py", line 202, in books
File "site-packages/calibre/devices/usbms/driver.py", line 224, in books
File "site-packages/calibre/devices/usbms/driver.py", line 365, in sync_booklists
File "site-packages/calibre/devices/usbms/driver.py", line 363, in write_prefix
IOError: [Errno 30] Read-only file system: u'/media/Kindle/metadata.calibre'

Device using plugboard mobi KINDLE2 None
Setting metadata in: clay-oven-building-instructions-web at: /tmp/calibre_0.7.55_tmp_wtzhbz/calibre_0.7.55_RzYZaA.mobi
DEBUG: 85.4 USBMS: uploading 1 books
Job: 3 Upload 1 books to device:clay-oven-building-instructions-web finished
[Errno 2] No such file or directory: '/media/Kindle/'

Traceback (most recent call last):
File "site-packages/calibre/gui2/device.py", line 64, in run
File "site-packages/calibre/gui2/device.py", line 382, in _upload_books
File "site-packages/calibre/devices/usbms/driver.py", line 234, in upload_books
File "site-packages/calibre/devices/usbms/device.py", line 874, in _sanity_check
File "site-packages/calibre/devices/usbms/device.py", line 163, in free_space
OSError: [Errno 2] No such file or directory: '/media/Kindle/'

[Errno 2] No such file or directory: '/media/Kindle/'

Traceback (most recent call last):
File "site-packages/calibre/gui2/device.py", line 64, in run
File "site-packages/calibre/gui2/device.py", line 382, in _upload_books
File "site-packages/calibre/devices/usbms/driver.py", line 234, in upload_books
File "site-packages/calibre/devices/usbms/device.py", line 874, in _sanity_check
File "site-packages/calibre/devices/usbms/device.py", line 163, in free_space
OSError: [Errno 2] No such file or directory: '/media/Kindle/'

Device using plugboard mobi KINDLE2 None
Setting metadata in: clay-oven-building-instructions-web at: /tmp/calibre_0.7.55_tmp_wtzhbz/calibre_0.7.55_zcMoTj.mobi
DEBUG: 197.4 USBMS: uploading 1 books
DEBUG: 197.5 USBMS: finished uploading 1 books
Job: 4 Upload 1 books to device:clay-oven-building-instructions-web finished
No details available.
DEBUG: 197.5 USBMS: adding metadata for 1 books
Traceback (most recent call last):
File "site-packages/calibre/gui2/__init__.py", line 278, in dispatch
File "site-packages/calibre/gui2/device.py", line 1249, in books_uploaded
File "site-packages/calibre/gui2/device.py", line 393, in add_books_to_metadata
File "site-packages/calibre/devices/usbms/driver.py", line 307, in add_books_to_metadata
AttributeError: 'list' object has no attribute 'add_book'

Job: 4 Upload 1 books to device:clay-oven-building-instructions-web finished
No details available.

------------------
bythewind is offline   Reply With Quote
Old 04-16-2011, 02:08 PM   #11
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: 43,856
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
http://calibre-ebook.com/user_manual...-connect-to-it
kovidgoyal is offline   Reply With Quote
Old 04-16-2011, 04:46 PM   #12
bythewind
Junior Member
bythewind doesn't litterbythewind doesn't litterbythewind doesn't litter
 
Posts: 2
Karma: 200
Join Date: Apr 2011
Device: Kindle
Thanks for the very fast reply.

I finally succeeded with
>sudo fsck.vfat -r /dev/sdc1

the 'interactivery repair mode'
bythewind is offline   Reply With Quote
Old 04-17-2011, 01:52 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: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
Quote:
Originally Posted by bythewind View Post
Thanks for the very fast reply.

I finally succeeded with
>sudo fsck.vfat -r /dev/sdc1

the 'interactivery repair mode'
I'm glad you got it working.

Next time please open up a new thread.

Your problem wasn't anything like the original poster's problem. The original problem was corrected in version 0.7.41. Your problem was obviously a device level problem as evidenced by multiple OS/IO errors.

IOError: [Errno 30] Read-only file system:
OSError: [Errno 2] No such file or directory:
DoctorOhh is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
e-Books show in "My Computer" Kindle 3 documents folder tcreek Calibre 1 09-03-2010 10:34 AM
Irex DR800S doesn't show calibre-epubs zoma iRex 13 03-27-2010 07:13 AM
How I got 4000 plus books to show sealbeater Sony Reader 109 01-19-2010 10:46 AM
Books show in italics dcpyke Sony Reader 6 11-20-2009 11:49 AM
Getting folder to show in Calibre (running)? AbFabGab Calibre 1 03-14-2009 01:01 PM


All times are GMT -4. The time now is 04:28 PM.


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