i get this error when i launch the game with the mod:
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/mod_additions/gallery.rpy", line 1, in script
init python:
File "game/mod_additions/gallery.rpy", line 1, in script
init python:
File "game/mod_additions/gallery.rpy", line 22, in <module>
kira = GalleryItem("Kira", "e01s01", "ep1/special/ep1s01_kiraphoto1.jpg")
File "game/mod_additions/gallery.rpy", line 7, in __init__
self.pageNum = (len(filter(lambda s: s.char == char, gallery_items)) // 8) + 1
TypeError: object of type 'filter' has no len()
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "C:\save files old pc\discord\suffers\esa\LeapofFaith-1.0.1c-pc\renpy\bootstrap.py", line 274, in bootstrap
renpy.main.main()
File "C:\save files old pc\discord\suffers\esa\LeapofFaith-1.0.1c-pc\renpy\main.py", line 558, in main
renpy.game.context().run(node)
File "game/mod_additions/gallery.rpy", line 1, in script
init 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/mod_additions/gallery.rpy", line 1, in script
init python:
File "C:\save files old pc\discord\suffers\esa\LeapofFaith-1.0.1c-pc\renpy\ast.py", line 1131, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "C:\save files old pc\discord\suffers\esa\LeapofFaith-1.0.1c-pc\renpy\python.py", line 1052, in py_exec_bytecode
exec(bytecode, globals, locals)
File "game/mod_additions/gallery.rpy", line 22, in <module>
kira = GalleryItem("Kira", "e01s01", "ep1/special/ep1s01_kiraphoto1.jpg")
File "game/mod_additions/gallery.rpy", line 7, in __init__
self.pageNum = (len(filter(lambda s: s.char == char, gallery_items)) // 8) + 1
TypeError: object of type 'filter' has no len()
Windows-10-10.0.19045 AMD64
Ren'Py 8.0.2.22081402
Leap of Faith 1.0.1c