Comment 2 for bug 931523

Revision history for this message
René Glauser (rene-glauser) wrote :

Please find below my traceback and the attached screenshot:

2012-02-16 13:05:34,171 3515 INFO ? mail: Parsing Message without message-id, generating a random one: 1329397534.17
2012-02-16 13:05:34,171 3515 ERROR ? openerp.sql_db: Programming error: operator does not exist: character varying = numeric
LINE 1: ...M "mail_message" WHERE (mail_message."message_id" in (132939...
                                                             ^
HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.
, in query SELECT "mail_message".id FROM "mail_message" WHERE (mail_message."message_id" in (%s)) ORDER BY date desc
2012-02-16 13:05:34,172 3515 ERROR ? openerp.osv.osv: Uncaught exception
Traceback (most recent call last):
  File "/home/erp/openerp6.1rc1/server/openerp/osv/osv.py", line 121, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/erp/openerp6.1rc1/server/openerp/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/erp/openerp6.1rc1/server/openerp/osv/osv.py", line 164, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/erp/openerp6.1rc1/addons/plugin/plugin_handler.py", line 51, in document_get
    msg_ids = mail_message_obj.search(cr, uid, [('message_id','in',references)])
  File "/home/erp/openerp6.1rc1/server/openerp/osv/orm.py", line 2241, in search
    return self._search(cr, user, args, offset=offset, limit=limit, order=order, context=context, count=count)
  File "/home/erp/openerp6.1rc1/server/openerp/osv/orm.py", line 4561, in _search
    cr.execute('SELECT "%s".id FROM ' % self._table + from_clause + where_str + order_by + limit_str + offset_str, where_clause_params)
  File "/home/erp/openerp6.1rc1/server/openerp/sql_db.py", line 152, in wrapper
    return f(self, *args, **kwargs)
  File "/home/erp/openerp6.1rc1/server/openerp/sql_db.py", line 212, in execute
    res = self._obj.execute(query, params)
ProgrammingError: operator does not exist: character varying = numeric
LINE 1: ...M "mail_message" WHERE (mail_message."message_id" in (132939...
                                                             ^
HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.

2012-02-16 13:05:34,173 3515 ERROR ? openerp.netsvc: operator does not exist: character varying = numeric
LINE 1: ...M "mail_message" WHERE (mail_message."message_id" in (132939...
                                                             ^
HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.