openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #16502
[Bug 1064890] Re: Attachment can't be added
** Description changed:
hello,
- goto Home -> feed -> Inbox
+ goto Home -> feed -> Inbox
- click on attachment button gives this traceback
+ click on attachment button gives this Traceback
- Traceback (most recent call last):
- File "/home/openerp/Latest-RDTool/openerp-tools/server/trunk/openerp/netsvc.py", line 362, in dispatch_rpc
- result = ExportService.getService(service_name).dispatch(method, params)
- File "/home/openerp/Latest-RDTool/openerp-tools/server/trunk/openerp/service/web_services.py", line 585, in dispatch
- res = fn(db, uid, *params)
- File "/home/openerp/Latest-RDTool/openerp-tools/server/trunk/openerp/osv/osv.py", line 167, in execute_kw
- return self.execute(db, uid, obj, method, *args, **kw or {})
- File "/home/openerp/Latest-RDTool/openerp-tools/server/trunk/openerp/osv/osv.py", line 121, in wrapper
- return f(self, dbname, *args, **kwargs)
- File "/home/openerp/Latest-RDTool/openerp-tools/server/trunk/openerp/osv/osv.py", line 176, in execute
- res = self.execute_cr(cr, uid, obj, method, *args, **kw)
- File "/home/openerp/Latest-RDTool/openerp-tools/server/trunk/openerp/osv/osv.py", line 164, in execute_cr
- return getattr(object, method)(cr, uid, *args, **kw)
- File "/home/openerp/Latest-RDTool/openerp-tools/addons/trunk-test-fix-rga/mail/mail_message.py", line 319, in message_read
- result.append(self._message_dict_get(cr, uid, msg, context=context))
- File "/home/openerp/Latest-RDTool/openerp-tools/addons/trunk-test-fix-rga/mail/mail_message.py", line 184, in _message_dict_get
- vote_ids = self.pool.get('res.users').name_get(cr, SUPERUSER_ID, [user.id for user in msg.vote_user_ids], context=context)
- File "/home/openerp/Latest-RDTool/openerp-tools/server/trunk/openerp/osv/orm.py", line 480, in __getattr__
- return self[name]
- File "/home/openerp/Latest-RDTool/openerp-tools/server/trunk/openerp/osv/orm.py", line 395, in __getitem__
- field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write")
- File "/home/openerp/Latest-RDTool/openerp-tools/addons/trunk-test-fix-rga/mail/mail_message.py", line 512, in read
- res = super(mail_message, self).read(cr, uid, ids, fields=fields, context=context, load=load)
- File "/home/openerp/Latest-RDTool/openerp-tools/server/trunk/openerp/osv/orm.py", line 3491, in read
- result = self._read_flat(cr, user, select, fields, context, load)
- File "/home/openerp/Latest-RDTool/openerp-tools/server/trunk/openerp/osv/orm.py", line 3611, in _read_flat
- res2 = self._columns[f].get(cr, self, ids, f, user, context=context, values=res)
- File "/home/openerp/Latest-RDTool/openerp-tools/server/trunk/openerp/osv/fields.py", line 727, in get
- cr.execute(query, [tuple(ids),] + where_params)
- File "/home/openerp/Latest-RDTool/openerp-tools/server/trunk/openerp/sql_db.py", line 152, in wrapper
- return f(self, *args, **kwargs)
- File "/home/openerp/Latest-RDTool/openerp-tools/server/trunk/openerp/sql_db.py", line 212, in execute
- res = self._obj.execute(query, params)
- File "/usr/lib/python2.6/dist-packages/psycopg2/extensions.py", line 124, in getquoted
- qobjs = [str(o.getquoted()) for o in pobjs]
- AttributeError: 'str' object has no attribute 'getquoted'
+ Client Traceback (most recent call last):
+ File "/home/odoo/runbot/static/openerp-dev-trunk-21604/server/openerp/addons/web/http.py", line 175, in dispatch
+ response["result"] = method(controller, self, **self.params)
+ File "/home/odoo/runbot/static/openerp-dev-trunk-21604/server/openerp/addons/web/controllers/main.py", line 1251, in call_kw
+ return self._call_kw(req, model, method, args, kwargs)
+ File "/home/odoo/runbot/static/openerp-dev-trunk-21604/server/openerp/addons/web/controllers/main.py", line 1213, in _call_kw
+ return getattr(req.session.model(model), method)(*args, **kwargs)
+ File "/home/odoo/runbot/static/openerp-dev-trunk-21604/server/openerp/addons/web/session.py", line 42, in proxy
+ result = self.proxy.execute_kw(self.session._db, self.session._uid, self.session._password, self.model, method, args, kw)
+ File "/home/odoo/runbot/static/openerp-dev-trunk-21604/server/openerp/addons/web/session.py", line 30, in proxy_method
+ result = self.session.send(self.service_name, method, *args)
+ File "/home/odoo/runbot/static/openerp-dev-trunk-21604/server/openerp/addons/web/session.py", line 105, in send
+ raise xmlrpclib.Fault(openerp.tools.exception_to_unicode(e), formatted_info)
+
+
+ Server Traceback (most recent call last):
+ File "/home/odoo/runbot/static/openerp-dev-trunk-21604/server/openerp/addons/web/session.py", line 91, in send
+ return openerp.netsvc.dispatch_rpc(service_name, method, args)
+ File "/home/odoo/runbot/static/openerp-dev-trunk-21604/server/openerp/netsvc.py", line 361, in dispatch_rpc
+ result = ExportService.getService(service_name).dispatch(method, params)
+ File "/home/odoo/runbot/static/openerp-dev-trunk-21604/server/openerp/service/web_services.py", line 585, in dispatch
+ res = fn(db, uid, *params)
+ File "/home/odoo/runbot/static/openerp-dev-trunk-21604/server/openerp/osv/osv.py", line 167, in execute_kw
+ return self.execute(db, uid, obj, method, *args, **kw or {})
+ File "/home/odoo/runbot/static/openerp-dev-trunk-21604/server/openerp/osv/osv.py", line 121, in wrapper
+ return f(self, dbname, *args, **kwargs)
+ File "/home/odoo/runbot/static/openerp-dev-trunk-21604/server/openerp/osv/osv.py", line 176, in execute
+ res = self.execute_cr(cr, uid, obj, method, *args, **kw)
+ File "/home/odoo/runbot/static/openerp-dev-trunk-21604/server/openerp/addons/audittrail/audittrail.py", line 503, in execute_cr
+ return fct_src(cr, uid, model, method, *args, **kw)
+ File "/home/odoo/runbot/static/openerp-dev-trunk-21604/server/openerp/osv/osv.py", line 164, in execute_cr
+ return getattr(object, method)(cr, uid, *args, **kw)
+ File "/home/odoo/runbot/static/openerp-dev-trunk-21604/server/openerp/addons/mail/mail_message.py", line 319, in message_read
+ result.append(self._message_dict_get(cr, uid, msg, context=context))
+ File "/home/odoo/runbot/static/openerp-dev-trunk-21604/server/openerp/addons/mail/mail_message.py", line 184, in _message_dict_get
+ vote_ids = self.pool.get('res.users').name_get(cr, SUPERUSER_ID, [user.id for user in msg.vote_user_ids], context=context)
+ File "/home/odoo/runbot/static/openerp-dev-trunk-21604/server/openerp/osv/orm.py", line 487, in __getattr__
+ raise AttributeError(e)
+ AttributeError: False
+
Thanks,
HIP.
--
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/1064890
Title:
Attachment can't be added
Status in OpenERP Addons (modules):
Confirmed
Bug description:
hello,
goto Home -> feed -> Inbox
click on attachment button gives this Traceback
Client Traceback (most recent call last):
File "/home/odoo/runbot/static/openerp-dev-trunk-21604/server/openerp/addons/web/http.py", line 175, in dispatch
response["result"] = method(controller, self, **self.params)
File "/home/odoo/runbot/static/openerp-dev-trunk-21604/server/openerp/addons/web/controllers/main.py", line 1251, in call_kw
return self._call_kw(req, model, method, args, kwargs)
File "/home/odoo/runbot/static/openerp-dev-trunk-21604/server/openerp/addons/web/controllers/main.py", line 1213, in _call_kw
return getattr(req.session.model(model), method)(*args, **kwargs)
File "/home/odoo/runbot/static/openerp-dev-trunk-21604/server/openerp/addons/web/session.py", line 42, in proxy
result = self.proxy.execute_kw(self.session._db, self.session._uid, self.session._password, self.model, method, args, kw)
File "/home/odoo/runbot/static/openerp-dev-trunk-21604/server/openerp/addons/web/session.py", line 30, in proxy_method
result = self.session.send(self.service_name, method, *args)
File "/home/odoo/runbot/static/openerp-dev-trunk-21604/server/openerp/addons/web/session.py", line 105, in send
raise xmlrpclib.Fault(openerp.tools.exception_to_unicode(e), formatted_info)
Server Traceback (most recent call last):
File "/home/odoo/runbot/static/openerp-dev-trunk-21604/server/openerp/addons/web/session.py", line 91, in send
return openerp.netsvc.dispatch_rpc(service_name, method, args)
File "/home/odoo/runbot/static/openerp-dev-trunk-21604/server/openerp/netsvc.py", line 361, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/home/odoo/runbot/static/openerp-dev-trunk-21604/server/openerp/service/web_services.py", line 585, in dispatch
res = fn(db, uid, *params)
File "/home/odoo/runbot/static/openerp-dev-trunk-21604/server/openerp/osv/osv.py", line 167, in execute_kw
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/home/odoo/runbot/static/openerp-dev-trunk-21604/server/openerp/osv/osv.py", line 121, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/odoo/runbot/static/openerp-dev-trunk-21604/server/openerp/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/odoo/runbot/static/openerp-dev-trunk-21604/server/openerp/addons/audittrail/audittrail.py", line 503, in execute_cr
return fct_src(cr, uid, model, method, *args, **kw)
File "/home/odoo/runbot/static/openerp-dev-trunk-21604/server/openerp/osv/osv.py", line 164, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/odoo/runbot/static/openerp-dev-trunk-21604/server/openerp/addons/mail/mail_message.py", line 319, in message_read
result.append(self._message_dict_get(cr, uid, msg, context=context))
File "/home/odoo/runbot/static/openerp-dev-trunk-21604/server/openerp/addons/mail/mail_message.py", line 184, in _message_dict_get
vote_ids = self.pool.get('res.users').name_get(cr, SUPERUSER_ID, [user.id for user in msg.vote_user_ids], context=context)
File "/home/odoo/runbot/static/openerp-dev-trunk-21604/server/openerp/osv/orm.py", line 487, in __getattr__
raise AttributeError(e)
AttributeError: False
Thanks,
HIP.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1064890/+subscriptions
References