View Single Post
Old 04-17-2015, 07:08 AM   #108
mietek81
Connoisseur
mietek81 , Klaatu Barada Niktu!mietek81 , Klaatu Barada Niktu!mietek81 , Klaatu Barada Niktu!mietek81 , Klaatu Barada Niktu!mietek81 , Klaatu Barada Niktu!mietek81 , Klaatu Barada Niktu!mietek81 , Klaatu Barada Niktu!mietek81 , Klaatu Barada Niktu!mietek81 , Klaatu Barada Niktu!mietek81 , Klaatu Barada Niktu!mietek81 , Klaatu Barada Niktu!
 
Posts: 83
Karma: 5414
Join Date: Mar 2013
Location: CK, Poland
Device: Kobo Glo, H2O
I am having this error when trying to merge several stardict dictionaries into one in stardict format:
Code:
michal@konrad ~/penelope/penelope-master/src
$ python penelope.py --sd -p /cygdrive/f/Pobrania/Gotowe/_dict/moje/SJP\ 1.0\ 2006/sjp-nc,/cygdrive/f/Pobrania/Gotowe/_dict/moje/SF\ 1.0\ 2006/sf-nc,/cygdrive/f/Pobrania/Gotowe/_dict/moje/SWB\ 1.0\ 2006/slo-nc,/cygdrive/f/Pobrania/Gotowe/_dict/moje/SWO\ 1.0\ 2006/swo-nc -f pl -t pl --output-sd
[INFO] Input dictionary has sequence type 'h'.
[INFO] Input dictionary does not have a synonym file.
[INFO] Input dictionary has sequence type 'h'.
[INFO] Input dictionary does not have a synonym file.
[INFO] Input dictionary has sequence type 'h'.
[INFO] Input dictionary does not have a synonym file.
[INFO] Input dictionary has sequence type 'h'.
[INFO] Input dictionary does not have a synonym file.
[INFO] Starting conversion with the following parameters:

[INFO] Dictionary file: new./cygdrive/f/Pobrania/Gotowe/_dict/moje/SJP 1.0 2006/sjp-nc.dict
[INFO] Index file:      new./cygdrive/f/Pobrania/Gotowe/_dict/moje/SJP 1.0 2006/sjp-nc.idx
[INFO] Language from:   pl
[INFO] Language to:     pl
[INFO] License:         GNU GPL 3
[INFO] Copyright:       GNU GPL 3
[INFO] Title:           Dictionary pl -> pl
[INFO] Description:     Dictionary pl -> pl
[INFO] Year:            2012

[INFO] Reading input dictionaries...
[INFO] Parsing the input data...
[INFO] Using the built-in parser...
[INFO] Outputting in StarDict format to file...
Traceback (most recent call last):
  File "penelope.py", line 2191, in <module>
    main()
  File "penelope.py", line 2147, in main
    write_to_stardict_format(config, parsed_data, debug)
  File "penelope.py", line 617, in write_to_stardict_format
    dictionary_file = open(dictionary_filename, "wb")
IOError: [Errno 2] No such file or directory: 'new./cygdrive/f/Pobrania/Gotowe/_dict/moje/SJP 1.0 2006/sjp-nc.dict'
Is it because of spaces in directory name? Or maybe rather something else as with the same input dictionaries I created a Kobo version of merged dictionary.

Last edited by mietek81; 04-17-2015 at 07:10 AM.
mietek81 is offline   Reply With Quote