View Single Post
Old 08-25-2013, 10:17 PM   #43
inlunulae
Junior Member
inlunulae began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Aug 2013
Device: Kobo
Hi AlPe,

Thank you for your swift response =)

I do apologize for not writing back earlier; had an extremely busy few weeks and had to put aside this project.

I just wanted to let you know that the code you supplied worked well---thank you.

I did get an output message (below) but the dictionary files were generated without problem (the Kobo app isn't working well with the files, but I think that's a Kobo/Android issue). Just wanted to say thanks for all your help and for writing Penelope!

Quote:
[INFO] Creating compressed index file words...
Traceback (most recent call last):
File "penelope.py", line 2092, in <module>
main()
File "penelope.py", line 2068, in main
write_to_kobo_format(config, parsed_data, debug)
File "penelope.py", line 1217, in write_to_kobo_format
p = subprocess.Popen([MARISA_BUILD_PATH, "-l", "-o", index_filename], stdout=subprocess.PIPE, stdin=subprocess.PIPE, stderr=subprocess.PIPE)
File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
inlunulae is offline   Reply With Quote