Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Imposible login after installation (OpenERP 7 on Centos 6.2)

By
Juan Muñoz
on 3/20/13, 9:22 AM 1,692 views

Hello, I installed OpenERP 7 on Centos 6.2, and I have reviewed the connection to the database is correct, but I can not login and I get the following errors. Any suggestions?

OpenERP Server Error

Client Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/openerp-7.0_20130319_002358-py2.6.egg/openerp/addons/web/http.py", line 203, in dispatch
    response["result"] = method(self, **self.params)
  File "/usr/lib/python2.6/site-packages/openerp-7.0_20130319_002358-py2.6.egg/openerp/addons/web/controllers/main.py", line 856, in authenticate
    req.session.authenticate(db, login, password, env)
  File "/usr/lib/python2.6/site-packages/openerp-7.0_20130319_002358-py2.6.egg/openerp/addons/web/session.py", line 116, in authenticate
    uid = self.proxy('common').authenticate(db, login, password, env)
  File "/usr/lib/python2.6/site-packages/openerp-7.0_20130319_002358-py2.6.egg/openerp/addons/web/session.py", line 31, in proxy_method
    result = self.session.send(self.service_name, method, *args)
  File "/usr/lib/python2.6/site-packages/openerp-7.0_20130319_002358-py2.6.egg/openerp/addons/web/session.py", line 104, in send
    raise xmlrpclib.Fault(openerp.tools.ustr(e), formatted_info)


Server Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/openerp-7.0_20130319_002358-py2.6.egg/openerp/addons/web/session.py", line 90, in send
    return openerp.netsvc.dispatch_rpc(service_name, method, args)
  File "/usr/lib/python2.6/site-packages/openerp-7.0_20130319_002358-py2.6.egg/openerp/netsvc.py", line 293, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/usr/lib/python2.6/site-packages/openerp-7.0_20130319_002358-py2.6.egg/openerp/service/web_services.py", line 433, in dispatch
    return fn(*params)
  File "/usr/lib/python2.6/site-packages/openerp-7.0_20130319_002358-py2.6.egg/openerp/service/web_services.py", line 444, in exp_authenticate
    res_users = pooler.get_pool(db).get('res.users')
  File "/usr/lib/python2.6/site-packages/openerp-7.0_20130319_002358-py2.6.egg/openerp/pooler.py", line 49, in get_pool
    return get_db_and_pool(db_name, force_demo, status, update_module)[1]
  File "/usr/lib/python2.6/site-packages/openerp-7.0_20130319_002358-py2.6.egg/openerp/pooler.py", line 33, in get_db_and_pool
    registry = RegistryManager.get(db_name, force_demo, status, update_module)
  File "/usr/lib/python2.6/site-packages/openerp-7.0_20130319_002358-py2.6.egg/openerp/modules/registry.py", line 192, in get
    update_module)
  File "/usr/lib/python2.6/site-packages/openerp-7.0_20130319_002358-py2.6.egg/openerp/modules/registry.py", line 218, in new
    openerp.modules.load_modules(registry.db, force_demo, status, update_module)
  File "/usr/lib/python2.6/site-packages/openerp-7.0_20130319_002358-py2.6.egg/openerp/modules/loading.py", line 304, in load_modules
    loaded_modules, processed_modules = load_module_graph(cr, graph, status, perform_checks=update_module, report=report)
  File "/usr/lib/python2.6/site-packages/openerp-7.0_20130319_002358-py2.6.egg/openerp/modules/loading.py", line 191, in load_module_graph
    load_data(module_name, idref, mode)
  File "/usr/lib/python2.6/site-packages/openerp-7.0_20130319_002358-py2.6.egg/openerp/modules/loading.py", line 76, in <lambda>
    load_data = lambda *args: _load_data(cr, *args, kind='data')
  File "/usr/lib/python2.6/site-packages/openerp-7.0_20130319_002358-py2.6.egg/openerp/modules/loading.py", line 127, in _load_data
    tools.convert_xml_import(cr, module_name, fp, idref, mode, noupdate, report)
  File "/usr/lib/python2.6/site-packages/openerp-7.0_20130319_002358-py2.6.egg/openerp/tools/convert.py", line 954, in convert_xml_import
    obj.parse(doc.getroot())
  File "/usr/lib/python2.6/site-packages/openerp-7.0_20130319_002358-py2.6.egg/openerp/tools/convert.py", line 847, in parse
    self._tags[rec.tag](self.cr, rec, n)
  File "/usr/lib/python2.6/site-packages/openerp-7.0_20130319_002358-py2.6.egg/openerp/tools/convert.py", line 814, in _tag_record
    id = self.pool.get('ir.model.data')._update(cr, self.uid, rec_model, self.module, res, rec_id or False, not self.isnoupdate(data_node), noupdate=self.isnoupdate(data_node), mode=self.mode, context=rec_context )
  File "/usr/lib/python2.6/site-packages/openerp-7.0_20130319_002358-py2.6.egg/openerp/addons/base/ir/ir_model.py", line 964, in _update
    res_id = model_obj.create(cr, uid, values, context=context)
  File "/usr/lib/python2.6/site-packages/openerp-7.0_20130319_002358-py2.6.egg/openerp/osv/orm.py", line 4434, in create
    cr.execute('insert into "'+self._table+'" (id'+upd0+") values ("+str(id_new)+upd1+')', tuple(upd2))
  File "/usr/lib/python2.6/site-packages/openerp-7.0_20130319_002358-py2.6.egg/openerp/sql_db.py", line 161, in wrapper
    return f(self, *args, **kwargs)
  File "/usr/lib/python2.6/site-packages/openerp-7.0_20130319_002358-py2.6.egg/openerp/sql_db.py", line 226, in execute
    res = self._obj.execute(query, params)
DataError: el valor es demasiado largo para el tipo character varying(4)
0
Juan Muñoz
On 3/21/13, 5:09 PM

anyone know the answer?

I'm stucked with the same error, any suggestions ? rogerosan@gmail.com

roger osan
on 10/21/13, 4:28 PM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

3 follower(s)

Stats

Asked: 3/20/13, 9:22 AM
Seen: 1692 times
Last updated: 3/16/15, 8:10 AM