[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 有道词典 启动报错



On Thu, Sep 19, 2019 at 9:57 AM Faris Xiao <atzlinux@yeah.net> wrote:
[...]
>   File "/data/share/youdao-dict/dae/ewmh.py", line 119, in

diff -u -r youdao-dict_1.1.0-0-deepin_amd64/usr/share/youdao-dict/dae/ewmh.py
youdao-dict_1.0.7~b2_amd64/usr/share/youdao-dict/dae/ewmh.py
--- youdao-dict_1.1.0-0-deepin_amd64/usr/share/youdao-dict/dae/ewmh.py
 2015-12-30 10:06:21.000000000 +0800
+++ youdao-dict_1.0.7~b2_amd64/usr/share/youdao-dict/dae/ewmh.py
 2017-02-03 16:36:06.000000000 +0800
@@ -116,7 +116,7 @@
             self.display.get_atom(property_type),
             Xatom.STRING,
             8,
-            property_content,
+            property_content.encode('ascii'),
             )
         self.display.sync()

可以去deepin下载没有问题的版本,
http://mirrors.ustc.edu.cn/deepin/pool/non-free/y/youdao-dict/youdao-dict_1.0.7~b2_amd64.deb

-- 
Shengjing Zhu


Reply to: