Giter Club home page Giter Club logo

Comments (4)

jackielii avatar jackielii commented on July 21, 2024

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

huan avatar huan commented on July 21, 2024

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.

jackielii avatar jackielii commented on July 21, 2024

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.

leodream avatar leodream commented on July 21, 2024

Tried on a different computer and followed #150, the issue had gone.

from docker-wechat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.