-
-
Notifications
You must be signed in to change notification settings - Fork 120
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
panic during envelope listing when envelope contains non-ASCII char #497
Comments
himalaya
wizard writes a config file that causes panics on default commandhimalaya
wizard writes a config file that causes panics on most commands
Looks like a char is breaking the table system managed by |
himalaya
wizard writes a config file that causes panics on most commandshimalaya
1.0.0-beta wizard writes a config file that causes panics on most commands
i can no longer reproduce using the version installed from github - either the bug's fixed, or the problematic email's fallen out of my inbox. i'll keep an eye out for this in the future, but closing for now. |
Do you remember by any chance some subject with special char? Or an emoji? |
Regrettably, no, and moving a chunk of thing from archive back to inbox did not reproduce. I'll reply here if I can repro in the future! |
I just got this error from Himalaya and I'm quite confused as the resulting file doesn't seem to contain any special characters outside ASCII. Here's the full backtrace:
Update: I was able to reliably reproduce this by setting the terminal width under 100 characters, which causes the comfy_table to panic. |
No matter the content, do you confirm? |
Oops, yeah I missed that I had some CJK titled messages coming in. It seems like comfy_table is unable to calculate the width properly when Unicode letters are involved. When only ASCII characters are displayed the bug wasn't reproducible. |
Can you print the content of the table that breaks when squashed into a narrow terminal? Best case scenario would be a minimal reproducable input. Furthermore, it would be good to know which OS you're on and maybe even what terminal emulator you're using. What's interesting is, is that that panic doesn't originate from inside comfy-table but rather from inside the standard library on |
himalaya
1.0.0-beta wizard writes a config file that causes panics on most commands
The text was updated successfully, but these errors were encountered: