【求助】系统进不去了。登录以后就报错。
-
上午还用的好好的,下午登录以后就不行了。
OpenERP Server Error<br />Client Traceback (most recent call last):<br /> File "/usr/lib/python2.6/site-packages/openerp-7.0_20130924_231032-py2.6.egg/openerp/addons/web/http.py", line 204, in dispatch<br /> response["result"] = method(self, **self.params)<br /> File "/usr/lib/python2.6/site-packages/openerp-7.0_20130924_231032-py2.6.egg/openerp/addons/web/controllers/main.py", line 867, in authenticate<br /> req.session.authenticate(db, login, password, env)<br /> File "/usr/lib/python2.6/site-packages/openerp-7.0_20130924_231032-py2.6.egg/openerp/addons/web/session.py", line 115, in authenticate<br /> uid = self.proxy('common').authenticate(db, login, password, env)<br /> File "/usr/lib/python2.6/site-packages/openerp-7.0_20130924_231032-py2.6.egg/openerp/addons/web/session.py", line 30, in proxy_method<br /> result = self.session.send(self.service_name, method, *args)<br /> File "/usr/lib/python2.6/site-packages/openerp-7.0_20130924_231032-py2.6.egg/openerp/addons/web/session.py", line 103, in send<br /> raise xmlrpclib.Fault(openerp.tools.ustr(e), formatted_info)<br /><br /><br />Server Traceback (most recent call last):<br /> File "/usr/lib/python2.6/site-packages/openerp-7.0_20130924_231032-py2.6.egg/openerp/addons/web/session.py", line 89, in send<br /> return openerp.netsvc.dispatch_rpc(service_name, method, args)<br /> File "/usr/lib/python2.6/site-packages/openerp-7.0_20130924_231032-py2.6.egg/openerp/netsvc.py", line 292, in dispatch_rpc<br /> result = ExportService.getService(service_name).dispatch(method, params)<br /> File "/usr/lib/python2.6/site-packages/openerp-7.0_20130924_231032-py2.6.egg/openerp/service/web_services.py", line 433, in dispatch<br /> return fn(*params)<br /> File "/usr/lib/python2.6/site-packages/openerp-7.0_20130924_231032-py2.6.egg/openerp/service/web_services.py", line 444, in exp_authenticate<br /> res_users = pooler.get_pool(db).get('res.users')<br /> File "/usr/lib/python2.6/site-packages/openerp-7.0_20130924_231032-py2.6.egg/openerp/pooler.py", line 49, in get_pool<br /> return get_db_and_pool(db_name, force_demo, status, update_module)[1]<br /> File "/usr/lib/python2.6/site-packages/openerp-7.0_20130924_231032-py2.6.egg/openerp/pooler.py", line 33, in get_db_and_pool<br /> registry = RegistryManager.get(db_name, force_demo, status, update_module)<br /> File "/usr/lib/python2.6/site-packages/openerp-7.0_20130924_231032-py2.6.egg/openerp/modules/registry.py", line 192, in get<br /> update_module)<br /> File "/usr/lib/python2.6/site-packages/openerp-7.0_20130924_231032-py2.6.egg/openerp/modules/registry.py", line 218, in new<br /> openerp.modules.load_modules(registry.db, force_demo, status, update_module)<br /> File "/usr/lib/python2.6/site-packages/openerp-7.0_20130924_231032-py2.6.egg/openerp/modules/loading.py", line 350, in load_modules<br /> force, status, report, loaded_modules, update_module)<br /> File "/usr/lib/python2.6/site-packages/openerp-7.0_20130924_231032-py2.6.egg/openerp/modules/loading.py", line 256, in load_marked_modules<br /> loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks)<br /> File "/usr/lib/python2.6/site-packages/openerp-7.0_20130924_231032-py2.6.egg/openerp/modules/loading.py", line 165, in load_module_graph<br /> init_module_models(cr, package.name, models)<br /> File "/usr/lib/python2.6/site-packages/openerp-7.0_20130924_231032-py2.6.egg/openerp/modules/module.py", line 381, in init_module_models<br /> obj._auto_end(cr, {'module': module_name})<br /> File "/usr/lib/python2.6/site-packages/openerp-7.0_20130924_231032-py2.6.egg/openerp/osv/orm.py", line 3226, in _auto_end<br /> cr.execute('ALTER TABLE "%s" ADD FOREIGN KEY ("%s") REFERENCES "%s" ON DELETE %s' % (t, k, r, d))<br /> File "/usr/lib/python2.6/site-packages/openerp-7.0_20130924_231032-py2.6.egg/openerp/sql_db.py", line 161, in wrapper<br /> return f(self, *args, **kwargs)<br /> File "/usr/lib/python2.6/site-packages/openerp-7.0_20130924_231032-py2.6.egg/openerp/sql_db.py", line 226, in execute<br /> res = self._obj.execute(query, params)<br />ProgrammingError: relation "account_followup_followup_line" does not exist<br />
-
[quote author=huguohuan link=topic=14727.msg25558#msg25558 date=1385703059]
[quote author=Joshua link=topic=14727.msg25523#msg25523 date=1385599925]
请问你是关于account_followup做了什么修改么?
[/quote]
问了下同事,她之前是在系统里面有些操作,但是具体哪些操作不记得了。
[/quote]
一般的系统操作不会出现这样的错误,有可能是代码修改过?
可以尝试新建数据库然后安装account_followup看看是不是有同样的问题,如果有,可能你的addons里面出现错误。