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

/coding 时报错,Error: 'gbk' codec can't decode byte ... #49

Open
Undertone0809 opened this issue Nov 23, 2024 · 0 comments
Open

/coding 时报错,Error: 'gbk' codec can't decode byte ... #49

Undertone0809 opened this issue Nov 23, 2024 · 0 comments

Comments

@Undertone0809
Copy link

image

relevant log:

...
2024-11-24 04:52:04.974 | INFO     | autocoder.index.index:build_index_and_filter_files:784 -
=== Build Index and Filter Files Summary ===
2024-11-24 04:52:04.974 | INFO     | autocoder.index.index:build_index_and_filter_files:785 - Total files in project: 81
2024-11-24 04:52:04.975 | INFO     | autocoder.index.index:build_index_and_filter_files:786 - Files indexed: 78
2024-11-24 04:52:04.975 | INFO     | autocoder.index.index:build_index_and_filter_files:787 - Files after Level 1 filter: 33
2024-11-24 04:52:04.976 | INFO     | autocoder.index.index:build_index_and_filter_files:788 - Files after Level 2 filter: 0
2024-11-24 04:52:04.976 | INFO     | autocoder.index.index:build_index_and_filter_files:789 - Files after relevance verification: 11
2024-11-24 04:52:04.976 | INFO     | autocoder.index.index:build_index_and_filter_files:790 - Final files selected: 11
2024-11-24 04:52:04.976 | INFO     | autocoder.index.index:build_index_and_filter_files:791 -
Time breakdown:
2024-11-24 04:52:04.976 | INFO     | autocoder.index.index:build_index_and_filter_files:793 -   - process_tagged_sources: 0.00s
2024-11-24 04:52:04.977 | INFO     | autocoder.index.index:build_index_and_filter_files:793 -   - build_index: 20.56s
2024-11-24 04:52:04.977 | INFO     | autocoder.index.index:build_index_and_filter_files:793 -   - level1_filter: 36.20s
2024-11-24 04:52:04.977 | INFO     | autocoder.index.index:build_index_and_filter_files:793 -   - relevance_verification: 13.99s
2024-11-24 04:52:04.977 | INFO     | autocoder.index.index:build_index_and_filter_files:793 -   - file_selection: 0.00s
2024-11-24 04:52:04.977 | INFO     | autocoder.index.index:build_index_and_filter_files:793 -   - prepare_output: 0.01s
2024-11-24 04:52:04.977 | INFO     | autocoder.index.index:build_index_and_filter_files:793 -   - total: 70.76s
2024-11-24 04:52:04.977 | INFO     | autocoder.index.index:build_index_and_filter_files:794 - Total execution time: 70.76s
2024-11-24 04:52:04.978 | INFO     | autocoder.index.index:build_index_and_filter_files:795 - ==========================================

2024-11-24 04:52:04.978 | INFO     | autocoder.dispacher.actions.action:process_content:84 - Auto generate the code...
2024-11-24 04:52:04.993 | WARNING  | autocoder.tsproject:convert_to_source_code:157 - Failed to read file: E:\Projects\cogit\app\(tabs)\discover.tsx. Error: 'gbk' codec can't decode byte 0xb0 in position 1838: illegal multibyte sequence
2024-11-24 04:52:04.994 | WARNING  | autocoder.tsproject:convert_to_source_code:157 - Failed to read file: E:\Projects\cogit\components\AnimatedCards.tsx. Error: 'gbk' codec can't decode byte 0xa7 in position 853: illegal multibyte sequence
2024-11-24 04:52:04.996 | WARNING  | autocoder.tsproject:convert_to_source_code:157 - Failed to read file: E:\Projects\cogit\components\icon\homeAddIcon.tsx. Error: 'gbk' codec can't decode byte 0xa7 in position 788: illegal multibyte sequence
2024-11-24 04:52:04.997 | WARNING  | autocoder.tsproject:convert_to_source_code:157 - Failed to read file: E:\Projects\cogit\components\icon\HomeIcon.tsx. Error: 'gbk' codec can't decode byte 0x80 in position 310: illegal multibyte sequence
2024-11-24 04:52:04.998 | WARNING  | autocoder.tsproject:convert_to_source_code:157 - Failed to read file: E:\Projects\cogit\components\sections\MasonryLayout.tsx. Error: 'gbk' codec can't decode byte 0xa4 in position 681: illegal multibyte sequence
2024-11-24 04:52:05.000 | WARNING  | autocoder.tsproject:convert_to_source_code:157 - Failed to read file: E:\Projects\cogit\components\ui\Card\ActionModal.tsx. Error: 'gbk' codec can't decode byte 0xae in position 794: illegal multibyte sequence
2024-11-24 04:52:05.001 | WARNING  | autocoder.tsproject:convert_to_source_code:157 - Failed to read file: E:\Projects\cogit\components\ui\Card\DetailModal.tsx. Error: 'gbk' codec can't decode byte 0xae in position 890: illegal multibyte sequence
2024-11-24 04:52:05.002 | WARNING  | autocoder.tsproject:convert_to_source_code:157 - Failed to read file: E:\Projects\cogit\components\ui\Card\ImageCard.tsx. Error: 'gbk' codec can't decode byte 0xae in position 179: illegal multibyte sequence
2024-11-24 04:52:05.002 | WARNING  | autocoder.tsproject:convert_to_source_code:157 - Failed to read file: E:\Projects\cogit\components\ui\Card\LinkCard.tsx. Error: 'gbk' codec can't decode byte 0xad in position 564: illegal multibyte sequence
2024-11-24 04:52:05.002 | WARNING  | autocoder.tsproject:convert_to_source_code:157 - Failed to read file: E:\Projects\cogit\components\ui\Card\UniversalCard.tsx. Error: 'gbk' codec can't decode byte 0xa7 in position 2935: illegal multibyte sequence
2024-11-24 04:52:05.010 | WARNING  | autocoder.tsproject:convert_to_source_code:157 - Failed to read file: E:\Projects\cogit\lib\utils\favicon-cache-manager.ts. Error: 'gbk' codec can't decode byte 0xae in position 347: illegal multibyte sequence
2024-11-24 04:52:05.011 | WARNING  | autocoder.tsproject:convert_to_source_code:157 - Failed to read file: E:\Projects\cogit\mock\memo.ts. Error: 'gbk' codec can't decode byte 0x80 in position 765: illegal multibyte sequence
2024-11-24 04:52:05.013 | WARNING  | autocoder.tsproject:convert_to_source_code:157 - Failed to read file: E:\Projects\cogit\types\card.ts. Error: 'gbk' codec can't decode byte 0xa7 in position 811: illegal multibyte sequence
2024-11-24 04:52:05.014 | WARNING  | autocoder.tsproject:convert_to_source_code:157 - Failed to read file: E:\Projects\cogit\utils\favicon.ts. Error: 'gbk' codec can't decode byte 0xaf in position 171: illegal multibyte sequence
2024-11-24 04:53:58.658 | INFO     | autocoder.dispacher.actions.action:process_content:119 - Auto merge the code...
2024-11-24 04:53:58.658 | WARNING  | autocoder.common.code_auto_merge_editblock:merge_code:275 - No changes were made to any files.
[email protected]:~$                                                                                                                                                                                    
Please enter a shell command to execute.                  

一轮下来自动停止了,也没有改动代码,操作了几次都是这样。

log 建议单独放一个文件,log太多有点影响阅读。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant