bug after installing some applications

Bug #861226 reported by Aline (OpenERP)
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Web (MOVED TO GITHUB)
Fix Released
Undecided
Unassigned

Bug Description

- create a new db
- install crm (from the static home page
- then, add more feature and check all application (without extra tools and pos)
- install them :

traceback :

server side

[2011-09-28 08:19:56,455][trunk_1] INFO:res.config:next action is browse_record(ir.actions.todo, 9)
[2011-09-28 08:19:56,466][trunk_1] ERROR:db.cursor:bad query: update ir_actions_todo set "state"=E'done',write_uid=1,write_date=now() where id IN (9)
Traceback (most recent call last):
  File "/home/aline/openerp/server/trunk/openerp/sql_db.py", line 215, in execute
    res = self._obj.execute(query, params)
TransactionRollbackError: ERREUR: n'a pas pu sérialiser un accès à cause d'une mise à jour en parallèle
CONTEXTE : instruction SQL « SELECT 1 FROM ONLY "public"."res_users" x WHERE "id" OPERATOR(pg_catalog.=) $1 FOR SHARE OF x »

[2011-09-28 08:19:56,484][trunk_1] ERROR:web-services:Uncaught exception
Traceback (most recent call last):
  File "/home/aline/openerp/server/trunk/openerp/osv/osv.py", line 119, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/aline/openerp/server/trunk/openerp/osv/osv.py", line 173, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/aline/openerp/server/trunk/openerp/osv/osv.py", line 164, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/aline/openerp/server/trunk/openerp/addons/base/res/res_config.py", line 144, in action_next
    return self.next(cr, uid, ids, context=context)
  File "/home/aline/openerp/server/trunk/openerp/addons/base/res/res_config.py", line 107, in next
    return self._next(cr, uid, context=context)
  File "/home/aline/openerp/server/trunk/openerp/addons/base/res/res_config.py", line 91, in _next
    res = next.action_launch(context=context)
  File "/home/aline/openerp/server/trunk/openerp/osv/orm.py", line 344, in function_proxy
    return attr(self._cr, self._uid, [self._id], *args, **kwargs)
  File "/home/aline/openerp/server/trunk/openerp/addons/base/ir/ir_actions.py", line 847, in action_launch
    wizard.write({'state': 'done'})
  File "/home/aline/openerp/server/trunk/openerp/osv/orm.py", line 344, in function_proxy
    return attr(self._cr, self._uid, [self._id], *args, **kwargs)
  File "/home/aline/openerp/server/trunk/openerp/osv/orm.py", line 3690, in write
    'where id IN %s', upd1 + [sub_ids])
  File "/home/aline/openerp/server/trunk/openerp/sql_db.py", line 153, in wrapper
    return f(self, *args, **kwargs)
  File "/home/aline/openerp/server/trunk/openerp/sql_db.py", line 215, in execute
    res = self._obj.execute(query, params)
TransactionRollbackError: ERREUR: n'a pas pu sérialiser un accès à cause d'une mise à jour en parallèle
CONTEXTE : instruction SQL « SELECT 1 FROM ONLY "public"."res_users" x WHERE "id" OPERATOR(pg_catalog.=) $1 FOR SHARE OF x »

Revision history for this message
Jignesh Rathod(OpenERP) (jir-openerp) wrote :
Revision history for this message
Jignesh Rathod(OpenERP) (jir-openerp) wrote :

Hello Aline,

I have tested your scenario but I did not face any problem with
web-client 6.1.so would you please provide more information to
reproduce the problem.

I have attached a video for your reference.

I have checked with following revision :

 Trunk :

   New web Client : 1104
     Server : 3667
     addons : 5234

Thanks and waiting for your reply.

Revision history for this message
Aline (OpenERP) (apr-tinyerp) wrote :

it seems working but why am i disconnected just after installing an application from the static home page. I saw that also in your video.

Revision history for this message
Aline (OpenERP) (apr-tinyerp) wrote :

i reported a bug for that

Revision history for this message
Jignesh Rathod(OpenERP) (jir-openerp) wrote :

Hello Aline ,

As per your comment #3 I have closed this issue.

Thanks.

Changed in openerp-web:
status: New → Invalid
Revision history for this message
Aline (OpenERP) (apr-tinyerp) wrote :

i get this bug again

Changed in openerp-web:
status: Invalid → Confirmed
Revision history for this message
Aline (OpenERP) (apr-tinyerp) wrote :

it seems occur with demo data

Revision history for this message
Yogesh (SerpentCS) (yogesh-serpentcs) wrote :

Can't reproduce. Can you please check with updated code?

Changed in openerp-web:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.