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

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

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

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

Openerp server錯誤log



  • 不好意思,可否麻煩幫我看一下,以下的錯誤為何呢??<br />我弄台灣會科後,點「升級」鈕,就出現如下錯誤了?? :-[<br /><br />Client Traceback (most recent call last):<br />  File "/home/landy/openerp-7.0-20130616-231347/openerp/addons/web/http.py", line 204, in dispatch<br />    response["result"] = method(self, **self.params)<br />  File "/home/landy/openerp-7.0-20130616-231347/openerp/addons/web/controllers/main.py", line 1417, in load<br />    base_action = Actions.read([action_id], ['type'], req.context)<br />  File "/home/landy/openerp-7.0-20130616-231347/openerp/addons/web/session.py", line 42, in proxy<br />    result = self.proxy.execute_kw(self.session._db, self.session._uid, self.session._password, self.model, method, args, kw)<br />  File "/home/landy/openerp-7.0-20130616-231347/openerp/addons/web/session.py", line 30, in proxy_method<br />    result = self.session.send(self.service_name, method, *args)<br />  File "/home/landy/openerp-7.0-20130616-231347/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 "/home/landy/openerp-7.0-20130616-231347/openerp/addons/web/session.py", line 89, in send<br />    return openerp.netsvc.dispatch_rpc(service_name, method, args)<br />  File "/home/landy/openerp-7.0-20130616-231347/openerp/netsvc.py", line 292, in dispatch_rpc<br />    result = ExportService.getService(service_name).dispatch(method, params)<br />  File "/home/landy/openerp-7.0-20130616-231347/openerp/service/web_services.py", line 622, in dispatch<br />    security.check(db,uid,passwd)<br />  File "/home/landy/openerp-7.0-20130616-231347/openerp/service/security.py", line 40, in check<br />    pool = pooler.get_pool(db)<br />  File "/home/landy/openerp-7.0-20130616-231347/openerp/pooler.py", line 49, in get_pool<br />    return get_db_and_pool(db_name, force_demo, status, update_module)[1]<br />  File "/home/landy/openerp-7.0-20130616-231347/openerp/pooler.py", line 33, in get_db_and_pool<br />    registry = RegistryManager.get(db_name, force_demo, status, update_module)<br />  File "/home/landy/openerp-7.0-20130616-231347/openerp/modules/registry.py", line 192, in get<br />    update_module)<br />  File "/home/landy/openerp-7.0-20130616-231347/openerp/modules/registry.py", line 218, in new<br />    openerp.modules.load_modules(registry.db, force_demo, status, update_module)<br />  File "/home/landy/openerp-7.0-20130616-231347/openerp/modules/loading.py", line 341, in load_modules<br />    processed = load_marked_modules(cr, graph, states_to_load, force, status, report, loaded_modules, update_module)<br />  File "/home/landy/openerp-7.0-20130616-231347/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 "/home/landy/openerp-7.0-20130616-231347/openerp/modules/loading.py", line 188, in load_module_graph<br />    load_data(module_name, idref, mode)<br />  File "/home/landy/openerp-7.0-20130616-231347/openerp/modules/loading.py", line 76, in <lambda><br />    load_data = lambda *args: _load_data(cr, *args, kind='data')<br />  File "/home/landy/openerp-7.0-20130616-231347/openerp/modules/loading.py", line 124, in _load_data<br />    tools.convert_xml_import(cr, module_name, fp, idref, mode, noupdate, report)<br />  File "/home/landy/openerp-7.0-20130616-231347/openerp/tools/convert.py", line 941, in convert_xml_import<br />    doc = etree.parse(xmlfile)<br />  File "lxml.etree.pyx", line 2953, in lxml.etree.parse (src/lxml/lxml.etree.c:56204)<br />  File "parser.pxi", line 1555, in lxml.etree._parseDocument (src/lxml/lxml.etree.c:82511)<br />  File "parser.pxi", line 1585, in lxml.etree._parseFilelikeDocument (src/lxml/lxml.etree.c:82832)<br />  File "parser.pxi", line 1468, in lxml.etree._parseDocFromFilelike (src/lxml/lxml.etree.c:81688)<br />  File "parser.pxi", line 1024, in lxml.etree._BaseParser._parseDocFromFilelike (src/lxml/lxml.etree.c:78735)<br />  File "parser.pxi", line 569, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:74472)<br />  File "parser.pxi", line 650, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:75363)<br />  File "parser.pxi", line 590, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:74696)<br />XMLSyntaxError: Comment not terminated , line 433, column 5



  • 不好意思,可否麻煩幫我看一下,以下的錯誤為何呢??<br />我弄台灣會科後,點「升級」鈕,就出現如下錯誤了?? :-[<br /><br />Client Traceback (most recent call last):<br />  File "/home/landy/openerp-7.0-20130616-231347/openerp/addons/web/http.py", line 204, in dispatch<br />    response["result"] = method(self, **self.params)<br />  File "/home/landy/openerp-7.0-20130616-231347/openerp/addons/web/controllers/main.py", line 1417, in load<br />    base_action = Actions.read([action_id], ['type'], req.context)<br />  File "/home/landy/openerp-7.0-20130616-231347/openerp/addons/web/session.py", line 42, in proxy<br />    result = self.proxy.execute_kw(self.session._db, self.session._uid, self.session._password, self.model, method, args, kw)<br />  File "/home/landy/openerp-7.0-20130616-231347/openerp/addons/web/session.py", line 30, in proxy_method<br />    result = self.session.send(self.service_name, method, *args)<br />  File "/home/landy/openerp-7.0-20130616-231347/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 "/home/landy/openerp-7.0-20130616-231347/openerp/addons/web/session.py", line 89, in send<br />    return openerp.netsvc.dispatch_rpc(service_name, method, args)<br />  File "/home/landy/openerp-7.0-20130616-231347/openerp/netsvc.py", line 292, in dispatch_rpc<br />    result = ExportService.getService(service_name).dispatch(method, params)<br />  File "/home/landy/openerp-7.0-20130616-231347/openerp/service/web_services.py", line 622, in dispatch<br />    security.check(db,uid,passwd)<br />  File "/home/landy/openerp-7.0-20130616-231347/openerp/service/security.py", line 40, in check<br />    pool = pooler.get_pool(db)<br />  File "/home/landy/openerp-7.0-20130616-231347/openerp/pooler.py", line 49, in get_pool<br />    return get_db_and_pool(db_name, force_demo, status, update_module)[1]<br />  File "/home/landy/openerp-7.0-20130616-231347/openerp/pooler.py", line 33, in get_db_and_pool<br />    registry = RegistryManager.get(db_name, force_demo, status, update_module)<br />  File "/home/landy/openerp-7.0-20130616-231347/openerp/modules/registry.py", line 192, in get<br />    update_module)<br />  File "/home/landy/openerp-7.0-20130616-231347/openerp/modules/registry.py", line 218, in new<br />    openerp.modules.load_modules(registry.db, force_demo, status, update_module)<br />  File "/home/landy/openerp-7.0-20130616-231347/openerp/modules/loading.py", line 341, in load_modules<br />    processed = load_marked_modules(cr, graph, states_to_load, force, status, report, loaded_modules, update_module)<br />  File "/home/landy/openerp-7.0-20130616-231347/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 "/home/landy/openerp-7.0-20130616-231347/openerp/modules/loading.py", line 188, in load_module_graph<br />    load_data(module_name, idref, mode)<br />  File "/home/landy/openerp-7.0-20130616-231347/openerp/modules/loading.py", line 76, in <lambda><br />    load_data = lambda *args: _load_data(cr, *args, kind='data')<br />  File "/home/landy/openerp-7.0-20130616-231347/openerp/modules/loading.py", line 124, in _load_data<br />    tools.convert_xml_import(cr, module_name, fp, idref, mode, noupdate, report)<br />  File "/home/landy/openerp-7.0-20130616-231347/openerp/tools/convert.py", line 941, in convert_xml_import<br />    doc = etree.parse(xmlfile)<br />  File "lxml.etree.pyx", line 2953, in lxml.etree.parse (src/lxml/lxml.etree.c:56204)<br />  File "parser.pxi", line 1555, in lxml.etree._parseDocument (src/lxml/lxml.etree.c:82511)<br />  File "parser.pxi", line 1585, in lxml.etree._parseFilelikeDocument (src/lxml/lxml.etree.c:82832)<br />  File "parser.pxi", line 1468, in lxml.etree._parseDocFromFilelike (src/lxml/lxml.etree.c:81688)<br />  File "parser.pxi", line 1024, in lxml.etree._BaseParser._parseDocFromFilelike (src/lxml/lxml.etree.c:78735)<br />  File "parser.pxi", line 569, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:74472)<br />  File "parser.pxi", line 650, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:75363)<br />  File "parser.pxi", line 590, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:74696)<br />XMLSyntaxError: Comment not terminated , line 433, column 5



  • XML 文件包含错误的语法



  • 請問,像這類的一長串錯誤的LOG~~~我要怎麼知道他是錯於XML的什麼地方???<br />



  • 我这里也报错:<br /><br />OpenERP Server Error<br />Client Traceback (most recent call last):<br />  File "E:\ProgramW8(x86)\OpenERP 7.0-20130730-231022\Server\server\openerp\addons\web\http.py", line 204, in dispatch<br />  File "E:\ProgramW8(x86)\OpenERP 7.0-20130730-231022\Server\server\openerp\addons\web\controllers\main.py", line 1427, in load<br />  File "E:\ProgramW8(x86)\OpenERP 7.0-20130730-231022\Server\server\openerp\addons\web\session.py", line 42, in proxy<br />  File "E:\ProgramW8(x86)\OpenERP 7.0-20130730-231022\Server\server\openerp\addons\web\session.py", line 30, in proxy_method<br />  File "E:\ProgramW8(x86)\OpenERP 7.0-20130730-231022\Server\server\openerp\addons\web\session.py", line 103, in send<br /><br /><br />Server Traceback (most recent call last):<br />  File "E:\ProgramW8(x86)\OpenERP 7.0-20130730-231022\Server\server\openerp\addons\web\session.py", line 89, in send<br />  File "E:\ProgramW8(x86)\OpenERP 7.0-20130730-231022\Server\server.\openerp\netsvc.py", line 292, in dispatch_rpc<br />  File "E:\ProgramW8(x86)\OpenERP 7.0-20130730-231022\Server\server.\openerp\service\web_services.py", line 626, in dispatch<br />  File "E:\ProgramW8(x86)\OpenERP 7.0-20130730-231022\Server\server.\openerp\osv\osv.py", line 188, in execute_kw<br />  File "E:\ProgramW8(x86)\OpenERP 7.0-20130730-231022\Server\server.\openerp\osv\osv.py", line 131, in wrapper<br />  File "E:\ProgramW8(x86)\OpenERP 7.0-20130730-231022\Server\server.\openerp\osv\osv.py", line 197, in execute<br />  File "E:\ProgramW8(x86)\OpenERP 7.0-20130730-231022\Server\server.\openerp\osv\osv.py", line 185, in execute_cr<br />  File "E:\ProgramW8(x86)\OpenERP 7.0-20130730-231022\Server\server\openerp\addons\hr\hr_department.py", line 94, in read<br />  File "E:\ProgramW8(x86)\OpenERP 7.0-20130730-231022\Server\server.\openerp\osv\orm.py", line 3604, in read<br />  File "E:\ProgramW8(x86)\OpenERP 7.0-20130730-231022\Server\server.\openerp\osv\orm.py", line 3724, in _read_flat<br />  File "E:\ProgramW8(x86)\OpenERP 7.0-20130730-231022\Server\server.\openerp\osv\fields.py", line 1133, in get<br />  File "E:\ProgramW8(x86)\OpenERP 7.0-20130730-231022\Server\server\openerp\addons\base\ir\ir_actions.py", line 211, in _search_view<br />  File "E:\ProgramW8(x86)\OpenERP 7.0-20130730-231022\Server\server\openerp\addons\base\res\res_partner.py", line 312, in fields_view_get<br />  File "E:\ProgramW8(x86)\OpenERP 7.0-20130730-231022\Server\server.\openerp\osv\orm.py", line 2260, in fields_view_get<br />  File "E:\ProgramW8(x86)\OpenERP 7.0-20130730-231022\Server\server.\openerp\osv\orm.py", line 1913, in __view_look_dom_arch<br />  File "E:\ProgramW8(x86)\OpenERP 7.0-20130730-231022\Server\server.\openerp\osv\orm.py", line 1842, in __view_look_dom<br />  File "E:\ProgramW8(x86)\OpenERP 7.0-20130730-231022\Server\server.\openerp\tools\cache.py", line 18, in lookup<br />  File "E:\ProgramW8(x86)\OpenERP 7.0-20130730-231022\Server\server.\openerp\tools\cache.py", line 46, in lookup<br />  File "E:\ProgramW8(x86)\OpenERP 7.0-20130730-231022\Server\server\openerp\addons\base\ir\ir_translation.py", line 327, in _get_source<br />  File "E:\ProgramW8(x86)\OpenERP 7.0-20130730-231022\Server\server.\openerp\sql_db.py", line 161, in wrapper<br />  File "E:\ProgramW8(x86)\OpenERP 7.0-20130730-231022\Server\server.\openerp\sql_db.py", line 226, in execute<br />InternalError: 错误:  索引"ir_translation_src_hash_idx"在块0上包含未期望的零页<br />HINT:  请重建索引 (REINDEX).



  • 我安装的是绿色版的,到哪去找这个地方啊?


登录后回复
 

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