loadmemo / mac-dictionary-kit

Automatically exported from code.google.com/p/mac-dictionary-kit
0 stars 0 forks source link

can't convert stardict-babylon-Babylon_Greek_English-2.4.2.tar.bz2 #32

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. convert the file stardict-babylon-Babylon_Greek_English-2.4.2.tar.bz2 using 
Dictunifier
2.
3.

What is the expected output? What do you see instead?
Converted dictionary does not contain all words, 90% are missing.

011-07-30 21:39:46.249 add_supplementary_key[2269:18103] *** Terminating app 
due to uncaught exception 'NSRangeException', reason: '-[__NSCFString 
characterAtIndex:]: Range or index out of bounds'

What version of the product are you using? On what operating system?
Macosx 10.6.8

Please provide any additional information below.
dict_name = Babylon
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" 
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>CFBundleDevelopmentRegion</key>
    <string>zh-Hans</string>
    <key>CFBundleDisplayName</key>
    <string>Babylon</string>
    <key>CFBundleIdentifier</key>
    <string>com.apple.dictionary.Babylon_Greek_English</string>
    <key>CFBundleName</key>
    <string>Babylon</string>
    <key>CFBundleShortVersionString</key>
    <string>1.0</string>
    <key>DCSDictionaryCopyright</key>
    <string>GNU General Public License</string>
    <key>DCSDictionaryManufacturerName</key>
    <string>stardict</string>
</dict>
</plist>
~/.sdconv/.sdconv-temp/dict-Babylon_Greek_English ~/.sdconv
"/Volumes/Data/Users/jtsigros/sdconv-0.3/bin/build_dict.sh" 
Babylon_Greek_English Dictionary.xml Dictionary.css DictInfo.plist
- Building Babylon_Greek_English.dictionary.
- Cleaning objects directory.
- Preparing dictionary template.
- Preprocessing dictionary sources.
- Extracting index data.
- Preparing dictionary bundle.
- Adding body data.
- Preparing index data.
2011-07-30 21:39:46.249 add_supplementary_key[2269:18103] *** Terminating app 
due to uncaught exception 'NSRangeException', reason: '-[__NSCFString 
characterAtIndex:]: Range or index out of bounds'
*** Call stack at first throw:
(
    0   CoreFoundation                      0x016dee77 __raiseError + 231
    1   libobjc.A.dylib                     0x014c0149 objc_exception_throw + 155
    2   CoreFoundation                      0x01646e89 +[NSException raise:format:arguments:] + 137
    3   CoreFoundation                      0x01646df9 +[NSException raise:format:] + 57
    4   CoreFoundation                      0x01600d6d -[__NSCFString characterAtIndex:] + 109
    5   add_supplementary_key               0x00001b1b add_supplementary_key + 2843
    6   add_supplementary_key               0x000017de add_supplementary_key + 2014
)
/Volumes/Data/Users/jtsigros/sdconv-0.3/bin/build_dict.sh: line 131:  2269 
Trace/BPT trap: 5       "$DICT_BUILD_TOOL_BIN"/add_supplementary_key < 
$OBJECTS_DIR/normalized_key_body_list_1.txt > 
$OBJECTS_DIR/normalized_key_body_list_2.txt
*** Unknown format. Skipped [έχουμε]
- Building key_text index.
- Building reference index.
- Fixing dictionary property.
- Copying CSS.
- Finished building objects/Babylon_Greek_English.dictionary.
Done.
Installing into ~/Library/Dictionaries.
Done.
To test the new dictionary, try Dictionary.app.
~/.sdconv

Original issue reported on code.google.com by jtsig...@gmail.com on 30 Jul 2011 at 11:56

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Hi,

This is happening to me using Dictunifier 2.1
I can't seem to convert the dictionary. When using the dictionary app and 
searching for a greek work, the translation states "format not supported"

Im using OSX Lion 10.7.2

Original comment by jtsig...@gmail.com on 16 Jan 2012 at 12:26