Hi,
I’m trying to set up my first Launchpad with a remote MongoDB (the free one from MongoDB Atlas). I type lpad init
, enter everything requested, and then I get an error message:
~ lpad init
Please supply the following configuration values
(press Enter if you want to accept the defaults)
Enter host parameter. (default: localhost). Example: 'localhost' or 'mongodb+srv://CLUSTERNAME.mongodb.net': mongodb+srv://[redacted].mongodb.net
Enter port parameter. (default: 27017). :
Enter name parameter. (default: fireworks). Database under which to store the fireworks collections:
Enter username parameter. (default: None). Username for MongoDB authentication: [redacted]
Enter password parameter. (default: None). Password for MongoDB authentication: [redacted]
Enter ssl_ca_file parameter. (default: None). Path to any client certificate to be used for Mongodb connection:
Enter authsource parameter. (default: None). Database used for authentication, if not connection db. e.g., for MongoDB Atlas this is sometimes 'admin'.:
Traceback (most recent call last):
File "/home/benwibking/anaconda3/bin/lpad", line 33, in <module>
sys.exit(load_entry_point('FireWorks', 'console_scripts', 'lpad')())
File "/home/benwibking/fireworks/fireworks/scripts/lpad_run.py", line 1551, in lpad
args.func(args)
File "/home/benwibking/fireworks/fireworks/scripts/lpad_run.py", line 191, in init_yaml
lp = LaunchPad.from_dict(doc)
File "/home/benwibking/fireworks/fireworks/core/launchpad.py", line 295, in from_dict
return LaunchPad(
File "/home/benwibking/fireworks/fireworks/core/launchpad.py", line 213, in __init__
self.connection = MongoClient(
File "/home/benwibking/anaconda3/lib/python3.9/site-packages/pymongo/mongo_client.py", line 704, in __init__
res = uri_parser.parse_uri(
File "/home/benwibking/anaconda3/lib/python3.9/site-packages/pymongo/uri_parser.py", line 467, in parse_uri
python_path = sys.executable or "python"
NameError: name 'sys' is not defined
I’m using Fireworks 2.0.2 installed manually from the Git repository.