[problem help] 微信从应用商店重装依然无法启动 Resolved
Tofloor
poster avatar
猫狗干瞪眼
deepin
2023-12-03 08:27
Author

系统从备份恢复后,微信无法打开,从应用商店重装依然无法启动。删除.config/weixin 目录后重装依然无法启动

有什么方法可以重新使用微信么?从哪里看log可以查原因么

Reply Favorite View the author
All Replies
neko
deepin
Ecological co-builder
2023-12-03 14:57
#1

什么版本的微信linux 还是 wine

Reply View the author
buyike
deepin
2023-12-03 15:36
#2

微信linux 还是不好用,不建议使用

wine的微信还不错,已经从beta1用到现在,和在win下感觉差别不大。

Reply View the author
阿尼樱奈奈
Moderator
2023-12-03 15:43
#3
buyike

微信linux 还是不好用,不建议使用

wine的微信还不错,已经从beta1用到现在,和在win下感觉差别不大。

但是Wine微信在Wayland下打不开,而Linux版的可以

Reply View the author
昨夜的星辰
deepin
2023-12-03 16:52
#4
阿尼樱奈奈

但是Wine微信在Wayland下打不开,而Linux版的可以

我这wine微信在wayland下也是可以正常打开使用的

Reply View the author
猫狗干瞪眼
deepin
2023-12-03 17:08
#5
neko

什么版本的微信linux 还是 wine

deepin 23Beta2应用商店里的,应该是Wine执行的吧

删除~/.deepinwine下的deepin-WX????(????记不清了已经删除)重新从应用商店下载也不行

新建一个用户,卸载重装微信,也不行。

启动时恢复前些天的deepin 历史也不行

Reply View the author
neko
deepin
Ecological co-builder
2023-12-03 17:09
#6
猫狗干瞪眼

deepin 23Beta2应用商店里的,应该是Wine执行的吧

删除~/.deepinwine下的deepin-WX????(????记不清了已经删除)重新从应用商店下载也不行

新建一个用户,卸载重装微信,也不行。

启动时恢复前些天的deepin 历史也不行

如果是wine版就执行

rm -rf ~/.deepinwine/Deepin-WeChat/

清理容器

Reply View the author
猫狗干瞪眼
deepin
2023-12-03 17:28
#7
neko

如果是wine版就执行

rm -rf ~/.deepinwine/Deepin-WeChat/

清理容器

没有这个名字,从deepin Beta2 应用商店卸载重装微信,也没有生成这个目录。

之前我好像删除了一个~/.deepinwine/WXxxxxx 目录

Reply View the author
neko
deepin
Ecological co-builder
2023-12-03 17:37
#8
猫狗干瞪眼

没有这个名字,从deepin Beta2 应用商店卸载重装微信,也没有生成这个目录。

之前我好像删除了一个~/.deepinwine/WXxxxxx 目录

卸载重装不会对这个目录进行操作,只有每次启动微信的时候会检查有没有,没有就自动重建。使用卸载重装不影响微信,只有删除容器才会装微信。

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

你执行这个看看

Reply View the author
猫狗干瞪眼
deepin
2023-12-03 17:46
#9
neko

卸载重装不会对这个目录进行操作,只有每次启动微信的时候会检查有没有,没有就自动重建。使用卸载重装不影响微信,只有删除容器才会装微信。

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

你执行这个看看

/opt/apps/com.qq.weixin.deepin/files$ ./run.sh
./run.sh:行82: /opt/deepinwine/tools/run_v4.sh: 没有那个文件或目录

但从应用商店重新安装wine运行器后也是这样

ll /opt/deepinwine/
总计 12
drwxr-xr-x  3 root root 4096 12月 2日 21:13 ./
drwxr-xr-x 12 root root 4096 12月 3日 00:16 ../
drwxr-xr-x  4 root root 4096 11月22日 00:21 runtime-i386/
Reply View the author
neko
deepin
Ecological co-builder
2023-12-03 17:51
#10
猫狗干瞪眼

/opt/apps/com.qq.weixin.deepin/files$ ./run.sh
./run.sh:行82: /opt/deepinwine/tools/run_v4.sh: 没有那个文件或目录

但从应用商店重新安装wine运行器后也是这样

ll /opt/deepinwine/
总计 12
drwxr-xr-x  3 root root 4096 12月 2日 21:13 ./
drwxr-xr-x 12 root root 4096 12月 3日 00:16 ../
drwxr-xr-x  4 root root 4096 11月22日 00:21 runtime-i386/

wine运行器只是wine工具,不是deepinwine组件。

sudo apt install deepin-wine6-stable

用这个重装

Reply View the author
猫狗干瞪眼
deepin
2023-12-03 18:05
#11
neko

wine运行器只是wine工具,不是deepinwine组件。

sudo apt install deepin-wine6-stable

用这个重装

原先有这个组件:

sudo apt install deepin-wine6-stable
请输入密码:
验证成功
正在读取软件包列表... 完成
正在分析软件包的依赖关系树... 完成
正在读取状态信息... 完成             
deepin-wine6-stable 已经是最新版 (6.0.0.61-1)。
deepin-wine6-stable 已设置为手动安装。
下列软件包是自动安装的并且现在不需要了:
  dtk5-gles.devel.szbt dtk5-gles.runtime.szbt jfsutils libomp5-13 libutempter0 qt5.15gles-basic.runtime.szbt
  qt5.15gles-extra.runtime.szbt qt5.15gles.devel.szbt squashfs-tools x11-apps x11-session-utils xbitmaps xinit
使用'sudo apt autoremove'来卸载它(它们)。
升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 7 个软件包未被升级。

我看脚本中说v4是什么意思:

/opt/apps/com.qq.weixin.deepin/files$ ./run.sh 
./run.sh:行82: /opt/deepinwine/tools/run_v4.sh: 没有那个文件或目录

Reply View the author
neko
deepin
Ecological co-builder
2023-12-03 18:17
#12
猫狗干瞪眼

原先有这个组件:

sudo apt install deepin-wine6-stable
请输入密码:
验证成功
正在读取软件包列表... 完成
正在分析软件包的依赖关系树... 完成
正在读取状态信息... 完成             
deepin-wine6-stable 已经是最新版 (6.0.0.61-1)。
deepin-wine6-stable 已设置为手动安装。
下列软件包是自动安装的并且现在不需要了:
  dtk5-gles.devel.szbt dtk5-gles.runtime.szbt jfsutils libomp5-13 libutempter0 qt5.15gles-basic.runtime.szbt
  qt5.15gles-extra.runtime.szbt qt5.15gles.devel.szbt squashfs-tools x11-apps x11-session-utils xbitmaps xinit
使用'sudo apt autoremove'来卸载它(它们)。
升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 7 个软件包未被升级。

我看脚本中说v4是什么意思:

/opt/apps/com.qq.weixin.deepin/files$ ./run.sh 
./run.sh:行82: /opt/deepinwine/tools/run_v4.sh: 没有那个文件或目录

sudo apt install deepin-wine-helper

安装这个

Reply View the author
猫狗干瞪眼
deepin
2023-12-03 18:20
#13
neko

sudo apt install deepin-wine-helper

安装这个

这个之前也已经有了

请输入密码:
验证成功
正在读取软件包列表... 完成
正在分析软件包的依赖关系树... 完成
正在读取状态信息... 完成             
deepin-wine-helper 已经是最新版 (5.2.31-1)。
deepin-wine-helper 已设置为手动安装。
下列软件包是自动安装的并且现在不需要了:
  dtk5-gles.devel.szbt dtk5-gles.runtime.szbt jfsutils libomp5-13 libutempter0 qt5.15gles-basic.runtime.szbt
  qt5.15gles-extra.runtime.szbt qt5.15gles.devel.szbt squashfs-tools x11-apps x11-session-utils xbitmaps xinit
使用'sudo apt autoremove'来卸载它(它们)。
升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 7 个软件包未被升级。

Reply View the author
猫狗干瞪眼
deepin
2023-12-03 18:21
#14
It has been deleted!
猫狗干瞪眼
deepin
2023-12-03 18:32
#15

这个是run.sh 的执行结果,我加了set -x

