Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(1 edit)

Hello. I'm getting a mistake when trying to implement it. The text is as below.

```

I'm sorry, but an uncaught exception occurred.

While loading <renpy.display.im.Image object ('images/bgs/st01/ship_hold.jpg') at 0x00000000081f9a90>:

  File "game/scripts/story/story_01.rpy", line 42, in script

    extend "{footnote=1}{b}Partenopean{/b}{/footnote} again."

renpy.script.LabelNotFound: could not find label '1'.

-- Full Traceback ------------------------------------------------------------

Traceback (most recent call last):

  File "game/scripts/story/story_01.rpy", line 42, in script

    extend "{footnote=1}{b}Partenopean{/b}{/footnote} again."

  File "renpy/ast.py", line 2925, in execute

    Say.execute(self)

    ~~~~~~~~~~~^^^^^^

  File "renpy/ast.py", line 991, in execute

    renpy.exports.say(who, what, *args, **kwargs)

    ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "renpy/exports/sayexports.py", line 129, in say

    who(what, *args, **kwargs)

    ~~~^^^^^^^^^^^^^^^^^^^^^^^

  File "renpy/common/00library.rpy", line 217, in __call__

    renpy.exports.say(who, what, *args, **kw)

    ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^

  File "renpy/exports/sayexports.py", line 129, in say

    who(what, *args, **kwargs)

    ~~~^^^^^^^^^^^^^^^^^^^^^^^

  File "renpy/character.py", line 1565, in __call__

    self.do_display(who, what, cb_args=self.cb_args, dtt=dtt, **display_args)

    ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "renpy/common/00nvl_mode.rpy", line 395, in do_display

    renpy.display_say(

    ~~~~~~~~~~~~~~~~~^

        who,

        ^^^^

    ...<3 lines>...

        multiple=multiple,

        ^^^^^^^^^^^^^^^^^^

        **display_args)

        ^^^^^^^^^^^^^^^

  File "renpy/character.py", line 902, in display_say

    rv = renpy.ui.interact(mouse="say", type=type, roll_forward=roll_forward)

         ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "renpy/ui.py", line 306, in interact

    rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)

         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "renpy/display/core.py", line 2154, in interact

    repeat, rv = self.interact_core(

                 ~~~~~~~~~~~~~~~~~~^

        preloads=preloads,

        ^^^^^^^^^^^^^^^^^^

    ...<4 lines>...

        **kwargs,

        ^^^^^^^^^

    )

    ^

  File "renpy/display/core.py", line 3248, in interact_core

    rv = root_widget.event(ev, x, y, 0)

         ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^

  File "renpy/display/layout.py", line 1281, in event

    rv = i.event(ev, x - xo, y - yo, cst)

         ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^

  File "renpy/display/layout.py", line 1281, in event

    rv = i.event(ev, x - xo, y - yo, cst)

         ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^

  File "renpy/display/layout.py", line 1281, in event

    rv = i.event(ev, x - xo, y - yo, cst)

         ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^

  File "renpy/display/screen.py", line 805, in event

    rv = self.child.event(ev, x, y, st)

         ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^

  File "renpy/display/layout.py", line 1281, in event

    rv = i.event(ev, x - xo, y - yo, cst)

         ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^

  File "renpy/display/layout.py", line 1510, in event

    rv = super(Window, self).event(ev, x, y, st)

         ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^

  File "renpy/display/layout.py", line 273, in event

    rv = d.event(ev, x - xo, y - yo, st)

         ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^

  File "renpy/display/layout.py", line 1281, in event

    rv = i.event(ev, x - xo, y - yo, cst)

         ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^

  File "renpy/display/layout.py", line 1510, in event

    rv = super(Window, self).event(ev, x, y, st)

         ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^

  File "renpy/display/layout.py", line 273, in event

    rv = d.event(ev, x - xo, y - yo, st)

         ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^

  File "renpy/display/layout.py", line 1281, in event

    rv = i.event(ev, x - xo, y - yo, cst)

         ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^

  File "renpy/text/text.py", line 2678, in event

    rv = self.style.hyperlink_functions[1](target)

         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^

  File "renpy/common/00defaults.rpy", line 226, in hyperlink_function

    return config.hyperlink_handlers[protocol](value)

           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^

  File "renpy/common/00defaults.rpy", line 190, in call_in_new_context_handler

    renpy.call_in_new_context(value)

    ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^

  File "renpy/game.py", line 346, in call_in_new_context

    return renpy.execution.run_context(False)

           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^

  File "renpy/execution.py", line 1036, in run_context

    context.run()

    ~~~~~~~~~~~^^

  File "renpy/script.py", line 1201, in lookup

    raise LabelNotFound(original)

renpy.script.LabelNotFound: could not find label '1'.

Windows-11-10.0.26200-SP0 AMD64

Ren'Py 8.5.2.26010301

kiss_gui 1.0

Wed Feb 18 22:57:08 2026

```

From the traceback, it looks like the default hyperlink style, instead of the footnote hyperlink style, is being used, causing it to attempt to jump to a label titled "1".  If this string is occurring in the say screen (as part of regular dialogue), make sure that the line `gui.dialogue_text_hyperlink_functions = (build_base_style, partial(lambda _: None), hover_capture)` is present in the footnotes.rpy file, and that you don't override the value of gui.dialogue_text_hyperlink_functions somewhere else. If this string is occurring in some other context, like a choice screen, make sure the text is given the style attribute `hyperlink_functions (build_base_style, partial(lambda _: None), hover_capture)`. The tag was designed to be used on dialogue shown in the say screen, so it only sets the hyperlink style specific for dialogue text by default.

I removed a couple of test plugins that also modified hyperlink properties. Still gives a mistake, and I've been using this in the Say screen only.