yurii@yurii-desktop:~/Downloads/gramps-5.2.1$ gramps
Traceback (most recent call last):
File "/usr/local/bin/gramps", line 4, in <module>
__import__('pkg_resources').run_script('gramps==5.2.1', 'gramps')
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 656, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1441, in run_script
raise ResolutionError(
pkg_resources.ResolutionError: Script 'scripts/gramps' not found in metadata at '/home/yurii/Downloads/gramps-5.2.1/gramps.egg-info'
yurii@yurii-desktop:~/Downloads/gramps-5.2.1$
This was covered on this list when discussing problems with version
5.2.0, although I couldn’t find which thread it was in when I was
looking yesterday, so I was working from memory, but the above did seem
to work for me.
yurii@yurii-desktop:~/Downloads/gramps-5.2.1$ gramps
Traceback (most recent call last):
File "/usr/local/bin/gramps", line 4, in <module>
__import__('pkg_resources').run_script('gramps==5.2.1', 'gramps')
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 656, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1441, in run_script
raise ResolutionError(
pkg_resources.ResolutionError: Script 'scripts/gramps' not found in metadata at '/usr/local/lib/python3.10/dist-packages/gramps-5.2.1.egg-info'
yurii@yurii-desktop:~$ export PYTHONPATH=""
yurii@yurii-desktop:~$ export GRAMPS_RESOURCES=""
yurii@yurii-desktop:~$ gramps
Traceback (most recent call last):
File "/usr/local/bin/gramps", line 4, in <module>
__import__('pkg_resources').run_script('gramps==5.2.1', 'gramps')
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 656, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1441, in run_script
raise ResolutionError(
pkg_resources.ResolutionError: Script 'scripts/gramps' not found in metadata at '/usr/local/lib/python3.10/dist-packages/gramps-5.2.1.egg-info'
yurii@yurii-desktop:~$
I think that this points to a bug in our setup.py script, but when I fix it I still get the same error. We need someone who understands Debian packaging to have a look at this.