This question has been flagged
1 Reply
4776 Views

Hello.

Everything worked ok, but then i think after an apt-get update or something i'm getting the folowing error and can not login. Can't restart, can't stop the process.

Please help.

*Your version of OpenERP is unsupported. Support & maintenance services are available here: OpenERP Entreprise.

OpenERP Server Error

Client Traceback (most recent call last):

File "/home/openerp/web/addons/web/common/http.py", line 180, in dispatch response["result"] = method(controller, self, *self.params) File "/home/openerp/web/addons/web/controllers/main.py", line 498, in authenticate req.session.authenticate(db, login, password, env) File "/home/openerp/web/addons/web/common/session.py", line 73, in authenticate uid = self.proxy('common').authenticate(db, login, password, env) File "/home/openerp/web/addons/web/common/openerplib/main.py", line 117, in proxy result = self.connector.send(self.service_name, method, *args) File "/home/openerp/web/addons/web/common/http.py", line 608, in send raise xmlrpclib.Fault(openerp.tools.exception_to_unicode(e), formatted_info) Server Traceback (most recent call last): File "/home/openerp/web/addons/web/common/http.py", line 593, in send return openerp.netsvc.dispatch_rpc(service_name, method, args) File "/home/openerp/server/openerp/netsvc.py", line 360, in dispatch_rpc result = ExportService.getService(service_name).dispatch(method, params) File "/home/openerp/server/openerp/service/web_services.py", line 397, in dispatch return fn(params) File "/home/openerp/server/openerp/service/web_services.py", line 409, in exp_authenticate return res_users.authenticate(db, login, password, user_agent_env)
File "/home/openerp/server/openerp/addons/base/res/res_users.py", line 471, in authenticate uid = self.login(db, login, password) File "/home/openerp/server/openerp/addons/base/res/res_users.py", line 521, in login res = cr.fetchone() ProgrammingError: no results to fetch*

Avatar
Discard
Best Answer

Sometimes openERP is confused (who isn't ? :) ), the solution I use is to restart the service/server.

It does happen sometimes because there was an update and I use multiple databases, the update changes somethiing in the database for DB1, and DB2 doesn't change.

The solution I use to fix it, is check the error message in the logfile, and manually add the needed field(s) to the correct table.

Avatar
Discard