← Back to team overview

openerp-india team mailing list archive

[Bug 1229809] [NEW] 6.1 fetchmail - attachment name with Umlaut fails

 

Public bug reported:

Error

2013-09-24 15:19:38,049 24517 INFO ? fetchmail: start checking for new emails on imap server "my server"
2013-09-24 15:20:00,180 24517 WARNING ? document: Couldn't save data:
Traceback (most recent call last):
  File "/srv/openerp/instances/openerp_prod_chricar/src/server/openerp/addons/document/document_storage.py", line 590, in set_data
    fp = open(fname,'wb')
UnicodeEncodeError: 'ascii' codec can't encode character u'\xfc' in position 91: ordinal not in range(128)

enclosed patch fixes this


FYI
didn't find equivalent file document_storage.py in 7.0 and didn't test 7.0

** Affects: openobject-addons
     Importance: Undecided
         Status: New

** Attachment added: "document_storage.py.20130924.patch"
   https://bugs.launchpad.net/bugs/1229809/+attachment/3838371/+files/document_storage.py.20130924.patch

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1229809

Title:
  6.1 fetchmail - attachment name with Umlaut fails

Status in OpenERP Addons (modules):
  New

Bug description:
  Error

  2013-09-24 15:19:38,049 24517 INFO ? fetchmail: start checking for new emails on imap server "my server"
  2013-09-24 15:20:00,180 24517 WARNING ? document: Couldn't save data:
  Traceback (most recent call last):
    File "/srv/openerp/instances/openerp_prod_chricar/src/server/openerp/addons/document/document_storage.py", line 590, in set_data
      fp = open(fname,'wb')
  UnicodeEncodeError: 'ascii' codec can't encode character u'\xfc' in position 91: ordinal not in range(128)

  enclosed patch fixes this

  
  FYI
  didn't find equivalent file document_storage.py in 7.0 and didn't test 7.0

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1229809/+subscriptions


Follow ups

References