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

Upgrade WeChat to 3.3.0.115 #131

Open huan opened 3 years ago

huan commented 3 years ago
  1. Update to WeChat version 3.3.0.115
  2. Upgrade to Wine version 6.0
  3. Upgrade to Debian 11 (bullseye)
huan commented 3 years ago

DoChat version 0.14.4 released

WeChat version 3.3.0.115 published, with Wine 6.0 and Debian 11 (bullseye)

docker pull zixia/wechat:3.3.0.115
# or
docker pull zixia/wechat:0.14

Please let me know if it works for you or not by commenting on this issue, thanks.

mycraftmw commented 3 years ago

zixia/wechat:3.3.0.115 is not working on my Fedora laptop. :sob:

[DoChat] 盒装微信 v0.14.4
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 3.3.0.115
[DoChat] Starting...
[DoChat] WeChat.exe exit with code 0
[DoChat] Found new version?
[DoChat] WeChat.exe exited

📦 DoChat Exited with code [0]
hadipash commented 3 years ago

Can't install on Ubuntu 18.04 and Docker 20.10.8, build 3967b7d:

Status: Downloaded newer image for zixia/wechat:3.3.0.115
docker.io/zixia/wechat:3.3.0.115

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

+ main
++ id -u
+ '[' 1000 -ne 0 ']'
+ startWechat
+ hello
++ cat /VERSION
+ VERSION=0.14.4
+ echo '[DoChat] 盒装微信 v0.14.4'
[DoChat] 盒装微信 v0.14.4
+ 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 120 /f
+ /dochat/patch-hosts.sh
+ /dochat/disable-upgrade.sh
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 ...
mkdir: 无法创建目录 “/home/user/.wine/drive_c/users/user/Application Data/Tencent”: 权限不够
JoveYu commented 3 years ago

目前最稳定的是这个版本 3.2.1 https://dldir1.qq.com/weixin/Windows/WeChat_for_XP_SP3_To_Vista.exe

huan commented 3 years ago

@JoveYu thanks for the info, I will try this version later and to see if it can work as expected.

OmiceyO commented 3 years ago

@mycraftmw Hello, same thing on my fedora here, did you manage to make it work?

craone commented 3 years ago

I can install on Ubuntu 20.04.3 LTS and Docker 20.10.7, and it work well. But there is some error.

[DoChat] WeChat 3.3.0.115
[DoChat] Starting...
ALSA lib pcm_dmix.c:1075:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dsnoop.c:638:(snd_pcm_dsnoop_open) unable to open slave
[0930/100216.752:ERROR:network_change_notifier_win.cc(141)] WSALookupServiceBegin failed with: 0
[0930/100217.066:ERROR:sandbox_policy_base.cc(359)] Failed to add sandbox rule. error = 2, subsystem = 0, semantics = 0, pattern = 'C:\users\user\APPL~JHT\Tencent\WeChat\log\xweb.log'
[0930/100217.067:WARNING:gpu_process_host.cc(1204)] The GPU process has crashed 1 time(s)
ALSA lib pcm_dmix.c:1075:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dsnoop.c:638:(snd_pcm_dsnoop_open) unable to open slave
[0930/100217.343:ERROR:sandbox_policy_base.cc(359)] Failed to add sandbox rule. error = 2, subsystem = 0, semantics = 0, pattern = 'C:\users\user\APPL~JHT\Tencent\WeChat\log\xweb.log'
[0930/100217.344:WARNING:gpu_process_host.cc(1204)] The GPU process has crashed 2 time(s)
[0930/100217.677:ERROR:sandbox_policy_base.cc(359)] Failed to add sandbox rule. error = 2, subsystem = 0, semantics = 0, pattern = 'C:\users\user\APPL~JHT\Tencent\WeChat\log\xweb.log'
[0930/100217.677:WARNING:gpu_process_host.cc(1204)] The GPU process has crashed 3 time(s)
[0930/100218.017:ERROR:sandbox_policy_base.cc(359)] Failed to add sandbox rule. error = 2, subsystem = 0, semantics = 0, pattern = 'C:\users\user\APPL~JHT\Tencent\WeChat\log\xweb.log'
[0930/100218.018:WARNING:gpu_process_host.cc(1204)] The GPU process has crashed 4 time(s)
[0930/100218.347:ERROR:sandbox_policy_base.cc(359)] Failed to add sandbox rule. error = 2, subsystem = 0, semantics = 0, pattern = 'C:\users\user\APPL~JHT\Tencent\WeChat\log\xweb.log'
[0930/100218.347:WARNING:gpu_process_host.cc(1204)] The GPU process has crashed 5 time(s)
[0930/100218.680:ERROR:sandbox_policy_base.cc(359)] Failed to add sandbox rule. error = 2, subsystem = 0, semantics = 0, pattern = 'C:\users\user\APPL~JHT\Tencent\WeChat\log\xweb.log'
[0930/100218.680:WARNING:gpu_process_host.cc(1204)] The GPU process has crashed 6 time(s)
[0930/100218.681:ERROR:browser_gpu_channel_host_factory.cc(153)] Failed to launch GPU process.
[0930/100229.284:ERROR:network_change_notifier_win.cc(141)] WSALookupServiceBegin failed with: 0
[0930/100229.537:ERROR:platform_font_skia.cc(342)] Could not find any font: MS Shell Dlg, sans. Falling back to the default
wine: Unhandled page fault on read access to 00000008 at address 039C3FE3 (thread 01f4), starting debugger...
Unhandled exception: page fault on read access to 0x00000008 in 32-bit code (0x039c3fe3).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:039c3fe3 ESP:09dbeb90 EBP:09dbebb4 EFLAGS:00010202(  R- --  I   - - - )
 EAX:45502b1e EBX:00000000 ECX:0bbe1cd0 EDX:09dbff8c
 ESI:0bbe1cd0 EDI:00000000
Stack dump:
0x09dbeb90:  45502b0e 09dbebd4 09dbebb8 013a1b60
0x09dbeba0:  45502b1e 07434cf0 0bbe1cd0 09dbec98
0x09dbebb0:  09dbec98 09dbec90 039c437a 00000000
0x09dbebc0:  0bbe1d20 00000000 0bbe1d28 00000010
0x09dbebd0:  00000002 062e5634 0681dcb4 073dbcc8
0x09dbebe0:  00000000 00000000 00000000 0bbe1dd8
Backtrace:
=>0 0x039c3fe3 EntryPoint+0xffffffff() in xweb (0x09dbebb4)
  1 0x039c437a EntryPoint+0xffffffff() in xweb (0x09dbec90)
  2 0x039c41b5 EntryPoint+0xffffffff() in xweb (0x09dbecf0)
  3 0x039c52e4 EntryPoint+0xffffffff() in xweb (0x09dbed28)
  4 0x02ea98fd EntryPoint+0xffffffff() in xweb (0x09dbee18)
  5 0x02ea9a2e EntryPoint+0xffffffff() in xweb (0x09dbee54)
  6 0x02ea9521 EntryPoint+0xffffffff() in xweb (0x09dbf0a4)
  7 0x01a54362 EntryPoint+0xffffffff() in xweb (0x09dbf0cc)
  8 0x01a5429b EntryPoint+0xffffffff() in xweb (0x09dbf0dc)
  9 0x01a54918 EntryPoint+0xffffffff() in xweb (0x09dbf32c)
  10 0x01b20e50 EntryPoint+0xffffffff() in xweb (0x09dbf374)
  11 0x01929d22 EntryPoint+0xffffffff() in xweb (0x09dbf3a4)
  12 0x01928380 EntryPoint+0xffffffff() in xweb (0x09dbf3c4)
  13 0x01927d64 EntryPoint+0xffffffff() in xweb (0x09dbf480)
  14 0x01927aab EntryPoint+0xffffffff() in xweb (0x09dbf494)
  15 0x018eb56e EntryPoint+0xffffffff() in xweb (0x09dbf4ac)
  16 0x01908402 EntryPoint+0xffffffff() in xweb (0x09dbf504)
  17 0x018f1294 EntryPoint+0xffffffff() in xweb (0x09dbf554)
  18 0x018f0ec9 EntryPoint+0xffffffff() in xweb (0x09dbf5a4)
  19 0x018f0e01 EntryPoint+0xffffffff() in xweb (0x09dbf7f8)
  20 0x02b05332 EntryPoint+0xffffffff() in xweb (0x09dbf948)
  21 0x02b04bab EntryPoint+0xffffffff() in xweb (0x09dbfa78)
  22 0x02b046b1 EntryPoint+0xffffffff() in xweb (0x09dbfc54)
  23 0x02b040ca EntryPoint+0xffffffff() in xweb (0x09dbfc98)
  24 0x00eb52cc EntryPoint+0xffffffff() in xweb (0x09dbfca4)
  25 0x02bbca17 EntryPoint+0xffffffff() in xweb (0x09dbfd10)
  26 0x036f7a26 EntryPoint+0xffffffff() in xweb (0x09dbfd94)
  27 0x036f7764 EntryPoint+0xffffffff() in xweb (0x09dbfdfc)
  28 0x02bf279f EntryPoint+0xffffffff() in xweb (0x09dbfe3c)
  29 0x02bf2051 EntryPoint+0xffffffff() in xweb (0x09dbfe5c)
  30 0x036f8296 EntryPoint+0xffffffff() in xweb (0x09dbfe8c)
  31 0x02baab6c EntryPoint+0xffffffff() in xweb (0x09dbfedc)
  32 0x0365ec86 EntryPoint+0xffffffff() in xweb (0x09dbff0c)
  33 0x02bf7195 EntryPoint+0xffffffff() in xweb (0x09dbff30)
  34 0x7b62d9b0 EntryPoint+0xffffffff() in kernel32 (0x09dbff48)
  35 0x7bc56887 EntryPoint+0xffffffff() in ntdll (0x09dbff5c)
  36 0x7bc56ae0 EntryPoint+0xffffffff() in ntdll (0x09dbffec)
0x039c3fe3 EntryPoint+0xffffffff in xweb: movl  0x8(%edi),%eax
Modules:
Module  Address         Debug info  Name (82 modules)
PE    400000-  522000   Deferred        wechatbrowser
PE    530000-  696000   Deferred        winmm
PE    e20000- 7b5a000   Export          xweb
PE   7b60000- 7b84000   Deferred        userenv
PE   7b90000- 800d000   Deferred        comctl32
PE   8010000- 80e1000   Deferred        xweb_elf
PE   80f0000- 8306000   Deferred        comdlg32
PE   8310000- 8573000   Deferred        d3d11
PE   8580000- 8809000   Deferred        urlmon
PE   8a70000- 8a90000   Deferred        powrprof
PE   8a90000- 8c19000   Deferred        wechatbrowserwin
PE   b010000- b089000   Deferred        mmdevapi
PE   b5e0000- b5ed000   Deferred        api-ms-win-appmodel-runtime-l1-1-1
PE   bd90000- bf61000   Deferred        mf
PE  10000000-10057000   Deferred        xweb_bridge
PE  61740000-61830000   Deferred        advapi32
PE  61940000-61b33000   Deferred        wininet
PE  61f40000-61f5a000   Deferred        uiautomationcore
PE  62b80000-62b8d000   Deferred        api-ms-win-core-localization-l1-2-1
PE  62ec0000-62edb000   Deferred        ncrypt
PE  62fc0000-631d3000   Deferred        rpcrt4
PE  63480000-6349b000   Deferred        version
PE  637c0000-63897000   Deferred        oleacc
PE  638c0000-638fc000   Deferred        credui
PE  63bc0000-63c04000   Deferred        shcore
PE  64a40000-64b29000   Deferred        shlwapi
PE  64e00000-64e1d000   Deferred        esent
PE  64ec0000-652b7000   Deferred        oleaut32
PE  65580000-6559e000   Deferred        wtsapi32
PE  66240000-66288000   Deferred        bcrypt
PE  66540000-66555000   Deferred        atlthunk
PE  666c0000-666e8000   Deferred        hid
PE  66740000-6676d000   Deferred        rtworkq
PE  67800000-6780c000   Deferred        api-ms-win-core-string-l1-1-0
PE  67c80000-67ddb000   Deferred        d3d9
PE  68080000-680c3000   Deferred        jsproxy
PE  68240000-68399000   Deferred        mfplat
PE  68700000-68788000   Deferred        uxtheme
PE  69600000-6970a000   Deferred        winhttp
PE  69940000-699a6000   Deferred        propsys
PE  6a040000-6a0a2000   Deferred        msacm32
PE  6a280000-6a4ca000   Deferred        msvcrt
PE  6aa40000-6aa4d000   Deferred        usp10
PE  6ac80000-6ac8c000   Deferred        api-ms-win-core-fibers-l1-1-1
PE  6ae00000-6ae85000   Deferred        mfreadwrite
PE  6b500000-6b50c000   Deferred        api-ms-win-core-localization-obsolete-l1-2-0
PE  6b9c0000-6b9d8000   Deferred        dhcpcsvc
PE  6bc00000-6bc98000   Deferred        sechost
PE  6bcc0000-6be60000   Deferred        setupapi
PE  6c740000-6c8b1000   Deferred        cryptui
PE  6c9c0000-6cf5c000   Deferred        gdi32
PE  6de80000-6de8d000   Deferred        api-ms-win-core-synch-l1-2-0
PE  6e8c0000-6eb77000   Deferred        crypt32
PE  6ec40000-6ec5a000   Deferred        dwmapi
PE  6ed00000-6f389000   Deferred        user32
PE  6f4c0000-6f560000   Deferred        wintrust
PE  6f900000-6f9f3000   Deferred        msctf
PE  6fa80000-6fc92000   Deferred        dbghelp
PE  6fe40000-6fed8000   Deferred        rsaenh
PE  6ff80000-6ff8c000   Deferred        api-ms-win-core-datetime-l1-1-1
PE  70940000-70994000   Deferred        mpr
PE  70b40000-70df7000   Deferred        ucrtbase
PE  71200000-71251000   Deferred        imm32
PE  712c0000-71313000   Deferred        dxva2
PE  774e0000-7761d000   Deferred        ole32
PE  7a840000-7a844000   Deferred        opengl32
PE  7b000000-7b348000   Deferred        kernelbase
PE  7b600000-7b929000   Dwarf           kernel32
PE  7bbd0000-7bbd3000   Deferred        winealsa
PE  7bc00000-7bea8000   Dwarf           ntdll
PE  7d430000-7d433000   Deferred        kerberos
PE  7d8f0000-7d8f4000   Deferred        winex11
PE  7d980000-7d98b000   Deferred        winspool
PE  7d9d0000-7d9d3000   Deferred        dwrite
PE  7dab0000-7dab4000   Deferred        dnsapi
PE  7dad0000-7dad3000   Deferred        netapi32
PE  7db10000-7db13000   Deferred        secur32
PE  7db80000-7db84000   Deferred        wined3d
PE  7dd00000-7dd04000   Deferred        dxgi
PE  7dd40000-7dd44000   Deferred        iphlpapi
PE  7dd70000-7dd74000   Deferred        ws2_32
PE  7ddd0000-7e6a7000   Deferred        shell32
Threads:
process  tid      prio (all id:s are in hex)
00000038 services.exe
    0000003c    0
    00000040    0
    00000070    0
    0000008c    0
    000000b0    0
0000004c explorer.exe
    00000050    0
    00000088    0
00000068 plugplay.exe
    0000006c    0
    00000074    0
    00000078    0
    0000007c    0
    0000009c    0
    000000a0    0
    00000250    0
00000080 winedevice.exe
    00000084    0
    00000090    0
    00000094    0
    00000098    0
    000000a4    0
000000a8 svchost.exe
    000000ac    0
    000000b4    0
    000000b8    0
000000d4 WeChat.exe
    000000d8    0
    000000dc    0
    000000e0    0
    000000e4    0
    000000e8    0
    000000ec    0
    000000f0    0
    000000f4    0
    000000f8    0
    000000fc    0
    00000104    0
    00000108    0
    00000120    0
    00000128    0
    0000012c    0
    00000130    0
    00000134    0
    0000013c    0
    00000140    0
    00000144    0
    00000148    0
    00000150    0
    00000154    0
    00000160    0
    00000168    0
    00000174    0
    00000178    0
    00000240    0
    0000027c    0
    000002cc    0
    00000314    0
    00000318    0
    0000031c    0
    00000338    0
00000190 (D) C:\users\user\Application Data\Tencent\WeChat\XPlugin\Plugins\XWeb\204\extracted\WeChatBrowser.exe
    0000019c    0
    000001f0    0
    000001f4    0 <==
    000001f8    0
    000001fc    0
    00000200   -2
    00000204    0
    00000208    0
    0000020c    0
    00000210    0
    00000214    0
    00000218    0
    0000021c    0
    00000220    0
    00000224    0
    00000228    0
    0000022c    0
    00000230    0
    00000234    0
    00000238    0
    00000244    0
    00000248    0
    0000024c    0
    00000254   -2
    00000258    0
    0000025c   -2
    00000260    0
    00000264    0
    00000268   -2
    0000026c    0
    00000270    0
    00000274    0
    00000278    0
    00000280    1
    00000360    0
    00000364    0
    00000368    0
    00000378    0
    00000424    0
00000194 WeChatPlayer.exe
    00000198    0
    000001b4    0
    000001b8    0
    000001bc    0
    000001c0    0
    000001c4    0
    000001c8    0
    000001cc    0
    000001d0    0
    000001d4    0
    000001d8    0
    000001dc    0
    000001e0    0
    000001e4    0
    000001e8    0
    000001ec    0
    0000023c    0
0000036c WeChatBrowser.exe
    00000370    0
    00000390    0
    00000394    0
    00000398    0
    0000039c   -2
    000003a0    0
    000003a4    0
    000003a8    0
    000003ac    0
    000003b0    0
    000003b4    0
    000003b8    0
    000003bc    0
    000003c0   -2
System information:
    Wine build: wine-6.0.1
    Platform: i386
    Version: Windows 7
    Host system: Linux
    Host version: 5.11.0-34-generic
[0930/100237.484:ERROR:network_change_notifier_win.cc(141)] WSALookupServiceBegin failed with: 0
ALSA lib pcm_dmix.c:1075:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dsnoop.c:638:(snd_pcm_dsnoop_open) unable to open slave
[0930/100237.890:ERROR:sandbox_policy_base.cc(359)] Failed to add sandbox rule. error = 2, subsystem = 0, semantics = 0, pattern = 'C:\users\user\APPL~JHT\Tencent\WeChat\log\xweb.log'
[0930/100237.895:WARNING:gpu_process_host.cc(1204)] The GPU process has crashed 1 time(s)
[0930/100238.223:ERROR:sandbox_policy_base.cc(359)] Failed to add sandbox rule. error = 2, subsystem = 0, semantics = 0, pattern = 'C:\users\user\APPL~JHT\Tencent\WeChat\log\xweb.log'
[0930/100238.223:WARNING:gpu_process_host.cc(1204)] The GPU process has crashed 2 time(s)
[0930/100238.550:ERROR:sandbox_policy_base.cc(359)] Failed to add sandbox rule. error = 2, subsystem = 0, semantics = 0, pattern = 'C:\users\user\APPL~JHT\Tencent\WeChat\log\xweb.log'
[0930/100238.551:WARNING:gpu_process_host.cc(1204)] The GPU process has crashed 3 time(s)
[0930/100238.880:ERROR:sandbox_policy_base.cc(359)] Failed to add sandbox rule. error = 2, subsystem = 0, semantics = 0, pattern = 'C:\users\user\APPL~JHT\Tencent\WeChat\log\xweb.log'
[0930/100238.881:WARNING:gpu_process_host.cc(1204)] The GPU process has crashed 4 time(s)
[0930/100239.201:ERROR:sandbox_policy_base.cc(359)] Failed to add sandbox rule. error = 2, subsystem = 0, semantics = 0, pattern = 'C:\users\user\APPL~JHT\Tencent\WeChat\log\xweb.log'
[0930/100239.201:WARNING:gpu_process_host.cc(1204)] The GPU process has crashed 5 time(s)
[0930/100239.560:ERROR:sandbox_policy_base.cc(359)] Failed to add sandbox rule. error = 2, subsystem = 0, semantics = 0, pattern = 'C:\users\user\APPL~JHT\Tencent\WeChat\log\xweb.log'
[0930/100239.561:WARNING:gpu_process_host.cc(1204)] The GPU process has crashed 6 time(s)
[0930/100239.561:ERROR:browser_gpu_channel_host_factory.cc(153)] Failed to launch GPU process.
ALSA lib pcm_dmix.c:1075:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dsnoop.c:638:(snd_pcm_dsnoop_open) unable to open slave

DevTools listening on ws://127.0.0.1:10250/devtools/browser/5e4a8e27-4af5-4ebc-af6d-2b8783222729
use crashReporter.exe  clientVerison  devType fileName1 fileName2 ...
mycraftmw commented 2 years ago

@mycraftmw Hello, same thing on my fedora here, did you manage to make it work?

@OmiceyO hey, the permission issue is really annoying, but there is a way out. Try this command before you start the DoChat: sudo chown -R $(whoami) $HOME/DoChat/ This works for me. I hope this can help you as well.

daydaychen commented 2 years ago

zixia/wechat:3.3.0.115 is not working on my Fedora laptop, Both the wayland and the X11.

log:

++ id -u
+ '[' 1000 -ne 0 ']'
+ startWechat
+ hello
++ cat /VERSION
+ VERSION=0.14.4
[DoChat] 盒装微信 v0.14.4
+ echo '[DoChat] 盒装微信 v0.14.4'
+ 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 120 /f
+ /dochat/patch-hosts.sh
+ /dochat/disable-upgrade.sh
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 ...
+ '[' -n true ']'
+ unset WINEDEBUG
+ wine reg query 'HKEY_CURRENT_USER\Software\Tencent\WeChat'

HKEY_CURRENT_USER\Software\Tencent\WeChat
    NeedUpdateType    REG_DWORD    0x0

+ echo '[DoChat] DISPLAY=:0'
[DoChat] DISPLAY=:0
++ head -1 /home/VERSION.WeChat
+ VERSION=3.3.0.115
[DoChat] WeChat 3.3.0.115
[DoChat] Starting...
+ echo '[DoChat] WeChat 3.3.0.115'
+ true
+ echo '[DoChat] Starting...'
+ '[' -n true ']'
+ wine 'C:\Program Files\Tencent\WeChat\WeChat.exe'
00e0:fixme:ver:GetCurrentPackageId (04BCFEF0 00000000): stub
00e0:fixme:sync:SetWaitableTimerEx (000000C8, 04BCFDA0, 0, 00000000, 00000000, 00000000, 1500) semi-stub
00dc:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
00dc:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
011c:fixme:iphlpapi:NotifyAddrChange (Handle 0x661fefc, overlapped 0x661fee4): stub
00dc:fixme:win:RegisterTouchWindow (00030040 00000000): stub
0120:err:seh:NtRaiseException Unhandled exception code c0000005 flags 0 addr 0x7bc2a2a5
jicki commented 2 years ago

我可以在 Ubuntu 20.04.3 LTS 和 Docker 20.10.7 上安装,并且运行良好。但是有一些错误。

[DoChat] WeChat 3.3.0.115
[DoChat] Starting...
ALSA lib pcm_dmix.c:1075:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dsnoop.c:638:(snd_pcm_dsnoop_open) unable to open slave
[0930/100216.752:ERROR:network_change_notifier_win.cc(141)] WSALookupServiceBegin failed with: 0
[0930/100217.066:ERROR:sandbox_policy_base.cc(359)] Failed to add sandbox rule. error = 2, subsystem = 0, semantics = 0, pattern = 'C:\users\user\APPL~JHT\Tencent\WeChat\log\xweb.log'
[0930/100217.067:WARNING:gpu_process_host.cc(1204)] The GPU process has crashed 1 time(s)
ALSA lib pcm_dmix.c:1075:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dsnoop.c:638:(snd_pcm_dsnoop_open) unable to open slave
[0930/100217.343:ERROR:sandbox_policy_base.cc(359)] Failed to add sandbox rule. error = 2, subsystem = 0, semantics = 0, pattern = 'C:\users\user\APPL~JHT\Tencent\WeChat\log\xweb.log'
[0930/100217.344:WARNING:gpu_process_host.cc(1204)] The GPU process has crashed 2 time(s)
[0930/100217.677:ERROR:sandbox_policy_base.cc(359)] Failed to add sandbox rule. error = 2, subsystem = 0, semantics = 0, pattern = 'C:\users\user\APPL~JHT\Tencent\WeChat\log\xweb.log'
[0930/100217.677:WARNING:gpu_process_host.cc(1204)] The GPU process has crashed 3 time(s)
[0930/100218.017:ERROR:sandbox_policy_base.cc(359)] Failed to add sandbox rule. error = 2, subsystem = 0, semantics = 0, pattern = 'C:\users\user\APPL~JHT\Tencent\WeChat\log\xweb.log'
[0930/100218.018:WARNING:gpu_process_host.cc(1204)] The GPU process has crashed 4 time(s)
[0930/100218.347:ERROR:sandbox_policy_base.cc(359)] Failed to add sandbox rule. error = 2, subsystem = 0, semantics = 0, pattern = 'C:\users\user\APPL~JHT\Tencent\WeChat\log\xweb.log'
[0930/100218.347:WARNING:gpu_process_host.cc(1204)] The GPU process has crashed 5 time(s)
[0930/100218.680:ERROR:sandbox_policy_base.cc(359)] Failed to add sandbox rule. error = 2, subsystem = 0, semantics = 0, pattern = 'C:\users\user\APPL~JHT\Tencent\WeChat\log\xweb.log'
[0930/100218.680:WARNING:gpu_process_host.cc(1204)] The GPU process has crashed 6 time(s)
[0930/100218.681:ERROR:browser_gpu_channel_host_factory.cc(153)] Failed to launch GPU process.
[0930/100229.284:ERROR:network_change_notifier_win.cc(141)] WSALookupServiceBegin failed with: 0
[0930/100229.537:ERROR:platform_font_skia.cc(342)] Could not find any font: MS Shell Dlg, sans. Falling back to the default
wine: Unhandled page fault on read access to 00000008 at address 039C3FE3 (thread 01f4), starting debugger...
Unhandled exception: page fault on read access to 0x00000008 in 32-bit code (0x039c3fe3).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:039c3fe3 ESP:09dbeb90 EBP:09dbebb4 EFLAGS:00010202(  R- --  I   - - - )
 EAX:45502b1e EBX:00000000 ECX:0bbe1cd0 EDX:09dbff8c
 ESI:0bbe1cd0 EDI:00000000
Stack dump:
0x09dbeb90:  45502b0e 09dbebd4 09dbebb8 013a1b60
0x09dbeba0:  45502b1e 07434cf0 0bbe1cd0 09dbec98
0x09dbebb0:  09dbec98 09dbec90 039c437a 00000000
0x09dbebc0:  0bbe1d20 00000000 0bbe1d28 00000010
0x09dbebd0:  00000002 062e5634 0681dcb4 073dbcc8
0x09dbebe0:  00000000 00000000 00000000 0bbe1dd8
Backtrace:
=>0 0x039c3fe3 EntryPoint+0xffffffff() in xweb (0x09dbebb4)
  1 0x039c437a EntryPoint+0xffffffff() in xweb (0x09dbec90)
  2 0x039c41b5 EntryPoint+0xffffffff() in xweb (0x09dbecf0)
  3 0x039c52e4 EntryPoint+0xffffffff() in xweb (0x09dbed28)
  4 0x02ea98fd EntryPoint+0xffffffff() in xweb (0x09dbee18)
  5 0x02ea9a2e EntryPoint+0xffffffff() in xweb (0x09dbee54)
  6 0x02ea9521 EntryPoint+0xffffffff() in xweb (0x09dbf0a4)
  7 0x01a54362 EntryPoint+0xffffffff() in xweb (0x09dbf0cc)
  8 0x01a5429b EntryPoint+0xffffffff() in xweb (0x09dbf0dc)
  9 0x01a54918 EntryPoint+0xffffffff() in xweb (0x09dbf32c)
  10 0x01b20e50 EntryPoint+0xffffffff() in xweb (0x09dbf374)
  11 0x01929d22 EntryPoint+0xffffffff() in xweb (0x09dbf3a4)
  12 0x01928380 EntryPoint+0xffffffff() in xweb (0x09dbf3c4)
  13 0x01927d64 EntryPoint+0xffffffff() in xweb (0x09dbf480)
  14 0x01927aab EntryPoint+0xffffffff() in xweb (0x09dbf494)
  15 0x018eb56e EntryPoint+0xffffffff() in xweb (0x09dbf4ac)
  16 0x01908402 EntryPoint+0xffffffff() in xweb (0x09dbf504)
  17 0x018f1294 EntryPoint+0xffffffff() in xweb (0x09dbf554)
  18 0x018f0ec9 EntryPoint+0xffffffff() in xweb (0x09dbf5a4)
  19 0x018f0e01 EntryPoint+0xffffffff() in xweb (0x09dbf7f8)
  20 0x02b05332 EntryPoint+0xffffffff() in xweb (0x09dbf948)
  21 0x02b04bab EntryPoint+0xffffffff() in xweb (0x09dbfa78)
  22 0x02b046b1 EntryPoint+0xffffffff() in xweb (0x09dbfc54)
  23 0x02b040ca EntryPoint+0xffffffff() in xweb (0x09dbfc98)
  24 0x00eb52cc EntryPoint+0xffffffff() in xweb (0x09dbfca4)
  25 0x02bbca17 EntryPoint+0xffffffff() in xweb (0x09dbfd10)
  26 0x036f7a26 EntryPoint+0xffffffff() in xweb (0x09dbfd94)
  27 0x036f7764 EntryPoint+0xffffffff() in xweb (0x09dbfdfc)
  28 0x02bf279f EntryPoint+0xffffffff() in xweb (0x09dbfe3c)
  29 0x02bf2051 EntryPoint+0xffffffff() in xweb (0x09dbfe5c)
  30 0x036f8296 EntryPoint+0xffffffff() in xweb (0x09dbfe8c)
  31 0x02baab6c EntryPoint+0xffffffff() in xweb (0x09dbfedc)
  32 0x0365ec86 EntryPoint+0xffffffff() in xweb (0x09dbff0c)
  33 0x02bf7195 EntryPoint+0xffffffff() in xweb (0x09dbff30)
  34 0x7b62d9b0 EntryPoint+0xffffffff() in kernel32 (0x09dbff48)
  35 0x7bc56887 EntryPoint+0xffffffff() in ntdll (0x09dbff5c)
  36 0x7bc56ae0 EntryPoint+0xffffffff() in ntdll (0x09dbffec)
0x039c3fe3 EntryPoint+0xffffffff in xweb: movl    0x8(%edi),%eax
Modules:
Module    Address         Debug info  Name (82 modules)
PE      400000-  522000   Deferred        wechatbrowser
PE      530000-  696000   Deferred        winmm
PE      e20000- 7b5a000   Export          xweb
PE     7b60000- 7b84000   Deferred        userenv
PE     7b90000- 800d000   Deferred        comctl32
PE     8010000- 80e1000   Deferred        xweb_elf
PE     80f0000- 8306000   Deferred        comdlg32
PE     8310000- 8573000   Deferred        d3d11
PE     8580000- 8809000   Deferred        urlmon
PE     8a70000- 8a90000   Deferred        powrprof
PE     8a90000- 8c19000   Deferred        wechatbrowserwin
PE     b010000- b089000   Deferred        mmdevapi
PE     b5e0000- b5ed000   Deferred        api-ms-win-appmodel-runtime-l1-1-1
PE     bd90000- bf61000   Deferred        mf
PE    10000000-10057000   Deferred        xweb_bridge
PE    61740000-61830000   Deferred        advapi32
PE    61940000-61b33000   Deferred        wininet
PE    61f40000-61f5a000   Deferred        uiautomationcore
PE    62b80000-62b8d000   Deferred        api-ms-win-core-localization-l1-2-1
PE    62ec0000-62edb000   Deferred        ncrypt
PE    62fc0000-631d3000   Deferred        rpcrt4
PE    63480000-6349b000   Deferred        version
PE    637c0000-63897000   Deferred        oleacc
PE    638c0000-638fc000   Deferred        credui
PE    63bc0000-63c04000   Deferred        shcore
PE    64a40000-64b29000   Deferred        shlwapi
PE    64e00000-64e1d000   Deferred        esent
PE    64ec0000-652b7000   Deferred        oleaut32
PE    65580000-6559e000   Deferred        wtsapi32
PE    66240000-66288000   Deferred        bcrypt
PE    66540000-66555000   Deferred        atlthunk
PE    666c0000-666e8000   Deferred        hid
PE    66740000-6676d000   Deferred        rtworkq
PE    67800000-6780c000   Deferred        api-ms-win-core-string-l1-1-0
PE    67c80000-67ddb000   Deferred        d3d9
PE    68080000-680c3000   Deferred        jsproxy
PE    68240000-68399000   Deferred        mfplat
PE    68700000-68788000   Deferred        uxtheme
PE    69600000-6970a000   Deferred        winhttp
PE    69940000-699a6000   Deferred        propsys
PE    6a040000-6a0a2000   Deferred        msacm32
PE    6a280000-6a4ca000   Deferred        msvcrt
PE    6aa40000-6aa4d000   Deferred        usp10
PE    6ac80000-6ac8c000   Deferred        api-ms-win-core-fibers-l1-1-1
PE    6ae00000-6ae85000   Deferred        mfreadwrite
PE    6b500000-6b50c000   Deferred        api-ms-win-core-localization-obsolete-l1-2-0
PE    6b9c0000-6b9d8000   Deferred        dhcpcsvc
PE    6bc00000-6bc98000   Deferred        sechost
PE    6bcc0000-6be60000   Deferred        setupapi
PE    6c740000-6c8b1000   Deferred        cryptui
PE    6c9c0000-6cf5c000   Deferred        gdi32
PE    6de80000-6de8d000   Deferred        api-ms-win-core-synch-l1-2-0
PE    6e8c0000-6eb77000   Deferred        crypt32
PE    6ec40000-6ec5a000   Deferred        dwmapi
PE    6ed00000-6f389000   Deferred        user32
PE    6f4c0000-6f560000   Deferred        wintrust
PE    6f900000-6f9f3000   Deferred        msctf
PE    6fa80000-6fc92000   Deferred        dbghelp
PE    6fe40000-6fed8000   Deferred        rsaenh
PE    6ff80000-6ff8c000   Deferred        api-ms-win-core-datetime-l1-1-1
PE    70940000-70994000   Deferred        mpr
PE    70b40000-70df7000   Deferred        ucrtbase
PE    71200000-71251000   Deferred        imm32
PE    712c0000-71313000   Deferred        dxva2
PE    774e0000-7761d000   Deferred        ole32
PE    7a840000-7a844000   Deferred        opengl32
PE    7b000000-7b348000   Deferred        kernelbase
PE    7b600000-7b929000   Dwarf           kernel32
PE    7bbd0000-7bbd3000   Deferred        winealsa
PE    7bc00000-7bea8000   Dwarf           ntdll
PE    7d430000-7d433000   Deferred        kerberos
PE    7d8f0000-7d8f4000   Deferred        winex11
PE    7d980000-7d98b000   Deferred        winspool
PE    7d9d0000-7d9d3000   Deferred        dwrite
PE    7dab0000-7dab4000   Deferred        dnsapi
PE    7dad0000-7dad3000   Deferred        netapi32
PE    7db10000-7db13000   Deferred        secur32
PE    7db80000-7db84000   Deferred        wined3d
PE    7dd00000-7dd04000   Deferred        dxgi
PE    7dd40000-7dd44000   Deferred        iphlpapi
PE    7dd70000-7dd74000   Deferred        ws2_32
PE    7ddd0000-7e6a7000   Deferred        shell32
Threads:
process  tid      prio (all id:s are in hex)
00000038 services.exe
  0000003c    0
  00000040    0
  00000070    0
  0000008c    0
  000000b0    0
0000004c explorer.exe
  00000050    0
  00000088    0
00000068 plugplay.exe
  0000006c    0
  00000074    0
  00000078    0
  0000007c    0
  0000009c    0
  000000a0    0
  00000250    0
00000080 winedevice.exe
  00000084    0
  00000090    0
  00000094    0
  00000098    0
  000000a4    0
000000a8 svchost.exe
  000000ac    0
  000000b4    0
  000000b8    0
000000d4 WeChat.exe
  000000d8    0
  000000dc    0
  000000e0    0
  000000e4    0
  000000e8    0
  000000ec    0
  000000f0    0
  000000f4    0
  000000f8    0
  000000fc    0
  00000104    0
  00000108    0
  00000120    0
  00000128    0
  0000012c    0
  00000130    0
  00000134    0
  0000013c    0
  00000140    0
  00000144    0
  00000148    0
  00000150    0
  00000154    0
  00000160    0
  00000168    0
  00000174    0
  00000178    0
  00000240    0
  0000027c    0
  000002cc    0
  00000314    0
  00000318    0
  0000031c    0
  00000338    0
00000190 (D) C:\users\user\Application Data\Tencent\WeChat\XPlugin\Plugins\XWeb\204\extracted\WeChatBrowser.exe
  0000019c    0
  000001f0    0
  000001f4    0 <==
  000001f8    0
  000001fc    0
  00000200   -2
  00000204    0
  00000208    0
  0000020c    0
  00000210    0
  00000214    0
  00000218    0
  0000021c    0
  00000220    0
  00000224    0
  00000228    0
  0000022c    0
  00000230    0
  00000234    0
  00000238    0
  00000244    0
  00000248    0
  0000024c    0
  00000254   -2
  00000258    0
  0000025c   -2
  00000260    0
  00000264    0
  00000268   -2
  0000026c    0
  00000270    0
  00000274    0
  00000278    0
  00000280    1
  00000360    0
  00000364    0
  00000368    0
  00000378    0
  00000424    0
00000194 WeChatPlayer.exe
  00000198    0
  000001b4    0
  000001b8    0
  000001bc    0
  000001c0    0
  000001c4    0
  000001c8    0
  000001cc    0
  000001d0    0
  000001d4    0
  000001d8    0
  000001dc    0
  000001e0    0
  000001e4    0
  000001e8    0
  000001ec    0
  0000023c    0
0000036c WeChatBrowser.exe
  00000370    0
  00000390    0
  00000394    0
  00000398    0
  0000039c   -2
  000003a0    0
  000003a4    0
  000003a8    0
  000003ac    0
  000003b0    0
  000003b4    0
  000003b8    0
  000003bc    0
  000003c0   -2
System information:
    Wine build: wine-6.0.1
    Platform: i386
    Version: Windows 7
    Host system: Linux
    Host version: 5.11.0-34-generic
[0930/100237.484:ERROR:network_change_notifier_win.cc(141)] WSALookupServiceBegin failed with: 0
ALSA lib pcm_dmix.c:1075:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dsnoop.c:638:(snd_pcm_dsnoop_open) unable to open slave
[0930/100237.890:ERROR:sandbox_policy_base.cc(359)] Failed to add sandbox rule. error = 2, subsystem = 0, semantics = 0, pattern = 'C:\users\user\APPL~JHT\Tencent\WeChat\log\xweb.log'
[0930/100237.895:WARNING:gpu_process_host.cc(1204)] The GPU process has crashed 1 time(s)
[0930/100238.223:ERROR:sandbox_policy_base.cc(359)] Failed to add sandbox rule. error = 2, subsystem = 0, semantics = 0, pattern = 'C:\users\user\APPL~JHT\Tencent\WeChat\log\xweb.log'
[0930/100238.223:WARNING:gpu_process_host.cc(1204)] The GPU process has crashed 2 time(s)
[0930/100238.550:ERROR:sandbox_policy_base.cc(359)] Failed to add sandbox rule. error = 2, subsystem = 0, semantics = 0, pattern = 'C:\users\user\APPL~JHT\Tencent\WeChat\log\xweb.log'
[0930/100238.551:WARNING:gpu_process_host.cc(1204)] The GPU process has crashed 3 time(s)
[0930/100238.880:ERROR:sandbox_policy_base.cc(359)] Failed to add sandbox rule. error = 2, subsystem = 0, semantics = 0, pattern = 'C:\users\user\APPL~JHT\Tencent\WeChat\log\xweb.log'
[0930/100238.881:WARNING:gpu_process_host.cc(1204)] The GPU process has crashed 4 time(s)
[0930/100239.201:ERROR:sandbox_policy_base.cc(359)] Failed to add sandbox rule. error = 2, subsystem = 0, semantics = 0, pattern = 'C:\users\user\APPL~JHT\Tencent\WeChat\log\xweb.log'
[0930/100239.201:WARNING:gpu_process_host.cc(1204)] The GPU process has crashed 5 time(s)
[0930/100239.560:ERROR:sandbox_policy_base.cc(359)] Failed to add sandbox rule. error = 2, subsystem = 0, semantics = 0, pattern = 'C:\users\user\APPL~JHT\Tencent\WeChat\log\xweb.log'
[0930/100239.561:WARNING:gpu_process_host.cc(1204)] The GPU process has crashed 6 time(s)
[0930/100239.561:ERROR:browser_gpu_channel_host_factory.cc(153)] Failed to launch GPU process.
ALSA lib pcm_dmix.c:1075:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dsnoop.c:638:(snd_pcm_dsnoop_open) unable to open slave

DevTools listening on ws://127.0.0.1:10250/devtools/browser/5e4a8e27-4af5-4ebc-af6d-2b8783222729
use crashReporter.exe  clientVerison  devType fileName1 fileName2 ...

me tooo

redlert commented 2 years ago

我这里无法运行呢? image

操作系统: ubuntu 20.04, docker version: 20.10.7

错误信息文字版: [Dochat] Wechat 3.3.0.115 [Dochat] Starting ... [Dochat] Wechat.exe exit with code 0 [Dochat] Found new version? [Dochat] WeChat.exe exited

ysun46 commented 2 years ago

zixia/wechat:3.3.0.115 is not working on my Fedora laptop. sob

[DoChat] 盒装微信 v0.14.4
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 3.3.0.115
[DoChat] Starting...
[DoChat] WeChat.exe exit with code 0
[DoChat] Found new version?
[DoChat] WeChat.exe exited

📦 DoChat Exited with code [0]

我一模一样的错误@redlert Ubuntu20.04.3 LTS

另外,现在依然不可以用root用户启动吗?为什么?

Xiwen-Lu commented 2 years ago

我这里无法运行呢? image

操作系统: ubuntu 20.04, docker version: 20.10.7

错误信息文字版: [Dochat] Wechat 3.3.0.115 [Dochat] Starting ... [Dochat] Wechat.exe exit with code 0 [Dochat] Found new version? [Dochat] WeChat.exe exited

I also meet the question, have you found the solution?

ysun46 commented 2 years ago

zixia/wechat:3.3.0.115 is not working on my Fedora laptop. sob

[DoChat] 盒装微信 v0.14.4
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 3.3.0.115
[DoChat] Starting...
[DoChat] WeChat.exe exit with code 0
[DoChat] Found new version?
[DoChat] WeChat.exe exited

📦 DoChat Exited with code [0]

我一模一样的错误@redlert Ubuntu20.04.3 LTS

另外,现在依然不可以用root用户启动吗?为什么?

我搞定了,root用户也可以登录了

ysun46 commented 2 years ago

