View Single Post
Old 03-08-2016, 12:51 PM   #11
phossler
Wizard
phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.
 
Posts: 1,087
Karma: 447222
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
One more 'little' thing

I was using the PI to normalize the comments before I re-generated a catalog. I was going by grouping authors

If there is not a comment in a book then there is a error

Spoiler:

calibre, version 2.52.0
ERROR: Unhandled exception: <b>TypeError</b>:cannot concatenate 'str' and 'NoneType' objects

calibre 2.52 [64bit] embedded-python: True is64bit: True
Windows-8-6.2.9200 Windows ('64bit', 'WindowsPE')
('Windows', '8', '6.2.9200')
Python 2.7.9
Windows: ('8', '6.2.9200', '', 'Multiprocessor Free')
Successfully initialized third party plugins: Quality Check && EpubMerge && Generate Cover && Manage Series && Open With && EpubSplit && NormComment && Diaps Editing Toolbag && View Manager && Modify ePub
Traceback (most recent call last):
File "calibre_plugins.norm_comment.action", line 124, in _normalize_comment
File "calibre_plugins.norm_comment.action", line 149, in _do_replace_text
File "site-packages\calibre\utils\html2text.py", line 376, in html2text
File "site-packages\calibre\utils\html2text.py", line 371, in html2text_file
File "sgmllib.py", line 103, in feed
TypeError: cannot concatenate 'str' and 'NoneType' objects


Any chance you could add another tweak for me please?
phossler is online now   Reply With Quote