You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I have a mongo database that I want to explore using Monary(). The pymongo client works quite well and I am able to explore using the MongoClient in pymongo. But when I use Monary() I get the following runtime error
File "<stdin>", line 1, in <module> File "/home/shubhang/.local/lib/python3.9/site-packages/monary/monary.py", line 373, in __init__ self.connect(host, port, username, password, database, File "/home/shubhang/.local/lib/python3.9/site-packages/monary/monary.py", line 436, in connect self._connection = cmonary.monary_connect( RuntimeError: ffi_prep_cif_var failed
I tried Monary('localhost',27017) to explicitly identify the localhost as well but to no avail. I still get the same RuntimeError.
Here is the mongod status in case it helps
mongod.service - MongoDB Database Server Loaded: loaded (/lib/systemd/system/mongod.service; enabled; vendor preset: enabled> Active: active (running) since Mon 2022-03-14 08:40:33 CDT; 1 day 1h ago Docs: https://docs.mongodb.org/manual Main PID: 32645 (mongod) Memory: 2.9G CPU: 10min 32.377s CGroup: /system.slice/mongod.service └─32645 /usr/bin/mongod --config /etc/mongod.conf
The text was updated successfully, but these errors were encountered:
Hello,
I have a mongo database that I want to explore using Monary(). The pymongo client works quite well and I am able to explore using the MongoClient in pymongo. But when I use Monary() I get the following runtime error
File "<stdin>", line 1, in <module> File "/home/shubhang/.local/lib/python3.9/site-packages/monary/monary.py", line 373, in __init__ self.connect(host, port, username, password, database, File "/home/shubhang/.local/lib/python3.9/site-packages/monary/monary.py", line 436, in connect self._connection = cmonary.monary_connect( RuntimeError: ffi_prep_cif_var failed
I tried Monary('localhost',27017) to explicitly identify the localhost as well but to no avail. I still get the same RuntimeError.
Here is the mongod status in case it helps
mongod.service - MongoDB Database Server Loaded: loaded (/lib/systemd/system/mongod.service; enabled; vendor preset: enabled> Active: active (running) since Mon 2022-03-14 08:40:33 CDT; 1 day 1h ago Docs: https://docs.mongodb.org/manual Main PID: 32645 (mongod) Memory: 2.9G CPU: 10min 32.377s CGroup: /system.slice/mongod.service └─32645 /usr/bin/mongod --config /etc/mongod.conf
The text was updated successfully, but these errors were encountered: