Error in the note editor when hovering over a reference with the mouse

I have a note with a reference to an external web page (Arkivalieronline). When hovering over the link with the mouse, the error report window opens with the following message:

12981494: ERROR: grampsapp.py: line 174: Unhandled exception
Traceback (most recent call last):
File “C:\Program Files\Gramps\GrampsAIO64-5.1.4\gramps\gui\widgets\styledtexteditor.py”, line 377, in on_motion_notify_event.
tooltip = self.make_tooltip_from_link(tag)
File “C:\Program Files\Gramps\GrampsAIO64-5.1.4\gramps\gui\widgets\styledtexteditor.py”, line 399, in make_tooltip_from_link
obj_class, prop, value = url[9:].split("/")
ValueError: too many values to unpack (expected 3)


So it is not possible to open the link from the note editor.

Does anyone have an idea?

HKD

GRAMPS: AIO64-5.1.4-1
Python: 3.6.4 (default, Jan 23 2018, 13:17:37) …
BSDDB: 6.1.0 (6, 0, 30)
sqlite: 3.21.0 (2.6.0)
LANG: de_DE.UTF-8
BS: Windows

From your error message your link probably looks something like gramps://https://www.sa.dk/ao-soegesider/da/billedviser?epid=21027760#331010,66572649
you need to remove the gramps:// part. Then the link should work. :smiley:

Afterwards you should be able to open it with:
ctrl + left mouse button

Thank you, that was it.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.