Wallace and character encoding

Tobias Brunner tobias at tobru.ch
Thu May 30 09:54:17 CEST 2013


Hi everyone,

I see that there are several problems reported regarding Wallace 
crashing because of character conversion problems. The bug hit me, 
too... Wallace stops accepting mails and they stay stuck in the Postfix 
queue. I'm not sure if this bug could be fixed already, is it? The 
version of Wallace installed on my Debian server is 0.5.12-1.

The error I get is:
error: uncaptured python exception, closing channel <smtpd.SMTPChannel 
connected 127.0.0.1:56975 at 0x1e27488> (<type 
'exceptions.UnicodeDecodeError'>:'utf8' codec can't decode byte 0xdf in 
position 4108: invalid continuation byte 
[/usr/lib/python2.7/asyncore.py|read|83] 
[/usr/lib/python2.7/asyncore.py|handle_read_event|449] 
[/usr/lib/python2.7/asynchat.py|handle_read|158] 
[/usr/lib/python2.7/smtpd.py|found_terminator|181] 
[/usr/lib/python2.7/dist-packages/wallace/__init__.py|process_message|263] 
[/usr/lib/python2.7/json/__init__.py|dumps|238] 
[/usr/lib/python2.7/json/encoder.py|encode|202] 
[/usr/lib/python2.7/json/encoder.py|_iterencode|427] 
[/usr/lib/python2.7/json/encoder.py|_iterencode_dict|383])

After restarting Wallace, connections are accepted again and mails are 
delivered. But there are many mails stuck in 
'/var/spool/pykolab/wallace/resources/incoming'. How can I resend this 
mails?

Any idea what could be done to have Wallace stable again? I don't want 
to disable Wallace.

Thanks for any help!

Cheers,
Tobias




More information about the users mailing list