You have been subscribed to a public bug:

<type 'exceptions.TypeError'>   Python 2.5.2: C:\Program Files\OpenERP 
6.0\Web\openerp-web.exe
Wed Dec 07 10:03:45 2011


A problem occurred in a Python script. Here is the sequence of function calls 
leading up to the error, in the order they occurred.


 C:\Program Files\OpenERP 6.0\Web\cherrypy\_cprequest.pyo in 
respond(self=<cherrypy._cprequest.Request object at 0x036E51D0>, 
path_info='/openerp/openo2m/save')
 C:\Program Files\OpenERP 6.0\Web\cherrypy\_cpdispatch.pyo in 
__call__(self=<cherrypy._cpdispatch.LateParamPageHandler object at 0x036E5390>)
 C:\Program Files\OpenERP 6.0\Web\openobject\tools\_expose.pyo in 
func_wrapper(*args=(<openobject.controllers._root.Root object at 0x01234CB0>, 
'openerp', 'openo2m', 'save'), **kw={'_terp_close': '1', '_terp_filter_domain': 
'[]', '_terp_notebook_tab': '0', '_terp_o2m': 'attachment_ids', 
'_terp_o2m_context': '{}', '_terp_o2m_id': '', '_terp_o2m_model': 
'crm.send.mail.attachment', '_terp_parent_context': 'None', '_terp_parent_id': 
'1', '_terp_parent_model': 'crm.send.mail', ...})
 C:\Program Files\OpenERP 6.0\Web\openobject\controllers\_root.pyo in 
default(self=<openobject.controllers._root.Root object at 0x01234CB0>, 
*args=('openerp', 'openo2m', 'save'), **kw={'_terp_close': '1', 
'_terp_filter_domain': '[]', '_terp_notebook_tab': '0', '_terp_o2m': 
'attachment_ids', '_terp_o2m_context': '{}', '_terp_o2m_id': '', 
'_terp_o2m_model': 'crm.send.mail.attachment', '_terp_parent_context': 'None', 
'_terp_parent_id': '1', '_terp_parent_model': 'crm.send.mail', ...})
 C:\Program Files\OpenERP 6.0\Web\cherrypy\_cpdispatch.pyo in 
__call__(self=<cherrypy._cpdispatch.LateParamPageHandler object at 0x036D61B0>)
 C:\Program Files\OpenERP 6.0\Web\addons\openerp\controllers\utils.py in 
wrapper(*args=(), **kw={'_terp_close': '1', '_terp_filter_domain': '[]', 
'_terp_notebook_tab': '0', '_terp_o2m': 'attachment_ids', '_terp_o2m_context': 
'{}', '_terp_o2m_id': '', '_terp_o2m_model': 'crm.send.mail.attachment', 
'_terp_parent_context': 'None', '_terp_parent_id': '1', '_terp_parent_model': 
'crm.send.mail', ...})
  110             # User is logged in; allow access
  111             clear_login_fields(kw)
  112             return fn(*args, **kw)
  113         else:
  114             action = kw.get('login_action', '')
 C:\Program Files\OpenERP 6.0\Web\openobject\tools\_expose.pyo in 
func_wrapper(*args=(<openerp.controllers.openo2m.OpenO2M object at 
0x036D6F70>,), **kw={'_terp_close': '1', '_terp_filter_domain': '[]', 
'_terp_notebook_tab': '0', '_terp_o2m': 'attachment_ids', '_terp_o2m_context': 
'{}', '_terp_o2m_id': '', '_terp_o2m_model': 'crm.send.mail.attachment', 
'_terp_parent_context': 'None', '_terp_parent_id': '1', '_terp_parent_model': 
'crm.send.mail', ...})
 C:\Program Files\OpenERP 6.0\Web\openobject\tools\_validate.pyo in 
func_wrapper(*args=(<openerp.controllers.openo2m.OpenO2M object at 
0x036D6F70>,), **kw={'_terp_close': '1', '_terp_filter_domain': '[]', 
'_terp_notebook_tab': '0', '_terp_o2m': 'attachment_ids', '_terp_o2m_context': 
'{}', '_terp_o2m_id': '', '_terp_o2m_model': 'crm.send.mail.attachment', 
'_terp_parent_context': 'None', '_terp_parent_id': '1', '_terp_parent_model': 
'crm.send.mail', ...})
 C:\Program Files\OpenERP 6.0\Web\openobject\tools\_validate.pyo in 
(self=<openerp.controllers.openo2m.OpenO2M object at 0x036D6F70>)
 C:\Program Files\OpenERP 6.0\Web\addons\openerp\controllers\form.py in 
get_validation_schema(self=<openerp.controllers.openo2m.OpenO2M object at 
0x036D6F70>)
  128 
  129     kw = cherrypy.request.params
  130     params, data = TinyDict.split(kw)
  131 
  132     # bypass validations, if saving from button in non-editable view
 C:\Program Files\OpenERP 6.0\Web\addons\openerp\utils\utils.py in 
split(kwargs={'_terp_close': '1', '_terp_filter_domain': '[]', 
'_terp_notebook_tab': '0', '_terp_o2m': 'attachment_ids', '_terp_o2m_context': 
'{}', '_terp_o2m_id': '', '_terp_o2m_model': 'crm.send.mail.attachment', 
'_terp_parent_context': 'None', '_terp_parent_id': '1', '_terp_parent_model': 
'crm.send.mail', ...})
  185                 data[n] = v
  186 
  187         return _make_dict(params, True), _make_dict(data, False)
  188 
  189     def make_plain(self, prefix=''):
 C:\Program Files\OpenERP 6.0\Web\addons\openerp\utils\utils.py in 
_make_dict(data={'attachment_ids/__id': '', 'attachment_ids/binary': 
FieldStorage('attachment_ids/binary', 
'_partici\...x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'), 
'attachment_ids/name': '_partici\xc3\xb3n.doc_.doc'}, is_params=False)
   79         return res
   80     
   81     return make_dict_internal(data, is_params, set())
   82 
   83 
 C:\Program Files\OpenERP 6.0\Web\addons\openerp\utils\utils.py in 
make_dict_internal(data={'attachment_ids/__id': '', 'attachment_ids/binary': 
FieldStorage('attachment_ids/binary', 
'_partici\...x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'), 
'attachment_ids/name': '_partici\xc3\xb3n.doc_.doc'}, is_params=False, 
previous_dict_ids=set([52875312]))
   68     
   69                     values = _make_dict(v, is_params)
   70                     if values and any(values.itervalues()):
   71                         res[k] = [(_id and 1, _id, values)]
   72                     else:
 C:\Program Files\OpenERP 6.0\Web\cgi.pyo in 
__len__(self=FieldStorage('attachment_ids/binary', 
'_partici\...x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'))
 C:\Program Files\OpenERP 6.0\Web\cgi.pyo in 
keys(self=FieldStorage('attachment_ids/binary', 
'_partici\...x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'))

<type 'exceptions.TypeError'>: not indexable
      args = ('not indexable',)
      message = 'not indexable'

** Affects: openerp-web
     Importance: Undecided
         Status: New

-- 
When you attach a file and save it to the email in crm module generate error
https://bugs.launchpad.net/bugs/901253
You received this bug notification because you are a member of C2C 
OERPScenario, which is subscribed to OpenERP Project Group.

_______________________________________________
Mailing list: https://launchpad.net/~c2c-oerpscenario
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~c2c-oerpscenario
More help   : https://help.launchpad.net/ListHelp

Reply via email to