Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 12-09-2009, 07:11 AM   #1
BobBlock
Junior Member
BobBlock began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Dec 2009
Device: PC
WindowsError: [Error 6] The handle is invalid

When I attempt to open a .pdf file in the ebook viewer I get the error message above. The log says:
Traceback (most recent call last):
File "site-packages\calibre\gui2\viewer\main.py", line 59, in run
File "threading.py", line 477, in run
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 33, 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
Anyone know how to fix this?

All the best...
Bob
BobBlock is offline   Reply With Quote
Old 12-09-2009, 01:57 PM   #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: 25,277
Karma: 4961457
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Can you convert PDF books?
kovidgoyal is online now   Reply With Quote
 
Enthusiast
Old 12-10-2009, 07:08 AM   #3
BobBlock
Junior Member
BobBlock began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Dec 2009
Device: PC
Yes. Tried conversion to .txt and .epub and both came out fine.
BobBlock is offline   Reply With Quote
Old 12-10-2009, 11:33 AM   #4
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: 25,277
Karma: 4961457
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Odd, one more thing to try if you start the ebook viewer by itself (from the start menu) does it work?
kovidgoyal is online now   Reply With Quote
Old 12-11-2009, 06:11 AM   #5
BobBlock
Junior Member
BobBlock began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Dec 2009
Device: PC
No, that's exactly where the problem occurs.

If invoked from the management window, the viewer comes up and displays the file just fine. Trying to open the same file directly from the viewer pops up the error.
BobBlock is offline   Reply With Quote
Old 12-11-2009, 12:43 PM   #6
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: 25,277
Karma: 4961457
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
When you say directly from the viewer, the viewer was launched previously from the management window of from the start menu?
kovidgoyal is online now   Reply With Quote
Old 12-12-2009, 05:53 AM   #7
BobBlock
Junior Member
BobBlock began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Dec 2009
Device: PC
Viewer launched from the start menu. Management window not running.
BobBlock is offline   Reply With Quote
Old 12-12-2009, 06:35 AM   #8
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: 25,277
Karma: 4961457
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Ah OK, this will be fixed in a couple of weeks when calibre switches to the new PDF conversion engine.
kovidgoyal is online now   Reply With Quote
Old 12-12-2009, 08:40 AM   #9
BobBlock
Junior Member
BobBlock began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Dec 2009
Device: PC
Thank you for your response and see you in a couple of weeks...

All the best...
Bob
BobBlock is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
error message: ERROR ITMS-4099: "Invalid ISBN: [#] at Book (MZItmspBookPac NewDay ePub 3 10-07-2010 01:47 PM
WindowsError:[Error 123] Dharmabum Calibre 5 08-23-2010 07:52 PM
Invalid Library Error Debby Calibre 0 02-26-2010 11:32 PM
PRS-900 Help! Invalid Page Error cbnash Sony Reader 5 01-26-2010 09:50 AM
Invalid Syntax Error msprang Sony Reader 7 11-07-2009 01:11 PM


All times are GMT -4. The time now is 02:30 PM.


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