<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">I writting code to generate a VM.<div class=""><br class=""></div><div class="">But I'm getting :</div><div class=""><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">Traceback (most recent call last):</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">&nbsp; ...</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">&nbsp; &nbsp; newvm = self.api.vms.add(params.VM(**kwargs))</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">&nbsp; File "build/bdist.macosx-10.10-x86_64/egg/ovirtsdk/infrastructure/brokers.py", line 35195, in add</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">&nbsp; File "build/bdist.macosx-10.10-x86_64/egg/ovirtsdk/utils/parsehelper.py", line 53, in toXml</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">&nbsp; File "build/bdist.macosx-10.10-x86_64/egg/ovirtsdk/xml/params.py", line 24888, in export_</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">&nbsp; File "build/bdist.macosx-10.10-x86_64/egg/ovirtsdk/xml/params.py", line 24946, in exportChildren</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">AttributeError: 'str' object has no attribute 'export_'</div></div><div class=""><br class=""></div><div class="">I made a bug in my call to&nbsp;<span style="font-family: Menlo; font-size: 11px;" class="">params.VM. But I have no way to know which argument is wrong, the message is too terse :</span></div><div class=""><div class=""><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">&nbsp; &nbsp; AttributeError: 'str' object has no attribute 'export_'</div></div></div><div class=""><br class=""></div><div class="">It should be better if the given attribute name was given, it will save me time.</div></body></html>