What steps will reproduce the problem?
1. Dwonload
http://downloads.sourceforge.net/xdxf/stardict-comn_dls03_mwc-2.4.2.tar.bz2
2. Convert using DictUnifier
3. Open Apple Dictionary
What is the expected output? What do you see instead?
I should be able to see the entry, but only get Format Not Support message.
What version of the product are you using? On what operating system?
iMac, Mac OS X 10.5.6
Please provide any additional information below.
Out put of DictUnifier -->
<?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>Merriam-Webster Collegiate, 11th Edition</string>
<key>CFBundleIdentifier</key>
<string>com.apple.dictionary.mwc</string>
<key>CFBundleName</key>
<string>Merriam-Webster Collegiate, 11th Edition</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-mwc ~/.sdconv
- Building mwc.dictionary.
- Cleaning objects directory.
- Preparing dictionary template.
- Preprocessing dictionary sources.
- Extracting index data.
- Preparing dictionary bundle.
- Adding body data.
- Preparing index data.
2009-05-02 16:36:52.047 add_supplementary_key[749:10b] *** Terminating app due
to
uncaught exception 'NSRangeException', reason: '*** -[NSCFString
characterAtIndex:]: Range or
index out of bounds'
2009-05-02 16:36:52.049 add_supplementary_key[749:10b] Stack: (
2484838667,
2476539451,
2484838123,
2484838186,
2508153795
)
/Applications/DictUnifier.app/Contents/Resources/sdconv-current/bin/build_dict.s
h: line 131:
749 Trace/BPT trap "$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 [telepath 17239953 0 telepath]
- Building key_text index.
- Building reference index.
- Fixing dictionary property.
- Copying CSS.
- Finished building objects/mwc.dictionary.
"/Applications/DictUnifier.app/Contents/Resources/sdconv-current/bin/build_dict.
sh" mwc
Dictionary.xml Dictionary.css DictInfo.plist
Done.
Installing into ~/Library/Dictionaries.
Done.
To test the new dictionary, try Dictionary.app.
~/.sdconv
ifo_file = .sdconv-temp/stardict-mwc-2.4.2/mwc.ifo
dict_id = mwc
DYLD_LIBRARY_PATH='/Applications/DictUnifier.app/Contents/Resources/sdconv-curre
nt/bin'
'/Applications/DictUnifier.app/Contents/Resources/sdconv-current/bin/sdconv'
'.sdconv-
temp/stardict-mwc-2.4.2/mwc.ifo' '.sdconv-temp/dict-mwc/Dictionary.xml'
dict_name = Merriam-Webster Collegiate, 11th Edition
Original issue reported on code.google.com by Kevwan...@gmail.com on 2 May 2009 at 8:45
Original issue reported on code.google.com by
Kevwan...@gmail.com
on 2 May 2009 at 8:45