str and none type object err

Bug #493995 reported by Sharoon Thomas on 2009-12-08
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Power Email
In Progress
Sharoon Thomas

Bug Description


in the inbox, when downloading an e-mail world, sometimes there are errors that occur:
   * Can not concatenate 'str' and 'NoneType' objects, the following message appears:
              Environment Information :
              System : Windows-XP-5.1.2600-SP3
              OS Name : nt
              Operating System Release : XP
              Operating System Version : 5.1.2600
              Operating System Architecture : 32bit
              Operating System Locale : fr_FR.cp1252
              Python Version : 2.5.2
              OpenERP-Client Version : 5.0.6
              Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
              File "netsvc.pyo", line 244, in dispatch
              File "netsvc.pyo", line 73, in __call__
              File "service\web_services.pyo", line 583, in execute
              File "osv\osv.pyo", line 59, in wrapper
              File "osv\osv.pyo", line 118, in execute
              File "osv\osv.pyo", line 110, in execute_cr
              File "C:\Program Files\OpenERP AllInOne\Server\addons\poweremail\", line 119, in complete_mail
              File "C:\Program Files\OpenERP AllInOne\Server\addons\poweremail\", line 624, in get_fullmail
              File "C:\Program Files\OpenERP AllInOne\Server\addons\poweremail\", line 455, in complete_mail
              File "C:\Program Files\OpenERP AllInOne\Server\addons\poweremail\", line 470, in save_attachments
             TypeError: cannot concatenate 'str' and 'NoneType' objects

Related branches

Changed in poweremail:
assignee: nobody → Sharoon Thomas (sharoonthomas)
status: New → In Progress
Revision history for this message
Sharoon Thomas (sharoonthomas) wrote :

Can you try the attached patch and tell me if this is solved?

Revision history for this message
Gerhard du Toit (gdutoit) wrote :

The patch solves this problem.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Related questions