openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #12069
[Bug 1007925] Re: Error while installing XMLSyntaxError: xmlParseEntityRef
** Changed in: openobject-addons
Status: New => Invalid
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1007925
Title:
Error while installing XMLSyntaxError: xmlParseEntityRef
Status in OpenERP Addons (modules):
Invalid
Bug description:
When installing real_estate module I get following errors:
I tried it in
a. existing database
b. fresh database
c. fresh installation of ubuntu+fresh installation of openerp
but error remains the same.
I think error is in the file real_estate/security/real_estate_security.xml.
Please let me know if you need any more information on this.
Error is as below:
2012-06-02 19:05:16,716 2172 INFO real openerp.modules.loading: module real_estate: loading objects
2012-06-02 19:05:16,774 2172 INFO real openerp.modules.module: module real_estate: creating or updating database tables
2012-06-02 19:05:17,771 2172 INFO real openerp.osv.orm: storing computed values of fields.function 'charge_invoice_id'
2012-06-02 19:05:17,774 2172 INFO real openerp.osv.orm: storing computed values of fields.function 'partner_id'
2012-06-02 19:05:17,775 2172 INFO real openerp.osv.orm: storing computed values of fields.function 'cheque_amount'
2012-06-02 19:05:17,775 2172 INFO real openerp.osv.orm: storing computed values of fields.function 'date'
2012-06-02 19:05:17,775 2172 INFO real openerp.osv.orm: storing computed values of fields.function 'interest_with_amt'
2012-06-02 19:05:17,775 2172 INFO real openerp.osv.orm: storing computed values of fields.function 'remaining_amt'
2012-06-02 19:05:17,776 2172 INFO real openerp.osv.orm: storing computed values of fields.function 'reconcile'
2012-06-02 19:05:17,917 2172 INFO real openerp.osv.orm: storing computed values of fields.function 'total_commission'
2012-06-02 19:05:17,963 2172 INFO real openerp.addons.base.module.module: module real_estate: no quality certificate
2012-06-02 19:05:17,963 2172 INFO real openerp.modules.loading: module real_estate: loading wizard/account_invoice_refund_view.xml
2012-06-02 19:05:17,991 2172 INFO real openerp.modules.loading: module real_estate: loading wizard/extra_charge_view.xml
2012-06-02 19:05:18,011 2172 INFO real openerp.modules.loading: module real_estate: loading security/real_estate_security.xml
2012-06-02 19:05:18,112 2172 ERROR real openerp.tools.convert: Parse error in /home/amit/openerp-6.1-1/openerp/addons/real_estate/security/real_estate_security.xml:16:
<record id="real_estate_account_user" model="res.groups">
<field name="name">Real Estate Account User</field>
<field name="category_id" ref="base.module_category_accounting_and_finance"/>
</record>
Traceback (most recent call last):
File "/home/amit/openerp-6.1-1/openerp/tools/convert.py", line 890, in parse
self._tags[rec.tag](self.cr, rec, n)
File "/home/amit/openerp-6.1-1/openerp/tools/convert.py", line 857, in _tag_record
id = self.pool.get('ir.model.data')._update(cr, self.uid, rec_model, self.module, res, rec_id or False, not self.isnoupdate(data_node), noupdate=self.isnoupdate(data_node), mode=self.mode, context=rec_context )
File "/home/amit/openerp-6.1-1/openerp/addons/base/ir/ir_model.py", line 737, in _update
res_id = model_obj.create(cr, uid, values, context=context)
File "/home/amit/openerp-6.1-1/openerp/addons/base/res/res_users.py", line 728, in create
self.update_user_groups_view(cr, uid, context)
File "/home/amit/openerp-6.1-1/openerp/addons/base/res/res_users.py", line 768, in update_user_groups_view
view.write({'arch': xml % ('\n'.join(xml1), '\n'.join(xml2))})
File "/home/amit/openerp-6.1-1/openerp/osv/orm.py", line 368, in function_proxy
return attr(self._cr, self._uid, [self._id], *args, **kwargs)
File "/home/amit/openerp-6.1-1/openerp/addons/base/ir/ir_ui_view.py", line 117, in write
result = super(view, self).write(cr, uid, ids, vals, context)
File "/home/amit/openerp-6.1-1/openerp/osv/orm.py", line 3943, in write
self._validate(cr, user, ids, context)
File "/home/amit/openerp-6.1-1/openerp/osv/orm.py", line 1448, in _validate
if not fun(self, cr, uid, ids):
File "/home/amit/openerp-6.1-1/openerp/addons/base/ir/ir_ui_view.py", line 78, in _check_xml
eview = etree.fromstring(view.arch.encode('utf8'))
File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: xmlParseEntityRef: no name, line 17, column 31
2012-06-02 19:05:18,182 2172 ERROR real openerp.osv.osv: Uncaught exception
Traceback (most recent call last):
File "/home/amit/openerp-6.1-1/openerp/osv/osv.py", line 121, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/amit/openerp-6.1-1/openerp/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/amit/openerp-6.1-1/openerp/osv/osv.py", line 164, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/amit/openerp-6.1-1/openerp/addons/base/module/wizard/base_module_upgrade.py", line 101, in upgrade_module
_db, pool = pooler.restart_pool(cr.dbname, update_module=True)
File "/home/amit/openerp-6.1-1/openerp/pooler.py", line 39, in restart_pool
registry = RegistryManager.new(db_name, force_demo, status, update_module, True)
File "/home/amit/openerp-6.1-1/openerp/modules/registry.py", line 160, in new
openerp.modules.load_modules(registry.db, force_demo, status, update_module)
File "/home/amit/openerp-6.1-1/openerp/modules/loading.py", line 338, in load_modules
processed = load_marked_modules(cr, graph, states_to_load, force, status, report, loaded_modules)
File "/home/amit/openerp-6.1-1/openerp/modules/loading.py", line 253, in load_marked_modules
loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules)
File "/home/amit/openerp-6.1-1/openerp/modules/loading.py", line 192, in load_module_graph
load_update_xml(module_name, idref, mode)
File "/home/amit/openerp-6.1-1/openerp/modules/loading.py", line 90, in <lambda>
load_update_xml = lambda *args: _load_data(cr, *args, kind='update_xml')
File "/home/amit/openerp-6.1-1/openerp/modules/loading.py", line 138, in _load_data
tools.convert_xml_import(cr, module_name, fp, idref, mode, noupdate, report)
File "/home/amit/openerp-6.1-1/openerp/tools/convert.py", line 997, in convert_xml_import
obj.parse(doc.getroot())
File "/home/amit/openerp-6.1-1/openerp/tools/convert.py", line 890, in parse
self._tags[rec.tag](self.cr, rec, n)
File "/home/amit/openerp-6.1-1/openerp/tools/convert.py", line 857, in _tag_record
id = self.pool.get('ir.model.data')._update(cr, self.uid, rec_model, self.module, res, rec_id or False, not self.isnoupdate(data_node), noupdate=self.isnoupdate(data_node), mode=self.mode, context=rec_context )
File "/home/amit/openerp-6.1-1/openerp/addons/base/ir/ir_model.py", line 737, in _update
res_id = model_obj.create(cr, uid, values, context=context)
File "/home/amit/openerp-6.1-1/openerp/addons/base/res/res_users.py", line 728, in create
self.update_user_groups_view(cr, uid, context)
File "/home/amit/openerp-6.1-1/openerp/addons/base/res/res_users.py", line 768, in update_user_groups_view
view.write({'arch': xml % ('\n'.join(xml1), '\n'.join(xml2))})
File "/home/amit/openerp-6.1-1/openerp/osv/orm.py", line 368, in function_proxy
return attr(self._cr, self._uid, [self._id], *args, **kwargs)
File "/home/amit/openerp-6.1-1/openerp/addons/base/ir/ir_ui_view.py", line 117, in write
result = super(view, self).write(cr, uid, ids, vals, context)
File "/home/amit/openerp-6.1-1/openerp/osv/orm.py", line 3943, in write
self._validate(cr, user, ids, context)
File "/home/amit/openerp-6.1-1/openerp/osv/orm.py", line 1448, in _validate
if not fun(self, cr, uid, ids):
File "/home/amit/openerp-6.1-1/openerp/addons/base/ir/ir_ui_view.py", line 78, in _check_xml
eview = etree.fromstring(view.arch.encode('utf8'))
File "lxml.etree.pyx", line 2743, in lxml.etree.fromstring (src/lxml/lxml.etree.c:52665)
File "parser.pxi", line 1573, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:79932)
File "parser.pxi", line 1452, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:78774)
File "parser.pxi", line 960, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:75389)
File "parser.pxi", line 564, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:71739)
File "parser.pxi", line 645, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:72614)
File "parser.pxi", line 585, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:71955)
XMLSyntaxError: xmlParseEntityRef: no name, line 17, column 31
2012-06-02 19:05:18,235 2172 ERROR real openerp.netsvc: xmlParseEntityRef: no name, line 17, column 31
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1007925/+subscriptions
References