← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 324924] Re: trunk5.0 Client Total crashes!

 

Hello all

I try to install report_analytic_planning openerp 6 module and, in the
importation of openERP module, i get this error :

duplicate key value violates unique constraint
"ir_module_module_certificate_uniq"

I need your big help as soon as possible

Thank you

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/324924

Title:
  trunk5.0 Client Total crashes!

Status in OpenERP Modules (addons):
  Fix Released

Bug description:
  After today update:

  Server 1683
  Client 924
  addons 2191

  My old database not worked, tryd migrate = crash.
  Made new database = client crashed and suggested delete DB
  Tryd again and again crash....

  1) When i try start old DB:
  [Tue Feb 03 2009 18:27:33] INFO:dbpool:Connecting to scala
  [Tue Feb 03 2009 18:27:33] INFO:init:module base: registering objects
  [Tue Feb 03 2009 18:27:33] INFO:init:module base: loading objects
  [Tue Feb 03 2009 18:27:34] CRITICAL:init:module base: invalid quality certificate: 76807797149

  2) In server console when i make new DB i see:
  ...
  [Tue Feb 03 2009 18:29:25] INFO:init:module base: loading maintenance/maintenance_view.xml
  [Tue Feb 03 2009 18:29:25] INFO:init:module base: loading security/ir.model.access.csv
  [Tue Feb 03 2009 18:29:27] INFO:init:updating modules list
  [Tue Feb 03 2009 18:29:31] ERROR:sql:[01]: bad query: update "ir_module_module" set "website"=E'http://www.openerp.com',"license"=E'GPL-2',"description"=E'Project management module that track multi-level projects, tasks,
  [Tue Feb 03 2009 18:29:31] ERROR:sql:[02]: works done on tasks, eso. It is able to render planning, order tasks, eso.
  [Tue Feb 03 2009 18:29:31] ERROR:sql:[03]:     ',"certificate"=E'0020645028723437',"author"=E'Tiny',"shortdesc"=E'Project Management',write_uid=1,write_date=now() where id in (72)
  [Tue Feb 03 2009 18:29:31] ERROR:web-services:[01]: CREATE DATABASE
  [Tue Feb 03 2009 18:29:31] ERROR:web-services:[02]: Traceback (most recent call last):
  [Tue Feb 03 2009 18:29:31] ERROR:web-services:[03]:   File "/opt/openerp/unstable/5.0/openerp-server/bin/service/web_services.py", line 90, in __call__
  [Tue Feb 03 2009 18:29:31] ERROR:web-services:[04]:     update_module=True)[1]
  [Tue Feb 03 2009 18:29:31] ERROR:web-services:[05]:   File "/opt/openerp/unstable/5.0/openerp-server/bin/pooler.py", line 61, in restart_pool
  [Tue Feb 03 2009 18:29:31] ERROR:web-services:[06]:     return get_db_and_pool(db_name, force_demo, status, update_module=update_module)
  [Tue Feb 03 2009 18:29:31] ERROR:web-services:[07]:   File "/opt/openerp/unstable/5.0/openerp-server/bin/pooler.py", line 40, in get_db_and_pool
  [Tue Feb 03 2009 18:29:31] ERROR:web-services:[08]:     addons.load_modules(db, force_demo, status, update_module)
  [Tue Feb 03 2009 18:29:31] ERROR:web-services:[09]:   File "/opt/openerp/unstable/5.0/openerp-server/bin/addons/__init__.py", line 672, in load_modules
  [Tue Feb 03 2009 18:29:31] ERROR:web-services:[10]:     modobj.update_list(cr, 1)
  [Tue Feb 03 2009 18:29:31] ERROR:web-services:[11]:   File "/opt/openerp/unstable/5.0/openerp-server/bin/addons/base/module/module.py", line 314, in update_list
  [Tue Feb 03 2009 18:29:31] ERROR:web-services:[12]:     'certificate': terp.get('certificate') or None,
  [Tue Feb 03 2009 18:29:31] ERROR:web-services:[13]:   File "/opt/openerp/unstable/5.0/openerp-server/bin/osv/orm.py", line 2244, in write
  [Tue Feb 03 2009 18:29:31] ERROR:web-services:[14]:     'where id in ('+ids_str+')', upd1)
  [Tue Feb 03 2009 18:29:31] ERROR:web-services:[15]:   File "/opt/openerp/unstable/5.0/openerp-server/bin/sql_db.py", line 76, in wrapper
  [Tue Feb 03 2009 18:29:31] ERROR:web-services:[16]:     return f(self, *args, **kwargs)
  [Tue Feb 03 2009 18:29:31] ERROR:web-services:[17]:   File "/opt/openerp/unstable/5.0/openerp-server/bin/sql_db.py", line 118, in execute
  [Tue Feb 03 2009 18:29:31] ERROR:web-services:[18]:     res = self._obj.execute(query, params)
  [Tue Feb 03 2009 18:29:31] ERROR:web-services:[19]: IntegrityError: duplicate key value violates unique constraint "ir_module_module_certificate_uniq"

  3) IF needed migration crash report i can post...