您尚未登录。

#1 2023-02-22 15:33:55

soul11201
会员
注册时间: 2023-01-12
帖子: 12

wechat install failed

系统基本信息:

❯ inxi -b
System:
  Host: archlinux Kernel: 6.1.12-zen1-1-zen arch: x86_64 bits: 64 Desktop: i3
    v: 4.22 Distro: Arch Linux
Machine:
  Type: Laptop System: LENOVO product: 21D8A009CD v: ThinkPad P15v Gen 3
    serial: <superuser required>
  Mobo: LENOVO model: 21D8A009CD v: SDK0T76479 WIN
    serial: <superuser required> UEFI: LENOVO v: N3EET27W (1.13 )
    date: 12/09/2022
Battery:
  ID-1: BAT0 charge: 69.3 Wh (100.0%) condition: 69.3/68.0 Wh (101.9%)
CPU:
  Info: 14-core (6-mt/8-st) 12th Gen Intel Core i7-12700H [MST AMCP]
    speed (MHz): avg: 2278 min/max: 400/4600:4700:3500
Graphics:
  Device-1: Intel Alder Lake-P Integrated Graphics driver: i915 v: kernel
  Device-2: NVIDIA TU117GLM [T600 Laptop GPU] driver: nouveau v: kernel
  Device-3: IMC Networks Integrated Camera type: USB driver: uvcvideo
  Display: x11 server: X.Org v: 21.1.7 with: Xwayland v: 21.1.99 driver: X:
    loaded: modesetting dri: iris gpu: i915 resolution: 1: 3840x2160~60Hz
    2: 1920x1080~60Hz
  API: OpenGL v: 4.6 Mesa 22.3.5 renderer: Mesa Intel Graphics (ADL GT2)
Network:
  Device-1: Intel Alder Lake-P PCH CNVi WiFi driver: iwlwifi
  Device-2: Intel Ethernet I219-V driver: e1000e
Drives:
  Local Storage: total: 476.94 GiB used: 292.03 GiB (61.2%)
Info:
  Processes: 373 Uptime: 1h 8m Memory: 31.05 GiB used: 10.12 GiB (32.6%)
  Shell: Zsh inxi: 3.3.25
❯ wechat -i ~/Downloads/WeChatSetup.exe
Using winetricks 20230212-next - sha256sum: 10c29afe981343a6f132532d102df45ed0294c4685c8ed20669edfb0cd788500 with wine-8.2 and WINEARCH=win32
Executing w_do_call sandbox
Executing load_sandbox
Executing rm -f /home/soul11201/.local/lib/wine-wechat/default/dosdevices/z:
Executing wine C:\windows\regedit.exe /D HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\Desktop\Namespace\{9D20AAE8-0625-44B0-9CA7-71889C2254D9}
wine: could not open working directory L"unix\\home\\soul11201\\data\\logs\\", starting in the Windows directory.
Executing w_do_call isolate_home
Executing load_isolate_home
Executing w_do_call riched20
Executing load_riched20
grep: 警告:/ 前有多余的 \
Executing cabextract -q -d /home/soul11201/.local/lib/wine-wechat/default/dosdevices/c:/windows/temp -L -F i386/riched20.dl_ /home/soul11201/.cache/winetricks/win2ksp4/W2KSP4_EN.EXE
/home/soul11201/.local/lib/wine-wechat/default/dosdevices/c:/windows/temp/i386/riched20.dl_: No such file or directory
------------------------------------------------------
warning: Note: command cabextract -q -d /home/soul11201/.local/lib/wine-wechat/default/dosdevices/c:/windows/temp -L -F i386/riched20.dl_ /home/soul11201/.cache/winetricks/win2ksp4/W2KSP4_EN.EXE returned status 1. Aborting.
------------------------------------------------------
Traceback (most recent call last):
  File "/usr/bin/wechat", line 101, in <module>
    install(env, prefix, args.install)
  File "/usr/bin/wechat", line 59, in install
    subprocess.check_call([
  File "/usr/lib/python3.10/subprocess.py", line 369, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['winetricks', 'sandbox', 'riched20']' returned non-zero exit status 1.

最近编辑记录 soul11201 (2023-02-22 15:55:40)

离线

#2 2023-02-22 16:40:05

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,919
个人网站

Re: wechat install failed

file /home/soul11201/.cache/winetricks/win2ksp4/W2KSP4_EN.EXE

看看是不是文件下得不对?

离线

#3 2023-02-22 20:53:36

soul11201
会员
注册时间: 2023-01-12
帖子: 12

Re: wechat install failed

--2023-02-22 20:51:42--  http://x3270.bgp.nu/download/specials/W2KSP4_EN.EXE
正在解析主机 x3270.bgp.nu (x3270.bgp.nu)... 147.28.0.53
正在连接 x3270.bgp.nu (x3270.bgp.nu)|147.28.0.53|:80... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度:135477136 (129M) [application/octet-stream]
正在保存至: “W2KSP4_EN.EXE”

W2KSP4_EN.EXE                                 100%[==============================================================================================>] 129.20M  1.43MB/s  用时 82s

重新下载了一次

md5sum a4ef6c91d418418b287cefe31f958175

最近编辑记录 soul11201 (2023-02-22 20:55:37)

离线

#4 2023-02-22 21:04:12

soul11201
会员
注册时间: 2023-01-12
帖子: 12

Re: wechat install failed

mkdir ~/.local/lib/wine-wechat/default/dosdevices/c:/windows/temp/i386
wechat -i path  执行过程中删除会删除  ~/.local/lib/wine-wechat/default/dosdevices/c:/windows/temp/i386 这个目录

最近编辑记录 soul11201 (2023-02-22 21:41:59)

离线

#5 2023-02-22 21:21:24

soul11201
会员
注册时间: 2023-01-12
帖子: 12

Re: wechat install failed

❯ cabextract -q -d ~/.local/lib/wine-wechat/default/dosdevices/c:/windows/temp -L -F i386/riched20.dl_ ~/.cache/winetricks/win2ksp4/W2KSP4_EN.EXE
/home/soul11201/.local/lib/wine-wechat/default/dosdevices/c:/windows/temp/i386/riched20.dl_: No such file or directory

❯ mkdir ~/.local/lib/wine-wechat/default/dosdevices/c:/windows/temp/i386 -p
❯ cabextract -q -d ~/.local/lib/wine-wechat/default/dosdevices/c:/windows/temp -L -F i386/riched20.dl_ ~/.cache/winetricks/win2ksp4/W2KSP4_EN.EXE
❯ cabextract -q -d ~/.local/lib/wine-wechat/default/dosdevices/c:/windows/temp -L -F i386/riched20.dl_ ~/.cache/winetricks/win2ksp4/W2KSP4_EN.EXE
❯ ls -alh  /home/soul11201/.local/lib/wine-wechat/default/dosdevices/c:/windows/temp/i386
total 244K
drwxr-xr-x 2 soul11201 soul11201 4.0K Feb 22 21:21 .
drwxr-xr-x 3 soul11201 soul11201 4.0K Feb 22 21:21 ..
-rw-r--r-- 1 soul11201 soul11201 233K Jun 19  2003 riched20.dl_

离线

#6 2023-02-22 21:37:54

soul11201
会员
注册时间: 2023-01-12
帖子: 12

Re: wechat install failed

❯ WINEPREFIX="$HOME/.wine32"  WINEARCH=win32 winetricks riched20
Using winetricks 20230212-next - sha256sum: 10c29afe981343a6f132532d102df45ed0294c4685c8ed20669edfb0cd788500 with wine-8.2 and WINEARCH=win32
Executing w_do_call riched20
Executing load_riched20
grep: warning: stray \ before /
Executing cabextract -q -d /home/soul11201/.wine32/dosdevices/c:/windows/temp -L -F i386/riched20.dl_ /home/soul11201/.cache/winetricks/win2ksp4/W2KSP4_EN.EXE
/home/soul11201/.wine32/dosdevices/c:/windows/temp/i386/riched20.dl_: No such file or directory
------------------------------------------------------
warning: Note: command cabextract -q -d /home/soul11201/.wine32/dosdevices/c:/windows/temp -L -F i386/riched20.dl_ /home/soul11201/.cache/winetricks/win2ksp4/W2KSP4_EN.EXE returned status 1. Aborting.
------------------------------------------------------

离线

#7 2023-02-22 21:48:21

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,919
个人网站

Re: wechat install failed

确实,要手动创建 i386 目录才能。自己改一下 winetricks 脚本吧(然后去上游报个 bug(

离线

#8 2023-02-23 17:09:20

soul11201
会员
注册时间: 2023-01-12
帖子: 12

Re: wechat install failed

有其他人碰到了,https://github.com/Winetricks/winetricks/pull/2025/files copy 一下解决了
安装过程全程乱码 。

图片一般都往那里贴

❯ locale -a
C
C.UTF-8
POSIX
en_US.utf8
zh_CN.utf8

最近编辑记录 soul11201 (2023-02-23 17:09:51)

离线

#9 2023-02-23 17:20:03

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,919
个人网站

Re: wechat install failed

图片可以往这里贴: https://smms.app/

离线

#10 2023-02-24 14:03:36

soul11201
会员
注册时间: 2023-01-12
帖子: 12

Re: wechat install failed

lqtBUfRsrWh5CSY.png
3Z71RP5e64CHUwi.png

离线

#11 2023-02-24 14:48:15

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,919
个人网站

Re: wechat install failed

字体问题。试试往 ~/.local/lib/wine-wechat/default/drive_c/windows/Fonts 丢一个 simsun.ttc。

离线

#12 2023-02-24 20:45:35

soul11201
会员
注册时间: 2023-01-12
帖子: 12

Re: wechat install failed

厉害,怎么看出来是这个字体丢失导致的

安装完后 立即使用,崩溃了,

GAx17a6bsD3kprC.png

离线

#13 2023-02-24 20:46:31

soul11201
会员
注册时间: 2023-01-12
帖子: 12

Re: wechat install failed

0x04bb7df5 mmmojo+0x57df5: int	$3
Modules:
Module	Address			Debug info	Name (123 modules)
PE	00400000-00496000	Export          wechat
PE	012a0000-012c2000	Deferred        msacm32
PE	012d0000-0131a000	Deferred        dxgi
PE	01320000-01f45000	Deferred        voipengine
PE	01f50000-01fe3000	Deferred        gdiplus
PE	01ff0000-03a86000	Deferred        libffmpeg
PE	03a90000-03b45000	Deferred        mmtcmalloc
PE	03b50000-041b1000	Deferred        andromeda
PE	04b40000-04b4f000	Deferred        imagehlp
PE	04b60000-04d72000	Export          mmmojo
PE	10000000-13324000	Export          wechatwin
PE	61c40000-61c4d000	Deferred        userenv
PE	622c0000-622f3000	Deferred        rsaenh
PE	62500000-62634000	Deferred        oleaut32
PE	63580000-635c7000	Deferred        oleacc
PE	63880000-638aa000	Deferred        wintrust
PE	63900000-6390a000	Deferred        psapi
PE	63c00000-63c50000	Deferred        winhttp
PE	64180000-64216000	Deferred        winspool
PE	643c0000-643e9000	Deferred        ws2_32
PE	646c0000-646f6000	Deferred        iphlpapi
PE	64a80000-64abc000	Deferred        win32u
PE	65340000-6534a000	Deferred        msimg32
PE	65480000-65515000	Deferred        rpcrt4
PE	65680000-6572e000	Deferred        msvcrt
PE	66080000-660dd000	Deferred        shlwapi
PE	66380000-664c1000	Deferred        ole32
PE	66640000-6664d000	Deferred        version
PE	667c0000-667da000	Deferred        shcore
PE	66fc0000-66fd5000	Deferred        compstui
PE	67500000-6751b000	Deferred        imm32
PE	67bc0000-67d2c000	Deferred        comctl32
PE	68280000-682a6000	Deferred        jsproxy
PE	684c0000-68522000	Deferred        combase
PE	68880000-68a47000	Deferred        user32
PE	68cc0000-68d9a000	Deferred        crypt32
PE	69040000-6914f000	Deferred        comdlg32
PE	69840000-69884000	Deferred        advapi32
PE	69bc0000-69bd0000	Deferred        wsock32
PE	69ec0000-69f47000	Deferred        ddraw
PE	6a600000-6a60d000	Deferred        kerberos
PE	6aac0000-6ab99000	Deferred        ucrtbase
PE	6aec0000-6af44000	Deferred        setupapi
PE	6bb40000-6bbc0000	Deferred        winex11
PE	6bbc0000-6bbec000	Deferred        sechost
PE	6c100000-6c188000	Deferred        wininet
PE	6cc80000-6cf16000	Deferred        wined3d
PE	6d480000-6d4a3000	Deferred        secur32
PE	6d9c0000-6da3a000	Deferred        d3d11
PE	6da80000-6db0c000	Deferred        gdi32
PE	6e200000-6e216000	Deferred        bcrypt
PE	6ecc0000-6ecd6000	Deferred        dnsapi
PE	6f240000-6f308000	Deferred        winmm
PE	6f6c0000-6f6cb000	Deferred        nsi
PE	6f8c0000-6f955000	Deferred        wldap32
PE	70000000-7007a000	Deferred        dbghelp
PE	70380000-70431000	Deferred        urlmon
PE	70d80000-70db8000	Deferred        uxtheme
PE	712c0000-712e1000	Deferred        mpr
PE	71400000-71d41000	Deferred        shell32
PE	7a800000-7a953000	Deferred        opengl32
PE	7b000000-7b2a7000	Deferred        kernelbase
PE	7b600000-7b661000	Dwarf           kernel32
PE	7bc00000-7bcae000	Dwarf           ntdll
ELF	7d000000-7d005000	Deferred        <wine-loader>
ELF	7e1ea000-7e215000	Deferred        libexpat.so.1
ELF	7e215000-7e268000	Deferred        libfontconfig.so.1
ELF	7e268000-7e309000	Deferred        libpcre2-8.so.0
ELF	7e309000-7e32c000	Deferred        libbrotlicommon.so.1
ELF	7e32c000-7e485000	Deferred        libglib-2.0.so.0
ELF	7e485000-7e493000	Deferred        libbrotlidec.so.1
ELF	7e493000-7e59b000	Deferred        libharfbuzz.so.0
ELF	7e59b000-7e5d8000	Deferred        libpng16.so.16
ELF	7e5d8000-7e6b5000	Deferred        libfreetype.so.6
ELF	7e6b5000-7e786000	Deferred        libm.so.6
ELF	7e786000-7e8fb000	Deferred        win32u.so
ELF	7ee00000-7ee12000	Deferred        libbz2.so.1.0
ELF	7ee12000-7ee2b000	Deferred        libz.so.1
ELF	7ee2b000-7ee50000	Deferred        libgcc_s.so.1
ELF	7ee78000-7f000000	Dwarf           libwine.so.1
ELF	f5dd6000-f5e2e000	Deferred        libgssapi_krb5.so.2
ELF	f5e2e000-f5e41000	Deferred        libresolv.so.2
ELF	f5e41000-f5f17000	Deferred        libkrb5.so.3
ELF	f5f17000-f60ce000	Deferred        libunistring.so.5
ELF	f60ce000-f615a000	Deferred        libgmp.so.10
ELF	f615a000-f61a4000	Deferred        libhogweed.so.6
ELF	f61a4000-f61f3000	Deferred        libnettle.so.8
ELF	f61f3000-f62bb000	Deferred        libzstd.so.1
ELF	f62bb000-f6400000	Deferred        libp11-kit.so.0
ELF	f6400000-f663c000	Deferred        libgnutls.so.30
ELF	f663c000-f6644000	Deferred        libkeyutils.so.1
ELF	f6644000-f6654000	Deferred        libkrb5support.so.0
ELF	f6654000-f6683000	Deferred        libk5crypto.so.3
ELF	f6683000-f669b000	Deferred        libtasn1.so.6
ELF	f669b000-f66bc000	Deferred        libidn2.so.0
ELF	f66bc000-f675c000	Deferred        libbrotlienc.so.1
ELF	f675c000-f6800000	Deferred        opengl32.so
ELF	f795f000-f7964000	Deferred        libcom_err.so.2
ELF	f7975000-f797b000	Deferred        crypt32.so
ELF	f797b000-f7987000	Deferred        bcrypt.so
ELF	f7987000-f798c000	Deferred        dnsapi.so
ELF	f798c000-f7994000	Deferred        kerberos.so
ELF	f7994000-f799c000	Deferred        libxfixes.so.3
ELF	f799c000-f79a9000	Deferred        libxcursor.so.1
ELF	f79da000-f79ef000	Deferred        libxi.so.6
ELF	f79ef000-f79ff000	Deferred        libxrandr.so.2
ELF	f79ff000-f7a0d000	Deferred        libxrender.so.1
ELF	f7a0d000-f7a15000	Deferred        libxxf86vm.so.1
ELF	f7a15000-f7a1c000	Deferred        libxdmcp.so.6
ELF	f7a1c000-f7a21000	Deferred        libxau.so.6
ELF	f7a21000-f7b73000	Deferred        libx11.so.6
ELF	f7b73000-f7c00000	Deferred        winex11.so
ELF	f7c00000-f7e2b000	Deferred        libc.so.6
ELF	f7e30000-f7e5c000	Deferred        libxcb.so.1
ELF	f7e5c000-f7e72000	Deferred        libxext.so.6
ELF	f7e72000-f7e77000	Deferred        libpthread.so.0
ELF	f7e77000-f7e7c000	Deferred        libdl.so.2
ELF	f7e7c000-f7e86000	Deferred        libffi.so.8
ELF	f7e86000-f7e90000	Deferred        secur32.so
ELF	f7e90000-f7e96000	Deferred        winspool.so
ELF	f7e9a000-f7ea1000	Deferred        ws2_32.so
ELF	f7ebc000-f7f6d000	Deferred        ntdll.so
ELF	f7f6f000-f7fa4000	Deferred        ld-linux.so.2
Threads:
process  tid      prio    name (all IDs are in hex)
00000038 services.exe
	0000003c    0     
	00000040    0     wine_rpcrt4_server
	0000004c    0     wine_rpcrt4_io
	00000070    0     wine_rpcrt4_io
	00000084    0     wine_rpcrt4_io
	00000090    0     wine_rpcrt4_io
	000000ac    0     wine_rpcrt4_io
	000002fc    0     wine_rpcrt4_io
00000044 winedevice.exe
	00000048    0     
	00000054    0     
	00000058    0     wine_sechost_service
	0000005c    0     
	00000060    0     
	00000064    0     
	000000c8    0     
00000068 winedevice.exe
	0000006c    0     
	00000074    0     
	00000078    0     wine_sechost_service
	0000007c    0     
	000000a8    0     
	000000b8    0     
00000088 plugplay.exe
	0000008c    0     
	00000094    0     
	00000098    0     wine_sechost_service
	0000009c    0     wine_rpcrt4_server
	000000c0    0     wine_rpcrt4_io
000000a0 svchost.exe
	000000a4    0     
	000000b4    0     
	000000bc    0     wine_sechost_service
000002dc explorer.exe
	000002e0    0     
	000002e4    0     
	000002e8    0     wine_rpcrt4_server
000002f4 rpcss.exe
	000002f8    0     
	00000304    0     
	00000308    0     wine_sechost_service
	0000030c    0     wine_rpcrt4_server
	00000310    0     wine_rpcrt4_server
	00000314    0     wine_rpcrt4_io
000003d4 (D) C:\Program Files\Tencent\WeChat\WeChat.exe
	000003d8    0 <== 
	000003dc    0     
	000003e0    0     MMMojo IO Thread
	000003e4    0     BrokerEvent
	000003f8    0     
	00000400    0     
	00000408    0     
	00000410    0     
	00000418    0     
	00000420    0     
	00000428    0     
	00000430    0     
	00000438    0     
	00000440    0     
	00000448    0     
	00000450    0     
	00000458    0     
	00000460    0     
	00000468    0     
	00000470    0     
	00000478    0     
	00000480    0     
	00000488    0     
	00000490    0     
	00000498    0     
000003f0 conhost.exe
	000003f4    0     
System information:
    Wine build: wine-8.2
    Platform: i386
    Version: Windows 10
    Host system: Linux
    Host version: 6.1.12-zen1-1-zen

离线

#14 2023-02-24 22:37:08

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,919
个人网站

Re: wechat install failed

见多了自然就知道了。
这个崩溃我就不知道怎么办了。

离线

#15 2023-02-25 10:11:10

Little Water
会员
注册时间: 2023-02-06
帖子: 11

Re: wechat install failed

如果你是x11, 可以尝试降级处理,我的旧版本就还可以在X11上用,但wayland就不显示窗口了=(


听凭风引,且听风吟

离线

页脚