radical-cybertools / radical.analytics

Analytics for RADICAL-Cybertools
Other
1 stars 1 forks source link

Unable to run radical analytics get_duration.py for Entk session #83

Closed divyaprakash0426 closed 5 years ago

divyaprakash0426 commented 5 years ago

Traceback (most recent call last): File "get_durations.py", line 27, in session = ra.Session(src=src, sid = sid, stype='radical.entk') File "/home/divyaprakash/EnTK/local/lib/python2.7/site-packages/radical/analytics/session.py", line 131, in init self._initialize_entities(self._profile) File "/home/divyaprakash/EnTK/local/lib/python2.7/site-packages/radical/analytics/session.py", line 235, in _initialize_entities details = self._description['tree'].get(uid, dict()) KeyError: 'tree'

andre-merzky commented 5 years ago

pinging @vivek-bala - this was an entk problem, right?

divyaprakash0426 commented 5 years ago

Yes. I have the profiles in the appropriate directory and I have specified the directory location in the get_duration.py file. When I run the get_duration.py file to get the details of my entk session, I get the above error.

vivek-bala commented 5 years ago

Can you share the version of EnTK that you used to generate the profiles? Is this the same as the one you are using to analyze them?

divyaprakash0426 commented 5 years ago

This is my radical stack: python : 2.7.15rc1 pythonpath : virtualenv : /home/divyaprakash/EnTK

radical.analytics : 0.50.1 radical.entk : 0.7.8 radical.pilot : 0.50.17 radical.utils : 0.50.2 saga : 0.50.1

vivek-bala commented 5 years ago

Ah okay. Can you run pip install radical.entk --upgrade after activating your virtualenv please? The current version of EnTK is 0.7.10 and this issue should be resolved in it.

divyaprakash0426 commented 5 years ago

Thank you!! It works now

vivek-bala commented 5 years ago

Awesome! Closing this ticket since it is resolved.