avidyalalala / sunpinyin

Automatically exported from code.google.com/p/sunpinyin
0 stars 0 forks source link

fcitx-sunpinyin 0.3.7 无法导入 sogou 细胞词库了 #296

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
导入工具是 http://code.google.com/p/sunpinyin/downloads/list 中的 
sunpinyin_importer。

以前版本的(在 squeeze 中的)支持导入的,现在不支持了:

 % ./import_sogou_celldict.py ../*.scel
Traceback (most recent call last):
  File "./import_sogou_celldict.py", line 81, in <module>
    main()
  File "./import_sogou_celldict.py", line 78, in main
    import_to_sunpinyin_user_dict (generator)
  File "/home/someuser/sunpinyin/sunpinyin_importer/importer.py", line 58, in import_to_sunpinyin_user_dict
    sysdict = load_system_dict()
  File "/home/someuser/sunpinyin/sunpinyin_importer/importer.py", line 38, in load_system_dict
    f = open (sysdict_path, "rb")
IOError: [Errno 2] No such file or directory: 
'/usr/lib/sunpinyin/data/pydict_sc.bin'

不知道是否是打包问题。

Original issue reported on code.google.com by sci.fr...@gmail.com on 3 Aug 2012 at 11:22