Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

documentation needs to be updated to reflect the need to set mongodb config, else there are error #1

Closed
shantenujha opened this issue May 19, 2014 · 2 comments

Comments

@shantenujha
Copy link
Contributor

(virtualenv)RandomDisorder:re_package shantenu$ RADICAL_PILOT_VERBOSE=debug python radical_re_namd.py --input='config/input.json' --resource='config/xsede.json'
2014:05:19 11:40:03 radical.pilot.MainProcess: [INFO ] radical.pilot version: 0.12


  •                 Replica Exchange with NAMD                    *
    

    Traceback (most recent call last):
    File "radical_re_namd.py", line 361, in
    session, pilot_manager, pilot_object = re.launch_pilot(r_config)
    File "radical_re_namd.py", line 282, in launch_pilot
    session = radical.pilot.Session(database_url=self.dburl)
    File "/Users/shantenu/virtualenv/lib/python2.7/site-packages/radical/pilot/session.py", line 138, in init
    db_name=database_name)
    File "/Users/shantenu/virtualenv/lib/python2.7/site-packages/radical/pilot/db/database.py", line 80, in new
    dbs = Session(db_url, db_name)
    File "/Users/shantenu/virtualenv/lib/python2.7/site-packages/radical/pilot/db/database.py", line 59, in init
    self._client = MongoClient(db_url)
    File "/Users/shantenu/virtualenv/lib/python2.7/site-packages/pymongo/mongo_client.py", line 366, in init
    raise ConnectionFailure(str(e))
    pymongo.errors.ConnectionFailure: [Errno 8] nodename nor servname provided, or not known
@antonst antonst closed this as completed May 19, 2014
@shantenujha shantenujha reopened this May 19, 2014
@shantenujha
Copy link
Contributor Author

Can this be made consistent like the other tools where the user does not have to worry about setting up mongodb urls please?

I think it is not good to expose a very-early/primitive user of EnsembleMD to details of MongoDB. Will be sure to scare them away (90% of them will not even know what it is!)

@antonst
Copy link
Contributor

antonst commented May 19, 2014

I agree! and I had MongoDB url defined in input.json before, but on Friday Vivek while testing my code told me that Ole told him that we must not expose MongoDB url in our code, so I changed it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants