Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 10-29-2018, 07:05 AM   #1
Patrick Derwael
Enthusiast
Patrick Derwael began at the beginning.
 
Posts: 42
Karma: 10
Join Date: Oct 2018
Location: Belgium
Device: none
Can't run the "Create catalog" plugin

Hi there,

Here is my second plugin related problem with the "Create Catalog" plugin:

Catalog options
- Catalog format: CSV
- Send catalog to device: unselected
- Add catalog to library: unselected

CSV/XML options:
All fields selected

After OK, I get the following error message:
Spoiler:

calibre, version 3.32.0 (win32, embedded-python: True)
Conversion error: Failed: Generate catalog

Generate catalog
Catalog_CSV_XML('Calibre Library'): Generating CSV
Book count: 6257
Fields: author_sort,authors,comments,cover,timestamp,forma ts,isbn,identifiers,languages,library_name,ondevic e,pubdate,publisher,rating,series,series_index,siz e,tags,title,title_sort,id,uuid
Python function terminated unexpectedly
string index out of range (Error Code: 1)
Traceback (most recent call last):
File "site.py", line 101, in main
File "site.py", line 78, in run_entry_point
File "site-packages\calibre\utils\ipc\worker.py", line 199, in main
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 80, in gui_catalog
File "site-packages\calibre\library\catalogs\csv_xml.py", line 161, in run
File "site-packages\calibre\utils\html2text.py", line 436, in html2text
File "site-packages\calibre\utils\html2text.py", line 430, in html2text_file
File "sgmllib.py", line 104, in feed
File "sgmllib.py", line 143, in goahead
File "sgmllib.py", line 320, in parse_endtag
File "sgmllib.py", line 353, in finish_endtag
File "site-packages\calibre\utils\html2text.py", line 209, in unknown_endtag
File "site-packages\calibre\utils\html2text.py", line 214, in handle_tag
File "site-packages\calibre\utils\html2text.py", line 153, in hn
IndexError: string index out of range


Here is the debug log:

calibre Debug log
calibre 3.32 [64bit] embedded-python: True is64bit: True
Windows-7-6.1.7601-SP1 Windows ('64bit', 'WindowsPE')
('Windows', '7', '6.1.7601')
Python 2.7.12+
Windows: ('7', '6.1.7601', 'SP1', u'Multiprocessor Free')
Interface language: None
calibre 3.32 [64bit] embedded-python: True is64bit: True
Windows-7-6.1.7601-SP1 Windows ('64bit', 'WindowsPE')
('Windows', '7', '6.1.7601')
Python 2.7.12+
Windows: ('7', '6.1.7601', 'SP1', u'Multiprocessor Free')
Interface language: None
Turning on automatic hidpi scaling
devicePixelRatio: 1.0
logicalDpi: 96.0 x 96.0
physicalDpi: 72.035450517 x 72.0
Using calibre Qt style: True
[0.00] Starting up...
[0.00] Showing splash screen...
[0.06] splash screen shown
[0.06] Initializing db...
[0.26] db initialized
[0.26] Constructing main UI...
[2.42] main UI initialized...
[2.42] Hiding splash screen
Failed to check for calibre update: EOF occurred in violation of protocol (_ssl.c:590)
[6.04] splash screen hidden
[6.04] Started up in 6.04 seconds with 6257 books
Worker Launch took: 0.842000007629
Job: 1 Generate catalog finished
Generate catalog
Catalog_CSV_XML('Calibre Library'): Generating CSV
Book count: 6257
Fields: author_sort,authors,comments,cover,timestamp,forma ts,isbn,identifiers,languages,library_name,ondevic e,pubdate,publisher,rating,series,series_index,siz e,tags,title,title_sort,id,uuid
Python function terminated unexpectedly
string index out of range (Error Code: 1)
Traceback (most recent call last):
File "site.py", line 101, in main
File "site.py", line 78, in run_entry_point
File "site-packages\calibre\utils\ipc\worker.py", line 199, in main
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 80, in gui_catalog
File "site-packages\calibre\library\catalogs\csv_xml.py", line 161, in run
File "site-packages\calibre\utils\html2text.py", line 436, in html2text
File "site-packages\calibre\utils\html2text.py", line 430, in html2text_file
File "sgmllib.py", line 104, in feed
File "sgmllib.py", line 143, in goahead
File "sgmllib.py", line 320, in parse_endtag
File "sgmllib.py", line 353, in finish_endtag
File "site-packages\calibre\utils\html2text.py", line 209, in unknown_endtag
File "site-packages\calibre\utils\html2text.py", line 214, in handle_tag
File "site-packages\calibre\utils\html2text.py", line 153, in hn
IndexError: string index out of range

