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 07-31-2011, 11:07 AM   #1
Bergwind
Junior Member
Bergwind began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jul 2011
Device: none
calibre can't open epub

calibre can't open epub。Windows7
calibre, version 0.8.12
ERROR: 无法打开电子书: invalid continuation byte

Traceback (most recent call last):
File "site-packages\calibre\gui2\viewer\main.py", line 64, in run
File "threading.py", line 483, in run
File "site-packages\calibre\ebooks\oeb\iterator.py", line 182, in __enter__
File "site-packages\calibre\ptempfile.py", line 144, in __enter__
File "tempfile.py", line 316, in mkdtemp
File "ntpath.py", line 108, in join
UnicodeDecodeError: 'utf8' codec can't decode byte 0xd2 in position 5: invalid continuation byte



calibre, version 0.8.12
ERROR: Unhandled exception: <b>AttributeError</b>:'TemporaryDirectory' object has no attribute 'tdir'

Traceback (most recent call last):
File "site.py", line 132, in main
File "site.py", line 109, in run_entry_point
File "site-packages\calibre\utils\ipc\worker.py", line 181, in main
File "site-packages\calibre\gui2\viewer\main.py", line 831, in main
File "site-packages\calibre\gui2\viewer\main.py", line 764, in __exit__
File "site-packages\calibre\ebooks\oeb\iterator.py", line 318, in __exit__
File "site-packages\calibre\ptempfile.py", line 148, in __exit__
AttributeError: 'TemporaryDirectory' object has no attribute 'tdir'
Bergwind is offline   Reply With Quote
Old 07-31-2011, 12:04 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,285
Karma: 4961457
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Set the CALIBRE_TEMP_DIR environment variable to some simple path that has no non ascii characters in it, like c:\temp\calibre
kovidgoyal is offline   Reply With Quote
Old 08-04-2011, 09:11 PM   #3
simplyZen
Junior Member
simplyZen began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jan 2011
Device: nook
Thanks. It works perfectly again after changing temp directory!
simplyZen 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
How do I make all .pdf's in my calibre library open in calibre instead of preview morbo3000 Library Management 9 07-30-2011 10:39 AM
903 epub books no longer open E1S PocketBook 14 02-01-2011 05:23 PM
PRS-950 Can't open epub emonti8384 Sony Reader 11 12-16-2010 06:13 PM
"PK": Only text when I open in Sigil an ePub file generated with Calibre Terisa de morgan Sigil 3 12-14-2009 11:24 AM
sigil doesn't open epub file cyberbaffled Sigil 8 11-10-2009 03:28 PM


All times are GMT -4. The time now is 07:18 PM.


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