loadmemo / mac-dictionary-kit

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

unable to parse objects/dict.plist #5

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. choose dict.tar.bz2
2. convert
3.

What is the expected output? What do you see instead?
a corresponding dictionary file should be generated, but turns out nth... nth 
is out as a dictionary 
file in ~/Library/Dictionaries

What version of the product are you using? On what operating system?
tried both sdconv 0.3 and DictUnifier 1.1

XCode 3.1
Leopard 10.5.2

Please provide any additional information below.
info_file = .sdconv-temp/stardict-21shijishuangxiangcidian-big5-
2.4.2/21shijishuangxiangcidian-big5.ifo
dict_id = 21shijishuangxiangcidian-big5
DYLD_LIBRARY_PATH='/Users/Derek/Downloads/sdconv/bin' 
'/Users/Derek/Downloads/sdconv/bin/sdconv' '.sdconv-temp/stardict-
21shijishuangxiangcidian-big5-2.4.2/21shijishuangxiangcidian-big5.ifo' 
'.sdconv-temp/dict-
21shijishuangxiangcidian-big5/Dictionary.xml'
dict_name = 21世紀英漢漢英雙向詞典
<?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>21世紀英漢漢英雙向詞典</string>
    <key>CFBundleIdentifier</key>
    <string>com.apple.dictionary.21shijishuangxiangcidian-big5</string>
    <key>CFBundleName</key>
    <string>21世紀英漢漢英雙向詞典</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>
~/Downloads/.sdconv-temp/dict-21shijishuangxiangcidian-big5 ~/Downloads
"/Users/Derek/Downloads/sdconv/bin/build_dict.sh" 21shijishuangxiangcidian-big5 
Dictionary.xml Dictionary.css DictInfo.plist
- Building 21shijishuangxiangcidian-big5.dictionary.
- Cleaning objects directory.
- Preparing dictionary template.
http://www.apple.com/DTDs/PropertyList-1.0.dtd:1: parser error : Content error 
in the external 
subset
?
^
unable to parse objects/dict.plist
Error.
Done.
Installing into ~/Library/Dictionaries.
ditto: can't get real path for source
Done.
To test the new dictionary, try Dictionary.app.

Original issue reported on code.google.com by derektse...@gmail.com on 22 Apr 2008 at 7:34

GoogleCodeExporter commented 9 years ago
I have just updated to leopard 10.5.4,with the same version of xcode,sdconv and 
dictunifier,
and I cannot convert any dictionaries which were converted quite well before, 
with exactly the
same error message. So I guess there must be a reason, but not simply 
coicidence.

Original comment by xuhaosh...@gmail.com on 5 Jul 2008 at 11:52