[solved]Each reload causes TypeError: 'RevertableList' object is not callable

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
User avatar
Li yuanlin
Regular
Posts: 80
Joined: Sat Aug 04, 2018 8:42 pm
Location: Hong Kong
Contact:

[solved]Each reload causes TypeError: 'RevertableList' object is not callable

#1 Post by Li yuanlin »

While running game code:
File "game/script_cc.rpy", line 3794, in script
whoxx "XXX"
TypeError: 'RevertableList' object is not callable

whoxx "XXX" means any dialogue where has pressed shift+R

Loading saves also causes this error

Code: Select all

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/script_cc.rpy", line 5465, in script
    shaowei "没问题,但是这样看起来我的任务最轻松啊"
TypeError: 'RevertableList' object is not callable

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

Full traceback:
  File "game/script_cc.rpy", line 5465, in script
    shaowei "没问题,但是这样看起来我的任务最轻松啊"
  File "E:\renpy-8.0.0-sdk\renpy\ast.py", line 930, in execute
    renpy.exports.say(who, what, *args, **kwargs)
  File "E:\renpy-8.0.0-sdk\renpy\exports.py", line 1474, in say
    who(what, *args, **kwargs)
  File "E:\renpy-8.0.0-sdk\renpy\character.py", line 1355, in __call__
    self.do_display(who, what, cb_args=self.cb_args, dtt=dtt, **display_args)
  File "E:\renpy-8.0.0-sdk\renpy\character.py", line 1006, in do_display
    display_say(who,
  File "E:\renpy-8.0.0-sdk\renpy\character.py", line 696, in display_say
    rv = renpy.ui.interact(mouse='say', type=type, roll_forward=roll_forward)
  File "E:\renpy-8.0.0-sdk\renpy\ui.py", line 299, in interact
    rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
  File "E:\renpy-8.0.0-sdk\renpy\display\core.py", line 3582, in interact
    repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, pause=pause, pause_start=pause_start, pause_modal=pause_modal, **kwargs) # type: ignore
  File "E:\renpy-8.0.0-sdk\renpy\display\core.py", line 3976, in interact_core
    trans = instantiate_transition(None, old_root, layers_root)
  File "E:\renpy-8.0.0-sdk\renpy\display\core.py", line 3922, in instantiate_transition
    trans = self.ongoing_transition[layer](
TypeError: 'RevertableList' object is not callable

Windows-10-10.0.19041 AMD64
Ren'Py 8.1.4.23112901+nightly
骄阳不在的九月 0.1.5.3
Thu Nov 30 12:57:30 2023
here is all of my rpy files
game.rar
(308.28 KiB) Downloaded 10 times
stay hungry,stay foolish.

User avatar
Li yuanlin
Regular
Posts: 80
Joined: Sat Aug 04, 2018 8:42 pm
Location: Hong Kong
Contact:

Re: [solved]Each reload causes TypeError: 'RevertableList' object is not callable

#2 Post by Li yuanlin »

finally i located in options.rpy:define config.after_load_transition=[Pause(1.0),Dissolve(2.0)]
stay hungry,stay foolish.

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot], Google [Bot], jeffster