Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug:模拟器空白 #17

Closed
viger opened this issue Feb 26, 2022 · 5 comments
Closed

bug:模拟器空白 #17

viger opened this issue Feb 26, 2022 · 5 comments
Labels
bug Something isn't working

Comments

@viger
Copy link

viger commented Feb 26, 2022

问题描述:
载入项目后,模拟器空白,调试器报错:
[ WXML 文件编译错误] /home/xxx/.config/wechat_devtools/WeappVendor/wcc.exe: 1: MZ������@������: not found /home/xxx/.config/wechat_devtools/WeappVendor/wcc.exe: 2: �����aV��K������#�����: not found /home/xxx/.config/wechat_devtools/WeappVendor/wcc.exe: 3: Syntax error: word unexpected (env: Windows,mp,1.05.2201240; lib: 2.15.0) [ WXSS 文件编译错误] /home/xxx/.config/wechat_devtools/WeappVendor/wcsc.exe: 1: MZ������@������: not found(env: Windows,mp,1.05.2201240; lib: 2.15.0)
问题呈现:
Screenshot from 2022-02-26 11-29-31
系统平台:
Linux Mint 20.2 Cinnamon 5.4.0-92-generic
安装包:
WeChat_Dev_Tools_v0.17_x86_64_wine.tar.gz

@msojocs
Copy link
Owner

msojocs commented Feb 26, 2022

我使用该版本未复现问题,
请检查一下~/.config/wechat_devtools/WeappVendor/wcc.exe文件是否存在

然后,请尝试删除~/.config/wechat_devtools目录

若无效,抱歉由于乱码无法知晓细节,请尝试使用no_wine版本

如果您有足够的时间,可以新建默认项目进行测试,
然后,点击菜单栏-微信开发者工具-调试-调试微信开发者工具查看是否有与wcc相关的报错
或者创建一个能够复现该问题的代码片段

@msojocs msojocs added the bug Something isn't working label Feb 26, 2022
@viger
Copy link
Author

viger commented Feb 26, 2022

你好,
确认~/.config/wechat_devtools/WeappVendor/wcc.exe文件存在,尝试删除~/.config/wechat_devtools目录,重启应用后问题依旧存在
打开调试微信开发工具,报如下错误:
Screenshot from 2022-02-26 12-25-06
创建基础版本,错误依旧。
谢谢。

@viger
Copy link
Author

viger commented Feb 26, 2022

你好,使用none-wine版本正确渲染出来了。
感谢你创建的此项目,以前都是虚拟机+微信开发工具,现在不用那么麻烦了。

@msojocs
Copy link
Owner

msojocs commented Feb 26, 2022

截图中的控制台报错属于正常报错,根据控制台信息执行的程序应为AppImage可执行文件而不是tar.gz解压后的文件,
但是我使用AppImage仍然未复现,推测为wine执行wcc.exe时出现问题。

额外请求

由于您开始尝试none-wine且通过测试,故此处为额外请求;
如果方便,您可以提供wine /path/to/wcc.exe的结果吗?

@msojocs
Copy link
Owner

msojocs commented Feb 26, 2022

问题不能复现,根据搜索引擎结果应该跟wine有关,似乎安装wine-binfmt能解决?不太确定~

@msojocs msojocs closed this as completed Feb 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants