View Single Post
Old 02-29-2016, 06:39 PM   #226
surquizu
Evangelist
surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.
 
surquizu's Avatar
 
Posts: 411
Karma: 902071
Join Date: Jun 2008
Location: Zaragoza (Spain)
Device: prs-505, kobo auraHD, kobo auraH2O, kobo Glo HD, kobo aura ONE
I think that the penelope version 3 no work well for kobo.

(or maybe I do something wrong)

I created the same dictionary "dichtml" from a stardict dictionary with both versions without errors. The ereader (aura H2o and Glo HD with v 3.19.5761) detected well done the dictionary made with penelope v.2.0.0 but does not detect the dictionary made with penelope 3.1.2

I use python 2.7 in Windows 10

cmd penelope 3.1.2:

Code:
C:\Python27\Scripts>python penelope -i harraps.zip -j stardict -f en -t es -p kobo -o dicthtml-en-es
[INFO] Reading input file(s)...
[INFO] Reading input file(s)... done
[INFO] Writing output file(s)...
[INFO] Writing output file(s)... done
[INFO] The following file(s) have been created:
[INFO]   dicthtml-en-es.zip
cmd penelope 2.0.0:

Code:
C:\penelope120dictzip-marisa>penelope.py -p harraps -f en -t es --output-kobo
[INFO] Input dictionary has sequence type 'h'.
[INFO] Starting conversion with the following parameters:

[INFO] Dictionary file: dicthtml-en-es
[INFO] Index file:      words
[INFO] Language from:   en
[INFO] Language to:     es
[INFO] License:         GNU GPL 3
[INFO] Copyright:       GNU GPL 3
[INFO] Title:           Dictionary en -> es
[INFO] Description:     Dictionary en -> es
[INFO] Year:            2012

[INFO] Reading input dictionaries...
[INFO] Parsing the input data...
[INFO] Using the built-in parser...
[INFO] Outputting in Kobo format to file...
[INFO] Creating compressed index file words...
[INFO] Creating zip file dicthtml-en-es.zip...
[INFO] File dicthtml-en-es.zip created successfully!
[INFO] File dicthtml-en-es.zip created successfully!

work well penelope 3 for you?
surquizu is offline   Reply With Quote