Comment 3 for bug 1198248

steven poore (sxeve) wrote :

David

As far as I can remember everything I have added to the device has been by either Calibre or the Kobo's own wireless downloading. I'd have to take some more time to see whether any of the files use peculiar characters in the filename.

As far as the tests go, the first test worked fine. Windows "sees" the device and I can move files onto it with no problem.

The second test: error log etc listed below.

Many thanks

Steve

calibre Debug log
calibre 0.9.37 isfrozen: True is64bit: False
Windows-XP-5.1.2600-SP3 Windows ('32bit', 'WindowsPE')
('Windows', 'XP', '5.1.2600')
Python 2.7.4
Windows: ('XP', '5.1.2600', 'SP3', 'Multiprocessor Free')
Starting up...
Started up in 25.67 seconds with 1373 books
Job: 1 Get device information started
DeviceJob: 1 Get device information done, calling callback
DeviceJob: 1 Get device information callback returned
Job: 2 Get list of books on device started
DEBUG: 0.0 KoboTouch:books - oncard='None'
DEBUG: 0.0 KoboTouch:books - oncard='None', prefix='G:\'
DEBUG: 0.0 Kobo device: Kobo Mini
DEBUG: 0.0 Version of driver: (2, 0, 12) Has kepubs: True
DEBUG: 0.0 Version of firmware: (2, 6, 1) Has kepubs: True
DEBUG: 0.1 KoboTouch:books - opts.extra_customization= [u'', False, False, True, False, False, False, False, False, True, False, u'']
DEBUG: 0.1 KoboTouch:books - prefs['manage_device_metadata']= on_connect
DEBUG: 0.1 KoboTouch:books - set_debugging_title to ''
DEBUG: 0.1 KoboTouch:books - length bl=0
exception during JSON decode_from_file
Traceback (most recent call last):
  File "site-packages\calibre\ebooks\metadata\book\json_codec.py", line 163, in decode_from_file
  File "json\__init__.py", line 290, in load
  File "json\__init__.py", line 351, in loads
  File "json\decoder.py", line 365, in decode
  File "json\decoder.py", line 383, in raw_decode
ValueError: No JSON object could be decoded
DEBUG: 0.2 KoboTouch:books - length bl after sync=0
DEBUG: 0.2 KoboTouch:books - reading device database
DEBUG: 0.2 Database Version=79
DEBUG: 0.2 KoboTouch:books - shelf list: [u'Doctor Who', u'Fantasy', u'Science Fiction', u'Classics', u'Plays', u'Terry Pratchett']
DEBUG: 0.3 KoboTouch:books - query= SELECT Title, Attribution, DateCreated, ContentID, MimeType, ContentType, ImageID, ReadStatus, ___ExpirationStatus, FavouritesIndex, Accessibility, IsDownloaded, Series, SeriesNumber, ___UserID, ExternalId FROM content where BookID is Null and ((Accessibility = -1 and IsDownloaded in ('true', 1 )) or (Accessibility in (1,2) and IsDownloaded in ('true', 1)) ) and not ((___ExpirationStatus=3 or ___ExpirationStatus is Null) and ContentType = 6) AND (externalId IS NULL OR externalId = '') AND contentId NOT LIKE 'file:///mnt/sd/%'
Job: 1 Get device information finished
No details available.
DEBUG: 881.0 KoboTouch:books - automatically managing metadata
DEBUG: 881.0 KoboTouch:books - about to sync_booklists
DEBUG: 881.0 USBMS: starting sync_booklists
DEBUG: 890.9 USBMS: finished sync_booklists
DEBUG: 890.9 KoboTouch:books - have done sync_booklists
DEBUG: 890.9 KoboTouch:books - end - oncard='None'
DEBUG: 890.9 KoboTouch:books - oncard='carda'
DEBUG: 890.9 KoboTouch:books - Asked to process 'carda', but do not have one!
DEBUG: 890.9 KoboTouch:books - oncard='cardb'
DEBUG: 890.9 KoboTouch:books - Asked to process 'cardb', but do not have one!
DeviceJob: 2 Get list of books on device done, calling callback
DeviceJob: 2 Get list of books on device callback returned
Job: 3 Send metadata to device started
DEBUG: 899.9 KOBO: started sync_booklists
DEBUG: 899.9 KoboTouch:update_device_database_collections - oncard='main'
DEBUG: 900.0 KoboTouch:update_device_database_collections - set_debugging_title to ''
DEBUG: 900.0 KTCollectionsBookList:get_collections - start - collection_attributes= []
DEBUG: 900.0 KTCollectionsBookList:get_collections - collection_attributes= []
DEBUG: 900.3 KTCollectionsBookList:get_collections - end
DEBUG: 900.5 No Collections - reseting ReadStatus
DEBUG: 900.5 No Collections - resetting FavouritesIndex
Job: 2 Get list of books on device finished
No details available.
DEBUG: 907.5 KoboTouch:update_device_database_collections - managing bookshelves and series.
DEBUG: 977.6 KoboTouch:update_device_database_collections - Number of series set=0 Number of books=1086
DEBUG: 977.7 KoboTouch:update_device_database_collections - Finished
DEBUG: 977.7 USBMS: starting sync_booklists
DeviceJob: 3 Send metadata to device done, calling callback
[Error 2] The system cannot find the file specified: u'G:\\'

Traceback (most recent call last):
  File "site-packages\calibre\gui2\device.py", line 85, in run
  File "site-packages\calibre\gui2\device.py", line 506, in _sync_booklists
  File "site-packages\calibre\devices\kobo\driver.py", line 881, in sync_booklists
  File "site-packages\calibre\devices\usbms\driver.py", line 382, in sync_booklists
  File "os.py", line 157, in makedirs
WindowsError: [Error 2] The system cannot find the file specified: u'G:\\'

DeviceJob: 3 Send metadata to device callback returned
Job: 3 Send metadata to device finished
[Error 2] The system cannot find the file specified: u'G:\\'

 Traceback (most recent call last):
   File "site-packages\calibre\gui2\device.py", line 85, in run
   File "site-packages\calibre\gui2\device.py", line 506, in _sync_booklists
   File "site-packages\calibre\devices\kobo\driver.py", line 881, in sync_booklists
   File "site-packages\calibre\devices\usbms\driver.py", line 382, in sync_booklists
   File "os.py", line 157, in makedirs
 WindowsError: [Error 2] The system cannot find the file specified: u'G:\\'