-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
"--verbose" parameter cause "cargo tauri build" error #8110
Comments
This is a regression from #8042. The panic occurs line 191 when tauri/tooling/bundler/src/bundle/common.rs Lines 183 to 194 in ae75004
|
The error occurs when @yang4515 As you were unable to reproduce the issue with a demo, could you please provide us with the (verbose) logs before the failure? At least a few lines, including one with the words |
@olivierlemasle The last command executed was bundle_dmg.sh, the difference between the demo and my application is that the demo is not signed, this issue may be related to the signature.
|
Thanks @yang4515, this is not related to signature but to product name. I noticed that the error occured when normally the product name is printed, so I managed to reproduce the issue with productName
Of course you removed the product name from the logs, but I guess it included a Chinese character or another 2-bytes character such as an emoji. Am I right? I'll now be able to submit a PR to fix this issue. |
@olivierlemasle Yes, the product name includes Chinese characters. |
The error occurs when the command output stream contains an invalid UTF-8 character, or ends with a multi-bytes UTF-8 character. Fixes tauri-apps#8110
The error occurs when the command output stream contains an invalid UTF-8 character, or ends with a multi-bytes UTF-8 character. Fixes tauri-apps#8110
Describe the bug
When I add "--verbose" parameter, I got:
And everything returns to normal when I remove the --verbose parameter.
I was unable to reproduce the issue using the official demo. The log provides the file and the line number where the error occurred. I am not familiar with Rust, can you provide some help?
Reproduction
No response
Expected behavior
No response
Platform and versions
Stack trace
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: