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

奇数次启动安装微信,偶数次启动无反应 #217

Open czyczk opened 2 years ago

czyczk commented 2 years ago

操作系统: Manjaro KDE

描述: 最近才出现的情况。第一次启动安装微信,第二次启动无反应,第三次又会回到安装微信。使用 yay / paru 安装,没有修改过安装路径。

偶数次启动的终端打印如下:

"/opt/apps/com.qq.weixin.deepin/files/run.sh"
Don't use public dir
Run Deepin-WeChat 3.4.0.38deepin6 c:/Program Files/Tencent/WeChat/WeChat.exe
run Deepin-WeChat progress pid 
total 0
lrwxrwxrwx 1 username username 10  5月  3 11:32 c: -> ../drive_c
lrwxrwxrwx 1 username username 10  5月  3 11:32 com1 -> /dev/ttyS0
lrwxrwxrwx 1 username username 10  5月  3 11:32 com10 -> /dev/ttyS9
lrwxrwxrwx 1 username username 11  5月  3 11:32 com11 -> /dev/ttyS10
lrwxrwxrwx 1 username username 11  5月  3 11:32 com12 -> /dev/ttyS11
lrwxrwxrwx 1 username username 11  5月  3 11:32 com13 -> /dev/ttyS12
lrwxrwxrwx 1 username username 11  5月  3 11:32 com14 -> /dev/ttyS13
lrwxrwxrwx 1 username username 11  5月  3 11:32 com15 -> /dev/ttyS14
lrwxrwxrwx 1 username username 11  5月  3 11:32 com16 -> /dev/ttyS15
lrwxrwxrwx 1 username username 11  5月  3 11:32 com17 -> /dev/ttyS16
lrwxrwxrwx 1 username username 11  5月  3 11:32 com18 -> /dev/ttyS17
lrwxrwxrwx 1 username username 11  5月  3 11:32 com19 -> /dev/ttyS18
lrwxrwxrwx 1 username username 10  5月  3 11:32 com2 -> /dev/ttyS1
lrwxrwxrwx 1 username username 11  5月  3 11:32 com20 -> /dev/ttyS19
lrwxrwxrwx 1 username username 11  5月  3 11:32 com21 -> /dev/ttyS20
lrwxrwxrwx 1 username username 11  5月  3 11:32 com22 -> /dev/ttyS21
lrwxrwxrwx 1 username username 11  5月  3 11:32 com23 -> /dev/ttyS22
lrwxrwxrwx 1 username username 11  5月  3 11:32 com24 -> /dev/ttyS23
lrwxrwxrwx 1 username username 11  5月  3 11:32 com25 -> /dev/ttyS24
lrwxrwxrwx 1 username username 11  5月  3 11:32 com26 -> /dev/ttyS25
lrwxrwxrwx 1 username username 11  5月  3 11:32 com27 -> /dev/ttyS26
lrwxrwxrwx 1 username username 11  5月  3 11:32 com28 -> /dev/ttyS27
lrwxrwxrwx 1 username username 11  5月  3 11:32 com29 -> /dev/ttyS28
lrwxrwxrwx 1 username username 10  5月  3 11:32 com3 -> /dev/ttyS2
lrwxrwxrwx 1 username username 11  5月  3 11:32 com30 -> /dev/ttyS29
lrwxrwxrwx 1 username username 11  5月  3 11:32 com31 -> /dev/ttyS30
lrwxrwxrwx 1 username username 11  5月  3 11:32 com32 -> /dev/ttyS31
lrwxrwxrwx 1 username username 10  5月  3 11:32 com4 -> /dev/ttyS3
lrwxrwxrwx 1 username username 10  5月  3 11:32 com5 -> /dev/ttyS4
lrwxrwxrwx 1 username username 10  5月  3 11:32 com6 -> /dev/ttyS5
lrwxrwxrwx 1 username username 10  5月  3 11:32 com7 -> /dev/ttyS6
lrwxrwxrwx 1 username username 10  5月  3 11:32 com8 -> /dev/ttyS7
lrwxrwxrwx 1 username username 10  5月  3 11:32 com9 -> /dev/ttyS8
lrwxrwxrwx 1 username username  8  5月  3 11:32 d:: -> /dev/sr0
lrwxrwxrwx 1 username username 11  5月  3 11:32 y: -> /home/username
lrwxrwxrwx 1 username username  1  5月  3 11:32 z: -> /
CallApp Deepin-WeChat arg count 1: c:/Program Files/Tencent/WeChat/WeChat.exe
Don't use public dir
2022年 05月 03日 星期二 11:32:24 CST:kill Deepin-WeChat block
2022年 05月 03日 星期二 11:32:24 CST:tag bottle: /home/username/.deepinwine/Deepin-WeChat
xargs: warning: options --max-lines and --replace/-I/-i are mutually exclusive, ignoring previous --max-lines value
xargs: warning: options --max-lines and --replace/-I/-i are mutually exclusive, ignoring previous --max-lines value
xargs: warning: options --max-lines and --replace/-I/-i are mutually exclusive, ignoring previous --max-lines value
xargs: warning: options --max-lines and --replace/-I/-i are mutually exclusive, ignoring previous --max-lines value
xargs: warning: options --max-lines and --replace/-I/-i are mutually exclusive, ignoring previous --max-lines value
2022年 05月 03日 星期二 11:32:25 CST:active bottles: 
2022年 05月 03日 星期二 11:32:25 CST:try to kill /home/username/.deepinwine/Deepin-WeChat
/opt/deepinwine/tools/kill.sh: line 66: /proc/6666/environ: No such file or directory
cat: /proc/6666/maps: No such file or directory
cat: /proc/6666/cmdline: No such file or directory
xargs: warning: options --max-lines and --replace/-I/-i are mutually exclusive, ignoring previous --max-lines value
cat: /proc/6666/maps: No such file or directory
cat: /proc/1748/maps: Permission denied
xargs: warning: options --max-lines and --replace/-I/-i are mutually exclusive, ignoring previous --max-lines value
cat: /proc/1748/maps: Permission denied
xargs: warning: options --max-lines and --replace/-I/-i are mutually exclusive, ignoring previous --max-lines value
xargs: warning: options --max-lines and --replace/-I/-i are mutually exclusive, ignoring previous --max-lines value
xargs: warning: options --max-lines and --replace/-I/-i are mutually exclusive, ignoring previous --max-lines value
xargs: warning: options --max-lines and --replace/-I/-i are mutually exclusive, ignoring previous --max-lines value
xargs: warning: options --max-lines and --replace/-I/-i are mutually exclusive, ignoring previous --max-lines value
xargs: warning: options --max-lines and --replace/-I/-i are mutually exclusive, ignoring previous --max-lines value
cat: /proc/6691/maps: No such file or directory
cat: /proc/6691/cmdline: No such file or directory
xargs: warning: options --max-lines and --replace/-I/-i are mutually exclusive, ignoring previous --max-lines value
cat: /proc/6691/maps: No such file or directory
username       6870    6517  0 11:32 pts/2    00:00:00 grep -E username.*exe.*<defunct>
/opt/deepinwine/tools/run_v4.sh: line 135: cd: /home/username/.deepinwine/Deepin-WeChat/drive_c/Program Files/Tencent/WeChat: No such file or directory
wine: cannot find L"c:/Program Files/Tencent/WeChat/WeChat.exe"

补充说明: 没有修改过安装路径。奇数次安装后,日志所指文件夹下确有 wechat/wechat.exe,但偶数次启动的瞬间 wechat 文件夹被删除。

alienzj commented 2 years ago

何止这个问题,更新下 DPI 就会触发重新安装,更改下字体也会触发重新安装。

alienzj commented 2 years ago

这是个严重 bug, 需要紧急修复。

vufa commented 2 years ago

@alienzj 由 deepin-wine-helper 导致,参照 https://github.com/vufa/deepin-wine-wechat-arch/issues/213#issuecomment-1090485797 ,从AUR安装最新版 deepin-wine-wechat 试试

alienzj commented 2 years ago

@alienzj 由 deepin-wine-helper 导致,参照 #213 (comment) ,从AUR安装最新版 deepin-wine-wechat 试试

感谢!

askfiy commented 2 years ago

我也是这种情况,但我是手动 pacman -U 安装的,现在 AUR 没办法装 deepin-wine-wechat

==> 错误: 一个或多个文件没有通过有效性检查!
 -> 生成时出错: deepin-wine-wechat

我每次关闭微信后重新打开都要重新安装一遍 ..

能详细的说说怎么解决的吗 @alienzj @vufa

vufa commented 2 years ago

@askfiy 已经修复:https://github.com/vufa/deepin-wine-wechat-arch/commit/bc9d590bf2bcaec522ce8f5ce6a04e293c8d67cf

askfiy commented 2 years ago

更新后启动不了微信,双击图标没有任何反应 .. @vufa

vufa commented 2 years ago

@askfiy 在终端里运行试试:

/opt/apps/com.qq.weixin.deepin/files/run.sh
askfiy commented 2 years ago

@askfiy 在终端里运行试试:

/opt/apps/com.qq.weixin.deepin/files/run.sh

内容有点长 :

$ /opt/apps/com.qq.weixin.deepin/files/run.sh
==> ERROR: Missing /home/askfiy/.deepinwine/Deepin-WeChat/drive_c/Program Files/Tencent/WeChat/WeChat.exe, re-deploying ...
==> Backing up fonts ...
==> Deploying /home/askfiy/.deepinwine/Deepin-WeChat ...
==> Launching c:/Program Files/Tencent/WeChatSetup-3.7.0.29.exe ...
Don't use public dir
Run Deepin-WeChat 3.4.0.38deepin6 c:/Program Files/Tencent/WeChatSetup-3.7.0.29.exe
run Deepin-WeChat progress pid
总计 0
lrwxrwxrwx 1 askfiy askfiy 10  6月 2日 14:23 c: -> ../drive_c
lrwxrwxrwx 1 askfiy askfiy 10  6月 2日 14:23 com1 -> /dev/ttyS0
lrwxrwxrwx 1 askfiy askfiy 10  6月 2日 14:23 com10 -> /dev/ttyS9
lrwxrwxrwx 1 askfiy askfiy 11  6月 2日 14:23 com11 -> /dev/ttyS10
lrwxrwxrwx 1 askfiy askfiy 11  6月 2日 14:23 com12 -> /dev/ttyS11
lrwxrwxrwx 1 askfiy askfiy 11  6月 2日 14:23 com13 -> /dev/ttyS12
lrwxrwxrwx 1 askfiy askfiy 11  6月 2日 14:23 com14 -> /dev/ttyS13
lrwxrwxrwx 1 askfiy askfiy 11  6月 2日 14:23 com15 -> /dev/ttyS14
lrwxrwxrwx 1 askfiy askfiy 11  6月 2日 14:23 com16 -> /dev/ttyS15
lrwxrwxrwx 1 askfiy askfiy 11  6月 2日 14:23 com17 -> /dev/ttyS16
lrwxrwxrwx 1 askfiy askfiy 11  6月 2日 14:23 com18 -> /dev/ttyS17
lrwxrwxrwx 1 askfiy askfiy 11  6月 2日 14:23 com19 -> /dev/ttyS18
lrwxrwxrwx 1 askfiy askfiy 10  6月 2日 14:23 com2 -> /dev/ttyS1
lrwxrwxrwx 1 askfiy askfiy 11  6月 2日 14:23 com20 -> /dev/ttyS19
lrwxrwxrwx 1 askfiy askfiy 11  6月 2日 14:23 com21 -> /dev/ttyS20
lrwxrwxrwx 1 askfiy askfiy 11  6月 2日 14:23 com22 -> /dev/ttyS21
lrwxrwxrwx 1 askfiy askfiy 11  6月 2日 14:23 com23 -> /dev/ttyS22
lrwxrwxrwx 1 askfiy askfiy 11  6月 2日 14:23 com24 -> /dev/ttyS23
lrwxrwxrwx 1 askfiy askfiy 11  6月 2日 14:23 com25 -> /dev/ttyS24
lrwxrwxrwx 1 askfiy askfiy 11  6月 2日 14:23 com26 -> /dev/ttyS25
lrwxrwxrwx 1 askfiy askfiy 11  6月 2日 14:23 com27 -> /dev/ttyS26
lrwxrwxrwx 1 askfiy askfiy 11  6月 2日 14:23 com28 -> /dev/ttyS27
lrwxrwxrwx 1 askfiy askfiy 11  6月 2日 14:23 com29 -> /dev/ttyS28
lrwxrwxrwx 1 askfiy askfiy 10  6月 2日 14:23 com3 -> /dev/ttyS2
lrwxrwxrwx 1 askfiy askfiy 11  6月 2日 14:23 com30 -> /dev/ttyS29
lrwxrwxrwx 1 askfiy askfiy 11  6月 2日 14:23 com31 -> /dev/ttyS30
lrwxrwxrwx 1 askfiy askfiy 11  6月 2日 14:23 com32 -> /dev/ttyS31
lrwxrwxrwx 1 askfiy askfiy 10  6月 2日 14:23 com4 -> /dev/ttyS3
lrwxrwxrwx 1 askfiy askfiy 10  6月 2日 14:23 com5 -> /dev/ttyS4
lrwxrwxrwx 1 askfiy askfiy 10  6月 2日 14:23 com6 -> /dev/ttyS5
lrwxrwxrwx 1 askfiy askfiy 10  6月 2日 14:23 com7 -> /dev/ttyS6
lrwxrwxrwx 1 askfiy askfiy 10  6月 2日 14:23 com8 -> /dev/ttyS7
lrwxrwxrwx 1 askfiy askfiy 10  6月 2日 14:23 com9 -> /dev/ttyS8
lrwxrwxrwx 1 askfiy askfiy  8  6月 2日 14:23 d:: -> /dev/sr0
lrwxrwxrwx 1 askfiy askfiy 12  6月 2日 14:23 y: -> /home/askfiy
lrwxrwxrwx 1 askfiy askfiy  1  6月 2日 14:23 z: -> /
CallApp Deepin-WeChat arg count 1: c:/Program Files/Tencent/WeChatSetup-3.7.0.29.exe
Don't use public dir
2022年 06月 02日 星期四 14:23:55 CST:kill Deepin-WeChat block
2022年 06月 02日 星期四 14:23:55 CST:tag bottle: /home/askfiy/.deepinwine/Deepin-WeChat
/usr/bin/env: "python2": 没有那个文件或目录
2022年 06月 02日 星期四 14:23:55 CST:active bottles:
2022年 06月 02日 星期四 14:23:55 CST:try to kill /home/askfiy/.deepinwine/Deepin-WeChat
2022年 06月 02日 星期四 14:23:55 CST:kill /home/askfiy/.deepinwine/Deepin-WeChat by /opt/deepin-wine6-stable/bin/wineserver.real
xargs: warning: options --max-lines and --replace/-I/-i are mutually exclusive, ignoring previous --max-lines value
xargs: warning: options --max-lines and --replace/-I/-i are mutually exclusive, ignoring previous --max-lines value
xargs: warning: options --max-lines and --replace/-I/-i are mutually exclusive, ignoring previous --max-lines value
xargs: warning: options --max-lines and --replace/-I/-i are mutually exclusive, ignoring previous --max-lines value
xargs: warning: options --max-lines and --replace/-I/-i are mutually exclusive, ignoring previous --max-lines value
xargs: warning: options --max-lines and --replace/-I/-i are mutually exclusive, ignoring previous --max-lines value
xargs: warning: options --max-lines and --replace/-I/-i are mutually exclusive, ignoring previous --max-lines value
cat: /proc/103313/maps: 没有那个文件或目录
xargs: warning: options --max-lines and --replace/-I/-i are mutually exclusive, ignoring previous --max-lines value
cat: /proc/103313/cmdline: 没有那个文件或目录
cat: /proc/103313/maps: 没有那个文件或目录
kill 102466 for /home/askfiy/.deepinwine/Deepin-WeChat
kill 102477 for /home/askfiy/.deepinwine/Deepin-WeChat
kill 102481 for /home/askfiy/.deepinwine/Deepin-WeChat
kill 102484 for /home/askfiy/.deepinwine/Deepin-WeChat
/opt/deepinwine/tools/kill.sh: 第 206 行:kill: (102484) - 没有那个进程
/opt/deepinwine/tools/kill.sh:行66: /proc/102491/environ: 没有那个文件或目录
cat: /proc/102491/maps: 没有那个文件或目录
cat: /proc/102491/cmdlinexargs: warning: options --max-lines and --replace/-I/-i are mutually exclusive, ignoring previous --max-lines value
: 没有那个文件或目录
cat: /proc/102491/maps: 没有那个文件或目录
/opt/deepinwine/tools/kill.sh:行66: /proc/102509/environ: 没有那个文件或目录
cat: /proc/102509/maps: 没有那个文件或目录
cat: /proc/102509/cmdlinexargs: warning: options --max-lines and --replace/-I/-i are mutually exclusive, ignoring previous --max-lines value
: 没有那个文件或目录
cat: /proc/102509/maps: 没有那个文件或目录
/opt/deepinwine/tools/kill.sh:行66: /proc/102531/environ: 没有那个文件或目录
cat: /proc/102531/maps: 没有那个文件或目录
cat: /proc/102531/cmdlinexargs: warning: options --max-lines and --replace/-I/-i are mutually exclusive, ignoring previous --max-lines value
: 没有那个文件或目录
cat: /proc/102531/maps: 没有那个文件或目录
kill 102536 for /home/askfiy/.deepinwine/Deepin-WeChat
kill 102538 for /home/askfiy/.deepinwine/Deepin-WeChat
kill 102540 for /home/askfiy/.deepinwine/Deepin-WeChat
/opt/deepinwine/tools/kill.sh:行66: /proc/102545/environ: 没有那个文件或目录
cat: /proc/102545/maps: 没有那个文件或目录
cat: /proc/102545/cmdlinexargs: warning: options --max-lines and --replace/-I/-i are mutually exclusive, ignoring previous --max-lines value
: 没有那个文件或目录
cat: /proc/102545/maps: 没有那个文件或目录
askfiy    103801  103257  0 14:23 pts/4    00:00:00 grep -E askfiy.*exe.*<defunct>
/home/askfiy/.deepinwine/Deepin-WeChat/drive_c/Program Files/Tencent
==> Restoring fonts ...
==> Creating /home/askfiy/.deepinwine/Deepin-WeChat/PACKAGE_VERSION ...
vufa commented 2 years ago

@askfiy 看起来没有问题,没有出现WeChat的安装界面吗?

askfiy commented 2 years ago

@askfiy没有出现问题,没有出现微信的安装界面吗?

没有出现。没反应的…

vufa commented 2 years ago

@askfiy 如果是nvidia显卡,尝试安装 lib32-nvidia-utils

sudo pacman -S lib32-nvidia-utils

再者尝试参照README安装推荐字体:

yay -S noto-fonts-sc
askfiy commented 2 years ago

@askfiy 如果是nvidia显卡,尝试安装 lib32-nvidia-utils

sudo pacman -S lib32-nvidia-utils

再者尝试参照README安装推荐字体:

yay -S noto-fonts-sc

这些步骤都做了,还是不能启动 = =

luochen570 commented 1 year ago

卸载lib32-nvidia-utils后可以启动 sudo pacman -Rsc lib32-nvidia-utils