huan / docker-wechat

DoChat is a Dockerized WeChat (盒装微信) PC Windows Client for Linux
https://hub.docker.com/r/zixia/wechat
Apache License 2.0
2.24k stars 203 forks source link

Found new version WeChat.exe exited #29

Open esverde opened 4 years ago

esverde commented 4 years ago

[DoChat] 盒装微信 v0.8.0 [DoChat] WeChat 2.8.0.112 [DoChat] Starting... [DoChat] Found new version [DoChat] WeChat.exe exited

📦 DoChat Exited with code [0]

huan commented 4 years ago

Yes, that means that the WeChat has updated itself.

Just restart it and everything will be fine.

esverde commented 4 years ago

Yes, that means that the WeChat has updated itself.

Just restart it and everything will be fine.

And what should I do to restart it

huan commented 4 years ago

If it has already exited, then just run it again.

GONETHEN commented 4 years ago

Restart did not solve the problem

Declarcall commented 4 years ago
$ docker run \
>   --name DoChat \
>   --rm \
>   -i \
>   \
>   -v "$HOME/DoChat/WeChat Files/":'/home/user/WeChat Files/' \
>   -v "$HOME/DoChat/Applcation Data":'/home/user/.wine/drive_c/users/user/Application Data/' \
>   -v /tmp/.X11-unix:/tmp/.X11-unix \
>   \
>   -e DISPLAY \
>   \
>   -e XMODIFIERS=@im=fcitx \
>   -e GTK_IM_MODULE=fcitx \
>   -e QT_IM_MODULE=fcitx \
>   -e GID="$(id -g)" \
>   -e UID="$(id -u)" \
>   \
>   --ipc=host \
>   --privileged \
>   \
>   zixia/wechat
[DoChat] 盒装微信 v0.10.4
[DoChat] WeChat 2.7.1.88
[DoChat] Starting...
[DoChat] Found new version
[DoChat] WeChat.exe exited
$ docker version
Client: Docker Engine - Community
 Version:           19.03.8
 API version:       1.40
 Go version:        go1.12.17
 Git commit:        afacb8b7f0
 Built:             Wed Mar 11 01:25:46 2020
 OS/Arch:           linux/amd64
 Experimental:      false

Server: Docker Engine - Community
 Engine:
  Version:          19.03.8
  API version:      1.40 (minimum version 1.12)
  Go version:       go1.12.17
  Git commit:       afacb8b7f0
  Built:            Wed Mar 11 01:24:19 2020
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.2.13
  GitCommit:        7ad184331fa3e55e52b890ea95e65ba581ae3429
 runc:
  Version:          1.0.0-rc10
  GitCommit:        dc9208a3303feef5b3839f4323d9beb36df0a9dd
 docker-init:
  Version:          0.18.0
  GitCommit:        fec3683
$ uname -r
5.3.0-46-generic
$ cat /etc/issue
Ubuntu 18.04.4 LTS \n \l

I'm having this problem too. I've rebooted, but rebooting doesn't seem to solve the problem.

huan commented 4 years ago

An update has been published as the zixia/wechat:2.7.1.88 and zixia/wechat:2.8.0.121.

Please try it again and let me know if it helps.

huan commented 4 years ago

Update

We have just published the WeChat 2.9.0.114, you can use it by specifying the DOCHAT_VERSION environment variable:

curl -sL https://raw.githubusercontent.com/huan/docker-wechat/master/dochat.sh \
  | DOCHAT_WECHAT_VERSION=2.9.0.114 bash
huan commented 4 years ago

Update 2

It seems that it has some issues related to the WeChat version higher than 2.7.

I have tested the 2.8 & 2.9 it seems that they all have this problem.

Currently, I can use the version zixia/wechat:2.7.1.85 without any problem.

shuming1008 commented 4 years ago

All got failed.

[DoChat] 盒装微信 v0.11.1
[DoChat] WeChat 2.7.1.85
[DoChat] Starting...
[DoChat] Found new version
[DoChat] WeChat.exe exited

[DoChat] 盒装微信 v0.10.20
[DoChat] WeChat 2.7.1.88
[DoChat] Starting...
[DoChat] Found new version
[DoChat] WeChat.exe exited

[DoChat] 盒装微信 v0.10.21
[DoChat] WeChat 2.8.0.121
[DoChat] Starting...
[DoChat] Found new version
[DoChat] WeChat.exe exited

[DoChat] 盒装微信 v0.11.3
Disabling patch for /home/user/.wine/drive_c/users/user/AppData/Roaming/Tencent/WeChat ...
Disabling patch for /home/user/.wine/drive_c/users/user/Application Data/Tencent/WeChat ...
[DoChat] WeChat 2.9.0.114
[DoChat] Starting...
[DoChat] WeChat.exe exit with code 0
[DoChat] Found new version?
[DoChat] WeChat.exe exited
Declarcall commented 4 years ago
$  DOCHAT_SKIP_PULL=true ./dochat.sh

       ____         ____ _           _
      |  _ \  ___  / ___| |__   __ _| |_
      | | | |/ _ \| |   | '_ \ / _` | __|
      | |_| | (_) | |___| | | | (_| | |_
      |____/ \___/ \____|_| |_|\__,_|\__|

      https://github.com/huan/docker-wechat

                +--------------+
               /|             /|
              / |            / |
             *--+-----------*  |
             |  |           |  |
             |  |   盒装    |  |
             |  |   微信    |  |
             |  +-----------+--+
             | /            | /
             |/             |/
             *--------------*

      DoChat /dɑɑˈtʃæt/ (Docker-weChat) is:

      📦 a Docker image
      🤐 for running PC Windows WeChat
      💻 on your Linux desktop
      💖 by one-line of command

🚀 Starting DoChat /dɑɑˈtʃæt/ ...

[DoChat] 盒装微信 v0.11.1
[DoChat] WeChat 2.7.1.85
[DoChat] Starting...
[0428/052925:INFO:exception_record.cc(518)] [QB]Process ID: 48 Type: 1
[0428/052925:ERROR:network_change_notifier_win.cc(156)] WSALookupServiceBegin failed with: 8
[0428/122948.650:ERROR:gl_surface_egl.cc(770)] ANGLE Platform initialization failed.
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
X Error of failed request:  GLXBadContext
  Major opcode of failed request:  151 (GLX)
  Minor opcode of failed request:  6 (X_GLXIsDirect)
  Serial number of failed request:  185
  Current serial number in output stream:  184

It's finally booting out, thankfully. But the transparent box that had been hovering over the screen never went away.

Same as the one that appears in the link below.

https://github.com/huan/docker-wechat/issues/47

Selection_004

When you start up, there is a transparent masking layer, which disappears when you close the main interface of WeChat.

Declarcall commented 4 years ago

Version 0.10.22 of docker-wechat boots out normally, but I click on log in and agree to log in on my phone and it automatically exits. As follows.

$ docker run \
>   --name DoChat \
>   --rm \
>   -i \
>   \
>   -v "$HOME/DoChat/WeChat Files/":'/home/user/WeChat Files/' \
>   -v "$HOME/DoChat/Applcation Data":'/home/user/.wine/drive_c/users/user/Application Data/' \
>   -v /tmp/.X11-unix:/tmp/.X11-unix \
>   \
>   -e DISPLAY \
>   \
>   -e XMODIFIERS=@im=fcitx \
>   -e GTK_IM_MODULE=fcitx \
>   -e QT_IM_MODULE=fcitx \
>   -e GID="$(id -g)" \
>   -e UID="$(id -u)" \
>   \
>   --ipc=host \
>   --privileged \
>   \
>   zixia/wechat
[DoChat] 盒装微信 v0.10.22
[DoChat] WeChat 2.9.0.114
[DoChat] Starting...
[DoChat] Found new version
[DoChat] WeChat.exe exited
shuming1008 commented 4 years ago

Finally, I don't use DOCKER-WECHAT in ubuntu 18.04.

I tried these steps & it works! Follow the steps: https://ferrolho.github.io/blog/2018-12-22/wechat-desktop-on-linux

huan commented 4 years ago

@shuming1008 great to know that you finally get WeChat on your Linux desktop, and thanks for the sharing!

zanpen2000 commented 4 years ago

All got failed.

[DoChat] 盒装微信 v0.11.1
[DoChat] WeChat 2.7.1.85
[DoChat] Starting...
[DoChat] Found new version
[DoChat] WeChat.exe exited

[DoChat] 盒装微信 v0.10.20
[DoChat] WeChat 2.7.1.88
[DoChat] Starting...
[DoChat] Found new version
[DoChat] WeChat.exe exited

[DoChat] 盒装微信 v0.10.21
[DoChat] WeChat 2.8.0.121
[DoChat] Starting...
[DoChat] Found new version
[DoChat] WeChat.exe exited

[DoChat] 盒装微信 v0.11.3
Disabling patch for /home/user/.wine/drive_c/users/user/AppData/Roaming/Tencent/WeChat ...
Disabling patch for /home/user/.wine/drive_c/users/user/Application Data/Tencent/WeChat ...
[DoChat] WeChat 2.9.0.114
[DoChat] Starting...
[DoChat] WeChat.exe exit with code 0
[DoChat] Found new version?
[DoChat] WeChat.exe exited

same here!

$ uname -r 5.6.8-1-MANJARO

crossgate10 commented 3 years ago

I run on Mac Catalina 10.15.7 use command like #43

docker run \
      --name DoChat \
      --rm \
      -i \
      \
      -v "$$HOME/DoChat/WeChat Files/":'/home/user/WeChat Files/' \
      -v "$$HOME/DoChat/Applcation Data":'/home/user/.wine/drive_c/users/user/Application Data/' \
      -v /tmp/.X11-unix:/tmp/.X11-unix \
      \
      -e DISPLAY \
      \
      -e XMODIFIERS=@im=fcitx \
      -e GTK_IM_MODULE=fcitx \
      -e QT_IM_MODULE=fcitx \
      -e GID="$(id -g)" \
      -e UID="$(id -u)" \
      \
      --ipc=host \
      --privileged \
      \
      zixia/wechat:2.9.0.114

it's failed

Round2: I try to brew install --cask wine-stable, then try the command above again, and the result still [DoChat] Found new version?