Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Uncaught exception Occured

A topic by MysteryCorgi created Oct 18, 2017 Views: 9,708 Replies: 8
Viewing posts 1 to 8

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/definitions.rpy", line 7, in <module>
OSError: [Errno 17] File exists: 'c:\\users\\mchar\\appdata\\local\\temp\\C-Users-mchar-Desktop-DDLC-1.1.0-pc-DDLC-.lock'

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

Full traceback:
  File "C:\Users\mchar\Desktop\DDLC-1.1.0-pc\renpy\bootstrap.py", line 295, in bootstrap
    renpy.main.main()
  File "C:\Users\mchar\Desktop\DDLC-1.1.0-pc\renpy\main.py", line 364, in main
    renpy.game.script.load_script()  # sets renpy.game.script.
  File "C:\Users\mchar\Desktop\DDLC-1.1.0-pc\renpy\script.py", line 265, in load_script
    self.load_appropriate_file(".rpyc", ".rpy", dir, fn, initcode)
  File "C:\Users\mchar\Desktop\DDLC-1.1.0-pc\renpy\script.py", line 753, in load_appropriate_file
    self.finish_load(stmts, initcode, filename=fn + source)
  File "C:\Users\mchar\Desktop\DDLC-1.1.0-pc\renpy\script.py", line 445, in finish_load
    node.early_execute()
  File "C:\Users\mchar\Desktop\DDLC-1.1.0-pc\renpy\ast.py", line 865, in early_execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "C:\Users\mchar\Desktop\DDLC-1.1.0-pc\renpy\python.py", line 1719, in py_exec_bytecode
    exec bytecode in globals, locals
  File "game/definitions.rpy", line 7, in <module>
  File "python-packages/singleton.py", line 45, in __init__
OSError: [Errno 17] File exists: 'c:\\users\\mchar\\appdata\\local\\temp\\C-Users-mchar-Desktop-DDLC-1.1.0-pc-DDLC-.lock'

Windows-8-6.2.9200
Ren'Py 6.99.12.4.2187
 

I ran into this error when I tried opening the game. I hope this helps!

Developer

Restarting your PC might work.

Thanks! It ended up running pretty well a few seconds after the error popped up. So I haven't a clue what that was about.

help my game is translated into portuguese brazil


I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/script.rpy", line 94, in script call
  File "game/script-ch21.rpy", line 90, in script call
  File "game/script-exclusives2-natsuki.rpy", line 82, in script
Exception: Could not find font u'gui/font/VerilySerifMono.otf'.

I know the message is great but, read and help me please
is there any solution to this problem? he opened the notebook with a message of error, it was in the part that natsuki shows his poem talking about yuri and monika, click on the side to leave the poem, natsuki hangs, the game closes with a message. (there is another solution without being to restart the pc, already tried and did not work)
MENSAGE OF ERROR:
I'm sorry, but an uncaught exception occurred.
While running game code:
  File "game/script.rpy", line 117, in script call
  File "game/script-poemresponses.rpy", line 41, in script call
  File "game/script-poemresponses.rpy", line 95, in script call
  File "game/script-poemresponses2.rpy", line 167, in script
  File "renpy/common/000window.rpy", line 98, in _window_auto_callback
    _window_show()
  File "renpy/common/000window.rpy", line 60, in _window_show
    renpy.with_statement(trans)
Exception: Could not find font u'gui/font/VerilySerifMono.otf'.
-- Full Traceback ------------------------------------------------------------
Full traceback:
  File "C:\Program Files (x86)\Steam\steamapps\common\Doki Doki Literature Club\renpy\bootstrap.py", line 295, in bootstrap
    renpy.main.main()
  File "C:\Program Files (x86)\Steam\steamapps\common\Doki Doki Literature Club\renpy\main.py", line 487, in main
    run(restart)
  File "C:\Program Files (x86)\Steam\steamapps\common\Doki Doki Literature Club\renpy\main.py", line 147, in run
    renpy.execution.run_context(True)
  File "C:\Program Files (x86)\Steam\steamapps\common\Doki Doki Literature Club\renpy\execution.py", line 761, in run_context
    context.run()
  File "game/script.rpy", line 117, in script call
  File "game/script-poemresponses.rpy", line 41, in script call
  File "game/script-poemresponses.rpy", line 95, in script call
  File "game/script-poemresponses2.rpy", line 167, in script
  File "C:\Program Files (x86)\Steam\steamapps\common\Doki Doki Literature Club\renpy\ast.py", line 587, in execute
    statement_name("say")
  File "C:\Program Files (x86)\Steam\steamapps\common\Doki Doki Literature Club\renpy\ast.py", line 43, in statement_name
    i(name)
  File "renpy/common/000window.rpy", line 98, in _window_auto_callback
    _window_show()
  File "renpy/common/000window.rpy", line 60, in _window_show
    renpy.with_statement(trans)
  File "C:\Program Files (x86)\Steam\steamapps\common\Doki Doki Literature Club\renpy\exports.py", line 1381, in with_statement
    return renpy.game.interface.do_with(trans, paired, clear=clear)
  File "C:\Program Files (x86)\Steam\steamapps\common\Doki Doki Literature Club\renpy\display\core.py", line 2096, in do_with
    clear=clear)
  File "C:\Program Files (x86)\Steam\steamapps\common\Doki Doki Literature Club\renpy\display\core.py", line 2526, in interact
    repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, **kwargs)
  File "C:\Program Files (x86)\Steam\steamapps\common\Doki Doki Literature Club\renpy\display\core.py", line 2883, in interact_core
    self.draw_screen(root_widget, fullscreen_video, (not fullscreen_video) or video_frame_drawn)
  File "C:\Program Files (x86)\Steam\steamapps\common\Doki Doki Literature Club\renpy\display\core.py", line 1955, in draw_screen
    renpy.config.screen_height,
  File "renpy/display/render.pyx", line 427, in renpy.display.render.render_screen (gen\renpy.display.render.c:6806)
    rv = render(root, width, height, 0, 0)
  File "renpy/display/render.pyx", line 196, in renpy.display.render.render (gen\renpy.display.render.c:2978)
    rv = d.render(widtho, heighto, st, at)
  File "C:\Program Files (x86)\Steam\steamapps\common\Doki Doki Literature Club\renpy\display\layout.py", line 693, in render
    surf = render(child, width, height, cst, cat)
  File "renpy/display/render.pyx", line 110, in renpy.display.render.render (gen\renpy.display.render.c:3440)
    cpdef render(d, object widtho, object heighto, double st, double at):
  File "renpy/display/render.pyx", line 196, in renpy.display.render.render (gen\renpy.display.render.c:2978)
    rv = d.render(widtho, heighto, st, at)
  File "C:\Program Files (x86)\Steam\steamapps\common\Doki Doki Literature Club\renpy\display\transition.py", line 361, in render
    top = render(self.new_widget, width, height, st, at)
  File "renpy/display/render.pyx", line 110, in renpy.display.render.render (gen\renpy.display.render.c:3440)
    cpdef render(d, object widtho, object heighto, double st, double at):
  File "renpy/display/render.pyx", line 196, in renpy.display.render.render (gen\renpy.display.render.c:2978)
    rv = d.render(widtho, heighto, st, at)
  File "C:\Program Files (x86)\Steam\steamapps\common\Doki Doki Literature Club\renpy\display\layout.py", line 693, in render
    surf = render(child, width, height, cst, cat)
  File "renpy/display/render.pyx", line 110, in renpy.display.render.render (gen\renpy.display.render.c:3440)
    cpdef render(d, object widtho, object heighto, double st, double at):
  File "renpy/display/render.pyx", line 196, in renpy.display.render.render (gen\renpy.display.render.c:2978)
    rv = d.render(widtho, heighto, st, at)
  File "C:\Program Files (x86)\Steam\steamapps\common\Doki Doki Literature Club\renpy\display\layout.py", line 693, in render
    surf = render(child, width, height, cst, cat)
  File "renpy/display/render.pyx", line 110, in renpy.display.render.render (gen\renpy.display.render.c:3440)
    cpdef render(d, object widtho, object heighto, double st, double at):
  File "renpy/display/render.pyx", line 196, in renpy.display.render.render (gen\renpy.display.render.c:2978)
    rv = d.render(widtho, heighto, st, at)
  File "C:\Program Files (x86)\Steam\steamapps\common\Doki Doki Literature Club\renpy\display\screen.py", line 623, in render
    child = renpy.display.render.render(self.child, w, h, st, at)
  File "renpy/display/render.pyx", line 110, in renpy.display.render.render (gen\renpy.display.render.c:3440)
    cpdef render(d, object widtho, object heighto, double st, double at):
  File "renpy/display/render.pyx", line 196, in renpy.display.render.render (gen\renpy.display.render.c:2978)
    rv = d.render(widtho, heighto, st, at)
  File "C:\Program Files (x86)\Steam\steamapps\common\Doki Doki Literature Club\renpy\display\layout.py", line 693, in render
    surf = render(child, width, height, cst, cat)
  File "renpy/display/render.pyx", line 110, in renpy.display.render.render (gen\renpy.display.render.c:3440)
    cpdef render(d, object widtho, object heighto, double st, double at):
  File "renpy/display/render.pyx", line 196, in renpy.display.render.render (gen\renpy.display.render.c:2978)
    rv = d.render(widtho, heighto, st, at)
  File "C:\Program Files (x86)\Steam\steamapps\common\Doki Doki Literature Club\renpy\display\layout.py", line 1081, in render
    st, at)
  File "renpy/display/render.pyx", line 110, in renpy.display.render.render (gen\renpy.display.render.c:3440)
    cpdef render(d, object widtho, object heighto, double st, double at):
  File "renpy/display/render.pyx", line 196, in renpy.display.render.render (gen\renpy.display.render.c:2978)
    rv = d.render(widtho, heighto, st, at)
  File "C:\Program Files (x86)\Steam\steamapps\common\Doki Doki Literature Club\renpy\text\text.py", line 1733, in render
    virtual_layout = Layout(self, width, height, renders, drawable_res=False, size_only=True)
  File "C:\Program Files (x86)\Steam\steamapps\common\Doki Doki Literature Club\renpy\text\text.py", line 574, in __init__
    glyphs = ts.glyphs(s, self)
  File "C:\Program Files (x86)\Steam\steamapps\common\Doki Doki Literature Club\renpy\text\text.py", line 236, in glyphs
    fo = font.get_font(self.font, self.size, self.bold, self.italic, 0, self.antialias, self.vertical, self.hinting, layout.oversample)
  File "C:\Program Files (x86)\Steam\steamapps\common\Doki Doki Literature Club\renpy\text\font.py", line 648, in get_font
    face = load_face(fn)
  File "C:\Program Files (x86)\Steam\steamapps\common\Doki Doki Literature Club\renpy\text\font.py", line 590, in load_face
    raise Exception("Could not find font {0!r}.".format(orig_fn))