我这里无法运行呢? image 操作系统: ubuntu 20.04, docker version: 20.10.7 错误信息文字版: [Dochat] Wechat 3.3.0.115 [Dochat] Starting ... [Dochat] Wechat.exe exit with code 0 [Dochat] Found new version? [Dochat] WeChat.exe exited

I also meet the question, have you found the solution?

打开debug,看看有没有有用信息。 curl -sL https://raw.githubusercontent.com/huan/docker-wechat/master/dochat.sh | DOCHAT_DEBUG=true bash

Xiwen-Lu commented 2 years ago

我这里无法运行呢? image 操作系统: ubuntu 20.04, docker version: 20.10.7 错误信息文字版: [Dochat] Wechat 3.3.0.115 [Dochat] Starting ... [Dochat] Wechat.exe exit with code 0 [Dochat] Found new version? [Dochat] WeChat.exe exited

I also meet the question, have you found the solution?

打开debug,看看有没有有用信息。 curl -sL https://raw.githubusercontent.com/huan/docker-wechat/master/dochat.sh | DOCHAT_DEBUG=true bash

+ main
++ id -u
+ '[' 1000 -ne 0 ']'
+ startWechat
+ hello
++ cat /VERSION
+ VERSION=0.14.4
+ echo '[DoChat] 盒装微信 v0.14.4'
[DoChat] 盒装微信 v0.14.4
+ 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 120 /f
+ /dochat/patch-hosts.sh
+ /dochat/disable-upgrade.sh
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 ...
+ '[' -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=:1
+ echo '[DoChat] DISPLAY=:1'
++ head -1 /home/VERSION.WeChat
+ VERSION=3.3.0.115
[DoChat] WeChat 3.3.0.115
[DoChat] Starting...
+ echo '[DoChat] WeChat 3.3.0.115'
+ true
+ echo '[DoChat] Starting...'
+ '[' -n true ']'
+ wine 'C:\Program Files\Tencent\WeChat\WeChat.exe'
00e0:fixme:ver:GetCurrentPackageId (04BCFEF0 00000000): stub
00e0:fixme:sync:SetWaitableTimerEx (000000BC, 04BCFDA0, 0, 00000000, 00000000, 00000000, 1500) semi-stub
00dc:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
00dc:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
011c:fixme:iphlpapi:NotifyAddrChange (Handle 0x661fefc, overlapped 0x661fee4): stub
00dc:fixme:win:RegisterTouchWindow (00030040 00000000): stub
0120:err:seh:NtRaiseException Unhandled exception code c0000005 flags 0 addr 0x7bc2a1f5

yes, that's same with somebody above, i have tried xhost +; sudo chown -R $USER $HOME/DoChat/ sudo chown -R $(whoami) $HOME/DoChat/ these all don't work for me.

it is worth to mention is that i have 2 displays, is that the question? and how can i fix it and run dochat.

help~

Xiwen-Lu commented 2 years ago

what's more, i didn't install wine on my pc, is that necessary to install wine so that it can find the driver?

ysun46 commented 2 years ago

我这里无法运行呢? image 操作系统: ubuntu 20.04, docker version: 20.10.7 错误信息文字版: [Dochat] Wechat 3.3.0.115 [Dochat] Starting ... [Dochat] Wechat.exe exit with code 0 [Dochat] Found new version? [Dochat] WeChat.exe exited

I also meet the question, have you found the solution?

打开debug,看看有没有有用信息。 curl -sL https://raw.githubusercontent.com/huan/docker-wechat/master/dochat.sh | DOCHAT_DEBUG=true bash

Yes, it's the same issue as mine. What I did is just running 'xhost +' before ./dochat.sh. I download dochat.sh, so run it locally.

ysun46 commented 2 years ago

what's more, i didn't install wine on my pc, is that necessary to install wine so that it can find the driver?

No, you don't need the wine, which is right in the docker.

weiguang-yin commented 2 years ago

Linux Mint 20.3

错误信息:

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

[DoChat] 盒装微信 v0.14.4
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 3.3.0.115
[DoChat] Starting...
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:  152 (GLX)
  Minor opcode of failed request:  6 (X_GLXIsDirect)
  Serial number of failed request:  552
  Current serial number in output stream:  551
[DoChat] WeChat.exe exit with code 0
[DoChat] Found new version?
[DoChat] WeChat.exe exited

📦 DoChat Exited with code [0]

🐞 Bug Report: https://github.com/huan/docker-wechat/issues

详细错误信息:

$ DOCHAT_DEBUG=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

🚀 Pulling the docker image...

3.3.0.115: Pulling from zixia/wechat
Digest: sha256:7b48c45ef1fcd1e164b2def03f7a17775e9d4f409420588dd8bf8ac8b4b02fb4
Status: Image is up to date for zixia/wechat:3.3.0.115
docker.io/zixia/wechat:3.3.0.115

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

+ main
++ id -u
+ '[' 1000 -ne 0 ']'
+ startWechat
+ hello
++ cat /VERSION
[DoChat] 盒装微信 v0.14.4
+ VERSION=0.14.4
+ echo '[DoChat] 盒装微信 v0.14.4'
+ 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 120 /f
+ /dochat/patch-hosts.sh
+ /dochat/disable-upgrade.sh
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 ...
+ '[' -n true ']'
+ unset WINEDEBUG
+ wine reg query 'HKEY_CURRENT_USER\Software\Tencent\WeChat'

HKEY_CURRENT_USER\Software\Tencent\WeChat
    NeedUpdateType    REG_DWORD    0x0

+ echo '[DoChat] DISPLAY=:0'
[DoChat] DISPLAY=:0
++ head -1 /home/VERSION.WeChat
+ VERSION=3.3.0.115
+ echo '[DoChat] WeChat 3.3.0.115'
+ true
+ echo '[DoChat] Starting...'
[DoChat] WeChat 3.3.0.115
[DoChat] Starting...
+ '[' -n true ']'
+ wine 'C:\Program Files\Tencent\WeChat\WeChat.exe'
00e4:fixme:ver:GetCurrentPackageId (04BCFEF0 00000000): stub
00e4:fixme:sync:SetWaitableTimerEx (000000C8, 04BCFDA0, 0, 00000000, 00000000, 00000000, 1500) semi-stub
0120:fixme:iphlpapi:NotifyAddrChange (Handle 0x661fefc, overlapped 0x661fee4): stub
00e0:fixme:win:RegisterTouchWindow (00010056 00000000): stub
00e0:fixme:win:UnregisterTouchWindow (00010056): stub
00e0:fixme:win:RegisterTouchWindow (00020056 00000000): stub
0128:fixme:ole:NdrCorrelationInitialize (063CF154, 063CEC30, 1024, 0x0): semi-stub
0128:fixme:ole:NdrCorrelationFree (063CF154): stub
0128:fixme:reg:RegOpenUserClassesRoot (00000174, 0x0, 0x2000000, 063CFBC8) semi-stub
0124:fixme:wlanapi:WlanEnumInterfaces (00000001, 00000000, 056AE380) semi-stub
0128:fixme:wbemprox:client_security_SetBlanket 62EA17A8, 069FACF8, 10, 0, (null), 3, 3, 00000000, 0x00000000
0128:fixme:wbemprox:client_security_Release 62EA17A8
0128:fixme:wbemprox:client_security_SetBlanket 62EA17A8, 069FA9C8, 10, 0, (null), 3, 3, 00000000, 0x00000000
0128:fixme:wbemprox:client_security_Release 62EA17A8
0128:fixme:wbemprox:client_security_SetBlanket 62EA17A8, 04AA9340, 10, 0, (null), 3, 3, 00000000, 0x00000000
0128:fixme:wbemprox:client_security_Release 62EA17A8
0128:fixme:wbemprox:client_security_SetBlanket 62EA17A8, 06988308, 10, 0, (null), 3, 3, 00000000, 0x00000000
0128:fixme:wbemprox:client_security_Release 62EA17A8
0128:fixme:wbemprox:client_security_SetBlanket 62EA17A8, 04AA9340, 10, 0, (null), 3, 3, 00000000, 0x00000000
0128:fixme:wbemprox:client_security_Release 62EA17A8
0128:fixme:wbemprox:client_security_SetBlanket 62EA17A8, 069FA950, 10, 0, (null), 3, 3, 00000000, 0x00000000
0128:fixme:wbemprox:client_security_Release 62EA17A8
0128:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0128:fixme:wbemprox:client_security_SetBlanket 62EA17A8, 04AA9340, 10, 0, (null), 3, 3, 00000000, 0x00000000
0128:fixme:wbemprox:client_security_Release 62EA17A8
0130:fixme:file:NtLockFile I/O completion on lock not implemented yet
00e0:fixme:ntdll:EtwEventRegister ({d2d578d9-2936-45b6-a09f-30e32715f42d}, 10B93AF0, 11D3E2C0, 11DE4A78) stub.
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:  152 (GLX)
  Minor opcode of failed request:  6 (X_GLXIsDirect)
  Serial number of failed request:  656
  Current serial number in output stream:  655
