AirtestProject / AirtestProject/AirtestIDE

在window x64 下 ,IDE的log查看窗中打印的中文都展示为unicode码

Offen
#1,166 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Keine Sprachdaten
Sterne
236
Forks
40
PR-Merge-Kennzahlen
PR-Kennzahlen ausstehend

Beschreibung

(请尽量按照下面提示内容填写,有助于我们快速定位和解决问题,感谢配合。**否则直接关闭。**)
在window x64 下 ,IDE的log查看窗中打印的中文都展示为unicode码
另外以前都可以选择区域识别,就是基于整个屏幕识别,现在无法实现,而且都是灰色。

**(重要!根据问题类型选择分类)**
* 图像识别相关问题 -> https://github.com/AirtestProject/Airtest/issues
![image](https://github.com/AirtestProject/AirtestIDE/assets/9924375/a20c823c-0aa0-4527-b8b8-4fcae39fa8a9)

* 控件识别、树状结构、poco库报错 -> https://github.com/AirtestProject/Poco/issues
* 测试开发环境AirtestIDE使用问题(本软件) -> 本页面
![image](https://github.com/AirtestProject/AirtestIDE/assets/9924375/5ee67bed-6cbb-4c30-97f2-74e3740fd686)
![image](https://github.com/AirtestProject/AirtestIDE/assets/9924375/73c5a951-bc40-407a-aec8-0e30c14c9caa)

**详细描述问题bug:**
bug描述
[I 240620 14:20:15 _device:1000] ProductVersion: 16.6
[I 240620 14:20:15 _device:1001] DeviceIdentifier: 00008101-000E2CA23A9B001E
[I 240620 14:20:16 _device:1050] Test runner ready detected
[I 240620 14:20:16 _device:1043] Start execute test plan with IDE version: 29
[I 240620 14:20:17 _device:1122] xctrunner quited
Traceback (most recent call last):
File "app\plugins\editor\auto_save_backupfile.py", line 48, in auto_save_file
File "d:\dev_local\.venv_ide_qt511\lib\encodings\cp1252.py", line 19, in encode
UnicodeEncodeError: 'charmap' codec can't encode characters in position 115-116: character maps to

Traceback (most recent call last):
File "app\plugins\editor\auto_save_backupfile.py", line 48, in auto_save_file
File "d:\dev_local\.venv_ide_qt511\lib\encodings\cp1252.py", line 19, in encode
UnicodeEncodeError: 'charmap' codec can't encode characters in position 188-189: character maps to

Traceback (most recent call last):
File "app\plugins\editor\auto_save_backupfile.py", line 48, in auto_save_file
File "d:\dev_local\.venv_ide_qt511\lib\encodings\cp1252.py", line 19, in encode
UnicodeEncodeError: 'charmap' codec can't encode characters in position 127-128: character maps to

**复现步骤:**

**python 版本:** `python3.12`

**操作系统:** `Windows10 Enterprise 64bit`

**手机设备信息:**
- 手机型号:
- Android系统版本号: [e.g. Android 8.1]
- (别的信息)

**其他相关信息补充**
(例如在linux ubuntu16.04上运行异常,在windows上正常等信息。)
- AirtestIDE版本号:
1.2.17
**截屏**
强烈建议带上截图,包括IDE本身的截图和后面的黑窗口的报错信息的截图(尽量完整)。

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.