Comments (4)
@leodream @gaoyanami
This happens on my machine too. Attempted to fix it with:
docker build -t wechat - <<EOF
from zixia/wechat
run apt-get -y remove winbind && apt-get -y install winbind
EOF
now it fails with:
[0302/112933:INFO:exception_record.cc(518)] [QB]Process ID: 49 Type: 1
[0302/112933:ERROR:network_change_notifier_win.cc(156)] WSALookupServiceBegin failed with: 8
my system:
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.4 LTS
Release: 18.04
Codename: bionic
from docker-wechat.
You can use the 100% scale DPI (96) to start your DoChat and see if there are any other messages by using this command:
curl -sL https://raw.githubusercontent.com/huan/docker-wechat/master/dochat.sh | DOCHAT_DEBUG=true DOCHAT_DPI=96 bash
DOCHAT_DPI=96
was set in the above command
from docker-wechat.
same error, here is the full log:
curl -sL https://raw.githubusercontent.com/huan/docker-wechat/master/dochat.sh | DOCHAT_DEBUG=true DOCHAT_DPI=96 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 latest docker image...
Using default tag: latest
latest: Pulling from zixia/wechat
Digest: sha256:686ddc1d8df276e69b66fed28f09e9b4f01d7874e3fdcf171e504fb2e134e429
Status: Image is up to date for zixia/wechat:latest
docker.io/zixia/wechat:latest
🚀 Pulling the latest docker image done.
🚀 Starting DoChat /dɑɑˈtʃæt/ ...
+ main
++ id -u
+ '[' 0 -ne 0 ']'
+ setupUserGroup
+ '[' -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'
+ setupHostname
+ export HOSTNAME=DoChat
+ HOSTNAME=DoChat
+ echo DoChat
+ hostname DoChat
+ exec gosu user /entrypoint.sh
+ main
++ id -u
+ '[' 1000 -ne 0 ']'
+ startWechat
+ hello
++ cat /VERSION
[DoChat] 盒装微信 v0.7.0
+ VERSION=0.7.0
+ echo '[DoChat] 盒装微信 v0.7.0'
+ disableUpgrade
+ wine REG ADD 'HKEY_CURRENT_USER\Software\Tencent\WeChat' /v NeedUpdateType /t REG_DWORD /d 0 /f
+ CONFIG_EX_INI_FILE='/home/user/.wine/drive_c/users/user/Application Data/Tencent/WeChat/All Users/config/configEx.ini'
+ '[' -e '/home/user/.wine/drive_c/users/user/Application Data/Tencent/WeChat/All Users/config/configEx.ini' ']'
+ setupFontDpi
+ DELETE_KEYS=('HKEY_CURRENT_USER\Control Panel\Desktop' 'HKEY_CURRENT_USER\Software\Wine\Fonts')
+ for key in "${DELETE_KEYS[@]}"
+ wine reg DELETE 'HKEY_CURRENT_USER\Control Panel\Desktop' /v LogPixels /f
+ true
+ for key in "${DELETE_KEYS[@]}"
+ wine reg DELETE 'HKEY_CURRENT_USER\Software\Wine\Fonts' /v LogPixels /f
+ wine reg ADD 'HKEY_LOCAL_MACHINE\System\CurrentControlSet\Hardware Profiles\Current\Software\Fonts' /v LogPixels /t REG_DWORD /d 96 /f
+ '[' -n true ']'
+ unset WINEDEBUG
+ wine reg query 'HKEY_CURRENT_USER\Software\Tencent\WeChat'
HKEY_CURRENT_USER\Software\Tencent\WeChat
NeedUpdateType REG_DWORD 0x0
[DoChat] DISPLAY=:0.0
[DoChat] Starting...
+ echo '[DoChat] DISPLAY=:0.0'
+ true
+ echo '[DoChat] Starting...'
+ '[' -n true ']'
+ wine 'C:\Program Files\Tencent\WeChat\WeChat.exe'
003f:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
[0302/145214:INFO:exception_record.cc(518)] [QB]Process ID: 49 Type: 1
[0302/145214:ERROR:network_change_notifier_win.cc(156)] WSALookupServiceBegin failed with: 8
from docker-wechat.
Tried on a different computer and followed #150, the issue had gone.
from docker-wechat.
Related Issues (20)
- docker 启动失败 HOT 3
- dochat.sh always prints "Exited with code [0]" HOT 2
- Fail to start wechat on ubuntu 22.04.2 LTS HOT 1
- unbuntu 22 install wechaty by docker get error. no such file or directory, open '/bot/package.json'
- 启动盒装微信后会影响系统进入睡眠(退出盒装微信也一样)
- 用普通用户运行,却以根用户权限创建$HOME/DoChat目录,是如何做到的呢? HOT 1
- 【需求】微信什么时候可以更新到3.9呢?
- 【问题】文件映射老是不正确 HOT 3
- 在部分Wayland的DM上有黑色遮罩窗口无法使用 HOT 2
- nvidia-container-cli: initialization error: load library failed: libnvidia-ml.so.1: cannot open shared object file: no such file or directory: unknown.
- 有没有appimage的版本?
- 如何才算成功 HOT 2
- [RP Discuss] I've confirmed zixia/wechat:3.3.0.115 can run on Linux Mint 21.2 HOT 1
- [BUG] ubuntu 20.04 运行Dochat 后每次打开wechat 都会出现一次图标, 导致有很多微信图标, 但是无法关闭,不知道如何解决
- Exited with code 0 immediately after starting HOT 1
- Outline and resizing issue
- 我使用一键部署提示“Disabling patch for /home/user/.wine/drive_c/users/user/AppData/Roaming/Tencent/WeChat ...” HOT 1
- 隐藏程序运行错误窗口 HOT 2
- 第一次执行curl拉去镜像并运行微信后,下次运行微信可以不再执行curl了吗?
- DoChat can not use "Chat History Migration & Backup" feature HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-wechat.