[GH-ISSUE #127] UnicodeEncodeError - 'charmap' codec can't encode characters in position #98

Closed
opened 2026-03-02 23:38:00 +03:00 by kerem · 4 comments
Owner

Originally created by @atkedu on GitHub (Oct 6, 2020).
Original GitHub issue: https://github.com/alexal1/Insomniac/issues/127

Hello guys i m facing this issue on 2.2.1

Crash-2020-10-06-19-38-50.zip
Crash-2020-10-06-19-40-29.zip
Crash-2020-10-06-19-41-19.zip

Any help? Thank you!

Originally created by @atkedu on GitHub (Oct 6, 2020). Original GitHub issue: https://github.com/alexal1/Insomniac/issues/127 Hello guys i m facing this issue on 2.2.1 [Crash-2020-10-06-19-38-50.zip](https://github.com/alexal1/Insomniac/files/5337284/Crash-2020-10-06-19-38-50.zip) [Crash-2020-10-06-19-40-29.zip](https://github.com/alexal1/Insomniac/files/5337287/Crash-2020-10-06-19-40-29.zip) [Crash-2020-10-06-19-41-19.zip](https://github.com/alexal1/Insomniac/files/5337288/Crash-2020-10-06-19-41-19.zip) Any help? Thank you!
kerem 2026-03-02 23:38:00 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@alexal1 commented on GitHub (Oct 7, 2020):

Strange, why logs are missing?
Could you attach full logs here?

<!-- gh-comment-id:704732113 --> @alexal1 commented on GitHub (Oct 7, 2020): Strange, why logs are missing? Could you attach full logs here?
Author
Owner

@atkedu commented on GitHub (Oct 8, 2020):

Not sure why logs are missing, it was creating a folder instead of a .zip file.

The related problem seems to be solved on 2.2.3, i will close this topic, if necessary i reopen it,

Thank you!

<!-- gh-comment-id:705305672 --> @atkedu commented on GitHub (Oct 8, 2020): Not sure why logs are missing, it was creating a folder instead of a .zip file. The related problem seems to be solved on 2.2.3, i will close this topic, if necessary i reopen it, Thank you!
Author
Owner

@10000hzl commented on GitHub (Oct 15, 2020):

Hi, this still happens (I'm on version 2.2.8). Apparently it happens when trying to unfollow a user who has non-unicode characters in the name (I'm pretty sure I also saw it happen if the non-unicode characters are in the profile bio). For some reason, no crash file is generated when this happens.

Screenshot_1

<!-- gh-comment-id:709317128 --> @10000hzl commented on GitHub (Oct 15, 2020): Hi, this still happens (I'm on version 2.2.8). Apparently it happens when trying to unfollow a user who has non-unicode characters in the name (I'm pretty sure I also saw it happen if the non-unicode characters are in the profile bio). For some reason, no crash file is generated when this happens. ![Screenshot_1](https://user-images.githubusercontent.com/29522006/96131212-3001c500-0ef9-11eb-85af-7e143a6f7ea2.png)
Author
Owner

@arthurspa commented on GitHub (Oct 16, 2020):

The logs are missing because it thrown an exception when calling dump_hierarchy().
To solve this we need to set encoding='utf-8' for the xml_dump file. In the printed logs it was using Windows CP1252 encoding, which does not contain ' \u0300'.

<!-- gh-comment-id:709918179 --> @arthurspa commented on GitHub (Oct 16, 2020): The logs are missing because it thrown an exception when calling dump_hierarchy(). To solve this we need to set encoding='utf-8' for the xml_dump file. In the printed logs it was using Windows CP1252 encoding, which does not contain ' \u0300'.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Insomniac#98
No description provided.