Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

RenPy error during Nikos/Khenbish conversation (v0.7)

A topic by dergdergdergderg created Apr 10, 2024 Views: 147
Viewing posts 1 to 1

Seems to be because Khenbish doesn't have a "proud" set of poses defined.  (The game recovers fine if you just hit "Ignore".)

I'm sorry, but an uncaught exception occurred.
While running game code:
  File "game/script_build07.rpy", line 11193, in script
    $Khenbish.change("emotion", "proud")
  File "game/script_build07.rpy", line 11193, in <module>
    $Khenbish.change("emotion", "proud")
  File "game/characters_objects.rpy", line 840, in change
    self.resetFilenames()
  File "game/characters_objects.rpy", line 808, in resetFilenames
    self.bodyFilename = "images/Khenbish/body_" + self.pose + ".webp"
TypeError: coercing to Unicode: need string or buffer, NoneType found
-- Full Traceback ------------------------------------------------------------
Full traceback:
  File "game/script_build07.rpy", line 11193, in script
    $Khenbish.change("emotion", "proud")
  File "renpy/ast.py", line 922, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "renpy/python.py", line 2218, in py_exec_bytecode
    exec(bytecode, globals, locals)
  File "game/script_build07.rpy", line 11193, in <module>
    $Khenbish.change("emotion", "proud")
  File "game/characters_objects.rpy", line 840, in change
    self.resetFilenames()
  File "game/characters_objects.rpy", line 808, in resetFilenames
    self.bodyFilename = "images/Khenbish/body_" + self.pose + ".webp"
TypeError: coercing to Unicode: need string or buffer, NoneType found