Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags
(2 edits) (+1)

I'm sorry, but an uncaught exception occurred.

While running game code:

  File "game/tl/None/fonts.rpy", line 1, in script

    init -998 python:

  File "game/tl/None/fonts.rpy", line 1, in script

    init -998 python:

  File "game/tl/None/fonts.rpy", line 2, in <module>

    games_fonts[None] = "fonts/Cabin-Bold-TTF.ttf"

NameError: name 'games_fonts' is not defined

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

Full traceback:

  File "D:\renpy-8.0.1-sdk\renpy\bootstrap.py", line 274, in bootstrap

    renpy.main.main()

  File "D:\renpy-8.0.1-sdk\renpy\main.py", line 558, in main

    renpy.game.context().run(node)

  File "game/tl/None/fonts.rpy", line 1, in script

    init -998 python:

  File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python3.9/site-packages/future/utils/__init__.py", line 441, in raise_

  File "game/tl/None/fonts.rpy", line 1, in script

    init -998 python:

  File "D:\renpy-8.0.1-sdk\renpy\ast.py", line 1131, in execute

    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)

  File "D:\renpy-8.0.1-sdk\renpy\python.py", line 1049, in py_exec_bytecode

    exec(bytecode, globals, locals)

  File "game/tl/None/fonts.rpy", line 2, in <module>

    games_fonts[None] = "fonts/Cabin-Bold-TTF.ttf"

NameError: name 'games_fonts' is not defined

Windows-10-10.0.19045 AMD64

Ren'Py 8.0.1.22070801

Wed Jul  5 22:54:31 2023

Sorry for typing something like this here, but is it normal? I'd be grateful if someone could tell how to fix this