Ticket #8556 (closed defect: invalid)
cannot add books to my device
| Reported by: | mrslesliebrooks | Owned by: | timlegge |
|---|---|---|---|
| Priority: | default | Milestone: | |
| Component: | Kobo driver | Version: | trunk |
| Keywords: | Cc: |
Description
I cannot add or see the books on my Kobo
Version: 0.7.42
USB devices on system:
[u'usb
root_hub&vid10de&pid03f1&rev00a3',
u'usb
root_hub20&vid10de&pid03f2&rev00a3', u'usb
vid_04b8&pid_0819&rev_0100', u'usb
vid_04b8&pid_0819&rev_0100&mi_00', u'usb
vid_04b8&pid_0819&rev_0100&mi_01', u'usb
vid_04b8&pid_0819&rev_0100&mi_02', u'usb
vid_0bda&pid_0111&rev_1137', u'usb
vid_15a9&pid_0004&rev_0001', u'usb
vid_2237&pid_4161&rev_0110']
Drives detected:
(0) L:\ ~
?\STORAGE#VOLUME#_??_USBSTOR#DISK&VEN_KOBO_INC&PROD_.KOBOEREADER&REV062#KBN41607W26110&0#{53F56307-B6BF-11D0-94F2-00A0C91EFB8B}#{53F5630D-B6BF-11D0-94F2-00A0C91EFB8B} (1) F:\ ~
?\STORAGE#VOLUME#_??_USBSTOR#DISK&VEN_KOBO_INC&PROD_.KOBOEREADER&REV062#KBN41607W26110&1#{53F56307-B6BF-11D0-94F2-00A0C91EFB8B}#{53F5630D-B6BF-11D0-94F2-00A0C91EFB8B}
Available plugins: ALEX ALURATEK_COLOR ANDROID AVANT AZBOOKA BAMBOOK BLACKBERRY BOOQ BOOX COOL_ER CYBOOK DBOOK E52 E71X EB511 EB600 EBK52 ECLICTO EDGE EEEREADER ELONEX ESLICK FOLDER_DEVICE_FOR_CONFIG GEMEI GER2 HANLINV3 HANLINV5 ILIAD INVESBOOK IPAPYRUS IREXDR1000 IREXDR800 IRIVER_STORY ITALICA ITUNES JETBOOK JETBOOK_MINI KINDLE KINDLE2 KINDLE_DX KOBO KOGAN LUMIREAD MENTOR MIBUK N516 N770 N810 NEWSMY NEXTBOOK NOOK NOOK_COLOR NUUT2 ORIZON PALMPRE PDNOVEL PDNOVEL_KOBO PICO POCKETBOOK301 POCKETBOOK360 POCKETBOOK602 POCKETBOOK701 PRS505 Q600 README S60 SHINEBOOK SNE SOVOS SPECTRA SUNSTECH_EB700 SWEEX TECLAST_K3 THEBOOK TREKSTOR VELOCITYMICRO Looking for devices...
u'usb
vid_2237&pid_4161&rev_0110'Detected possible device KOBO
Devices possibly connected: Kobo Reader Device Interface,
Trying to open Kobo Reader Device Interface ... OK
Main memory: 'L:
'
Total space: (874881024, 2032271360, 0)
I also get this error:
ERROR: Error
Error communicating with device
OK Copied Hide Details...
Change History
comment:1 Changed 2 years ago by kovidgoyal
- Owner changed from kovidgoyal to timlegge
- Component changed from Default to Kobo driver
comment:2 Changed 2 years ago by timlegge
Please run in debug mode:
1) Open a command prompt 2) cd c:\Program Files\Calibre2 3) calibre-debug -g
When you get the error, look in the command prompt windows and send/attach any messages
Tim
comment:3 Changed 2 years ago by kovidgoyal
From the OP
*This is the error I get in debug mode when I connect the Kobo:*
[Errno 13] Permission denied: u'F:\\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 308, in _books
File "site-packages\calibre\devices\kobo\driver.py", line 210, in books
File "site-packages\calibre\devices\kobo\driver.py", line 630, in
sync_booklists
File "site-packages\calibre\devices\usbms\driver.py", line 306, in
sync_booklists
File "site-packages\calibre\devices\usbms\driver.py", line 303, in
write_prefix
IOError: [Errno 13] Permission denied: u'F:\\metadata.calibre'
*This is what I get if I try to add a book to the Kobo:*
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\kobo\driver.py", line 359, in
add_books_to_metadata
AttributeError: 'list' object has no attribute 'add_book'
calibre Debug log
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...
Job: 1 Get device information finished
No details available.
DEBUG: 0.0 Version of firmware: 1.8.2 Has kepubs: True
DEBUG: 1.2 Starting get_collections: manual
DEBUG: 1.2 Renaming rules: {}
DEBUG: 1.2 Formatting template: {value}{category:| (|)}
DEBUG: 1.2 Sorting rules: []
DEBUG: 1.4 USBMS: starting sync_booklists
DEBUG: 1.7 USBMS: finished sync_booklists
DEBUG: 1.7 Version of firmware: 1.8.2 Has kepubs: True
DEBUG: 1.7 Starting get_collections: manual
DEBUG: 1.7 Renaming rules: {}
DEBUG: 1.7 Formatting template: {value}{category:| (|)}
DEBUG: 1.7 Sorting rules: []
Reseting ReadStatus to 0
DEBUG: 1.7 USBMS: starting sync_booklists
Job: 2 Get list of books on device finished
[Errno 13] Permission denied: u'F:\\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 308, in _books
File "site-packages\calibre\devices\kobo\driver.py", line 210, in books
File "site-packages\calibre\devices\kobo\driver.py", line 630, in
sync_booklists
File "site-packages\calibre\devices\usbms\driver.py", line 306, in
sync_booklists
File "site-packages\calibre\devices\usbms\driver.py", line 303, in
write_prefix
IOError: [Errno 13] Permission denied: u'F:\\metadata.calibre'
[Errno 13] Permission denied: u'F:\\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 308, in _books
File "site-packages\calibre\devices\kobo\driver.py", line 210, in books
File "site-packages\calibre\devices\kobo\driver.py", line 630, in
sync_booklists
File "site-packages\calibre\devices\usbms\driver.py", line 306, in
sync_booklists
File "site-packages\calibre\devices\usbms\driver.py", line 303, in
write_prefix
IOError: [Errno 13] Permission denied: u'F:\\metadata.calibre'
Started up in 25.2899999619
Device using plugboard epub KOBO None
Setting metadata in: 1st to Die at:
c:\users\brooks~1\appdata\local\temp\calibre_0.7.42_tmp_jy6rac\calibre_0.7.42_khrd1d.epub
DEBUG: 282.3 USBMS: uploading 1 books
DEBUG: 282.8 USBMS: finished uploading 1 books
Job: 3 Upload 1 books to device:1st to Die 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 1175, in books_uploaded
File "site-packages\calibre\gui2\device.py", line 383, in
add_books_to_metadata
File "site-packages\calibre\devices\kobo\driver.py", line 359, in
add_books_to_metadata
AttributeError: 'list' object has no attribute 'add_book'
comment:4 Changed 2 years ago by timlegge
- Status changed from new to closed
- Resolution set to invalid
Hi
The error message clearly states the problem.
IOError: [Errno 13] Permission denied: u'F:\\metadata.calibre'
I assume that you have sufficient privilege to access the device in windows but for some reason you are unable to write to the drive. You would notice the same issue if you opened the F drive and attempted to create a file using windows explorer.
Typically there are two of three solutions:
- Eject the kobo, Turn it off (power off not sleep) and restart
- Perform a file system integrity scan (I forget what windows calls this (check Disk maybe))
- Finally if you are still unable to write to the device you may need to format the drive and/or install the firmware from a sd card (which formats the drive),
So in closing, its not a Calibre issue, it is local to your device.
Tim
