UnicodeDecode error on byte 0x92

Bug #1342105 reported by Michael Orlitzky
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pypolicyd-spf
Fix Released
Medium
Scott Kitterman

Bug Description

I had forgotten about this, but it just happened again (see my last comment on bug #1325579). It's pretty much the same error, except with the new version it's using the utf-8 codec instead of ascii. Still only happening on spam.

Jul 14 15:46:31 mx1 policyd-spf[30575]: Traceback (most recent call last):

Jul 14 15:46:31 mx1 policyd-spf[30575]: File "/usr/lib/python-exec/python3.3/policyd-spf", line 654, in <module>

Jul 14 15:46:31 mx1 policyd-spf[30575]: line = lineraw.decode('UTF-8')

Jul 14 15:46:31 mx1 policyd-spf[30575]: UnicodeDecodeError: 'utf-8' codec can't decode byte 0x92 in position 13: invalid start byte

Jul 14 15:46:32 mx1 postfix/smtpd[30571]: warning: premature end-of-input on private/policyd-spf while reading input attribute name

Jul 14 15:46:32 mx1 postfix/smtpd[30571]: warning: problem talking to server private/policyd-spf: Success

Jul 14 15:46:32 mx1 postfix/smtpd[30571]: NOQUEUE: reject: RCPT from unknown[162.219.27.163]: 451 4.3.5 Server configuration problem; from=<Rachel?<email address hidden>> to=<email address hidden> proto=ESMTP helo=<rket163.beuondit.com>

Related branches

Revision history for this message
Scott Kitterman (kitterman) wrote : Re: [Bug 1342105] [NEW] UnicodeDecode error on byte 0x92

What version are you running? And what version of python are you running it
with?

Scott K

Revision history for this message
Scott Kitterman (kitterman) wrote :

I missed you comment in the other bug. Sorry about that.

Revision history for this message
Michael Orlitzky (michael-orlitzky) wrote :

python-3.3.3
pydns-3.1.0
pyspf-2.0.9
pypolicyd-spf-1.3.1

Don't worry about it, I completely forgot.

Revision history for this message
Scott Kitterman (kitterman) wrote :

I didn't forget about this and I have a fix, but since it necessitates dropping python2 support, I'm hold it for version 1.4.

Changed in pypolicyd-spf:
importance: Undecided → Medium
assignee: nobody → Scott Kitterman (kitterman)
status: New → In Progress
Changed in pypolicyd-spf:
status: In Progress → Fix Committed
milestone: none → 2.0
Changed in pypolicyd-spf:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.