OSSOS / MOP

The Moving Object Pipeline: discovery & tracking of trans-Neptunian objects
GNU General Public License v3.0
4 stars 9 forks source link

[vos] tag update issue resulting from changes in vos's getNode #266

Closed mtbannister closed 10 years ago

mtbannister commented 10 years ago

I just tried updating the tags on the cands.astrom files to reflect which ones have had reals.astrom files generated without syncing, and found when trying to do this using storage.set_property:

File "/Users/michele/Dropbox/OSSOS/ossos-pipeline/src/ossos-pipeline/vtag_cleanup.py", line 12, in storage.set_property(storage.MEASURE3+'2013A-O/'+mv_file, 'done', 'montys') File "/Users/michele/Dropbox/OSSOS/ossos-pipeline/src/ossos-pipeline/ossos/storage.py", line 482, in set_property node = vospace.getNode(node_uri) File "/Users/michele/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/vos/vos.py", line 1020, in getNode dom = ET.parse(xml_file) File "/Applications/Canopy.app/appdata/canopy-1.0.0.1160.macosx-x86_64/Canopy.app/Contents/lib/python2.7/xml/etree/ElementTree.py", line 1183, in parse tree.parse(source, parser) File "/Applications/Canopy.app/appdata/canopy-1.0.0.1160.macosx-x86_64/Canopy.app/Contents/lib/python2.7/xml/etree/ElementTree.py", line 653, in parse data = source.read(65536) File "/Users/michele/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/vos/vos.py", line 790, in read raise IOError(errnos[self.resp.status], self.resp.read()) IOError: [Errno 2]