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.
Ren'py can't apparently read "menu:" because 'unicode' object is not callable. The code is literally a choice.
Traceback:
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/script.rpy", line 171, in script
menu:
TypeError: 'unicode' object is not callable
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "game/script.rpy", line 171, in script
menu:
File "renpy/ast.py", line 1682, in execute
choice = renpy.exports.menu(choices, self.set, args, kwargs, item_arguments)
File "renpy/exports.py", line 1062, in menu
rv = renpy.store.menu(new_items)
TypeError: 'unicode' object is not callable
Windows-10-10.0.19041
Ren'Py 7.4.6.1693
Addicted to Minecraft 1.0
Fri Jun 18 15:06:28 2021
What's even funnier is that, thinking I had made some errors while writing the choice, I tried to copy a random choice from another game of mine which works totally fine and paste it onto my current game. Guess what? It results in the same error.