Odoo中文社区可以通过以下三个域名访问:shine-it.net , odoocn.org,odoo.net.cn

原论坛用户的基本信息和发帖这里都予以保留,请注意:原论坛用户无需重新注册新用户,但是您的密码需要重置

开发人员可以登录gitter讨论组: http://gitter.im/odoo-china/Talk, 需要github账号

如果您登录系统碰到问题,请在微信公众号留言:

安装自定义模块 出错误 重启服务后



  • 页面报错500<br />Internal Server Error<br /><br />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.<br />后台打印错误信息:<br />Traceback (most recent call last):<br />  File "E:\GreenOdoo-8.0-win32\runtime\python\lib\site-packages\werkzeug\serving.py", line 177, in run_wsgi<br />    execute(self.server.app)<br />  File "E:\GreenOdoo-8.0-win32\runtime\python\lib\site-packages\werkzeug\serving.py", line 165, in execute<br />    application_iter = app(environ, start_response)<br />  File "E:\odoo-8.0\openerp\service\server.py", line 290, in app<br />    return self.app(e, s)<br />  File "E:\odoo-8.0\openerp\service\wsgi_server.py", line 216, in application<br />    return application_unproxied(environ, start_response)<br />  File "E:\odoo-8.0\openerp\service\wsgi_server.py", line 202, in application_unproxied<br />    result = handler(environ, start_response)<br />  File "E:\odoo-8.0\openerp\http.py", line 1290, in call<br />    return self.dispatch(environ, start_response)<br />  File "E:\odoo-8.0\openerp\http.py", line 1264, in call<br />    return self.app(environ, start_wrapped)<br />  File "E:\GreenOdoo-8.0-win32\runtime\python\lib\site-packages\werkzeug\wsgi.py", line 588, in call<br />    return self.app(environ, start_response)<br />  File "E:\odoo-8.0\openerp\http.py", line 1437, in dispatch<br />    result = ir_http._dispatch()<br />  File "E:\odoo-8.0\openerp\addons\base\ir\ir_http.py", line 175, in _dispatch<br />    return self._handle_exception(e)<br />  File "E:\odoo-8.0\openerp\addons\base\ir\ir_http.py", line 145, in _handle_exception<br />    return request._handle_exception(exception)<br />  File "E:\odoo-8.0\openerp\http.py", line 666, in _handle_exception<br />    return super(HttpRequest, self)._handle_exception(exception)<br />  File "E:\odoo-8.0\openerp\addons\base\ir\ir_http.py", line 171, in _dispatch<br />    result = request.dispatch()<br />  File "E:\odoo-8.0\openerp\http.py", line 684, in dispatch<br />    r = self._call_function(**self.params)<br />  File "E:\odoo-8.0\openerp\http.py", line 310, in _call_function<br />    return checked_call(self.db, *args, **kwargs)<br />  File "E:\odoo-8.0\openerp\service\model.py", line 118, in wrapper<br />    return f(dbname, *args, **kwargs)<br />  File "E:\odoo-8.0\openerp\http.py", line 307, in checked_call<br />    return self.endpoint(*a, **kw)<br />  File "E:\odoo-8.0\openerp\http.py", line 803, in call<br />    return self.method(*args, **kw)<br />  File "E:\odoo-8.0\openerp\http.py", line 403, in response_wrap<br />    response = f(*args, **kw)<br />  File "E:\odoo-8.0\addons\web\controllers\main.py", line 477, in web_client<br />    menu_data = request.registry['ir.ui.menu'].load_menus(request.cr, request.uid, context=request.context)<br />  File "E:\odoo-8.0\openerp\api.py", line 250, in wrapper<br />    return old_api(self, *args, **kwargs)<br />  File "<string>", line 2, in load_menus<br />    <br />  File "E:\odoo-8.0\openerp\tools\cache.py", line 122, in lookup<br />    value = d[key] = self.method(*args, **kwargs)<br />  File "E:\odoo-8.0\openerp\addons\base\ir\ir_ui_menu.py", line 381, in load_menus<br />    menu_root_ids = self.get_user_roots(cr, uid, context=context)<br />  File "E:\odoo-8.0\openerp\api.py", line 250, in wrapper<br />    return old_api(self, *args, **kwargs)<br />  File "E:\odoo-8.0\openerp\addons\base\ir\ir_ui_menu.py", line 355, in get_user_roots<br />    return self.search(cr, uid, menu_domain, context=context)<br />  File "E:\odoo-8.0\openerp\api.py", line 250, in wrapper<br />    return old_api(self, *args, **kwargs)<br />  File "E:\odoo-8.0\addons\mail\mail_group_menu.py", line 42, in search<br />    context=context, count=False)<br />  File "E:\odoo-8.0\openerp\api.py", line 250, in wrapper<br />    return old_api(self, *args, **kwargs)<br />  File "E:\odoo-8.0\openerp\addons\base\ir\ir_ui_menu.py", line 128, in search<br />    result = self._filter_visible_menus(cr, uid, ids, context=context)<br />  File "E:\odoo-8.0\openerp\api.py", line 250, in wrapper<br />    return old_api(self, *args, **kwargs)<br />  File "E:\odoo-8.0\openerp\api.py", line 372, in old_api<br />    result = method(recs, *args, **kwargs)<br />  File "E:\odoo-8.0\openerp\addons\base\ir\ir_ui_menu.py", line 85, in _filter_visible_menus<br />    action_menus = menus.filtered('action')<br />  File "E:\odoo-8.0\openerp\models.py", line 5420, in filtered<br />    return self.browse([rec.id for rec in self if func(rec)])<br />  File "E:\odoo-8.0\openerp\models.py", line 5419, in <lambda><br />    func = lambda rec: filter(None, rec.mapped(name))<br />  File "E:\odoo-8.0\openerp\models.py", line 5395, in mapped<br />    recs = recs._mapped_func(operator.itemgetter(name))<br />  File "E:\odoo-8.0\openerp\models.py", line 5375, in _mapped_func<br />    vals = [func(rec) for rec in self]<br />  File "E:\odoo-8.0\openerp\models.py", line 5613, in getitem<br />    return self._fields[key].get(self, type(self))<br />  File "E:\odoo-8.0\openerp\fields.py", line 819, in get<br />    self.determine_value(record)<br />  File "E:\odoo-8.0\openerp\fields.py", line 912, in determine_value<br />    record._prefetch_field(self)<br />  File "E:\odoo-8.0\openerp\api.py", line 248, in wrapper<br />    return new_api(self, *args, **kwargs)<br />  File "E:\odoo-8.0\openerp\models.py", line 3241, in _prefetch_field<br />    result = records.read(list(fnames), load='_classic_write')<br />  File "E:\odoo-8.0\openerp\api.py", line 248, in wrapper<br />    return new_api(self, *args, **kwargs)<br />  File "E:\odoo-8.0\openerp\models.py", line 3178, in read<br />    self._read_from_database(stored, inherited)<br />  File "E:\odoo-8.0\openerp\api.py", line 248, in wrapper<br />    return new_api(self, *args, **kwargs)<br />  File "E:\odoo-8.0\openerp\models.py", line 3381, in _read_from_database<br />    record._cache.update(record._convert_to_cache(vals, validate=False))<br />  File "E:\odoo-8.0\openerp\models.py", line 5351, in _convert_to_cache<br />    for name, value in values.iteritems()<br />  File "E:\odoo-8.0\openerp\models.py", line 5352, in <dictcomp><br />    if name in fields<br />  File "E:\odoo-8.0\openerp\fields.py", line 1437, in convert_to_cache<br />    return record.env[res_model].browse(int(res_id))<br />  File "E:\odoo-8.0\openerp\api.py", line 744, in getitem<br />    return self.registry[model_name]._browse(self, ())<br />  File "E:\odoo-8.0\openerp\modules\registry.py", line 102, in getitem<br />    return self.models[model_name]<br />KeyError: u'ir.actions.view'



  • 页面报错500<br />Internal Server Error<br /><br />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.<br />后台打印错误信息:<br />Traceback (most recent call last):<br />  File "E:\GreenOdoo-8.0-win32\runtime\python\lib\site-packages\werkzeug\serving.py", line 177, in run_wsgi<br />    execute(self.server.app)<br />  File "E:\GreenOdoo-8.0-win32\runtime\python\lib\site-packages\werkzeug\serving.py", line 165, in execute<br />    application_iter = app(environ, start_response)<br />  File "E:\odoo-8.0\openerp\service\server.py", line 290, in app<br />    return self.app(e, s)<br />  File "E:\odoo-8.0\openerp\service\wsgi_server.py", line 216, in application<br />    return application_unproxied(environ, start_response)<br />  File "E:\odoo-8.0\openerp\service\wsgi_server.py", line 202, in application_unproxied<br />    result = handler(environ, start_response)<br />  File "E:\odoo-8.0\openerp\http.py", line 1290, in call<br />    return self.dispatch(environ, start_response)<br />  File "E:\odoo-8.0\openerp\http.py", line 1264, in call<br />    return self.app(environ, start_wrapped)<br />  File "E:\GreenOdoo-8.0-win32\runtime\python\lib\site-packages\werkzeug\wsgi.py", line 588, in call<br />    return self.app(environ, start_response)<br />  File "E:\odoo-8.0\openerp\http.py", line 1437, in dispatch<br />    result = ir_http._dispatch()<br />  File "E:\odoo-8.0\openerp\addons\base\ir\ir_http.py", line 175, in _dispatch<br />    return self._handle_exception(e)<br />  File "E:\odoo-8.0\openerp\addons\base\ir\ir_http.py", line 145, in _handle_exception<br />    return request._handle_exception(exception)<br />  File "E:\odoo-8.0\openerp\http.py", line 666, in _handle_exception<br />    return super(HttpRequest, self)._handle_exception(exception)<br />  File "E:\odoo-8.0\openerp\addons\base\ir\ir_http.py", line 171, in _dispatch<br />    result = request.dispatch()<br />  File "E:\odoo-8.0\openerp\http.py", line 684, in dispatch<br />    r = self._call_function(**self.params)<br />  File "E:\odoo-8.0\openerp\http.py", line 310, in _call_function<br />    return checked_call(self.db, *args, **kwargs)<br />  File "E:\odoo-8.0\openerp\service\model.py", line 118, in wrapper<br />    return f(dbname, *args, **kwargs)<br />  File "E:\odoo-8.0\openerp\http.py", line 307, in checked_call<br />    return self.endpoint(*a, **kw)<br />  File "E:\odoo-8.0\openerp\http.py", line 803, in call<br />    return self.method(*args, **kw)<br />  File "E:\odoo-8.0\openerp\http.py", line 403, in response_wrap<br />    response = f(*args, **kw)<br />  File "E:\odoo-8.0\addons\web\controllers\main.py", line 477, in web_client<br />    menu_data = request.registry['ir.ui.menu'].load_menus(request.cr, request.uid, context=request.context)<br />  File "E:\odoo-8.0\openerp\api.py", line 250, in wrapper<br />    return old_api(self, *args, **kwargs)<br />  File "<string>", line 2, in load_menus<br />    <br />  File "E:\odoo-8.0\openerp\tools\cache.py", line 122, in lookup<br />    value = d[key] = self.method(*args, **kwargs)<br />  File "E:\odoo-8.0\openerp\addons\base\ir\ir_ui_menu.py", line 381, in load_menus<br />    menu_root_ids = self.get_user_roots(cr, uid, context=context)<br />  File "E:\odoo-8.0\openerp\api.py", line 250, in wrapper<br />    return old_api(self, *args, **kwargs)<br />  File "E:\odoo-8.0\openerp\addons\base\ir\ir_ui_menu.py", line 355, in get_user_roots<br />    return self.search(cr, uid, menu_domain, context=context)<br />  File "E:\odoo-8.0\openerp\api.py", line 250, in wrapper<br />    return old_api(self, *args, **kwargs)<br />  File "E:\odoo-8.0\addons\mail\mail_group_menu.py", line 42, in search<br />    context=context, count=False)<br />  File "E:\odoo-8.0\openerp\api.py", line 250, in wrapper<br />    return old_api(self, *args, **kwargs)<br />  File "E:\odoo-8.0\openerp\addons\base\ir\ir_ui_menu.py", line 128, in search<br />    result = self._filter_visible_menus(cr, uid, ids, context=context)<br />  File "E:\odoo-8.0\openerp\api.py", line 250, in wrapper<br />    return old_api(self, *args, **kwargs)<br />  File "E:\odoo-8.0\openerp\api.py", line 372, in old_api<br />    result = method(recs, *args, **kwargs)<br />  File "E:\odoo-8.0\openerp\addons\base\ir\ir_ui_menu.py", line 85, in _filter_visible_menus<br />    action_menus = menus.filtered('action')<br />  File "E:\odoo-8.0\openerp\models.py", line 5420, in filtered<br />    return self.browse([rec.id for rec in self if func(rec)])<br />  File "E:\odoo-8.0\openerp\models.py", line 5419, in <lambda><br />    func = lambda rec: filter(None, rec.mapped(name))<br />  File "E:\odoo-8.0\openerp\models.py", line 5395, in mapped<br />    recs = recs._mapped_func(operator.itemgetter(name))<br />  File "E:\odoo-8.0\openerp\models.py", line 5375, in _mapped_func<br />    vals = [func(rec) for rec in self]<br />  File "E:\odoo-8.0\openerp\models.py", line 5613, in getitem<br />    return self._fields[key].get(self, type(self))<br />  File "E:\odoo-8.0\openerp\fields.py", line 819, in get<br />    self.determine_value(record)<br />  File "E:\odoo-8.0\openerp\fields.py", line 912, in determine_value<br />    record._prefetch_field(self)<br />  File "E:\odoo-8.0\openerp\api.py", line 248, in wrapper<br />    return new_api(self, *args, **kwargs)<br />  File "E:\odoo-8.0\openerp\models.py", line 3241, in _prefetch_field<br />    result = records.read(list(fnames), load='_classic_write')<br />  File "E:\odoo-8.0\openerp\api.py", line 248, in wrapper<br />    return new_api(self, *args, **kwargs)<br />  File "E:\odoo-8.0\openerp\models.py", line 3178, in read<br />    self._read_from_database(stored, inherited)<br />  File "E:\odoo-8.0\openerp\api.py", line 248, in wrapper<br />    return new_api(self, *args, **kwargs)<br />  File "E:\odoo-8.0\openerp\models.py", line 3381, in _read_from_database<br />    record._cache.update(record._convert_to_cache(vals, validate=False))<br />  File "E:\odoo-8.0\openerp\models.py", line 5351, in _convert_to_cache<br />    for name, value in values.iteritems()<br />  File "E:\odoo-8.0\openerp\models.py", line 5352, in <dictcomp><br />    if name in fields<br />  File "E:\odoo-8.0\openerp\fields.py", line 1437, in convert_to_cache<br />    return record.env[res_model].browse(int(res_id))<br />  File "E:\odoo-8.0\openerp\api.py", line 744, in getitem<br />    return self.registry[model_name]._browse(self, ())<br />  File "E:\odoo-8.0\openerp\modules\registry.py", line 102, in getitem<br />    return self.models[model_name]<br />KeyError: u'ir.actions.view'



  • 百度 谷歌搜索遍了 也找不到答案  真是郁闷啊



  • :o :o :o :o :o :o :o :o :o :o<br /><br />错误不是很明显嘛——”ir.actions.view",哪里来的妖怪!



  • [quote author=KevinKong link=topic=17379.msg31324#msg31324 date=1446796581]<br /> :o :o :o :o :o :o :o :o :o :o<br /><br />错误不是很明显嘛——”ir.actions.view",哪里来的妖怪!<br />[/quote]<br /><br />这个我也不清楚  我吧数据库重新初始化了一下 就没问题了 ::)


登录后回复
 

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