Creación de base de datos

Asked by Manuel Lucena on 2011-07-11

Al crear la base de datos, no me genera problemas, abre el diálogo de perfil a instalar, selecciono mínimo y lleno el formulario de datos de la empresa.

Luego, al procesar las opciones seleccionadas, lanza un error con la siguiente traza:

Traceback (most recent call last):
  File "/usr/share/pyshared/openerp-server/netsvc.py", line 247, in dispatch
    result = LocalService(service_name)(method, *params)
  File "/usr/share/pyshared/openerp-server/netsvc.py", line 76, in __call__
    return getattr(self, method)(*params)
  File "/usr/share/pyshared/openerp-server/service/web_services.py", line 638, in execute
    return self._execute(db, uid, wiz_id, datas, action, context)
  File "/usr/share/pyshared/openerp-server/service/web_services.py", line 618, in _execute
    return wiz.execute(db, uid, self.wiz_datas[wiz_id], action, context)
  File "/usr/share/pyshared/openerp-server/wizard/__init__.py", line 178, in execute
    res = self.execute_cr(cr, uid, data, state, context)
  File "/usr/share/pyshared/openerp-server/wizard/__init__.py", line 73, in execute_cr
    action_res = action(self, cr, uid, data, context)
  File "/usr/share/pyshared/openerp-server/addons/base_setup/wizard/wizard_base_setup.py", line 181, in _update
    'logo': form['logo'],
  File "/usr/share/pyshared/openerp-server/addons/base/res/res_company.py", line 85, in write
    return super(res_company, self).write(cr, *args, **argv)
  File "/usr/share/pyshared/openerp-server/osv/orm.py", line 2634, in write
    cr.execute(update_query, upd1 + [tuple(sub_ids)])
  File "/usr/share/pyshared/openerp-server/sql_db.py", line 77, in wrapper
    return f(self, *args, **kwargs)
  File "/usr/share/pyshared/openerp-server/sql_db.py", line 122, in execute
    res = self._obj.execute(query, params)
TypeError: can't escape non-string object

Es un openerp-server instalado desde los repos de debian estable, usando el cliente web.

Question information

Language:
Spanish Edit question
Status:
Answered
For:
Openerp Venezuela Edit question
Assignee:
No assignee Edit question
Last query:
2011-07-11
Last reply:
2011-07-11
Nhomar - Vauxoo (nhomar) said : #1

Hola.

Si estas usando este paquete:

Package: openerp-server (5.0.12-2)

del repo estable.

http://packages.debian.org/squeeze/openerp-server

te recomiendo uses este:

Package: openerp-server (5.0.15-2)

del inestable:

http://packages.debian.org/sid/openerp-server

Ese error alguna vez creo haberlo visto, pero la version 5.0.15-2 esta a prueba de balas, sin embargo te recomiendo utilizar la 6.0.2 desde las fuentes te hara la visa mucho mas facil aunque tardes un poco en instalarla.

Ese error que tienes es un bug que ya debe estar resuelto:

Manuel Lucena (mlucenap) said : #2

Gracias. Voy a intentar instalar desde sid a ver si me funciona. Sino, instalo el 6 desde fuentes. Haré un log del proceso y aviso qué tal va.

Can you help with this problem?

Provide an answer of your own, or ask Manuel Lucena for more information if necessary.

To post a message you must log in.