← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1834511] Re: policyd-spf crashes on UnicodeEncodeError

 

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.

** Also affects: pypolicyd-spf (Ubuntu Xenial)
   Importance: Undecided
       Status: New

** Changed in: pypolicyd-spf (Ubuntu Xenial)
       Status: New => Triaged

** Changed in: pypolicyd-spf (Ubuntu)
       Status: New => Fix Released

** Changed in: pypolicyd-spf (Ubuntu)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1834511

Title:
  policyd-spf crashes on UnicodeEncodeError

Status in pypolicyd-spf package in Ubuntu:
  Fix Released
Status in pypolicyd-spf source package in Xenial:
  Triaged

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/policyd-spf", line 708, in <module>
  Jun 25 22:49:13 mail policyd-spf[7946]:     sys.stdout.write('action=550 %s\n\n' % checkerReason)
  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/spawn[7945]: warning: command /usr/bin/policyd-spf exit status 1
  Jun 25 22:49:13 mail postfix/smtpd[7942]: warning: premature end-of-input on private/policy-spf while reading input attribute name
  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/policyd-spf", line 708, in <module>
  Jun 25 22:49:14 mail policyd-spf[7948]:     sys.stdout.write('action=550 %s\n\n' % checkerReason)
  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/spawn[7945]: warning: command /usr/bin/policyd-spf exit status 1
  Jun 25 22:49:14 mail postfix/smtpd[7942]: warning: premature end-of-input on private/policy-spf while reading input attribute name
  Jun 25 22:49:14 mail postfix/smtpd[7942]: warning: problem talking to server private/policy-spf: Success

  I am running Ubuntu 16.04.6 LTS
  postfix-policyd-spf-python:   Installed: 1.3.2-1

  I found this Debian bug report https://bugs.debian.org/cgi-
  bin/bugreport.cgi?bug=816850;msg=5 which suggests that the bug is
  fixed in version pypolicyd-spf/2.0.0-1 .

  Is there a way to get this fixed in Xenial?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pypolicyd-spf/+bug/1834511/+subscriptions