View Single Post
Old 12-28-2008, 08:04 AM   #103
myway
Junior Member
myway began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Dec 2008
Device: PRS-505
Running issues

Hi all

i both use Mac & Winxp but got same problems

Quote:
Traceback (most recent call last):
File "/Volumes/PielrfGUI/PielrfGUI.app/Contents/Resources/pielrf/pielrf", line 130, in <module>
from pielrf.chapterbook import *
ImportError: No module named pielrf.chapterbook
i installed python 2.5 and run python -version is ok.

What can i do ?




ok, i tired again and run "sudo python setup.py install" under PielrfGUI folder. Then i try to convert the txt but get this error msg:

Quote:
Traceback (most recent call last):
File "/Volumes/PielrfGUI/PielrfGUI.app/Contents/Resources/pielrf/pielrf", line 919, in <module>
pielrf()
File "/Volumes/PielrfGUI/PielrfGUI.app/Contents/Resources/pielrf/pielrf", line 656, in pielrf
book = ChapterBook(cmdline)
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/pielrf/chapterbook.py", line 145, in __init__
options.title = convert_title_text(options.title)
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/pielrf/textconvert.py", line 366, in convert_button_text
line = convert_misc(line)
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/pielrf/textconvert.py", line 333, in convert_misc
line = line.replace("---", u"\u2013")
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe5 in position 0: ordinal not in range(128)

Last edited by myway; 12-28-2008 at 08:17 AM.
myway is offline   Reply With Quote