/opt/apps/com.qq.weixin.deepin/files$ ./run.sh 
+ ACTIVEX_NAME=
+ BOTTLENAME=Deepin-WeChat
+ APPVER=3.9.5.80deepin10
+ EXEC_PATH='c:/Program Files/Tencent/WeChat/WeChat.exe'
+ START_SHELL_PATH=/opt/deepinwine/tools/run_v4.sh
+ export MIME_TYPE=
+ MIME_TYPE=
+ export MIME_EXEC=
+ MIME_EXEC=
+ export DEB_PACKAGE_NAME=com.qq.weixin.deepin
+ DEB_PACKAGE_NAME=com.qq.weixin.deepin
+ export APPRUN_CMD=deepin-wine6-stable
+ APPRUN_CMD=deepin-wine6-stable
+ DISABLE_ATTACH_FILE_DIALOG=
+ EXPORT_ENVS=
+ EXEC_NAME=WeChat.exe
+ INSTALL_SETUP=
+ export BOX86_EMU_CMD=/opt/deepin-box86/stable/box86
+ BOX86_EMU_CMD=/opt/deepin-box86/stable/box86
+ export DEF_EMU_NAME=box86
+ DEF_EMU_NAME=box86
+ export SPECIFY_SHELL_DIR=/opt/deepinwine/tools
+ SPECIFY_SHELL_DIR=/opt/deepinwine/tools
+ export WINESERVICESNODELAY=
+ WINESERVICESNODELAY=
+ export WINESERVICESDISABLE=nsiproxy
+ WINESERVICESDISABLE=nsiproxy
+ ARCHIVE_FILE_DIR=/opt/apps/com.qq.weixin.deepin/files
+ '[' -z deepin-wine6-stable ']'
+ '[' -f deepin-wine6-stable ']'
+ export WINEDLLPATH=/opt/deepin-wine6-stable/lib:/opt/deepin-wine6-stable/lib64
+ WINEDLLPATH=/opt/deepin-wine6-stable/lib:/opt/deepin-wine6-stable/lib64
+ export WINEPREDLL=/opt/apps/com.qq.weixin.deepin/files/dlls
+ WINEPREDLL=/opt/apps/com.qq.weixin.deepin/files/dlls
+ '[' -z '' ']'
+ export ATTACH_FILE_DIALOG=1
+ ATTACH_FILE_DIALOG=1
+ '[' -n '' ']'
+ [[ -z c:/Program Files/Tencent/WeChat/WeChat.exe ]]
+ '[' -n 'c:/Program Files/Tencent/WeChat/WeChat.exe' ']'
+ '[' -z 'c:/Program Files/Tencent/WeChat/WeChat.exe' ']'
+ '[' -z 'c:/Program Files/Tencent/WeChat/WeChat.exe' ']'
+ /opt/deepinwine/tools/run_v4.sh Deepin-WeChat 3.9.5.80deepin10 'c:/Program Files/Tencent/WeChat/WeChat.exe'
./run.sh:行83: /opt/deepinwine/tools/run_v4.sh: 没有那个文件或目录

Reply View the author
neko
deepin
Ecological co-builder
2023-12-03 18:36
#16
猫狗干瞪眼

这个是run.sh 的执行结果,我加了set -x

/opt/apps/com.qq.weixin.deepin/files$ ./run.sh 
+ ACTIVEX_NAME=
+ BOTTLENAME=Deepin-WeChat
+ APPVER=3.9.5.80deepin10
+ EXEC_PATH='c:/Program Files/Tencent/WeChat/WeChat.exe'
+ START_SHELL_PATH=/opt/deepinwine/tools/run_v4.sh
+ export MIME_TYPE=
+ MIME_TYPE=
+ export MIME_EXEC=
+ MIME_EXEC=
+ export DEB_PACKAGE_NAME=com.qq.weixin.deepin
+ DEB_PACKAGE_NAME=com.qq.weixin.deepin
+ export APPRUN_CMD=deepin-wine6-stable
+ APPRUN_CMD=deepin-wine6-stable
+ DISABLE_ATTACH_FILE_DIALOG=
+ EXPORT_ENVS=
+ EXEC_NAME=WeChat.exe
+ INSTALL_SETUP=
+ export BOX86_EMU_CMD=/opt/deepin-box86/stable/box86
+ BOX86_EMU_CMD=/opt/deepin-box86/stable/box86
+ export DEF_EMU_NAME=box86
+ DEF_EMU_NAME=box86
+ export SPECIFY_SHELL_DIR=/opt/deepinwine/tools
+ SPECIFY_SHELL_DIR=/opt/deepinwine/tools
+ export WINESERVICESNODELAY=
+ WINESERVICESNODELAY=
+ export WINESERVICESDISABLE=nsiproxy
+ WINESERVICESDISABLE=nsiproxy
+ ARCHIVE_FILE_DIR=/opt/apps/com.qq.weixin.deepin/files
+ '[' -z deepin-wine6-stable ']'
+ '[' -f deepin-wine6-stable ']'
+ export WINEDLLPATH=/opt/deepin-wine6-stable/lib:/opt/deepin-wine6-stable/lib64
+ WINEDLLPATH=/opt/deepin-wine6-stable/lib:/opt/deepin-wine6-stable/lib64
+ export WINEPREDLL=/opt/apps/com.qq.weixin.deepin/files/dlls
+ WINEPREDLL=/opt/apps/com.qq.weixin.deepin/files/dlls
+ '[' -z '' ']'
+ export ATTACH_FILE_DIALOG=1
+ ATTACH_FILE_DIALOG=1
+ '[' -n '' ']'
+ [[ -z c:/Program Files/Tencent/WeChat/WeChat.exe ]]
+ '[' -n 'c:/Program Files/Tencent/WeChat/WeChat.exe' ']'
+ '[' -z 'c:/Program Files/Tencent/WeChat/WeChat.exe' ']'
+ '[' -z 'c:/Program Files/Tencent/WeChat/WeChat.exe' ']'
+ /opt/deepinwine/tools/run_v4.sh Deepin-WeChat 3.9.5.80deepin10 'c:/Program Files/Tencent/WeChat/WeChat.exe'
./run.sh:行83: /opt/deepinwine/tools/run_v4.sh: 没有那个文件或目录

