kubawolanin / Home-Assistant-Mail-And-Packages

Home Assistant integration providing day of package counts and USPS informed delivery images.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ISSUE: 'ascii' codec can't encode character '\u0142'

kubawolanin opened this issue · comments

Error searching emails: 'ascii' codec can't encode character '\u0142' in position 365: ordinal not in range(128)
Error searching emails: 'ascii' codec can't encode character '\u0119' in position 374: ordinal not in range(128)
Error searching emails: 'ascii' codec can't encode character '\u0142' in position 117: ordinal not in range(128)
Error searching emails: 'ascii' codec can't encode character '\u017c' in position 48: ordinal not in range(128)

https://stackoverflow.com/questions/9942594/unicodeencodeerror-ascii-codec-cant-encode-character-u-xa0-in-position-20

commented

U mnie to samo. Mam maila z DPD a błędy takie:

2022-01-14 10:12:45 ERROR (SyncWorker_0) [custom_components.mail_and_packages.helpers] Error searching emails: 'ascii' codec can't encode character '\u0142' in position 147: ordinal not in range(128)
2022-01-14 10:12:45 ERROR (SyncWorker_0) [custom_components.mail_and_packages.helpers] Error searching emails: 'ascii' codec can't encode character '\u0142' in position 147: ordinal not in range(128)
2022-01-14 10:12:45 ERROR (SyncWorker_0) [custom_components.mail_and_packages.helpers] Error searching emails: 'ascii' codec can't encode character '\u0142' in position 365: ordinal not in range(128)
2022-01-14 10:12:45 ERROR (SyncWorker_0) [custom_components.mail_and_packages.helpers] Error searching emails: 'ascii' codec can't encode character '\u0119' in position 374: ordinal not in range(128)
2022-01-14 10:12:46 ERROR (SyncWorker_0) [custom_components.mail_and_packages.helpers] Error searching emails: 'ascii' codec can't encode character '\u0142' in position 117: ordinal not in range(128)
2022-01-14 10:12:46 ERROR (SyncWorker_0) [custom_components.mail_and_packages.helpers] Error searching emails: 'ascii' codec can't encode character '\u017c' in position 48: ordinal not in range(128)

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

commented

Unstale

@adorobis have you tried the original repo on the dev branch? My stuff have been merged there and it seems it works pretty well. I didn't encounter these at least.
Cheers

commented

Thanks for update, I gave up on this integration as I don't see much value anyway...