Exception: Could not find font u'gui/font/VerilySerifMono.otf'.
Windows-7-6.1.7600
Ren'Py 6.99.12.4.2187
Doki Doki Literature Club! 1.1.0

Cara estou com o erro, me você conseguiu me ajudaaaaaaa


my ddlc is not working.when I'm  trying  open the game,it says:

I'm sorry, but an uncaught exception occurred.  While running game code: ScriptError: Name (u'/home/potato/dddlc/088/game/chess.rpy', 1537741776, 110) is defined twice, at game/chess.rpy:3 and update/chess.rpyc:3.  -- Full Traceback ------------------------------------------------------------  Full traceback:   File "C:\Program Files\Steam\steamapps\common\Doki Doki Literature Club\renpy\bootstrap.py", line 295, in bootstrap     renpy.main.main()   File "C:\Program Files\Steam\steamapps\common\Doki Doki Literature Club\renpy\main.py", line 364, in main     renpy.game.script.load_script()  # sets renpy.game.script.   File "C:\Program Files\Steam\steamapps\common\Doki Doki Literature Club\renpy\script.py", line 265, in load_script     self.load_appropriate_file(".rpyc", ".rpy", dir, fn, initcode)   File "C:\Program Files\Steam\steamapps\common\Doki Doki Literature Club\renpy\script.py", line 753, in load_appropriate_file     self.finish_load(stmts, initcode, filename=fn + source)   File "C:\Program Files\Steam\steamapps\common\Doki Doki Literature Club\renpy\script.py", line 419, in finish_load     bad_node.filename, bad_node.linenumber)) ScriptError: Name (u'/home/potato/dddlc/088/game/chess.rpy', 1537741776, 110) is defined twice, at game/chess.rpy:3 and update/chess.rpyc:3.  Windows-7-6.1.7601-SP1 Ren'Py 6.99.12.4.2187

and game is not opening

what's that mean?and what should ı do?

[code]
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/script.rpy", line 187, in script call
  File "game/PL/day8_pl.rpy", line 201, in script call
  File "game/script.rpy", line 187, in script call
  File "game/PL/day8_pl.rpy", line 201, in script call
ScriptError: could not find label 'greet_m_pl_pl'.

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

Full traceback:
  File "game/script.rpy", line 187, in script call
  File "game/PL/day8_pl.rpy", line 201, in script call
  File "C:\Users\DamiX\Downloads\ddlc-win\DDLC-1.1.1-pc\renpy\ast.py", line 1322, in execute
    rv = renpy.game.context().call(label, return_site=self.next.name)
  File "game/script.rpy", line 187, in script call
  File "game/PL/day8_pl.rpy", line 201, in script call
  File "C:\Users\DamiX\Downloads\ddlc-win\DDLC-1.1.1-pc\renpy\script.py", line 858, in lookup
    raise ScriptError("could not find label '%s'." % str(original))
ScriptError: could not find label 'greet_m_pl_pl'.

Windows-8-6.2.9200
Ren'Py 6.99.12.4.2187
Doki Doki Summertime 1.4.0
[/code]