Custom Query (121 matches)
Results (4 - 6 of 121)
Ticket | Owner | Reporter | Resolution | Summary |
---|---|---|---|---|
#62 | wontfix | debugging XML output gives no indication as to where in the XML the error occurred | ||
Description |
The code: data = gmoc.GMOCClient() data.debugLevel = gmoc.GMOC_DEBUG_VERBOSE ... <snip lots of object definitions> ... data.store(pop) yields: Traceback (most recent call last): File "./report_foam_relations", line 336, in <module> data.store(pop) File "/home/chaos/gmoc.py", line 1682, in store print(doc.toprettyxml()) File "/usr/lib/python2.6/xml/dom/minidom.py", line 57, in toprettyxml self.writexml(writer, "", indent, newl, encoding) File "/usr/lib/python2.6/xml/dom/minidom.py", line 1749, in writexml node.writexml(writer, indent, addindent, newl) File "/usr/lib/python2.6/xml/dom/minidom.py", line 817, in writexml node.writexml(writer,indent+addindent,addindent,newl) File "/usr/lib/python2.6/xml/dom/minidom.py", line 812, in writexml _write_data(writer, attrs[a_name].value) File "/usr/lib/python2.6/xml/dom/minidom.py", line 301, in _write_data data = data.replace("&", "&").replace("<", "<") AttributeError: 'NoneType' object has no attribute 'replace' This gives no information about where in the XML the error was encountered. Verbose debugging should help users by giving information about where the problem was encountered. |
|||
#63 | invalid | typo: Interface, Network, and ResourceMapping classes are multiply defined | ||
Description |
The gmoc.py source code contains two "class Interface" definitions, two "class ResourceMapping" definitions, and two "class Network" definitions. This isn't very harmful, but it's confusing. |
|||
#96 | fixed | site metadata submission leads to duplicate address submission | ||
Description |
The (2063,'10 Moulton St.',NULL,'Cambridge',NULL,'02138','US',NULL,NULL,0), (2064,'10 Moulton St.',NULL,'Cambridge',NULL,'02138','US',NULL,NULL,0), (2065,'10 Moulton St.',NULL,'Cambridge',NULL,'02138','US',NULL,NULL,0), (2066,'10 Moulton St.',NULL,'Cambridge',NULL,'02138','US',NULL,NULL,0), (2067,'10 Moulton St.',NULL,'Cambridge',NULL,'02138','US',NULL,NULL,0), (2068,'10 Moulton St.',NULL,'Cambridge',NULL,'02138','US',NULL,NULL,0); It appears that every time this XML data is submitted: <?xml version="1.0" ?> <gmoc_topology time="1349129423" version="4"> <location name="urn:publicid:IDN+gmoc.geni.net+location+10_Moulton_St"> <address city="Cambridge" country="US" postal_code="02138" state="MA" street1="10 Moulton St."/> </location> <contact email="gpo-infra@geni.net" given_name="GPO" last_name="Infrastructure Group" urn="urn:publicid:IDN+gmoc.geni.net+contact+gpo-infra_geni.net"/> <organization location="urn:publicid:IDN+gmoc.geni.net+location+10_Moulton_St" name="urn:publicid:IDN+gmoc.geni.net+organization+BBN" primary_contact="urn:publicid:IDN+gmoc.geni.net+contact+gpo-infra_geni.net" type="campus"/> <pop location="urn:publicid:IDN+gmoc.geni.net+location+10_Moulton_St" name="urn:publicid:IDN+gmoc.geni.net+pop+gpolab" operator="urn:publicid:IDN+gmoc.geni.net+organization+BBN"/> </gmoc_topology>
a new |
Note: See TracQuery
for help on using queries.