-
Notifications
You must be signed in to change notification settings - Fork 74
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] Unexpected extension byte (at offset 99) #231
Comments
Hi, |
Hi, |
I am building without certificate both are running flutter |
Hi, today i had the same problem again. With the following workaround it works.
P.S. The workaround use the behaivior, that the package either try to read the publisher from cert or use the given value from config. See sign_tool.dart |
ℹ️ Info
Version: v3.16.1
💬 Description
With
dart run msix:build -v
I get the following error:**Enter a description of your problem here.
PS C:\src\xxx> dart run msix:build -v
[ 0.022s] parsing cli arguments
[ 0.128s] validating config values
[ 0.146s] pack files in build folder: C:\src\xxx\build\windows\runner\Release
[ 0.148s] building msix files...
[ 0.149s] validating build files
[ 0.160s] cleaning temporary files
[ 0.198s] create app icons
[ 0.200s] generating icons
[ 6.539s] copying VC libraries
[ 6.565s] getting certificate publisher
[ 6.566s] getting certificate "Subject" by file certificate
Unhandled exception:
FormatException: Unexpected extension byte (at offset 99)
#0 _Utf8Decoder.convertChunked (dart:convert-patch/convert_patch.dart:1851:7)
#1 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:304:28)
#2 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:300:5)
#3 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:69:18)
#4 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:111:24)
#5 _RootZone.runUnaryGuarded (dart:async/zone.dart:1594:10)
#6 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:339:11)
#7 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:271:7)
#8 _SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:784:19)
#9 _StreamController._add (dart:async/stream_controller.dart:658:7)
#10 _StreamController.add (dart:async/stream_controller.dart:606:5)
#11 _Socket._onData (dart:io-patch/socket_patch.dart:2445:41)
#12 _RootZone.runUnaryGuarded (dart:async/zone.dart:1594:10)
#13 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:339:11)
#14 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:271:7)
#15 _SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:784:19)
#16 _StreamController._add (dart:async/stream_controller.dart:658:7)
#17 _StreamController.add (dart:async/stream_controller.dart:606:5)
#18 new _RawSocket. (dart:io-patch/socket_patch.dart:1934:33)
#19 _NativeSocket.issueReadEvent.issue (dart:io-patch/socket_patch.dart:1377:14)
#20 _microtaskLoop (dart:async/schedule_microtask.dart:40:21)
#21 _startMicrotaskLoop (dart:async/schedule_microtask.dart:49:5)
#22 _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:123:13)
#23 _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:190:5)
📜 Pubspec.yaml
The text was updated successfully, but these errors were encountered: