12-27-2009, 11:03 AM | #1 |
Space Cadet
Posts: 1,180
Karma: 4030536
Join Date: Jun 2009
Location: South Africa
Device: Sony PRS-T1, Cybook Opus, Kobo Glo
|
XPath Expression Wizard Error
When I try to use the Wizard to help create a regular expression to remove headers/footers I get the following error:
Code:
ERROR: ERROR: Unhandled exception: <b>WindowsError</b>:[Error 6] The handle is invalid Traceback (most recent call last): File "site-packages\calibre\gui2\convert\regex_builder.py", line 117, in builder File "site-packages\calibre\gui2\convert\regex_builder.py", line 59, in __init__ File "site-packages\calibre\gui2\convert\regex_builder.py", line 86, in select_format File "site-packages\calibre\gui2\convert\regex_builder.py", line 90, in open_book File "site-packages\calibre\ebooks\oeb\iterator.py", line 175, in __enter__ File "site-packages\calibre\customize\conversion.py", line 208, in __call__ File "site-packages\calibre\ebooks\pdf\input.py", line 50, in convert File "site-packages\calibre\ebooks\pdf\pdftohtml.py", line 49, in pdftohtml File "subprocess.py", line 614, in __init__ File "subprocess.py", line 735, in _get_handles File "subprocess.py", line 761, in _make_inheritable WindowsError: [Error 6] The handle is invalid |
12-27-2009, 11:14 AM | #2 | |
Resident Curmudgeon
Posts: 73,866
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
Advert | |
|
12-27-2009, 11:23 AM | #3 |
Space Cadet
Posts: 1,180
Karma: 4030536
Join Date: Jun 2009
Location: South Africa
Device: Sony PRS-T1, Cybook Opus, Kobo Glo
|
That's the thing. I don't know how to write an expression so I was hoping that the wizard would help create one.
I have a PDF I created a while back from a Lit file using the ABC Lit converter. I lost the lit file when my old PC was formatted. The header is "Generated by ABC Amber LIT Converter, http://www.processtext.com/abclit.html" And the footer is "Page x" I'm using Calibre v0.6.30 |
12-27-2009, 11:47 AM | #4 |
creator of calibre
Posts: 43,835
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Will be fixed in next release
|
12-27-2009, 12:09 PM | #5 |
Space Cadet
Posts: 1,180
Karma: 4030536
Join Date: Jun 2009
Location: South Africa
Device: Sony PRS-T1, Cybook Opus, Kobo Glo
|
|
Advert | |
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Need help with XPath | NASCARaddicted | ePub | 13 | 02-20-2015 06:04 AM |
Xpath TOC Expression | Agama | Calibre | 2 | 07-12-2010 02:24 AM |
XPath Expression wizard?? | tonyx3 | Calibre | 1 | 01-26-2010 04:49 AM |
Error message with XPATH wizard (.pdf) | DerSchwarzePrinz | Calibre | 2 | 10-15-2009 01:04 PM |
error with running wizard... | oncdoc | Calibre | 2 | 10-12-2009 11:40 PM |