vufa / deepin-wine-wechat-arch

Tencent WeChat on Deepin Wine(com.qq.weixin.deepin) For Archlinux
https://aur.archlinux.org/packages/deepin-wine-wechat/
1.13k stars 59 forks source link

打开时闪退 #286

Open wanstu opened 1 year ago

wanstu commented 1 year ago

今天用时闪退,卸载重新安装时遇到了md5sums验证错误 于是下载了deepin-wine-wechat-3.9.0.28-3-x86_64.pkg.tar.zst 本地安装 但还是闪退 运行以后弹出正在初始化wine随后该弹窗消失 [situ@wanqq ~]$ /opt/apps/com.qq.weixin.deepin/files/run.sh ==> Backing up fonts ... ==> Deploying /home/situ/.deepinwine/Deepin-WeChat ... ==> Launching c:/Program Files/Tencent/WeChatSetup-3.9.0.28.exe ... Don't use public dir Run Deepin-WeChat 3.4.0.38deepin6 c:/Program Files/Tencent/WeChatSetup-3.9.0.28.exe run Deepin-WeChat progress pid

(zenity:70734): Gtk-WARNING **: 17:32:49.844: Theme parsing error: gtk.css:1649:16: '-gtk-icon-size' is not a valid property name

(zenity:70734): Gtk-WARNING **: 17:32:49.844: Theme parsing error: gtk.css:1652:16: '-gtk-icon-size' is not a valid property name CallApp Deepin-WeChat arg count 1: c:/Program Files/Tencent/WeChatSetup-3.9.0.28.exe Don't use public dir 2023年 05月 07日 星期日 17:32:51 CST:kill Deepin-WeChat block 2023年 05月 07日 星期日 17:32:51 CST:tag bottle: /home/situ/.deepinwine/Deepin-WeChat /usr/bin/env: "python2": 没有那个文件或目录grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ xargs: warning: options --max-lines and --replace/-I/-i are mutually exclusive, ignoring previous --max-lines value grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ xargs: warning: options --max-lines and --replace/-I/-i are mutually exclusive, ignoring previous --max-lines value grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ xargs: warning: options --max-lines and --replace/-I/-i are mutually exclusive, ignoring previous --max-lines value grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ xargs: warning: options --max-lines and --replace/-I/-i are mutually exclusive, ignoring previous --max-lines value grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ xargs: warning: options --max-lines and --replace/-I/-i are mutually exclusive, ignoring previous --max-lines value grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ xargs: warning: options --max-lines and --replace/-I/-i are mutually exclusive, ignoring previous --max-lines value grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ xargs: warning: options --max-lines and --replace/-I/-i are mutually exclusive, ignoring previous --max-lines value grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ xargs: warning: options --max-lines and --replace/-I/-i are mutually exclusive, ignoring previous --max-lines value grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ xargs: warning: options --max-lines and --replace/-I/-i are mutually exclusive, ignoring previous --max-lines value grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ 2023年 05月 07日 星期日 17:32:51 CST:active bottles: 2023年 05月 07日 星期日 17:32:51 CST:try to kill /home/situ/.deepinwine/Deepin-WeChat 2023年 05月 07日 星期日 17:32:51 CST:kill /home/situ/.deepinwine/Deepin-WeChat by /opt/deepin-wine6-stable/bin/wineserver.real grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ xargs: warning: options --max-lines and --replace/-I/-i are mutually exclusive, ignoring previous --max-lines value grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ xargs: warning: options --max-lines and --replace/-I/-i are mutually exclusive, ignoring previous --max-lines value grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ xargs: warning: options --max-lines and --replace/-I/-i are mutually exclusive, ignoring previous --max-lines value grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ xargs: warning: options --max-lines and --replace/-I/-i are mutually exclusive, ignoring previous --max-lines value grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ xargs: warning: options --max-lines and --replace/-I/-i are mutually exclusive, ignoring previous --max-lines value grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ xargs: warning: options --max-lines and --replace/-I/-i are mutually exclusive, ignoring previous --max-lines value grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ xargs: warning: options --max-lines and --replace/-I/-i are mutually exclusive, ignoring previous --max-lines value grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ xargs: warning: options --max-lines and --replace/-I/-i are mutually exclusive, ignoring previous --max-lines value grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ xargs: warning: options --max-lines and --replace/-I/-i are mutually exclusive, ignoring previous --max-lines value grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ cat: /proc/71033/maps: 没有那个文件或目录grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ cat: /proc/71033/cmdlinexargs: warning: options --max-lines and --replace/-I/-i are mutually exclusive, ignoring previous --max-lines value : 没有那个文件或目录grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ cat: /proc/71033/maps: 没有那个文件或目录grep: 警告:/ 前有多余的 \ kill 70579 for /home/situ/.deepinwine/Deepin-WeChat /usr/bin/deepin-wine6-stable:行 75: 70579 已杀死 WINEPREFIX=$wineprefix WINELOADER=$wineloader WINEDEBUG=$winedebug $wine "$@" kill 70589 for /home/situ/.deepinwine/Deepin-WeChat kill 70593 for /home/situ/.deepinwine/Deepin-WeChat kill 70596 for /home/situ/.deepinwine/Deepin-WeChat /opt/deepinwine/tools/kill.sh: 第 205 行:kill: (70596) - 没有那个进程/opt/deepinwine/tools/kill.sh:行65: /proc/70603/environ: 没有那个文件或目录cat: /proc/70603/maps: 没有那个文件或目录grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ cat: /proc/70603/cmdlinexargs: warning: options --max-lines and --replace/-I/-i are mutually exclusive, ignoring previous --max-lines value : 没有那个文件或目录grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ cat: /proc/70603/maps: 没有那个文件或目录grep: 警告:/ 前有多余的 \ /opt/deepinwine/tools/kill.sh:行65: /proc/70609/environ: 权限不够grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ xargs: warning: options --max-lines and --replace/-I/-i are mutually exclusive, ignoring previous --max-lines value grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ /opt/deepinwine/tools/kill.sh:行65: /proc/70623/environ: 没有那个文件或目录cat: /proc/70623/maps: 没有那个文件或目录grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ cat: /proc/70623/cmdlinexargs: warning: options --max-lines and --replace/-I/-i are mutually exclusive, ignoring previous --max-lines value : 没有那个文件或目录grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ cat: /proc/70623/maps: 没有那个文件或目录grep: 警告:/ 前有多余的 \ kill 70628 for /home/situ/.deepinwine/Deepin-WeChat kill 70630 for /home/situ/.deepinwine/Deepin-WeChat kill 70632 for /home/situ/.deepinwine/Deepin-WeChat /opt/deepinwine/tools/kill.sh:行65: /proc/70644/environ: 没有那个文件或目录cat: /proc/70644/maps: 没有那个文件或目录grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ cat: /proc/70644/cmdlinexargs: warning: options --max-lines and --replace/-I/-i are mutually exclusive, ignoring previous --max-lines value : 没有那个文件或目录grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ grep: 警告:/ 前有多余的 \ cat: /proc/70644/maps: 没有那个文件或目录grep: 警告:/ 前有多余的 \ situ 71487 70764 0 17:32 pts/1 00:00:00 grep -E situ.exe. Starting process c:/Program Files/Tencent/WeChatSetup-3.9.0.28.exe ... ==> Restoring fonts ... cp: 不替换 '/home/situ/.deepinwine/Deepin-WeChat/drive_c/windows/Fonts/arial.ttf' cp: 不替换 '/home/situ/.deepinwine/Deepin-WeChat/drive_c/windows/Fonts/msyh.ttf' cp: 不替换 '/home/situ/.deepinwine/Deepin-WeChat/drive_c/windows/Fonts/wqy-microhei.ttc' ==> Creating /home/situ/.deepinwine/Deepin-WeChat/PACKAGE_VERSION ... /usr/bin/deepin-wine6-stable:行46: arch:未找到命令/usr/bin/deepin-wine6-stable: 第 50 行:[: 参数太多 [situ@wanqq ~]$ wine version: 6.0

