zq1997 / deepin-wine

【deepin源移植】Debian/Ubuntu上的QQ/微信快速安装方式
https://deepin-wine.i-m.dev
GNU General Public License v3.0
5.19k stars 390 forks source link

[问题求助] Ubuntu 22.04里微信可以正常运行,但是企业微信却无法正常启动 #289

Closed kamusis closed 2 years ago

kamusis commented 2 years ago

实际上操作系统是Pop OS 22.04,based on Ubuntu 22.04

安装步骤如下。

$ wget -O- https://deepin-wine.i-m.dev/setup.sh | sh
$ sudo apt-get install com.qq.weixin.deepin
$ sudo apt-get install com.qq.weixin.work.deepin

安装完毕以后,重启了操作系统。 然后,微信可以正常打开,正常使用,但是企业微信启动到小酒瓶的图标出现之后,就消失了。 直接运行/opt/apps/com.qq.weixin.work.deepin/files/run.sh 显示如下:

$ ./run.sh 
Don't use public dir
Run Deepin-WXWork 4.0.0.6007deepin10 c:/Program Files/WXWork/WXWork.exe
run Deepin-WXWork progress pid 
total 0
lrwxrwxrwx 1 kamus kamus 10 Jun  9 15:28 c: -> ../drive_c
lrwxrwxrwx 1 kamus kamus 10 Jun  9 15:28 com1 -> /dev/ttyS0
lrwxrwxrwx 1 kamus kamus 10 Jun  9 15:28 com10 -> /dev/ttyS9
lrwxrwxrwx 1 kamus kamus 11 Jun  9 15:28 com11 -> /dev/ttyS10
lrwxrwxrwx 1 kamus kamus 11 Jun  9 15:28 com12 -> /dev/ttyS11
lrwxrwxrwx 1 kamus kamus 11 Jun  9 15:28 com13 -> /dev/ttyS12
lrwxrwxrwx 1 kamus kamus 11 Jun  9 15:28 com14 -> /dev/ttyS13
lrwxrwxrwx 1 kamus kamus 11 Jun  9 15:28 com15 -> /dev/ttyS14
lrwxrwxrwx 1 kamus kamus 11 Jun  9 15:28 com16 -> /dev/ttyS15
lrwxrwxrwx 1 kamus kamus 11 Jun  9 15:28 com17 -> /dev/ttyS16
lrwxrwxrwx 1 kamus kamus 11 Jun  9 15:28 com18 -> /dev/ttyS17
lrwxrwxrwx 1 kamus kamus 11 Jun  9 15:28 com19 -> /dev/ttyS18
lrwxrwxrwx 1 kamus kamus 10 Jun  9 15:28 com2 -> /dev/ttyS1
lrwxrwxrwx 1 kamus kamus 11 Jun  9 15:28 com20 -> /dev/ttyS19
lrwxrwxrwx 1 kamus kamus 11 Jun  9 15:28 com21 -> /dev/ttyS20
lrwxrwxrwx 1 kamus kamus 11 Jun  9 15:28 com22 -> /dev/ttyS21
lrwxrwxrwx 1 kamus kamus 11 Jun  9 15:28 com23 -> /dev/ttyS22
lrwxrwxrwx 1 kamus kamus 11 Jun  9 15:28 com24 -> /dev/ttyS23
lrwxrwxrwx 1 kamus kamus 11 Jun  9 15:28 com25 -> /dev/ttyS24
lrwxrwxrwx 1 kamus kamus 11 Jun  9 15:28 com26 -> /dev/ttyS25
lrwxrwxrwx 1 kamus kamus 11 Jun  9 15:28 com27 -> /dev/ttyS26
lrwxrwxrwx 1 kamus kamus 11 Jun  9 15:28 com28 -> /dev/ttyS27
lrwxrwxrwx 1 kamus kamus 11 Jun  9 15:28 com29 -> /dev/ttyS28
lrwxrwxrwx 1 kamus kamus 10 Jun  9 15:28 com3 -> /dev/ttyS2
lrwxrwxrwx 1 kamus kamus 11 Jun  9 15:28 com30 -> /dev/ttyS29
lrwxrwxrwx 1 kamus kamus 11 Jun  9 15:28 com31 -> /dev/ttyS30
lrwxrwxrwx 1 kamus kamus 11 Jun  9 15:28 com32 -> /dev/ttyS31
lrwxrwxrwx 1 kamus kamus 10 Jun  9 15:28 com4 -> /dev/ttyS3
lrwxrwxrwx 1 kamus kamus 10 Jun  9 15:28 com5 -> /dev/ttyS4
lrwxrwxrwx 1 kamus kamus 10 Jun  9 15:28 com6 -> /dev/ttyS5
lrwxrwxrwx 1 kamus kamus 10 Jun  9 15:28 com7 -> /dev/ttyS6
lrwxrwxrwx 1 kamus kamus 10 Jun  9 15:28 com8 -> /dev/ttyS7
lrwxrwxrwx 1 kamus kamus 10 Jun  9 15:28 com9 -> /dev/ttyS8
lrwxrwxrwx 1 kamus kamus 11 Jun  9 15:28 y: -> /home/kamus
lrwxrwxrwx 1 kamus kamus  1 Jun  9 15:28 z: -> /
CallApp Deepin-WXWork arg count 1: c:/Program Files/WXWork/WXWork.exe
Don't use public dir
Thu Jun  9 03:28:32 PM JST 2022:kill Deepin-WXWork block
Thu Jun  9 03:28:32 PM JST 2022:tag bottle: /home/kamus/.deepinwine/Deepin-WXWork
/usr/bin/env: ‘python2’: No such file or directory
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
/opt/deepinwine/tools/kill.sh: line 66: /proc/2/environ: 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
Thu Jun  9 03:28:32 PM JST 2022:active bottles: 
/home/kamus/.deepinwine/Deepin-WeChat
Thu Jun  9 03:28:32 PM JST 2022:try to kill /home/kamus/.deepinwine/Deepin-WXWork
/opt/deepinwine/tools/kill.sh: line 66: /proc/21032/environ: No such file or directory
cat: /proc/21032/maps: No such file or directory
cat: /proc/21032/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/21032/maps: No such file or directory
cat: /proc/750/maps: Permission denied
xargs: warning: options --max-lines and --replace/-I/-i are mutually exclusive, ignoring previous --max-lines value
cat: /proc/750/maps: Permission denied
cat: /proc/762/maps: Permission denied
xargs: warning: options --max-lines and --replace/-I/-i are mutually exclusive, ignoring previous --max-lines value
cat: /proc/762/maps: Permission denied
cat: /proc/781/maps: Permission denied
xargs: warning: options --max-lines and --replace/-I/-i are mutually exclusive, ignoring previous --max-lines value
cat: /proc/781/maps: Permission denied
cat: /proc/833/maps: Permission denied
xargs: warning: options --max-lines and --replace/-I/-i are mutually exclusive, ignoring previous --max-lines value
cat: /proc/833/maps: Permission denied
cat: /proc/854/maps: Permission denied
xargs: warning: options --max-lines and --replace/-I/-i are mutually exclusive, ignoring previous --max-lines value
cat: /proc/854/maps: Permission denied
cat: /proc/977/maps: Permission denied
xargs: warning: options --max-lines and --replace/-I/-i are mutually exclusive, ignoring previous --max-lines value
cat: /proc/977/maps: Permission denied
cat: /proc/1105/maps: Permission denied
xargs: warning: options --max-lines and --replace/-I/-i are mutually exclusive, ignoring previous --max-lines value
cat: /proc/1105/maps: Permission denied
cat: /proc/1106/maps: Permission denied
xargs: warning: options --max-lines and --replace/-I/-i are mutually exclusive, ignoring previous --max-lines value
cat: /proc/1106/maps: Permission denied
cat: /proc/1219/maps: Permission denied
xargs: warning: options --max-lines and --replace/-I/-i are mutually exclusive, ignoring previous --max-lines value
cat: /proc/1219/maps: Permission denied
cat: /proc/1971/maps: Permission denied
xargs: warning: options --max-lines and --replace/-I/-i are mutually exclusive, ignoring previous --max-lines value
cat: /proc/1971/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
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
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
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
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
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
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
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
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/21066/maps: No such file or directory
cat: /proc/21066/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/21066/maps: No such file or directory
kamus      22496   20884  0 15:28 pts/0    00:00:00 grep -E kamus.*exe.*<defunct>
/home/kamus/.deepinwine/Deepin-WXWork/drive_c/Program Files/WXWork
kamus@pop-os:/opt/apps/com.qq.weixin.work.deepin/files$ wine version: 6.0
Could not find Wine Gecko. HTML rendering will be disabled.
wine: configuration in L"Y:\\.deepinwine\\Deepin-WXWork" has been updated.

我比较了一下微信启动时候的这些输出,感觉其中的那些报错似乎在微信启动时也都有,比如找不到python2,报错最后的找不到Wine Gecko,似乎都不是主要问题。

那么为什么微信可以启动,但是企业微信却无法启动呢?

zq1997 commented 2 years ago

我没有用过企业微信,不太清楚原因

zq1997 commented 2 years ago

image 但是也许历史issue有相关解决方案

XuXiangJun commented 2 years ago

我是 Ubuntu 22.04 参考这个 issue:https://github.com/zq1997/deepin-wine/issues/277 解决问题

kamusis commented 2 years ago

我是 Ubuntu 22.04 参考这个 issue:#277 解决问题

非常感谢。已经大大前进了一步了。现在是企业微信可以打开,但是在登录页面二维码刷新不出来。我在你refer的这个issue里继续提问吧。

kamusis commented 2 years ago

二维码无法刷新出来的问题也参考 #205 解决了