View Single Post
Old 08-02-2014, 10:49 AM   #1
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 85,557
Karma: 93980341
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
Clicking on book on device gives error

A strange problem with the latest version of Calibre.

My Onyx T68 is connected to Calibre via a wireless device connection and CC running on the device.

I selected the "Device" view in Calibre and saw some books that did not have a check mark in the "In Library" column, which is peculiar, given the fact that all the books on the T68 were loaded there from Calibre.

When I click on one of these books in the device view I get the following error:

Code:
calibre, version 1.47.0
ERROR: Unhandled exception: <b>TypeError</b>:sequence item 0: expected string, NoneType found

calibre 1.47  isfrozen: True is64bit: False
Windows-7-6.1.7601-SP1 Windows ('32bit', 'WindowsPE')
32bit process running on 64bit windows
('Windows', '7', '6.1.7601')
Python 2.7.5
Windows: ('7', '6.1.7601', 'SP1', 'Multiprocessor Free')
Traceback (most recent call last):
  File "site-packages\calibre\gui2\book_details.py", line 609, in show_data
  File "site-packages\calibre\gui2\book_details.py", line 335, in show_data
  File "site-packages\calibre\gui2\book_details.py", line 28, in render_html
  File "site-packages\calibre\gui2\book_details.py", line 103, in render_data
  File "site-packages\calibre\ebooks\metadata\book\render.py", line 169, in mi_to_html
  File "site-packages\calibre\ebooks\metadata\book\base.py", line 604, in format_field
  File "site-packages\calibre\ebooks\metadata\book\base.py", line 680, in format_field_extended
TypeError: sequence item 0: expected string, NoneType found
All other books appear to be fine - it's just these (that claim not to be in the library) that cause the problem.

Any idea what the cause might be?

Thanks!
HarryT is offline   Reply With Quote