Mzdyl / LiteLoaderQQNT_Install

针对 LiteLoaderQQNT 的安装脚本
BSD 3-Clause "New" or "Revised" License
1.41k stars 53 forks source link

[Bug][1.17pre]启动 QQ 失败: 'gbk' codec can't decode byte 0xaa in position 44: illegal multibyte sequence #131

Closed abbaccadd0 closed 2 months ago

abbaccadd0 commented 2 months ago

问题类型

请选择一个:将所选择的对应选项前方括号内空格改为x

运行平台

请选择您的运行平台:

运行版本

请填写您的运行版本: 1.17pre

描述

QQNT 的安装目录为: D:\Program Files\Tencent\QQNT\QQ.exe
检测到最新版本目录: 9.9.15-28131
开始修补 package.json…
已将旧版文件备份为 D:\Program Files\Tencent\QQNT\versions\9.9.15-28131\resources\app\package.json.bak 
"main" 字段已从 "./application/app_launcher/index.js" 修改为: "./app_launcher/index.js"
正在启动 QQ: D:\Program Files\Tencent\QQNT\QQ.exe --enable-logging
config_current_version:9.9.15-28131
config_prev_version:
load from:D:\Program Files\Tencent\QQNT\versions\9.9.15-28131\QQNT.dll
not mini app. 
v2 curr image file name: QQ.exe
[app]module file name: D:\Program Files\Tencent\QQNT\versions\9.9.15-28131\QQNT.dll
v module path: D:\Program Files\Tencent\QQNT\versions\9.9.15-28131\resources\app\
49ada49fd21aea8683e56fceb75e843ecb303189b83ab07eb19bbabeb9c49eca
0
[preload] process type:

[preload] succeeded. D:\Program Files\Tencent\QQNT\versions\9.9.15-28131\resources\app\major.node     
[preload] succeeded. D:\Program Files\Tencent\QQNT\versions\9.9.15-28131\resources\app\wrapper.node
[preload] register done. major.node
[LiteLoader] Found Plugin: Audio Sender
启动 QQ 失败: 'gbk' codec can't decode byte 0xaa in position 44: illegal multibyte sequence
Traceback (most recent call last):
  File "LaunchQQ.py", line 127, in launch_qq
    for stdout_line in iter(process.stdout.readline, ''):
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeDecodeError: 'gbk' codec can't decode byte 0xaa in position 44: illegal multibyte sequence 

错误截图

请粘贴错误截图: Snipaste_2024-09-19_22-43-51

若为 Bug 反馈且附带截图将被优先解决

附加信息

如果有任何其他相关信息,请注明:

Mzdyl commented 2 months ago

Bug 修好了,虽然方案改了下 launch.py / launch.exe 也用不到了