Weitian Leung
Weitian Leung
I add `log.Println("hello" + os.Getenv("XDG_CURRENT_DESKTOP") + ">>")`, and grep the log > Mar 04 20:43:22 ooxx bing-wallpaper[1633]: 2018/03/04 20:43:22 hello>> My systemd version is 237.64... Tested serveral other env, all...
Found a solution from [ArchWiki](https://wiki.archlinux.org/index.php/Systemd/User#Environment_variables)
As I mentioned, the for loop is the same here. My [project](https://github.com/timxx/qgitc/blob/no_git_process/qgitc/logview.py#L107) also uses for loop, but it just hangs the GUI thread. On windows platform it even worse compare...
I have the same problem, it seems that the checker has not been fixed.
检查下你安装的WPS路径在哪,是否有librpcwpsapi_sysqt5.so(正常路径应该在/opt/kingsoft/wps-office/office6/librpcwpsapi_sysqt5.so) PS,最新版本WPS默认带有(仅x64,arm mips之类貌似没有)
没有deepin环境,但是这个路径并非常规的路径,建议先指定 > LD_LIBRARY_PATH=/opt/apps/cn.wps.wps-office/files/kingsoft/wps-office/office6 看看有没有效果 有效果的话可以临时修改一下rpath: ``` sh patchelf --set-rpath '$ORIGIN:/opt/apps/cn.wps.wps-office/files/kingsoft/wps-office/office6' rpcwpsapi.so patchelf --set-rpath '$ORIGIN:/opt/apps/cn.wps.wps-office/files/kingsoft/wps-office/office6' rpcwppapi.so patchelf --set-rpath '$ORIGIN:/opt/apps/cn.wps.wps-office/files/kingsoft/wps-office/office6' rpcetapi.so patchelf --set-rpath '$ORIGIN:/opt/apps/cn.wps.wps-office/files/kingsoft/wps-office/office6' common.so ``` PS,这几个so为pywpsrpc带的,在python安装目录或者用户目录的site-packages/pywpsrpc目录里(看你安装pywpsrpc到系统还是用户目录) 都不行的话建议先通过官网下载安装试试 PS,需要先确保接受了用户许可协议,且是多组件模式(整合模式有BUG,WPS端的问题)
通常不同类型的文档可以合在一起(比如WPS跟ET的)就是整合,默认是整合模式吧没记错的话 启动后点那个设置按钮,找到切换窗口管理模式可以切换。。
这个目前貌似没办法实现,你可以向WPS官方反馈一下这问题 LoL
使用git取最新代码试试?
研究了下,发现是SIP >= 6.6版本的问题,暂时没有好的解决办法,你可以先将SIP降级到6.5的版本 `pip install sip==6.5.1`