Hi,
I’m trying to build the latest (master) from source, using the instructions in the INSTALL:
python3 setup.py build
sudo python3 setup.py install
I can run Gramps from the source/build directory by using:
Gramps.py
But when trying to run normally, by using the command:
gramps
The following error shows: ResourcePath.ERROR: Unable to determine resource path
Googling around, I came across this : [SOLVED] gramps doesn’t open, but I’m not sure, if this is the same issue.
I’m probably missing something… any ideas?
Environment:
OS: Linux Mint 20.3 x86_64
Kernel: 5.13.0-40-generic
Gramps: Latest (build from source)
I always use the git repo. I never use the gramps script (/usr/bin/gramps)
At each time, I only do:
python3 setup.py build;LANG=en_US.utf8 python3 Gramps.py
If you want to have gramps in english or:
python3 setup.py build;python3 Gramps.py
if you want to have it in your own language.
I was doing that too, but since I last pulled the source from git and ran python3 setup.py build;python3 Gramps.py, this error comes up when trying to approach the Preference menu:
24739: ERROR: grampsapp.py: line 173: Unhandled exception
Traceback (most recent call last):
File “/home/avi/git/gramps/gramps/gui/viewmanager.py”, line 677, in preferences_activate
GrampsPreferences(self.uistate, self.dbstate)
File “/home/avi/.gramps/gramps52/plugins/Themes/themes.py”, line 111, in init
self.add_behavior_panel,
AttributeError: ‘GrampsPreferences’ object has no attribute ‘add_behavior_panel’
So I was thinking if I actually install Gramps’ it will solve this problem.