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

Debian buster DoChat Exited with code [0]如何解决? #37

Open liyboy opened 4 years ago

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

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

      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

🚀 Pulling the docker image...

2.7.1.85: Pulling from zixia/wechat
Digest: sha256:e6e9d21c7cd1dfae0484e697f12f5f3c401de2f02e771d061868740e0d26549d
Status: Image is up to date for zixia/wechat:2.7.1.85
docker.io/zixia/wechat:2.7.1.85

🚀 Pulling the docker image done.
🚀 Starting DoChat /dɑɑˈtʃæt/ ...

++ id -u
+ '[' 0 -ne 0 ']'
+ '[' -n 29 ']'
+ groupmod -o -g 29 audio
+ '[' -n 44 ']'
+ groupmod -o -g 44 video
++ id -g user
+ '[' 1000 '!=' 1000 ']'
++ id -u user
+ '[' 1000 '!=' 1000 ']'
+ chown user:group '/home/user/.wine/drive_c/users/user/Application Data' '/home/user/WeChat Files'
+ export HOSTNAME=DoChat
+ HOSTNAME=DoChat
+ echo DoChat
+ hostname DoChat
+ exec gosu user:group /entrypoint.sh
++ id -u
+ '[' 1000 -ne 0 ']'
+ '[' -n true ']'
+ wine reg query 'HKEY_CURRENT_USER\Software\Tencent\WeChat'
reg��ϵͳ�޷��ҵ�ָ����ע��������ֵ
Register for Wechat not found ?
+ echo 'Register for Wechat not found ?'
+ exec wine 'C:\Program Files\Tencent\WeChat\WeChat.exe'

📦 DoChat Exited with code [0]

🐞 Bug Report: https://github.com/huan/docker-wechat/issues
ofshellohicy commented 4 years ago

+1

ArthasKwok commented 4 years ago

Environment:Centos8

latest: Pulling from zixia/wechat
a9c68053c4b2: Pull complete
f2b9c43fe7e5: Pull complete
90491034717d: Pull complete
781c62702867: Pull complete
b6b579fb7258: Pull complete
8412898af31b: Pull complete
ebd8be959433: Pull complete
f05472dd23b7: Pull complete
1f543ebfeb9a: Pull complete
ee3ceb46286d: Pull complete
6b2268953498: Pull complete
01e0bc37952d: Pull complete
acad9ec5c445: Pull complete
ca4f83ef7d48: Pull complete
f5c79d7e9e95: Pull complete
49648049f089: Pull complete
50f6d0021aa5: Pull complete
986bf0d7c311: Pull complete
5d05911612dc: Pull complete
Digest: sha256:9d629be7a29da350018fe0626449998328f6a96a25a70fdd506dde031c9f5d6e
Status: Downloaded newer image for zixia/wechat:latest
docker.io/zixia/wechat:latest

🚀 Pulling the docker image done.
🚀 Starting DoChat /dɑɑˈtʃæt/ ...

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

📦 DoChat Exited with code [0]

🐞 Bug Report: https://github.com/huan/docker-wechat/issues
wpyoga commented 4 years ago

I also got this error. Environment: Linux Mint 19.3 (Ubuntu 18.04)


$ curl -sL https://raw.githubusercontent.com/huan/docker-wechat/master/dochat.sh | DOCHAT_DEBUG=true DOCHAT_SKIP_PULL=true bash

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

      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/ ...

++ id -u
+ '[' 0 -ne 0 ']'
+ '[' -n 29 ']'
+ groupmod -o -g 29 audio
+ '[' -n 44 ']'
+ groupmod -o -g 44 video
++ id -g user
+ '[' 1000 '!=' 1000 ']'
++ id -u user
+ '[' 1000 '!=' 1000 ']'
+ chown user:group '/home/user/.wine/drive_c/users/user/Application Data' '/home/user/WeChat Files'
+ export HOSTNAME=DoChat
+ HOSTNAME=DoChat
+ echo DoChat
+ hostname DoChat
+ exec gosu user:group /entrypoint.sh
++ id -u
+ '[' 1000 -ne 0 ']'
+ '[' -n true ']'
+ wine reg query 'HKEY_CURRENT_USER\Software\Tencent\WeChat'
reg��ϵͳ�޷��ҵ�ָ����ע��������ֵ
Register for Wechat not found ?
+ echo 'Register for Wechat not found ?'
+ exec wine 'C:\Program Files\Tencent\WeChat\WeChat.exe'

📦 DoChat Exited with code [0]

🐞 Bug Report: https://github.com/huan/docker-wechat/issues
liuzuxin commented 4 years ago

I got a similar error on Ubuntu 18.04.

$ curl -sL https://raw.githubusercontent.com/huan/docker-wechat/master/dhat.sh | DOCHAT_DEBUG=true bash

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

      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

🚀 Pulling the docker image...

2.7.1.85: Pulling from zixia/wechat
Digest: sha256:e6e9d21c7cd1dfae0484e697f12f5f3c401de2f02e771d061868740e0d26549d
Status: Image is up to date for zixia/wechat:2.7.1.85
docker.io/zixia/wechat:2.7.1.85

🚀 Pulling the docker image done.
🚀 Starting DoChat /dɑɑˈtʃæt/ ...

++ id -u
+ '[' 0 -ne 0 ']'
+ '[' -n 29 ']'
+ groupmod -o -g 29 audio
+ '[' -n 44 ']'
+ groupmod -o -g 44 video
++ id -g user
+ '[' 1000 '!=' 1000 ']'
++ id -u user
+ '[' 1000 '!=' 1000 ']'
+ chown user:group '/home/user/.wine/drive_c/users/user/Application Data' '/home/user/WeChat Files'
+ export HOSTNAME=DoChat
+ HOSTNAME=DoChat
+ echo DoChat
+ hostname DoChat
+ exec gosu user:group /entrypoint.sh
++ id -u
+ '[' 1000 -ne 0 ']'
+ '[' -n true ']'
+ wine reg query 'HKEY_CURRENT_USER\Software\Tencent\WeChat'
reg��ϵͳ�޷��ҵ�ָ����ע��������ֵ
+ echo 'Register for Wechat not found ?'
+ exec wine 'C:\Program Files\Tencent\WeChat\WeChat.exe'
Register for Wechat not found ?
[0708/232046:INFO:exception_record.cc(518)] [QB]Process ID: 41 Type: 1
[0708/232046:ERROR:network_change_notifier_win.cc(156)] WSALookupServiceBegin failed with: 8