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

2009-04-15 Thread Husen daudi
New submission from Husen daudi : [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 [200

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

2009-04-15 Thread Husen daudi
Husen daudi added the comment: Yes I am using xml.dom.minidom doc.toprettyxml(indent="\t").encode('utf-8') -- ___ Python tracker <http://bu

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

2009-04-15 Thread Husen daudi
Husen daudi added the comment: Here is the full traceback... [2009-04-16 12:00:03,487] ERROR:web-services:[01]: Exception in call: Traceback (most recent call last): [2009-04-16 12:00:03,487] ERROR:web-services:[02]: File "/home/hda/tiny/bzrtrunk/latest_released/server/bin/wizard/__init

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

2009-04-20 Thread Husen daudi
Husen daudi 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 <http://bugs.python.org/issue5