first I downloaded the package to my Vm which is Mint Xia running on Virtualbox.
-
then I extracted it to a new directory
-
cd to the new directory
-
run the command ~/Downloads/gramps-6.0.0-beta2$ sudo python3 setup.py build
as per the INSTALL instructions
-
run the command ~/Downloads/gramps-6.0.0-beta2$ sudo python3 setup.py install
as per the INSTALL file instructions
-
Now I run ~/Downloads/gramps-6.0.0-beta2$ python3 Gramps.py
-
receive back
2025-03-02 13:34:29.755: WARNING: grampslocale.py: line 391: No Localedir provided, unable to find translations
2025-03-02 13:34:29.758: WARNING: grampslocale.py: line 449: Missing or invalid localedir None; no translations will be available.
2025-03-02 13:34:29.758: WARNING: grampslocale.py: line 391: No Localedir provided, unable to find translations
2025-03-02 13:34:29.761: WARNING: grampslocale.py: line 449: Missing or invalid localedir None; no translations will be available.
2025-03-02 13:34:29.762: WARNING: grampslocale.py: line 391: No Localedir provided, unable to find translations
2025-03-02 13:34:29.766: WARNING: grampslocale.py: line 449: Missing or invalid localedir None; no translations will be available.
2025-03-02 13:34:29.766: WARNING: grampslocale.py: line 391: No Localedir provided, unable to find translations
2025-03-02 13:34:29.769: WARNING: grampslocale.py: line 449: Missing or invalid localedir None; no translations will be available.
- I figured that I had a problem with my locale so I did
locale -a
and noticed that en_US.utf8 was missing, so I ran;
$ sudo dpkg-reconfigure locales
Generating locales…
en_US.UTF-8... up-to-date
retry ~/Downloads/gramps-6.0.0-beta2$ python3 Gramps.py
and get this
2025-03-02 15:44:46.151: WARNING: _manager.py: line 326: Plugin error (from 'filter+'): No module named 'gramps.gen.filters.rules.family._memberbase'
2025-03-02 15:44:46.154: ERROR: grampsapp.py: line 188: Unhandled exception
Traceback (most recent call last):
File "/home/brian/Downloads/gramps-6.0.0-beta2/gramps/gui/grampsgui.py", line 768, in do_activate
Gramps(self.argparser, self)
File "/home/brian/Downloads/gramps-6.0.0-beta2/gramps/gui/grampsgui.py", line 574, in __init__
self._vm = ViewManager(app, dbstate, config.get("interface.view-categories"))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/brian/Downloads/gramps-6.0.0-beta2/gramps/gui/viewmanager.py", line 236, in __init__
self.do_reg_plugins(self.dbstate, self.uistate)
File "/home/brian/Downloads/gramps-6.0.0-beta2/gramps/gui/viewmanager.py", line 613, in do_reg_plugins
error = CLIManager.do_reg_plugins(self, dbstate, uistate, rescan=rescan)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/brian/Downloads/gramps-6.0.0-beta2/gramps/cli/grampscli.py", line 334, in do_reg_plugins
self._pmgr.reg_plugins(USER_PLUGINS, dbstate, uistate, load_on_reg=True)
File "/home/brian/Downloads/gramps-6.0.0-beta2/gramps/gen/plug/_manager.py", line 224, in reg_plugins
r_class = getattr(mod, plugin.ruleclass)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'HasEventBasePlus'
Then, prior to starting from scratch again, I checked for an uninstall option in the setup.py and there is not one apparently.
doing ~$ gramps
gives
/usr/local/bin/gramps:4: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
__import__('pkg_resources').run_script('gramps==6.0.0b2', 'gramps')
ResourcePath.ERROR: Unable to determine resource path
I can go in and ‘surgically’ remove most of the bits and pieces but I wanted to post this message with as much content as possible first.
I have been using Gramps over the years, but always with Ubuntu and more recently with Mint dpkg process and not seen the problem with my en_US locale before so I wonder if it may be related to all the new translations just added and the INSTALL script needing to be updated, perhaps.
More likely it is ‘finger-trouble’ and inexperience, but I would like to begin using the install-from-source process going forward. Sure would like to see an uninstall option though in setup.py.
Any suggestions welcome, as usual! TIA
brian