c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #02428
[Bug 670362] [NEW] Unable to convert while full downloading mail
Public bug reported:
Hi, I configure IMAP account with Gmail, I can send and see my 6 message in all message folder (I set this one on account page).
when I try to open a full message (I open previous headers and I see right informations) I get this error on server:
Traceback (most recent call last):
File "/home/administrator/Launchpad/openerp/server/bin/netsvc.py", line 299, in dispatch
result = LocalService(service_name)(method, *params)
File "/home/administrator/Launchpad/openerp/server/bin/netsvc.py", line 77, in __call__
return getattr(self, method)(*params)
File "/home/administrator/Launchpad/openerp/server/bin/service/web_services.py", line 577, in execute
res = service.execute(db, uid, object, method, *args)
File "/home/administrator/Launchpad/openerp/server/bin/osv/osv.py", line 58, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/administrator/Launchpad/openerp/server/bin/osv/osv.py", line 119, in execute
res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/administrator/Launchpad/openerp/server/bin/osv/osv.py", line 111, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/administrator/Launchpad/openerp/server/bin/addons/poweremail/poweremail_mailbox.py", line 152, in complete_mail
self.pool.get('poweremail.core_accounts').get_fullmail(cr, uid, id, context)
File "/home/administrator/Launchpad/openerp/server/bin/addons/poweremail/poweremail_core.py", line 998, in get_fullmail
server_ref, mailid, context)
File "/home/administrator/Launchpad/openerp/server/bin/addons/poweremail/poweremail_core.py", line 755, in complete_mail
parsed_mail = self.get_payloads(mail)
File "/home/administrator/Launchpad/openerp/server/bin/addons/poweremail/poweremail_core.py", line 1075, in get_payloads
parsed_mail['text'] = tools.ustr(part.get_payload(decode=True)) # decode=True to decode a MIME message
File "/home/administrator/Launchpad/openerp/server/bin/tools/misc.py", line 746, in ustr
raise UnicodeError('unable de to convert %r' % (orig,))
UnicodeError: unable de to convert "\r\n-- \r\n<http://www.micronaet.it/>\r\n\r\n\r\nnicola riolini\r\n[area tecnica]\r\n\r\nConcessionario Autorizzato Passepartout Mexal <http://www.micronaet.it/>\r\nmicronaet s.r.l.\r\n\r\nsede operativa:\r\nvia iv novembre 264\r\n25010 borgosatollo (bs)\r\n\r\ntel./fax +39 030 2501517\r\n\r\nSkype Status <skype:rn.micronaet?call> call me skype (utente skype:\r\nrn.micronaet)\r\n\r\nATTENZIONE: Il contenuto di questo messaggio e rivolto unicamente alle\r\npersone cui \xe8 indirizzato e pu\xf2 contenere informazioni la cui\r\nriservatezza \xe8 tutelata legalmente. Ne sono vietati la riproduzione, la\r\ndiffusione e l'uso in mancanza di autorizzazione del destinatario. Se\r\nl'avete ricevuto per errore vogliate eliminare il messaggio in modo\r\npermanente e darcene cortesemente notizia. Analizzate sempre gli\r\nallegati prima di aprirli.\r\n\r\n\r\n"
** Affects: poweremail
Importance: Undecided
Status: New
--
Unable to convert while full downloading mail
https://bugs.launchpad.net/bugs/670362
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
Status in Power e-Mail for Open ERP: New
Bug description:
Hi, I configure IMAP account with Gmail, I can send and see my 6 message in all message folder (I set this one on account page).
when I try to open a full message (I open previous headers and I see right informations) I get this error on server:
Traceback (most recent call last):
File "/home/administrator/Launchpad/openerp/server/bin/netsvc.py", line 299, in dispatch
result = LocalService(service_name)(method, *params)
File "/home/administrator/Launchpad/openerp/server/bin/netsvc.py", line 77, in __call__
return getattr(self, method)(*params)
File "/home/administrator/Launchpad/openerp/server/bin/service/web_services.py", line 577, in execute
res = service.execute(db, uid, object, method, *args)
File "/home/administrator/Launchpad/openerp/server/bin/osv/osv.py", line 58, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/administrator/Launchpad/openerp/server/bin/osv/osv.py", line 119, in execute
res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/administrator/Launchpad/openerp/server/bin/osv/osv.py", line 111, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/administrator/Launchpad/openerp/server/bin/addons/poweremail/poweremail_mailbox.py", line 152, in complete_mail
self.pool.get('poweremail.core_accounts').get_fullmail(cr, uid, id, context)
File "/home/administrator/Launchpad/openerp/server/bin/addons/poweremail/poweremail_core.py", line 998, in get_fullmail
server_ref, mailid, context)
File "/home/administrator/Launchpad/openerp/server/bin/addons/poweremail/poweremail_core.py", line 755, in complete_mail
parsed_mail = self.get_payloads(mail)
File "/home/administrator/Launchpad/openerp/server/bin/addons/poweremail/poweremail_core.py", line 1075, in get_payloads
parsed_mail['text'] = tools.ustr(part.get_payload(decode=True)) # decode=True to decode a MIME message
File "/home/administrator/Launchpad/openerp/server/bin/tools/misc.py", line 746, in ustr
raise UnicodeError('unable de to convert %r' % (orig,))
UnicodeError: unable de to convert "\r\n-- \r\n<http://www.micronaet.it/>\r\n\r\n\r\nnicola riolini\r\n[area tecnica]\r\n\r\nConcessionario Autorizzato Passepartout Mexal <http://www.micronaet.it/>\r\nmicronaet s.r.l.\r\n\r\nsede operativa:\r\nvia iv novembre 264\r\n25010 borgosatollo (bs)\r\n\r\ntel./fax +39 030 2501517\r\n\r\nSkype Status <skype:rn.micronaet?call> call me skype (utente skype:\r\nrn.micronaet)\r\n\r\nATTENZIONE: Il contenuto di questo messaggio e rivolto unicamente alle\r\npersone cui \xe8 indirizzato e pu\xf2 contenere informazioni la cui\r\nriservatezza \xe8 tutelata legalmente. Ne sono vietati la riproduzione, la\r\ndiffusione e l'uso in mancanza di autorizzazione del destinatario. Se\r\nl'avete ricevuto per errore vogliate eliminare il messaggio in modo\r\npermanente e darcene cortesemente notizia. Analizzate sempre gli\r\nallegati prima di aprirli.\r\n\r\n\r\n"
Follow ups
References