The textbutton:
Code: Select all
textbutton ("Change Name") action Show("namechange")
Code: Select all
screen namechange():
modal True
zorder 200
style_prefix "confirm"
add "gui/overlay/confirm.png"
frame:
vbox:
xalign .5
yalign .5
spacing 30
input default "FirstName" length 10 allow "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" changed persistent.mc
input default "LastName" length 10 allow "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" changed persistent.lname
textbutton "Done" action Return()
Code: Select all
I'm sorry, but an uncaught exception occurred.
While running game code:
TypeError: 'unicode' object is not callable
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "renpy/common/_layout/screen_main_menu.rpym", line 28, in script
python hide:
File "D:\RenPy\renpy-6.99.12.4-sdk\renpy\ast.py", line 814, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "D:\RenPy\renpy-6.99.12.4-sdk\renpy\python.py", line 1719, in py_exec_bytecode
exec bytecode in globals, locals
File "renpy/common/_layout/screen_main_menu.rpym", line 30, in <module>
ui.interact()
File "D:\RenPy\renpy-6.99.12.4-sdk\renpy\ui.py", line 285, in interact
rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
File "D:\RenPy\renpy-6.99.12.4-sdk\renpy\display\core.py", line 2526, in interact
repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, **kwargs)
File "D:\RenPy\renpy-6.99.12.4-sdk\renpy\display\core.py", line 3204, in interact_core
rv = root_widget.event(ev, x, y, 0)
File "D:\RenPy\renpy-6.99.12.4-sdk\renpy\display\layout.py", line 960, in event
rv = i.event(ev, x - xo, y - yo, cst)
File "D:\RenPy\renpy-6.99.12.4-sdk\renpy\display\layout.py", line 960, in event
rv = i.event(ev, x - xo, y - yo, cst)
File "D:\RenPy\renpy-6.99.12.4-sdk\renpy\display\layout.py", line 960, in event
rv = i.event(ev, x - xo, y - yo, cst)
File "D:\RenPy\renpy-6.99.12.4-sdk\renpy\display\screen.py", line 651, in event
rv = self.child.event(ev, x, y, st)
File "D:\RenPy\renpy-6.99.12.4-sdk\renpy\display\layout.py", line 960, in event
rv = i.event(ev, x - xo, y - yo, cst)
File "D:\RenPy\renpy-6.99.12.4-sdk\renpy\display\layout.py", line 232, in event
rv = d.event(ev, x - xo, y - yo, st)
File "D:\RenPy\renpy-6.99.12.4-sdk\renpy\display\layout.py", line 960, in event
rv = i.event(ev, x - xo, y - yo, cst)
File "D:\RenPy\renpy-6.99.12.4-sdk\renpy\display\behavior.py", line 1225, in event
self.update_text(content, self.editable)
File "D:\RenPy\renpy-6.99.12.4-sdk\renpy\display\behavior.py", line 1182, in update_text
self.changed(new_content)
TypeError: 'unicode' object is not callable
Windows-8-6.2.9200
Ren'Py 6.99.12.4.2187
Steampunk 1.0