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.25k stars 204 forks source link

network_change_notifier_win.cc(156)] WSALookupServiceBegin failed with: 8 #109

Open jicki opened 3 years ago

jicki commented 3 years ago

debug logs

+ 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'
[0104/015413:INFO:exception_record.cc(518)] [QB]Process ID: 41 Type: 1
[0104/015413:ERROR:network_change_notifier_win.cc(156)] WSALookupServiceBegin failed with: 8
jicki commented 3 years ago
+ main
++ id -u
+ '[' 1000 -ne 0 ']'
+ startWechat
+ hello
++ cat /VERSION
+ VERSION=0.11.4
+ echo '[DoChat] 盒装微信 v0.11.4'
+ setupFontDpi
+ DELETE_KEYS=('HKEY_CURRENT_USER\Control Panel\Desktop' 'HKEY_CURRENT_USER\Software\Wine\Fonts')
[DoChat] 盒装微信 v0.11.4
+ 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/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=:1'
[DoChat] DISPLAY=:1
++ head -1 /home/VERSION.WeChat
+ VERSION=2.9.0.114
+ echo '[DoChat] WeChat 2.9.0.114'
+ true
+ echo '[DoChat] Starting...'
+ '[' -n true ']'
+ wine 'C:\Program Files\Tencent\WeChat\WeChat.exe'
[DoChat] WeChat 2.9.0.114
[DoChat] Starting...
0032:fixme:ver:GetCurrentPackageId (0x29efefc (nil)): stub
0032:fixme:sync:SetWaitableTimerEx (000000F4, 029EFDAC, 0, 00000000, 00000000, 00000000, 1500) semi-stub
0041:fixme:iphlpapi:NotifyAddrChange (Handle 0x39fff0c, overlapped 0x39ffef4): stub
0031:fixme:win:RegisterTouchWindow (0x10058 00000000): stub
0031:fixme:win:UnregisterTouchWindow (0x10058): stub
0031:fixme:win:RegisterTouchWindow (0x20058 00000000): stub
0043:fixme:wlanapi:WlanEnumInterfaces (00000001, 00000000, 0375FE7C) semi-stub
0043:fixme:wlanapi:WlanGetAvailableNetworkList (00000001, {00000000-0000-0000-0000-000000000000}, 0x1, 00000000, 0375FE74) stub
0044: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.
0031:fixme:process:SetProcessDEPPolicy (3): stub
0031:fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
[0105/030546:INFO:exception_record.cc(518)] [QB]Process ID: 48 Type: 1
0031:fixme:ntdll:EtwEventRegister ({d2d578d9-2936-45b6-a09f-30e32715f42d}, 0x3f832e0, 0x7699d80, 0x7714108) stub.
0046:fixme:nls:GetThreadPreferredUILanguages 00000038, 0x8acfb8c, (nil) 0x8acfb90
0046:fixme:nls:get_dummy_preferred_ui_language (0x38 0x8acfb8c (nil) 0x8acfb90) returning a dummy value (current locale)
0046:fixme:nls:GetThreadPreferredUILanguages 00000038, 0x8acfb8c, 0x3ab3db8 0x8acfb90
0046:fixme:nls:get_dummy_preferred_ui_language (0x38 0x8acfb8c 0x3ab3db8 0x8acfb90) returning a dummy value (current locale)
0046:fixme:winsock:WSALookupServiceBeginW (0x8acf814 0x00000ff0 0x8acf854) Stub!
[0105/030546:ERROR:network_change_notifier_win.cc(156)] WSALookupServiceBegin failed with: 8
0046:fixme:iphlpapi:NotifyAddrChange (Handle 0x8acf990, overlapped 0x3ab8bb4): stub
0046:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0046:fixme:win:RegisterDeviceNotificationW (hwnd=0x1007a, filter=0x8acfa18,flags=0x00000000) returns a fake device notification handle!
0046:fixme:win:RegisterDeviceNotificationW (hwnd=0x1007a, filter=0x8acfa18,flags=0x00000000) returns a fake device notification handle!
0031:fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0x3bcdf2c,0x3bcd748): stub
0071:fixme:wlanapi:WlanEnumInterfaces (00000001, 00000000, 0ACCFE6C) semi-stub
0071:fixme:wlanapi:WlanGetAvailableNetworkList (00000001, {00000000-0000-0000-0000-000000000000}, 0x1, 00000000, 0ACCFE68) stub
0070:fixme:reg:RegOpenUserClassesRoot (0000023C, 0x0, 0x2000000, 0A77F448) semi-stub
0070:fixme:wbemprox:client_security_SetBlanket 6795E778, 03BDC8F8, 10, 0, (null), 3, 3, 00000000, 0x00000000
0070:fixme:wbemprox:client_security_Release 6795E778
0070:fixme:wbemprox:client_security_SetBlanket 6795E778, 03BDC910, 10, 0, (null), 3, 3, 00000000, 0x00000000
0070:fixme:wbemprox:client_security_Release 6795E778
0070:fixme:wbemprox:client_security_SetBlanket 6795E778, 03BDC910, 10, 0, (null), 3, 3, 00000000, 0x00000000
0070:fixme:wbemprox:client_security_Release 6795E778
0070:fixme:wbemprox:client_security_SetBlanket 6795E778, 03BDC8F8, 10, 0, (null), 3, 3, 00000000, 0x00000000
0070:fixme:wbemprox:client_security_Release 6795E778
0070:fixme:wbemprox:client_security_SetBlanket 6795E778, 03BEDFD8, 10, 0, (null), 3, 3, 00000000, 0x00000000
0070:fixme:wbemprox:client_security_Release 6795E778
0070:fixme:wbemprox:client_security_SetBlanket 6795E778, 03BEDFD8, 10, 0, (null), 3, 3, 00000000, 0x00000000
0070:fixme:wbemprox:client_security_Release 6795E778
0070:fixme:wbemprox:client_security_SetBlanket 6795E778, 03BEDFD8, 10, 0, (null), 3, 3, 00000000, 0x00000000
0070:fixme:wbemprox:client_security_Release 6795E778
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:  719
  Current serial number in output stream:  718
qq516249940 commented 3 years ago

me too.

for this

                  yyyyy- -yyyyyy+      OS: Ubuntu 20.04 focal
               ://+//////-yyyyyyo      Kernel: x86_64 Linux 5.4.0-70-generic
           .++ .:/++++++/-.+sss/`      Uptime: 2d 17h 57m
         .:++o:  /++++++++/:--:/-      Packages: 2020
        o:+o+:++.`..```.-/oo+++++/     Shell: bash
       .:+o:+o/.          `+sssoo+/    Resolution: 1366x768
  .++/+:+oo+o:`             /sssooo.   DE: GNOME 3.36.5
 /+++//+:`oo+o               /::--:.   WM: Mutter
 \+/+o+++`o++o               ++////.   WM Theme: Adwaita
  .++.o+++oo+:`             /dddhhh.   GTK Theme: Yaru [GTK2/3]
       .+.o+oo:.          `oddhhhh+    Icon Theme: Yaru
        \+.++o+o``-````.:ohdhhhhh+     Font: Ubuntu 11
         `:o+++ `ohhhhhhhhyo++os:      Disk: 28G / 70G (42%)
           .o:`.syhhhhhhh/.oo++o`      CPU: Intel Core i5-4200U @ 4x 2.6GHz [47.0°C]
               /osyyyyyyo++ooo+++/     GPU: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 09)
                   ````` +oo+++o\:     RAM: 6428MiB / 7653MiB
kngharv commented 3 years ago

Run into the same error message as well, under Ubuntu/20.04 host.