SMTP Server Login Error An error occurred : character mapping must return integer, None or unicode
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Power Email |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
I am using Power Email 5.0.0.7 RC with python2.6 in openERP Sever 5.0.10
When I try to check outgoing Connection, this error is showed:
"SMTP Server Login Error An error occurred : character mapping must return integer, None or unicode "
stack trace :
[2010-05-18 09:31:16,240] DEBUG:Connectio
[2010-05-18 09:31:16,240] DEBUG:Connectio
[2010-05-18 09:31:16,240] DEBUG:Connectio
[2010-05-18 09:31:16,427] DEBUG:Connectio
[2010-05-18 09:31:16,428] DEBUG:Connectio
/usr/lib/
if hasattr(e, 'message'):
/usr/lib/
return ustr(e.message)
[2010-05-18 09:31:16,429] DEBUG_RPC:
[2010-05-18 09:31:16,738] DEBUG_RPC:
[2010-05-18 09:31:16,738] DEBUG_RPC:
[2010-05-18 09:31:16,740] DEBUG_RPC:
[2010-05-18 09:31:16,740] DEBUG_RPC:
[2010-05-18 09:31:16,740] DEBUG_RPC:
[2010-05-18 09:31:16,740] DEBUG_RPC:
[2010-05-18 09:31:16,741] DEBUG_RPC:
[2010-05-18 09:31:16,741] DEBUG:Connectio
Not always, I tried with two email accounts with one work and the other is not
It's a problem with python2.6.
I fixed writing in poweremail_core.py :
def out_connection(
...........
..............
Related branches
description: | updated |
description: | updated |
Changed in poweremail: | |
status: | New → Fix Committed |
Thank you for reporting this error.
Could you please report the stack trace so that we could triage this issue?