mongodb backent

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

mongodb backent

StoltHD
Can anybody give me some hint... I want to try out the mongodb backend for a project...

Using Windows 10 64-bit, with native installed (no virtual env) Python 3.7.x - 64-bit (latest) and installed pymongo 3.9.0 (latest) via pip.
Python 3.7 in Windows Sytem Path.

Gramps 5.1.1 64-bit
Changed "Unstable" to "Stable" and version to 5.1 in the .py file for mongodb. and both files in gramps/plugins under roaming (personal)

Get this error when trying to create a database:
0210096: ERROR: grampsapp.py: line 157: Unhandled exception
Traceback (most recent call last):
  File "C:\Program Files\GrampsAIO64-5.1.1\gramps\gui\dbman.py", line 986, in __new_db
    self._create_new_db(dbid=dbid)
  File "C:\Program Files\GrampsAIO64-5.1.1\gramps\gui\dbman.py", line 998, in _create_new_db
    new_path, title = self.create_new_db_cli(title, create_db, dbid)
  File "C:\Program Files\GrampsAIO64-5.1.1\gramps\cli\clidbman.py", line 301, in create_new_db_cli
    newdb = make_database(dbid)
  File "C:\Program Files\GrampsAIO64-5.1.1\gramps\gen\db\utils.py", line 81, in make_database
    raise Exception("can't load database backend: '%s'" % plugin_id)
Exception: can't load database backend: 'mongodb'

----

Database folder are created with the text file with db name, can't even make a db name...
Same error if trying to convert a sqlite db...

MongoDB installed locally, tried using both "localhost" and 127.x.x.x as server under GRamps Preferences...

Any help would be appreciated

jaran


_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel