[issue5762] AttributeError: 'NoneType' object has no attribute 'replace'

2009-04-20 Thread Husen daudi
Husen daudi h...@openerp.co.in added the comment: I have solved this error, My tag has None value for one attribute. But python should check for None value in _write_data function. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue5762] AttributeError: 'NoneType' object has no attribute 'replace'

2009-04-15 Thread Husen daudi
New submission from Husen daudi h...@openerp.co.in: [2009-04-15 17:53:10,198] ERROR:web-services:[19]: _write_data(writer, attrs[a_name].value) [2009-04-15 17:53:10,198] ERROR:web-services:[20]: File /usr/lib/python2.5/site-packages/oldxml/_xmlplus/dom/minidom.py, line 305, in _write_data

[issue5762] AttributeError: 'NoneType' object has no attribute 'replace'

2009-04-15 Thread Husen daudi
Husen daudi h...@openerp.co.in added the comment: Yes I am using xml.dom.minidom doc.toprettyxml(indent=\t).encode('utf-8') -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5762