Generate catalog
Catalog_CSV_XML('Calibre Library'): Generating CSV
Book count: 6257
Fields: author_sort,authors,comments,cover,timestamp,forma ts,isbn,identifiers,languages,library_name,ondevic e,pubdate,publisher,rating,series,series_index,siz e,tags,title,title_sort,id,uuid
Python function terminated unexpectedly
string index out of range (Error Code: 1)
Traceback (most recent call last):
File "site.py", line 101, in main
File "site.py", line 78, in run_entry_point
File "site-packages\calibre\utils\ipc\worker.py", line 199, in main
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 80, in gui_catalog
File "site-packages\calibre\library\catalogs\csv_xml.py", line 161, in run
File "site-packages\calibre\utils\html2text.py", line 436, in html2text
File "site-packages\calibre\utils\html2text.py", line 430, in html2text_file
File "sgmllib.py", line 104, in feed
File "sgmllib.py", line 143, in goahead
File "sgmllib.py", line 320, in parse_endtag
File "sgmllib.py", line 353, in finish_endtag
File "site-packages\calibre\utils\html2text.py", line 209, in unknown_endtag
File "site-packages\calibre\utils\html2text.py", line 214, in handle_tag
File "site-packages\calibre\utils\html2text.py", line 153, in hn
IndexError: string index out of range


Last edited by theducks; 10-29-2018 at 12:12 PM. Reason: Pleas wrap LOGS in SPOILER tags
Patrick Derwael is offline   Reply With Quote
Old 10-30-2018, 12:03 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 44,036
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That should take care of it: https://github.com/kovidgoyal/calibr...92709db6eb8f98
kovidgoyal is online now   Reply With Quote
Advert
Old 10-30-2018, 06:54 AM   #3
Patrick Derwael
Enthusiast
Patrick Derwael began at the beginning.
 
Posts: 42
Karma: 10
Join Date: Oct 2018
Location: Belgium
Device: none
Quote:
Originally Posted by kovidgoyal View Post
Hi,

Thanks for the answer, but what am I supposed to do with that??

Me no tecchie, me just human

Actually the other issue I registered (about https) was an attempt to work around this one

Thanks
Patrick Derwael is offline   Reply With Quote
Old 10-30-2018, 06:55 AM   #4
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 6,293
Karma: 11806357
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
Quote:
Originally Posted by Patrick Derwael View Post
Hi,

Thanks for the answer, but what am I supposed to do with that??

Me no tecchie, me just human

Actually the other issue I registered (about https) was an attempt to work around this one

Thanks
Wait for the new calibre release.
Terisa de morgan is offline   Reply With Quote
Old 11-02-2018, 04:53 AM   #5
Patrick Derwael
Enthusiast
Patrick Derwael began at the beginning.
 
Posts: 42
Karma: 10
Join Date: Oct 2018
Location: Belgium
Device: none
Thanks Terisa, that I can understand!
Patrick Derwael is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there a lazy way to split a "create catalog" csv LadyKate Calibre 3 11-25-2016 02:03 PM
Stanza (not Calibre) - "catalog is empty" error valancy17 Apple Devices 2 03-23-2012 01:52 AM
"ELF binary type "0" not known" Error. When run Kindlegen chovan Amazon Kindle 4 02-09-2012 11:49 AM
How to use "catalog CSV/XML" plugin? katsu Library Management 4 10-14-2011 11:07 AM
Run plugin after "send to device" minicheck Development 1 02-26-2011 09:42 PM


All times are GMT -4. The time now is 09:55 AM.


MobileRead.com is a privately owned, operated and funded community.