Comment 23 for bug 1024983

Revision history for this message
S.J.Skinner (catibwg) wrote :

The following might have some relevance or be of some help. Or not! YMMV.

 I ran calibre (0.8.66) from the command line (Linux) and told it to attempt to attempt to configure the device despite the warning. Then, when I plugged in my Kobo Touch again (sw version 2.0.0 r41166, 7/12/12), I got the following errors:
  Traceback (most recent call last):
    File "site-packages/calibre/devices/kobo/driver.py", line 219, in update_booklist
    File "site-packages/calibre/devices/kobo/driver.py", line 658, in book_from_path
    File "site-packages/calibre/devices/kobo/books.py", line 31, in __init__
    File "_strptime.py", line 454, in _strptime_time
    File "_strptime.py", line 325, in _strptime
  ValueError: time data u'2008-08-07' does not match format '%Y-%m-%dT%H:%M:%S.%f'

The time data u varied. Examples of all variations:
  ValueError: time data u'1915' does not match format '%Y-%m-%dT%H:%M:%S.%f'
  ValueError: time data u'c1919' does not match format '%Y-%m-%dT%H:%M:%S.%f'
  ValueError: time data u'[1927]' does not match format '%Y-%m-%dT%H:%M:%S.%f'
  ValueError: time data u'1905 [c1899]' does not match format '%Y-%m-%dT%H:%M:%S.%f'
  ValueError: time data u'[1920?]' does not match format '%Y-%m-%dT%H:%M:%S.%f'
  ValueError: time data u'1907, c1901' does not match format '%Y-%m-%dT%H:%M:%S.%f'
  ValueError: time data u'[192-]' does not match format '%Y-%m-%dT%H:%M:%S.%f'
  ValueError: time data u'2006-01-24T23:00:00+00:00' does not match format '%Y-%m-%dT%H:%M:%S.%f'

Most of my e-books came from openlibrary.org. Two (2) of them and the kobo welcome book could be read by calibre, the rest not.