I've had this issue for a while when I updated to Renpy 7.5. I've just tried again, with Renpy 7.6 preview and unforunately these keymaps still cause an error:
Code: Select all
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/0init.rpy", line 1330, in script
$ config.keymap['rollback'].remove('K_PAGEUP') ### renpy update didn't like these until below... unmute eventually
File "game/0init.rpy", line 1330, in <module>
$ config.keymap['rollback'].remove('K_PAGEUP') ### renpy update didn't like these until below... unmute eventually
File "renpy/common/00keymap.rpy", line 28, in remove
_list.remove(self, a)
ValueError: list.remove(x): x not in list
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "game/0init.rpy", line 1330, in script
$ config.keymap['rollback'].remove('K_PAGEUP') ### renpy update didn't like these until below... unmute eventually
File "/Applications/renpy-7.5.3-sdk/renpy/ast.py", line 1138, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "/Applications/renpy-7.5.3-sdk/renpy/python.py", line 1122, in py_exec_bytecode
exec(bytecode, globals, locals)
File "game/0init.rpy", line 1330, in <module>
$ config.keymap['rollback'].remove('K_PAGEUP') ### renpy update didn't like these until below... unmute eventually
File "renpy/common/00keymap.rpy", line 28, in remove
_list.remove(self, a)
ValueError: list.remove(x): x not in list
Darwin-20.6.0-x86_64-i386-64bit x86_64
Ren'Py 7.6.0.23042213
Code: Select all
#$ config.keymap['rollback'].remove('K_PAGEUP')
#$ config.keymap['rollback'].remove('repeat_K_PAGEUP')
#$ config.keymap['rollforward'].remove('K_PAGEDOWN')
#$ config.keymap['rollforward'].remove('repeat_K_PAGEDOWN')
#$ config.keymap['hide_windows'].remove('h')
Code: Select all
init:
$ config.keymap['toggle_skip'].remove('K_TAB')
$ config.keymap['skip'].remove('K_LCTRL')
$ config.keymap['skip'].remove('K_RCTRL')
$ config.keymap['hide_windows'].remove('mouseup_2')
$ config.keymap['hide_windows'].remove('noshift_K_h')