CFIS-Octarine / octarine

The TNO search in the Canada-France Imaging Survey.
GNU General Public License v3.0
0 stars 2 forks source link

Validate tool beta release #5

Closed ijiraq closed 7 years ago

ijiraq commented 7 years ago

The validate tool is nearly feature complete. This merge is done now so that we don't have a long acceptance process on the final merge in.

austinbeauch commented 7 years ago

I've been getting errors

Failed to load candidates: NodeNotFound: vos://cadc.nrc.ca!vospace/cfis/solar_system/catalogs/17AQ10/HPX_01256_RA_203.4_DEC_+52.8_mjdalltracks.json
 Failed to load candidates: NodeNotFound: vos://cadc.nrc.ca!vospace/cfis/solar_system/catalogs/17AQ10/HPX_00887_RA_203.6_DEC_+58.9_mjdalltracks.json

all day while trying to access .json files from VOSpace. Those files are very clearly at their respective locations, but for some reason they aren't being found. Here's the full traceback:

Error making callback 'activated': NodeNotFound: vos://cadc.nrc.ca!vospace/cfis/solar_system/catalogs/17AQ10/HPX_01256_RA_203.4_DEC_+52.8_mjdalltracks.json

Traceback:
  File "/home/austin/miniconda2/envs/astroconda/lib/python2.7/site-packages/ginga/misc/Callback.py", line 123, in make_callback
    res = method(*cb_args, **cb_kwdargs)

  File "/home/austin/octarine/src/daomop/viewer.py", line 92, in <lambda>
    load_candidates.add_callback('activated', lambda x: self.load_candidates(x))

  File "/home/austin/octarine/src/daomop/viewer.py", line 213, in load_candidates
    self.candidates = candidate.CandidateSet(self.event, catalog_dir=RUNID)

  File "/home/austin/octarine/src/daomop/candidate.py", line 121, in __init__
    self.target = self.catalog.next()

  File "/home/austin/octarine/src/daomop/candidate.py", line 104, in next
    if not self.current_target < len(self.mjdates):

  File "/home/austin/octarine/src/daomop/candidate.py", line 100, in mjdates
    return self.catalog.json.keys()

  File "/home/austin/octarine/src/daomop/storage.py", line 854, in json
    self.get()

  File "/home/austin/octarine/src/daomop/storage.py", line 369, in get
    return copy(self.uri, self.filename)

  File "/home/austin/octarine/src/daomop/storage.py", line 1332, in copy
    return vospace.client.copy(source, destination)

  File "/home/austin/miniconda2/envs/astroconda/lib/python2.7/site-packages/vos/vos.py", line 1405, in copy
    source_md5 = self.get_node(source).props.get('MD5', ZERO_MD5)

  File "/home/austin/miniconda2/envs/astroconda/lib/python2.7/site-packages/vos/vos.py", line 1544, in get_node
    vo_xml_string = vo_fobj.read().decode('UTF-8')

  File "/home/austin/miniconda2/envs/astroconda/lib/python2.7/site-packages/vos/vos.py", line 982, in read
    self.resp = self.connector.session.send(self.request, stream=True, verify=False)

  File "/home/austin/miniconda2/envs/astroconda/lib/python2.7/site-packages/cadcutils/net/ws.py", line 425, in send
    self.check_status(response)

  File "/home/austin/miniconda2/envs/astroconda/lib/python2.7/site-packages/cadcutils/net/ws.py", line 472, in check_status
    raise exceptions.NotFoundException(orig_exception=e)

Any ideas?

ijiraq commented 7 years ago

I have renamed the files to their correct names.

-rw-rw---- ptsws_402 cfis-read Octarine 285846 Jul 11 05:03 HPX_01256_RA_203.4DEC+52.8_mjdalltracks.json

JJ

On Jul 11, 2017, at 4:57 AM, Austin Beauchamp notifications@github.com wrote:

I've been getting errors

Failed to load candidates: NodeNotFound: vos://cadc.nrc.ca!vospace/cfis/solar_system/catalogs/17AQ10/HPX_01256_RA_203.4DEC+52.8_mjdalltracks.json Failed to load candidates: NodeNotFound: vos://cadc.nrc.ca!vospace/cfis/solar_system/catalogs/17AQ10/HPX_00887_RA_203.6DEC+58.9_mjdalltracks.json all day while trying to access .json files from VOSpace. Those files are very clearly at their respective locations, but for some reason they aren't being found. Here's the full traceback:

Error making callback 'activated': NodeNotFound: vos://cadc.nrc.ca!vospace/cfis/solar_system/catalogs/17AQ10/HPX_01256_RA_203.4DEC+52.8_mjdalltracks.json

Traceback: File "/home/austin/miniconda2/envs/astroconda/lib/python2.7/site-packages/ginga/misc/Callback.py", line 123, in make_callback res = method(*cb_args, **cb_kwdargs)

File "/home/austin/octarine/src/daomop/viewer.py", line 92, in load_candidates.add_callback('activated', lambda x: self.load_candidates(x))

File "/home/austin/octarine/src/daomop/viewer.py", line 213, in load_candidates self.candidates = candidate.CandidateSet(self.event, catalog_dir=RUNID)

File "/home/austin/octarine/src/daomop/candidate.py", line 121, in init self.target = self.catalog.next()

File "/home/austin/octarine/src/daomop/candidate.py", line 104, in next if not self.current_target < len(self.mjdates):

File "/home/austin/octarine/src/daomop/candidate.py", line 100, in mjdates return self.catalog.json.keys()

File "/home/austin/octarine/src/daomop/storage.py", line 854, in json self.get()

File "/home/austin/octarine/src/daomop/storage.py", line 369, in get return copy(self.uri, self.filename)

File "/home/austin/octarine/src/daomop/storage.py", line 1332, in copy return vospace.client.copy(source, destination)

File "/home/austin/miniconda2/envs/astroconda/lib/python2.7/site-packages/vos/vos.py", line 1405, in copy source_md5 = self.get_node(source).props.get('MD5', ZERO_MD5)

File "/home/austin/miniconda2/envs/astroconda/lib/python2.7/site-packages/vos/vos.py", line 1544, in get_node vo_xml_string = vo_fobj.read().decode('UTF-8')

File "/home/austin/miniconda2/envs/astroconda/lib/python2.7/site-packages/vos/vos.py", line 982, in read self.resp = self.connector.session.send(self.request, stream=True, verify=False)

File "/home/austin/miniconda2/envs/astroconda/lib/python2.7/site-packages/cadcutils/net/ws.py", line 425, in send self.check_status(response)

File "/home/austin/miniconda2/envs/astroconda/lib/python2.7/site-packages/cadcutils/net/ws.py", line 472, in check_status raise exceptions.NotFoundException(orig_exception=e) Any ideas?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/CFIS-Octarine/octarine/pull/5#issuecomment-314239180, or mute the thread https://github.com/notifications/unsubscribe-auth/ABFGWzQInnuWBZa8MAtK695kcjMRiDmWks5sMpBWgaJpZM4OSsKA.