radical-collaboration / extasy-grlsd

Repository to hold the input data and scripts for the ExTASY gromacs-lsdmap work
1 stars 1 forks source link

analytics only online #49

Open euhruska opened 6 years ago

euhruska commented 6 years ago

when running radical.analytics without access to mongodb I get

... session = ra.Session(newest, 'radical.pilot')
Traceback (most recent call last):
  File "<stdin>", line 3, in <module>
  File "/scratch1/eh22/conda/envs/extasy5/lib/python2.7/site-packages/radical/analytics/session.py", line 82, in __init__
    self._description = rp.utils.get_session_description(sid=sid, src=self._src)
  File "/scratch1/eh22/conda/envs/extasy5/lib/python2.7/site-packages/radical/pilot/utils/prof_utils.py", line 126, in get_session_description
    ftmp = fetch_json(sid=sid, dburl=dburl, tgt=src, skip_existing=True)
  File "/scratch1/eh22/conda/envs/extasy5/lib/python2.7/site-packages/radical/pilot/utils/session.py", line 399, in fetch_json
    json_docs = get_session_docs(db, sid)
  File "/scratch1/eh22/conda/envs/extasy5/lib/python2.7/site-packages/radical/pilot/utils/db_utils.py", line 88, in get_session_docs
    raise ValueError ('no session %s in db (was `cleanup` disabled on `session.close()`?)' % sid)
ValueError: no session rp.session.x.0007 in db (was `cleanup` disabled on `session.close()`?)

I hoped that all the necessary files are already in the local rp.session directory. Is it possible to run analytics only from the local directory?