error,hope someone can help me with this

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
BKFeng
Newbie
Posts: 13
Joined: Wed Aug 30, 2017 8:18 am
Contact:

error,hope someone can help me with this

#1 Post by BKFeng »

Code: Select all

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/screens.rpy", line 563, in execute
  File "game/screens.rpy", line 563, in execute
  File "game/screens.rpy", line 567, in execute
  File "game/screens.rpy", line 577, in execute
  File "game/screens.rpy", line 577, in execute
  File "game/screens.rpy", line 581, in execute
  File "game/screens.rpy", line 396, in execute
  File "game/screens.rpy", line 396, in execute
  File "game/screens.rpy", line 405, in execute
  File "game/screens.rpy", line 408, in execute
  File "game/screens.rpy", line 414, in execute
  File "game/screens.rpy", line 417, in execute
  File "game/screens.rpy", line 445, in execute
  File "game/screens.rpy", line 581, in execute
  File "game/screens.rpy", line 583, in execute
  File "game/screens.rpy", line 590, in execute
  File "game/screens.rpy", line 597, in execute
  File "renpy/common/00action_file.rpy", line 606, in get_text
ValueError: Single '}' encountered in format string

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

Full traceback:
  File "renpy/common/_layout/screen_load_save.rpym", line 35, in script
  File "/data/data/com.rpy.catzadventurers/files/renpy/ast.py", line 814, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "/data/data/com.rpy.catzadventurers/files/renpy/python.py", line 1719, in py_exec_bytecode
    exec bytecode in globals, locals
  File "renpy/common/_layout/screen_load_save.rpym", line 35, in <module>
  File "/data/data/com.rpy.catzadventurers/files/renpy/ui.py", line 285, in interact
    rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
  File "/data/data/com.rpy.catzadventurers/files/renpy/display/core.py", line 2526, in interact
    repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, **kwargs)
  File "/data/data/com.rpy.catzadventurers/files/renpy/display/core.py", line 2793, in interact_core
    root_widget.visit_all(lambda i : i.per_interact())
  File "/data/data/com.rpy.catzadventurers/files/renpy/display/core.py", line 495, in visit_all
    d.visit_all(callback)
  File "/data/data/com.rpy.catzadventurers/files/renpy/display/core.py", line 495, in visit_all
    d.visit_all(callback)
  File "/data/data/com.rpy.catzadventurers/files/renpy/display/core.py", line 495, in visit_all
    d.visit_all(callback)
  File "/data/data/com.rpy.catzadventurers/files/renpy/display/core.py", line 495, in visit_all
    d.visit_all(callback)
  File "/data/data/com.rpy.catzadventurers/files/renpy/display/screen.py", line 399, in visit_all
    callback(self)
  File "/data/data/com.rpy.catzadventurers/files/renpy/display/core.py", line 2793, in <lambda>
    root_widget.visit_all(lambda i : i.per_interact())
  File "/data/data/com.rpy.catzadventurers/files/renpy/display/screen.py", line 409, in per_interact
    self.update()
  File "/data/data/com.rpy.catzadventurers/files/renpy/display/screen.py", line 578, in update
    self.screen.function(**self.scope)
  File "game/screens.rpy", line 563, in execute
  File "game/screens.rpy", line 563, in execute
  File "game/screens.rpy", line 567, in execute
  File "game/screens.rpy", line 577, in execute
  File "game/screens.rpy", line 577, in execute
  File "game/screens.rpy", line 581, in execute
  File "game/screens.rpy", line 396, in execute
  File "game/screens.rpy", line 396, in execute
  File "game/screens.rpy", line 405, in execute
  File "game/screens.rpy", line 408, in execute
  File "game/screens.rpy", line 414, in execute
  File "game/screens.rpy", line 417, in execute
  File "game/screens.rpy", line 445, in execute
  File "game/screens.rpy", line 581, in execute
  File "game/screens.rpy", line 583, in execute
  File "game/screens.rpy", line 590, in execute
  File "game/screens.rpy", line 597, in execute
  File "/data/data/com.rpy.catzadventurers/files/renpy/display/behavior.py", line 1072, in __init__
    default = value.get_text()
  File "renpy/common/00action_file.rpy", line 606, in get_text
ValueError: Single '}' encountered in format string

I seriously dunno why can't I enter the load or save screen... I can enter it using my PC but can't in my phone's apk...

Above is the code I received... In a nutshell,my problem is:
Can enter load/save screen using computer but can't use in both my android phones(never try iOS yet)
Hope someone can explain me what is the code talking about as I'm new...dun really understand all these... Please guys! Save me! Now this happen, all my friends and players can't play it anymore!

User avatar
Scribbles
Miko-Class Veteran
Posts: 636
Joined: Wed Sep 21, 2016 4:15 pm
Completed: Pinewood Island, As We Know It
Projects: In Blood
Organization: Jaime Scribbles Games
Deviantart: breakfastdoodles
itch: scribbles
Location: Ohio
Contact:

Re: error,hope someone can help me with this

#2 Post by Scribbles »

post the screen code for the save/load screen? looks like there might be a "}" somewhere it shouldn't be?
Image - Image -Image

BKFeng
Newbie
Posts: 13
Joined: Wed Aug 30, 2017 8:18 am
Contact:

Re: error,hope someone can help me with this

#3 Post by BKFeng »

Yup, but I finally solve it and it can run normally in the android debug in my computer but when I export as apk it runs the old(error) version! Help!

Post Reply

Who is online

Users browsing this forum: Google [Bot]