sudo apt reinstall deepin-wine-helper

重装一下试试

dpkg -l | grep deepin-wine

看看版本

Reply View the author
猫狗干瞪眼
deepin
2023-12-03 18:38
#17
neko

sudo apt reinstall deepin-wine-helper

重装一下试试

dpkg -l | grep deepin-wine

看看版本

(base) sunxg@sunxg-PC:/opt/apps/com.qq.weixin.deepin/files$ sudo apt reinstall deepin-wine-helper
正在读取软件包列表... 完成
正在分析软件包的依赖关系树... 完成
正在读取状态信息... 完成             
下列软件包是自动安装的并且现在不需要了:
  dtk5-gles.devel.szbt dtk5-gles.runtime.szbt jfsutils libomp5-13 libutempter0 qt5.15gles-basic.runtime.szbt
  qt5.15gles-extra.runtime.szbt qt5.15gles.devel.szbt squashfs-tools x11-apps x11-session-utils xbitmaps xinit
使用'sudo apt autoremove'来卸载它(它们)。
升级了 0 个软件包,新安装了 0 个软件包,重新安装了 1 个软件包,要卸载 0 个软件包,有 7 个软件包未被升级。
需要下载 684 kB 的归档。
解压缩后会消耗 0 B 的额外空间。
获取:1 https://com-store-packages.uniontech.com/appstorev23 beige/appstore amd64 deepin-wine-helper amd64 5.2.31-1 [684 kB]
已下载 684 kB,耗时 1秒 (976 kB/s)   
(正在读取数据库 ... 系统当前共安装有 359225 个文件和目录。)
准备解压 .../deepin-wine-helper_5.2.31-1_amd64.deb  ...
正在解压 deepin-wine-helper (5.2.31-1) 并覆盖 (5.2.31-1) ...
正在设置 deepin-wine-helper (5.2.31-1) ...
most recently configured version 5.2.31-1
正在处理用于 libc-bin (2.35-deepin1) 的触发器 ...
(base) sunxg@sunxg-PC:/opt/apps/com.qq.weixin.deepin/files$ dpkg -l | grep deepin-wine
ii  deepin-wine-helper                            5.2.31-1                                  amd64        Deepin Wine Helper
ii  deepin-wine-runtime                           0.1.6                                     amd64        Deepin Wine runtime
ii  deepin-wine6-stable                           6.0.0.61-1                                amd64        WINE Is Not An Emulator - runs MS Windows programs Wine is a program which allows running Microsoft Windows programs (including DOS, Windows 3.x and Win32 executables) on Unix. . This package contains the files needed to support 64-bit Windows programs.
ii  spark-deepin-wine-runner                      3.5.0                                     amd64        Wine运行器是一个能让Linux用户更加方便地运行Windows应用的程序,内置了对Wine图形化的支持、各种Wine工具、自制的Wine程序打包器和运行库安装工具等。 它同时还内置了基于Qemu/VirtualBox制作的、专供小白使用的Windows虚拟机安装工具,可以做到只需下载系统镜像并点击安装即可,无需考虑虚拟机的安装、创建、分区等操作,也能在非 X86 架构安装 X86 架构的 Windows 操作系统(但是效率较低)。

Reply View the author
猫狗干瞪眼
deepin
2023-12-03 18:43
#18

好了,终于有了 /opt/deepinwine/tools/run_v4.sh 这个文件,微信可以正常启动了,十分感谢 neko !

Reply View the author