parserError: xmlParseMemory() failed

Asked by Joel Cabral

What does this error means?

Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
  File "/home/rvquimbo/Desktop/thea_server/openerp-server-gtgf/bin/service/web_services.py", line 630, in go
  File "/home/rvquimbo/Desktop/thea_server/openerp-server-gtgf/bin/report/interface.py", line 93, in create
  File "/home/rvquimbo/Desktop/thea_server/openerp-server-gtgf/bin/report/interface.py", line 181, in create_rml
  File "/var/lib/python-support/python2.5/libxml2.py", line 1286, in parseMemory
    if ret is None:raise parserError('xmlParseMemory() failed')
parserError: xmlParseMemory() failed

I execute a customized report for a specific production order then this error came out. when I try to execute that same report with other production order it works. The report is the same with 'Product Cost Structure' but I made some modification to fit clients requirements. I can't figure out the meaning of this report error.

Hope you could help me with this one.

Thanks,

Question information

Language:
English Edit question
Status:
Solved
For:
Odoo Addons (MOVED TO GITHUB) Edit question
Assignee:
No assignee Edit question
Solved by:
Joel Cabral
Solved:
Last query:
Last reply:
Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) said :
#1

Hello Joel,

I guess you have not supplied xml/xsl file path if you are using an xsl report.

Would you please check?

Thanks.

Revision history for this message
Joel Cabral (hephaestus) said :
#2

Hi Jay,

Is that the only possible reason for the error.
When I am using the same report with a different production order (PROD:A) its working just fine. but with a specific production order(PROD:Z), it's not working. I don't see any problem with that production order.

Thanks,

Revision history for this message
Joel Cabral (hephaestus) said :
#3

Hi Jay,

Thank you for the attention, but I have solve the problem. Ampersand (&) makes my life crazy today. Some of products used & instead of the word 'and'. I think ampersand symbol has issues with openerp code.

Thanks,