GoodbyeNJN commented 1 year ago

微信的安装路径跟版本号挂钩了,比如 C:\Program Files (x86)\Tencent\WeChat\[3.9.2.23],打包时会在启动脚本内硬编码一个微信版本号。

在安装或使用时如果微信更新了版本,安装路径就会发生改变,启动脚本也就找不到路径失效了,也就会出现你现在打开闪退的情况。

可以克隆本项目,然后本地合并我的 PR,再在项目目录下运行 ./gen.sh -u <version>,其中 <version> 是最新的微信版本号,脚本运行完再 makepkg -si

这方法我本地测试没问题,你可以试下,如果有问题欢迎反馈。

wanstu commented 1 year ago

@GoodbyeNJN 按您的方法安装后重启一次后系统可以使用了 真的非常感谢

sunvim commented 1 year ago

微信的安装路径跟版本号挂钩了,比如 C:\Program Files (x86)\Tencent\WeChat\[3.9.2.23],打包时会在启动脚本内硬编码一个微信版本号。

在安装或使用时如果微信更新了版本,安装路径就会发生改变,启动脚本也就找不到路径失效了,也就会出现你现在打开闪退的情况。

可以克隆本项目,然后本地合并我的 PR,再在项目目录下运行 ./gen.sh -u <version>,其中 <version> 是最新的微信版本号,脚本运行完再 makepkg -si

这方法我本地测试没问题,你可以试下,如果有问题欢迎反馈。 用的你repo 能成功安装,但还是启动不了,没有任何错误提示信息。。。,命令行启动出现这个错误:/usr/bin/deepin-wine6-stable:行46: arch:未找到命令/usr/bin/deepin-wine6-stable: 第 50 行:[: 参数太多

dongxicc commented 1 year ago

修改/opt/apps/com.qq.weixin.deepin/files/run.sh 微信版本号,版本号比对参考 https://github.com/vufa/deepin-wine-wechat-arch/issues/282#issuecomment-1510117957