Internal Server Error 请问出现这个错误是什么原因



  • 我今天刚刚下载了一个GreenOdoo-8.0-win32 这个版本的openERP,解压完成后,我点击start.bat这个文件后,弹出的控制台里面显示了
    2016-07-14 06:22:46,874 3512 INFO ? openerp.service.server: HTTP service (werkzeug) running on 0.0.0.0:8069
    应该是服务启动成功了。

    但是在浏览器输入http://127.0.0.1:8069/ 这个地址,结果页面上面提示
    Internal Server Error

    The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.
    这个信息。

    请问下这个是什么原因呢?



  • 我今天刚刚下载了一个GreenOdoo-8.0-win32 这个版本的openERP,解压完成后,我点击start.bat这个文件后,弹出的控制台里面显示了
    2016-07-14 06:22:46,874 3512 INFO ? openerp.service.server: HTTP service (werkzeug) running on 0.0.0.0:8069
    应该是服务启动成功了。

    但是在浏览器输入http://127.0.0.1:8069/ 这个地址,结果页面上面提示
    Internal Server Error

    The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.
    这个信息。

    请问下这个是什么原因呢?



  • 这时候,那个 开启服务器 的 终端 窗口 应该 有错误提示,贴完整一点 看看。



  • 悲催。看论坛这么久,不知道在哪里发帖。

    @卓忆 @各位大神

    问下,odoo8.0,环境centos7,我装了自动备份模块,如果是新安装的环境能自动备份(该模块无问题)。但是如果是别的环境的备份还原后,点击设置,配置,数据库备份,会报如下错误:
    (注,除了这个菜单点击后报错,其他一切正常)
    Odoo Server Error

    Traceback (most recent call last):
      File "/usr/lib/python2.7/site-packages/openerp/http.py", line 543, in _handle_exception
        return super(JsonRequest, self)._handle_exception(exception)
      File "/usr/lib/python2.7/site-packages/openerp/http.py", line 580, in dispatch
        result = self._call_function(**self.params)
      File "/usr/lib/python2.7/site-packages/openerp/http.py", line 316, in _call_function
        return checked_call(self.db, *args, **kwargs)
      File "/usr/lib/python2.7/site-packages/openerp/service/model.py", line 118, in wrapper
        return f(dbname, *args, **kwargs)
      File "/usr/lib/python2.7/site-packages/openerp/http.py", line 313, in checked_call
        return self.endpoint(*a, **kw)
      File "/usr/lib/python2.7/site-packages/openerp/http.py", line 809, in call
        return self.method(*args, **kw)
      File "/usr/lib/python2.7/site-packages/openerp/http.py", line 409, in response_wrap
        response = f(*args, **kw)
      File "/usr/lib/python2.7/site-packages/openerp/addons/web/controllers/main.py", line 1247, in load
        action = request.session.model(action_type).read([action_id], False, ctx)
      File "/usr/lib/python2.7/site-packages/openerp/http.py", line 914, in proxy
        result = meth(cr, request.uid, *args, **kw)
      File "/usr/lib/python2.7/site-packages/openerp/api.py", line 268, in wrapper
        return old_api(self, *args, **kwargs)
      File "/usr/lib/python2.7/site-packages/openerp/addons/base/ir/ir_actions.py", line 326, in read
        results = super(ir_actions_act_window, self).read(cr, uid, ids, fields=fields, context=context, load=load)
      File "/usr/lib/python2.7/site-packages/openerp/api.py", line 268, in wrapper
        return old_api(self, *args, **kwargs)
      File "/usr/lib/python2.7/site-packages/openerp/models.py", line 3144, in read
        result = BaseModel.read(records, fields, load=load)
      File "/usr/lib/python2.7/site-packages/openerp/api.py", line 266, in wrapper
        return new_api(self, *args, **kwargs)
      File "/usr/lib/python2.7/site-packages/openerp/models.py", line 3179, in read
        self._read_from_database(stored, inherited)
      File "/usr/lib/python2.7/site-packages/openerp/api.py", line 266, in wrapper
        return new_api(self, *args, **kwargs)
      File "/usr/lib/python2.7/site-packages/openerp/models.py", line 3366, in _read_from_database
        res2 = self._columns[f].get(cr, self._model, ids, f, user, context=context, values=result)
      File "/usr/lib/python2.7/site-packages/openerp/osv/fields.py", line 1460, in get
        result = self._fnct(obj, cr, uid, ids, name, self._arg, context)
      File "/usr/lib/python2.7/site-packages/openerp/addons/base/ir/ir_actions.py", line 266, in _search_view
        field_get = self.pool[act.res_model].fields_view_get(cr, uid,
      File "/usr/lib/python2.7/site-packages/openerp/modules/registry.py", line 102, in getitem
        return self.models[model_name]
    KeyError: u'db.backup'

    不胜感激!


登录后回复
 

与 Odoo 中文社区 的连接断开,我们正在尝试重连,请耐心等待