Skip to main content

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

I found a reproducible error. The in-game “Settings” button currently throws this error. The log here is from starting the game, getting through the intro screens, then pressing the “Settings” button.

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/spritecreator_scripts/spritecreator dollmaker.rpy", line 126, in script
    $askcolor(parent=self, title='Pick a color')
  File "game/spritecreator_scripts/spritecreator dollmaker.rpy", line 126, in <module>
    $askcolor(parent=self, title='Pick a color')
NameError: name 'askcolor' is not defined

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

Full traceback:
  File "game/spritecreator_scripts/spritecreator dollmaker.rpy", line 126, in script
    $askcolor(parent=self, title='Pick a color')
  File "C:\Users\New User\OneDrive\Documents\Itch Resources\renpy-sprite-creator\RenpySpriteCreator-1.12-pc\renpy\ast.py", line 912, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "C:\Users\New User\OneDrive\Documents\Itch Resources\renpy-sprite-creator\RenpySpriteCreator-1.12-pc\renpy\python.py", line 2004, in py_exec_bytecode
    exec bytecode in globals, locals
  File "game/spritecreator_scripts/spritecreator dollmaker.rpy", line 126, in <module>
    $askcolor(parent=self, title='Pick a color')
NameError: name 'askcolor' is not defined

Windows-8-6.2.9200
Ren'Py 7.3.2.320
Renpy Sprite Creator 1.12
Sat Jun 12 11:49:51 2021

Thanks for this! After poking my code I remembered that I actually fixed this months ago but forgot to upload the fixed version, so I'm grateful you pointed it out.  It should work now.

Yay! It’s nice when they’re easy. :)