Hello,
I have tried a lot and read many issues in this forum, but could not find any solution for me.
- I am trying to read my vasprun.xml files and analyze them.
my db.json file looks so:
{
“host”: “localhost”,
“port”: 27017,
“database”: “vasp”,
“collection”: “tasks”,
“admin_user”: “admin_user”,
“admin_password”: “admin_user”,
“readonly_user”: “readonly_user”,
“readonly_password”: “readonly_user”,
“aliases”: {},
“authsource”:“vasp”
}
I have tried to remove the parameter “authsource” and other variants, but is still giving me this error back: pymongo.errors.OperationFailure: Authentication failed.
- If I am using mongo without authentication(means: remove the last lines) it works and creates the db (visible in mongodb)
- If I am using not the atomate , but firework it works also, code listing:
for path in paths:
tasks.append(VaspToDb(calc_dir=path))
launchpad = LaunchPad()
launchpad.reset(’’, require_password=False)
fw = Firework(tasks)
wf = Workflow([fw], name=“test workflow”)
launchpad.add_wf(wf)
rapidfire(launchpad)
Could you help me? My approaches are unfortunately over.
Thank you in advance.
Best regards,
yayapa