policyd-spf crashes on UnicodeEncodeError
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pypolicyd-spf (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Xenial |
Triaged
|
Undecided
|
Unassigned |
Bug Description
I got this in my error logs:
Jun 25 22:49:13 mail policyd-spf[7946]: Traceback (most recent call last):
Jun 25 22:49:13 mail policyd-spf[7946]: File "/usr/bin/
Jun 25 22:49:13 mail policyd-spf[7946]: sys.stdout.
Jun 25 22:49:13 mail policyd-spf[7946]: UnicodeEncodeError: 'ascii' codec can't encode character '\ufeff' in position 119: ordinal not in range(128)
Jun 25 22:49:13 mail postfix/
Jun 25 22:49:13 mail postfix/
Jun 25 22:49:14 mail policyd-spf[7948]: Traceback (most recent call last):
Jun 25 22:49:14 mail policyd-spf[7948]: File "/usr/bin/
Jun 25 22:49:14 mail policyd-spf[7948]: sys.stdout.
Jun 25 22:49:14 mail policyd-spf[7948]: UnicodeEncodeError: 'ascii' codec can't encode character '\ufeff' in position 119: ordinal not in range(128)
Jun 25 22:49:14 mail postfix/
Jun 25 22:49:14 mail postfix/
Jun 25 22:49:14 mail postfix/
I am running Ubuntu 16.04.6 LTS
postfix-
I found this Debian bug report https:/
Is there a way to get this fixed in Xenial?
That's correct. It was fixed in 2.0.0, but I'm not sure the fix would directly apply to 1.3.2. I've targeted the bug appropriately for 16.04. Perhaps someone involved in Ubuntu development will take a look.