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

字符集错误,具体哪里原因不详 #131

Closed
cpsoft opened this issue Jun 28, 2023 · 4 comments
Closed

字符集错误,具体哪里原因不详 #131

cpsoft opened this issue Jun 28, 2023 · 4 comments

Comments

@cpsoft
Copy link

cpsoft commented Jun 28, 2023

Unhandled exception:
FormatException: Missing extension byte (at offset 229)
#0 _Utf8Decoder.convertSingle (dart:convert-patch/convert_patch.dart:1747:7)
#1 Utf8Decoder.convert (dart:convert/utf.dart:351:42)
#2 DefaultShellExecutor.exec. (package:flutter_distributor/src/utils/default_shell_executor.dart:35:33)
#3 _RootZone.runUnaryGuarded (dart:async/zone.dart:1594:10)
#4 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:339:11)
#5 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:271:7)
#6 _SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:776:19)
#7 _StreamController._add (dart:async/stream_controller.dart:650:7)
#8 _StreamController.add (dart:async/stream_controller.dart:598:5)
#9 _Socket._onData (dart:io-patch/socket_patch.dart:2381:41)
#10 _RootZone.runUnaryGuarded (dart:async/zone.dart:1594:10)
#11 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:339:11)
#12 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:271:7)
#13 _SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:776:19)
#14 _StreamController._add (dart:async/stream_controller.dart:650:7)
#15 _StreamController.add (dart:async/stream_controller.dart:598:5)
#16 new _RawSocket. (dart:io-patch/socket_patch.dart:1899:33)
#17 _NativeSocket.issueReadEvent.issue (dart:io-patch/socket_patch.dart:1356:14)�

@cpsoft
Copy link
Author

cpsoft commented Jun 28, 2023

Parsing [Languages] section, line 27
Reading file: C:\Program Files (x86)\Inno Setup 6\Languages\ChineseSimplified.isl�

默认安装Inno Setup 6时没有中文语言文件。加上后可以执行过。建议处理一下提示,能友好一点。

@yang-dong-dong
Copy link

https://raw.githubusercontent.com/jrsoftware/issrc/main/Files/Languages/Unofficial/ChineseSimplified.isl

@huangsir0
Copy link

哥们解决了吗,我也遇到这个问题

@lijy91
Copy link
Member

lijy91 commented Mar 31, 2024

我找到这个问题发生的原因,因为防病毒软件的实时防护导致了 ISCC.exe 在执行失败时输出了文件被其他程序打开的中文消息(目前还没处理非 utf8 的消息导致),解决办法是关闭实时防护或将相应的目录添加到白名单中 https://stackoverflow.com/a/20123804/4049871

@lijy91 lijy91 closed this as completed Apr 3, 2024
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

4 participants