[Sequanux-ml] Re : erreurs de dépendances avec openerp sous ubuntu 9.04

info at cartmeleon.com info at cartmeleon.com
Jeu 14 Mai 22:39:12 CEST 2009


> Est-ce que tu peux nous donner plus d'info stp? Surtout les messages 
> d'erreur et si tu as finalement installé à la main ou en paquet.
Voilà qui doit être intéressant, en lançant openerp-server depuis le
terminal, et en laissant celui-ci ouvert, lors de la création de table,
j'ai ça dans le terminal :

[Thu May 14 22:01:59 2009] WARNING:init:WARNING: unable to set column
complete_name of table ir_model_fields not null !
Try to re-run: openerp-server.py --update=module
If it doesn't work, update records and execute manually:
ALTER TABLE ir_model_fields ALTER COLUMN complete_name SET NOT NULL
[Thu May 14 22:02:01 2009] WARNING:init:column 'action' in table
'wkf_activity' has changed type (DB = varchar, def = text) !
Traceback (most recent call last):
  File
"/home/cartmeleon/openerp-server-5.0.0-rc1.1/bin/service/web_services.py", line 83, in __call__
    update_module=True)
  File "/home/cartmeleon/openerp-server-5.0.0-rc1.1/bin/pooler.py", line
92, in get_pool
    pool = get_db_and_pool(db_name, force_demo, status,
update_module)[1]
  File "/home/cartmeleon/openerp-server-5.0.0-rc1.1/bin/pooler.py", line
49, in get_db_and_pool
    addons.load_modules(db, force_demo, status, update_module)
  File
"/home/cartmeleon/openerp-server-5.0.0-rc1.1/bin/addons/__init__.py",
line 355, in load_modules
    load_module_graph(cr, graph, status, report=report)
  File
"/home/cartmeleon/openerp-server-5.0.0-rc1.1/bin/addons/__init__.py",
line 285, in load_module_graph
    init_module_objects(cr, m, modules)
  File
"/home/cartmeleon/openerp-server-5.0.0-rc1.1/bin/addons/__init__.py",
line 227, in init_module_objects
    obj._auto_init(cr, {'module': module_name})
  File "/home/cartmeleon/openerp-server-5.0.0-rc1.1/bin/osv/orm.py",
line 1458, in _auto_init
    default = self._defaults[k](self, cr, 1, {})
  File
"/home/cartmeleon/openerp-server-5.0.0-rc1.1/bin/addons/base/res/res_user.py", line 135, in _get_company
    return self.pool.get('res.users').browse(cr, uid, uid,
context).company_id.id
  File "/home/cartmeleon/openerp-server-5.0.0-rc1.1/bin/osv/orm.py",
line 206, in __getattr__
    return self[name]
  File "/home/cartmeleon/openerp-server-5.0.0-rc1.1/bin/osv/orm.py",
line 173, in __getitem__
    datas = self._table.read(self._cr, self._uid, ids, fffields,
context=self._context, load="_classic_write")
  File
"/home/cartmeleon/openerp-server-5.0.0-rc1.1/bin/addons/base/res/res_user.py", line 118, in read
    result = super(users, self).read(cr, uid, ids, fields, context,
load)
  File "/home/cartmeleon/openerp-server-5.0.0-rc1.1/bin/osv/orm.py",
line 1784, in read
    result = self._read_flat(cr, user, select, fields, context, load)
  File "/home/cartmeleon/openerp-server-5.0.0-rc1.1/bin/osv/orm.py",
line 1832, in _read_flat
    self._order))
  File "/home/cartmeleon/openerp-server-5.0.0-rc1.1/bin/sql_db.py", line
71, in execute
    res = self.obj.execute(sql)
ProgrammingError: ERREUR:  la colonne « context_lang » n'existe pas
LINE
1: ...text_tz","name","company_id","signature","active","context_l...
                                                             ^

SELECT
"menu_id","address_id","context_tz","name","company_id","signature","active","context_lang","login","password","action_id",id FROM "res_users" WHERE id IN (1) ORDER BY id

Comment je dois faire pour réinstaller "openerp-server.py
--update=module" comme conseillé dans le message.

Effectivement, je n'ai pas le choix de la langue, il n'y a que
l'anglais.



Plus d'informations sur la liste de diffusion Sequanux-ml