View Single Post
Old 07-14-2015, 11:58 PM   #1180
jemc
Quietly Lurking...
jemc ought to be getting tired of karma fortunes by now.jemc ought to be getting tired of karma fortunes by now.jemc ought to be getting tired of karma fortunes by now.jemc ought to be getting tired of karma fortunes by now.jemc ought to be getting tired of karma fortunes by now.jemc ought to be getting tired of karma fortunes by now.jemc ought to be getting tired of karma fortunes by now.jemc ought to be getting tired of karma fortunes by now.jemc ought to be getting tired of karma fortunes by now.jemc ought to be getting tired of karma fortunes by now.jemc ought to be getting tired of karma fortunes by now.
 
jemc's Avatar
 
Posts: 169
Karma: 2514918
Join Date: Dec 2009
Location: Wherever life takes me...
Device: Kindles, iDevices, others
Quote:
Originally Posted by KevinH View Post
Hi,
No, it is never supposed to crash! What is the error message and backtrace with Python 3.4?

Have you simply tried running via the GUI by running python on KindleUnpack.pyw. The gui spools the stdout to a scroll text pane.

Thanks,

KevinH
Sorry, my dry sense of humor in the 'crash' remark didn't carry through.

Here is the error using Python.org v3.4.3:

Spoiler:
Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.

C:\Temp>python lib\kindleunpack.py -h
KindleUnpack v0.80
Traceback (most recent call last):
File "lib\kindleunpack.py", line 1016, in <module>
sys.exit(main())
File "lib\kindleunpack.py", line 951, in main
print(" Based on initial mobipocket version Copyright \xa9 2009 Charles M.
Hannum <root@ihack.net>")
File "C:\Python34\lib\encodings\cp437.py", line 19, in encode
return codecs.charmap_encode(input,self.errors,encoding_m ap)[0]
UnicodeEncodeError: 'charmap' codec can't encode character '\xa9' in position 49
: character maps to <undefined>



The gui version works fine via command-line startup as well as via mouse-click.
jemc is offline   Reply With Quote