[6.1] base_crypt installation error

Bug #1010308 reported by Denis Karataev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
New
Undecided
Unassigned
Odoo Server (MOVED TO GITHUB)
New
Undecided
Unassigned
Odoo Web (MOVED TO GITHUB)
New
Undecided
Unassigned

Bug Description

Hello!

When I try to install base_crypt module, I get the error:

Client Traceback (most recent call last):
  File "/home/dsk/git/dskopenerp/openerp/addons/web/common/http.py", line 180, in dispatch
    response["result"] = method(controller, self, **self.params)
  File "/home/dsk/git/dskopenerp/openerp/addons/web/controllers/main.py", line 1204, in load
    return self.fields_view_get(req, model, view_id, view_type, toolbar=toolbar)
  File "/home/dsk/git/dskopenerp/openerp/addons/web/controllers/main.py", line 1086, in fields_view_get
    fvg = Model.fields_view_get(view_id, view_type, context, toolbar, submenu)
  File "/home/dsk/git/dskopenerp/openerp/addons/web/common/openerplib/main.py", line 250, in proxy
    args, kw)
  File "/home/dsk/git/dskopenerp/openerp/addons/web/common/openerplib/main.py", line 117, in proxy
    result = self.connector.send(self.service_name, method, *args)
  File "/home/dsk/git/dskopenerp/openerp/addons/web/common/http.py", line 611, in send
    raise fault

Server Traceback (most recent call last):
  File "/home/dsk/git/dskopenerp/openerp/addons/web/common/http.py", line 592, in send
    result = openerp.netsvc.dispatch_rpc(service_name, method, args)
  File "/home/dsk/git/dskopenerp/openerp/netsvc.py", line 360, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/home/dsk/git/dskopenerp/openerp/service/web_services.py", line 582, in dispatch
    security.check(db,uid,passwd)
  File "/home/dsk/git/dskopenerp/openerp/service/security.py", line 42, in check
    return user_obj.check(db, uid, passwd)
  File "/home/dsk/git/dskopenerp/openerp/addons/base_crypt/crypt.py", line 252, in check
    res = self._login(cr, db, stored_login, passwd)
  File "/home/dsk/git/dskopenerp/openerp/addons/base_crypt/crypt.py", line 218, in _login
    (int(id), encrypted_pw.encode('utf-8')))
  File "/home/dsk/git/dskopenerp/openerp/sql_db.py", line 152, in wrapper
    return f(self, *args, **kwargs)
  File "/home/dsk/git/dskopenerp/openerp/sql_db.py", line 212, in execute
    res = self._obj.execute(query, params)
TransactionRollbackError: could not serialize access due to concurrent update

I found the same bug https://bugs.launchpad.net/openobject-server/+bug/904839, but it regarded as duplicated, and linked to the bug with status Fix commited: https://bugs.launchpad.net/openerp-web/+bug/888425.

So I posted the new bug, because I want to pay attention to this problem again. I attached the video for better understanding. Hope to quick fix for it, because base_crypt module is very important. I think that plain text passwords isn't the best choise.

Revision history for this message
Denis Karataev (dskarataev) wrote :
summary: - [6.1] base_encrypt installation error
+ [6.1] base_crypt installation error
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.