I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/scripts/david/a_scene_gallery.rpy", line 9, in script
init -9999 python:
File "game/scripts/david/a_scene_gallery.rpy", line 35, in <module>
adjust_gallery('alex_gallery_unlocked', 4) # Example to set Alex's gallery to exactly 10 items
File "game/scripts/david/a_scene_gallery.rpy", line 23, in adjust_gallery
if len(gallery_list) < new_size:
TypeError: object of type 'NoneType' has no len()
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "game/scripts/david/a_scene_gallery.rpy", line 9, in script
init -9999 python:
File "G:\Games\Innocent Au-pair\Aupair 0.2\Aupair-win\renpy\ast.py", line 821, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "G:\Games\Innocent Au-pair\Aupair 0.2\Aupair-win\renpy\python.py", line 1178, in py_exec_bytecode
exec(bytecode, globals, locals)
File "game/scripts/david/a_scene_gallery.rpy", line 35, in <module>
adjust_gallery('alex_gallery_unlocked', 4) # Example to set Alex's gallery to exactly 10 items
File "game/scripts/david/a_scene_gallery.rpy", line 23, in adjust_gallery
if len(gallery_list) < new_size:
TypeError: object of type 'NoneType' has no len()
Windows-10-10.0.22631 AMD64
Ren'Py 8.3.0.24052801+nightly
Sat Jun 15 17:50:53 2024