stingshen commented 2 years ago

Linux Mint 20.3

错误信息:

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

[DoChat] 盒装微信 v0.14.4
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 3.3.0.115
[DoChat] Starting...
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:  152 (GLX)
  Minor opcode of failed request:  6 (X_GLXIsDirect)
  Serial number of failed request:  552
  Current serial number in output stream:  551
[DoChat] WeChat.exe exit with code 0
[DoChat] Found new version?
[DoChat] WeChat.exe exited

📦 DoChat Exited with code [0]

🐞 Bug Report: https://github.com/huan/docker-wechat/issues

详细错误信息:

$ DOCHAT_DEBUG=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

🚀 Pulling the docker image...

3.3.0.115: Pulling from zixia/wechat
Digest: sha256:7b48c45ef1fcd1e164b2def03f7a17775e9d4f409420588dd8bf8ac8b4b02fb4
Status: Image is up to date for zixia/wechat:3.3.0.115
docker.io/zixia/wechat:3.3.0.115

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

+ main
++ id -u
+ '[' 1000 -ne 0 ']'
+ startWechat
+ hello
++ cat /VERSION
[DoChat] 盒装微信 v0.14.4
+ VERSION=0.14.4
+ echo '[DoChat] 盒装微信 v0.14.4'
+ 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 120 /f
+ /dochat/patch-hosts.sh
+ /dochat/disable-upgrade.sh
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 ...
+ '[' -n true ']'
+ unset WINEDEBUG
+ wine reg query 'HKEY_CURRENT_USER\Software\Tencent\WeChat'

HKEY_CURRENT_USER\Software\Tencent\WeChat
    NeedUpdateType    REG_DWORD    0x0

+ echo '[DoChat] DISPLAY=:0'
[DoChat] DISPLAY=:0
++ head -1 /home/VERSION.WeChat
+ VERSION=3.3.0.115
+ echo '[DoChat] WeChat 3.3.0.115'
+ true
+ echo '[DoChat] Starting...'
[DoChat] WeChat 3.3.0.115
[DoChat] Starting...
+ '[' -n true ']'
+ wine 'C:\Program Files\Tencent\WeChat\WeChat.exe'
00e4:fixme:ver:GetCurrentPackageId (04BCFEF0 00000000): stub
00e4:fixme:sync:SetWaitableTimerEx (000000C8, 04BCFDA0, 0, 00000000, 00000000, 00000000, 1500) semi-stub
0120:fixme:iphlpapi:NotifyAddrChange (Handle 0x661fefc, overlapped 0x661fee4): stub
00e0:fixme:win:RegisterTouchWindow (00010056 00000000): stub
00e0:fixme:win:UnregisterTouchWindow (00010056): stub
00e0:fixme:win:RegisterTouchWindow (00020056 00000000): stub
0128:fixme:ole:NdrCorrelationInitialize (063CF154, 063CEC30, 1024, 0x0): semi-stub
0128:fixme:ole:NdrCorrelationFree (063CF154): stub
0128:fixme:reg:RegOpenUserClassesRoot (00000174, 0x0, 0x2000000, 063CFBC8) semi-stub
0124:fixme:wlanapi:WlanEnumInterfaces (00000001, 00000000, 056AE380) semi-stub
0128:fixme:wbemprox:client_security_SetBlanket 62EA17A8, 069FACF8, 10, 0, (null), 3, 3, 00000000, 0x00000000
0128:fixme:wbemprox:client_security_Release 62EA17A8
0128:fixme:wbemprox:client_security_SetBlanket 62EA17A8, 069FA9C8, 10, 0, (null), 3, 3, 00000000, 0x00000000
0128:fixme:wbemprox:client_security_Release 62EA17A8
0128:fixme:wbemprox:client_security_SetBlanket 62EA17A8, 04AA9340, 10, 0, (null), 3, 3, 00000000, 0x00000000
0128:fixme:wbemprox:client_security_Release 62EA17A8
0128:fixme:wbemprox:client_security_SetBlanket 62EA17A8, 06988308, 10, 0, (null), 3, 3, 00000000, 0x00000000
0128:fixme:wbemprox:client_security_Release 62EA17A8
0128:fixme:wbemprox:client_security_SetBlanket 62EA17A8, 04AA9340, 10, 0, (null), 3, 3, 00000000, 0x00000000
0128:fixme:wbemprox:client_security_Release 62EA17A8
0128:fixme:wbemprox:client_security_SetBlanket 62EA17A8, 069FA950, 10, 0, (null), 3, 3, 00000000, 0x00000000
0128:fixme:wbemprox:client_security_Release 62EA17A8
0128:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0128:fixme:wbemprox:client_security_SetBlanket 62EA17A8, 04AA9340, 10, 0, (null), 3, 3, 00000000, 0x00000000
0128:fixme:wbemprox:client_security_Release 62EA17A8
0130:fixme:file:NtLockFile I/O completion on lock not implemented yet
00e0:fixme:ntdll:EtwEventRegister ({d2d578d9-2936-45b6-a09f-30e32715f42d}, 10B93AF0, 11D3E2C0, 11DE4A78) stub.
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:  152 (GLX)
  Minor opcode of failed request:  6 (X_GLXIsDirect)
  Serial number of failed request:  656
  Current serial number in output stream:  655

你的机器上有 GPU 吗?是 NVIDIA 的吗?

可以试试这个方法:

https://github.com/huan/docker-wechat/issues/50#issuecomment-797792368

NirvanaDragon commented 1 year ago

zixia/wechat:3.3.0.115 is not working on my Fedora laptop. sob

[DoChat] 盒装微信 v0.14.4
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 3.3.0.115
[DoChat] Starting...
[DoChat] WeChat.exe exit with code 0
[DoChat] Found new version?
[DoChat] WeChat.exe exited

📦 DoChat Exited with code [0]

I have same problem, could you solver it?

Glucy-2 commented 11 months ago

Same problem on archlinux with amd gpu.