File "./clarity_run_id_setter.py", line 68, in main
Step(lims, id=ep.id).advance()
File "/lustre/home/pipeline/illuminatus/current/_py3_venv/lib/python3.5/site-packages/pyclarity_lims/entities.py", line 843, in advance
data=self.lims.tostring(ElementTree.ElementTree(self.root))
File "/lustre/home/pipeline/illuminatus/current/_py3_venv/lib/python3.5/site-packages/pyclarity_lims/lims.py", line 698, in tostring
self.write(outfile, etree)
File "/lustre/home/pipeline/illuminatus/current/_py3_venv/lib/python3.5/site-packages/pyclarity_lims/lims.py", line 703, in write
etree.write(outfile, encoding='utf-8', xml_declaration=True)
File "/lustre/software/python/Python-3.5.2/lib/python3.5/xml/etree/ElementTree.py", line 772, in write
qnames, namespaces = _namespaces(self._root, default_namespace)
File "/lustre/software/python/Python-3.5.2/lib/python3.5/xml/etree/ElementTree.py", line 875, in _namespaces
for elem in elem.iter():
AttributeError: 'NoneType' object has no attribute 'iter'
I got the stack trace above. I'm not sure if this is something broken in the module or just a failure to catch an error condition and convert it to a meaningful error. I think the step was already completed, and I'm not 100% sure I have permission to close it. Will dig further.