Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

V9 Enterprise Edition error message.

xml
By
james.joe
on 10/27/15, 9:23 PM 967 views

File "/opt/odoo/openerp/addons/base/ir/ir_ui_view.py", line 604, in apply_view_inheritance

specs_tree = etree.fromstring(specs.encode('utf-8'))

File "lxml.etree.pyx", line 3103, in lxml.etree.fromstring (src/lxml/lxml.etree.c:70569)

File "parser.pxi", line 1828, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:106403)

File "parser.pxi", line 1716, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:105194)

File "parser.pxi", line 1086, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:99876)

File "parser.pxi", line 580, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:94350)

File "parser.pxi", line 690, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:95786)

File "parser.pxi", line 620, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:94853)

XMLSyntaxError: Opening and ending tag mismatch: b line 33 and li, line 35, column 38


Ask for help, thank you.


You need to post the complete error log

Axel Mendoza
on 10/28/15, 3:02 AM

Edit the respective xml file with eclipse mars. It will show, where is exactly the xml tag was missing.

manuthalasseril
on 10/28/15, 3:32 AM
0
zhanghao章浩
On 11/3/15, 7:34 PM

这算代码中的bug了吧,

试试直接和官方提交bug,

而且有这个错误的其实应该都是 使用中文翻译的。

0
Kevin Kong
On 10/28/15, 4:51 AM

fixed!

one of the translation items  in the zh_CN.po file was wrong. 

the raw value is :msgid "Invoices & Refunds"

the translation is: msgstr "发票&a mp;退款"

the translator split '&' to '&a mp;'. that's the reason the error happens!


谢谢,留个QQ,交流一下,我的QQ号:309166481

james.joe
on 10/28/15, 4:56 AM
0
james.joe
On 10/28/15, 4:41 AM

Thanks to everyone's help, I have found the cause of the problem. It is due to the errors I have caused by loading the Chinese language. I have to change my English language. It is a normal job. I think this zh_CN.po file has a problem.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 10/27/15, 9:23 PM
Seen: 967 times
Last updated: 11/3/15, 7:34 PM