I took a look at what happened to my computer yesterday, Avast AV has auto-updated Java, so I've just reinstalled that and everything is back to normal.
(I've asked others to test it and this is not isolated to my PC so it's not a drivers/hardware issue)
(or at least a nudge in the right direction) cause this is bugging the hell out of me, it only happens in a game I am working on, everything else works just fine. The error is random, about one out of three times the game is launched.
Code: Select all
While running game code:
File "launcher/game/front_page.rpy", line 248, in script
call screen front_page
File "renpy/common/000statements.rpy", line 426, in execute_call_screen
store._return = renpy.call_screen(name, *args, **kwargs)
File "launcher/game/editor.rpy", line 357, in __call__
renpy.invoke_in_new_context(interface.error, _("An exception occured while launching the text editor:\n[exception!q]"), error_message, exception=exception)
File "launcher/game/interface.rpy", line 321, in error
common(_("ERROR"), store.ERROR_COLOR, message=message, submessage=submessage, back=action, **kwargs)
File "launcher/game/interface.rpy", line 287, in common
return screen_func("common", title=title, title_color=title_color, message=message, submessage=submessage, back=back, continue_=continue_, **kwargs)
File "launcher/game/interface.rpy", line 144, in <module>
layout "subtitle"
UnicodeDecodeError: 'ascii' codec can't decode byte 0x84 in position 78: ordinal not in range(128)
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "launcher/game/front_page.rpy", line 248, in script
call screen front_page
File "D:\Coding\Dropbox\Dev\RenPy\renpy\ast.py", line 1593, in execute
self.call("execute")
File "D:\Coding\Dropbox\Dev\RenPy\renpy\ast.py", line 1611, in call
renpy.statements.call(method, parsed, *args, **kwargs)
File "D:\Coding\Dropbox\Dev\RenPy\renpy\statements.py", line 144, in call
return method(parsed, *args, **kwargs)
File "renpy/common/000statements.rpy", line 426, in execute_call_screen
store._return = renpy.call_screen(name, *args, **kwargs)
File "D:\Coding\Dropbox\Dev\RenPy\renpy\exports.py", line 2103, in call_screen
rv = renpy.ui.interact(mouse="screen", type="screen", roll_forward=roll_forward)
File "D:\Coding\Dropbox\Dev\RenPy\renpy\ui.py", line 264, in interact
rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
File "D:\Coding\Dropbox\Dev\RenPy\renpy\display\core.py", line 2065, in interact
repeat, rv = self.interact_core(preloads=preloads, **kwargs)
File "D:\Coding\Dropbox\Dev\RenPy\renpy\display\core.py", line 2652, in interact_core
rv = root_widget.event(ev, x, y, 0)
File "D:\Coding\Dropbox\Dev\RenPy\renpy\display\layout.py", line 774, in event
rv = i.event(ev, x - xo, y - yo, cst)
File "D:\Coding\Dropbox\Dev\RenPy\renpy\display\layout.py", line 774, in event
rv = i.event(ev, x - xo, y - yo, cst)
File "D:\Coding\Dropbox\Dev\RenPy\renpy\display\layout.py", line 774, in event
rv = i.event(ev, x - xo, y - yo, cst)
File "D:\Coding\Dropbox\Dev\RenPy\renpy\display\screen.py", line 345, in event
rv = self.child.event(ev, x, y, st)
File "D:\Coding\Dropbox\Dev\RenPy\renpy\display\layout.py", line 774, in event
rv = i.event(ev, x - xo, y - yo, cst)
File "D:\Coding\Dropbox\Dev\RenPy\renpy\display\layout.py", line 180, in event
rv = d.event(ev, x - xo, y - yo, st)
File "D:\Coding\Dropbox\Dev\RenPy\renpy\display\layout.py", line 774, in event
rv = i.event(ev, x - xo, y - yo, cst)
File "D:\Coding\Dropbox\Dev\RenPy\renpy\display\layout.py", line 180, in event
rv = d.event(ev, x - xo, y - yo, st)
File "D:\Coding\Dropbox\Dev\RenPy\renpy\display\layout.py", line 774, in event
rv = i.event(ev, x - xo, y - yo, cst)
File "D:\Coding\Dropbox\Dev\RenPy\renpy\display\layout.py", line 180, in event
rv = d.event(ev, x - xo, y - yo, st)
File "D:\Coding\Dropbox\Dev\RenPy\renpy\display\layout.py", line 774, in event
rv = i.event(ev, x - xo, y - yo, cst)
File "D:\Coding\Dropbox\Dev\RenPy\renpy\display\layout.py", line 180, in event
rv = d.event(ev, x - xo, y - yo, st)
File "D:\Coding\Dropbox\Dev\RenPy\renpy\display\layout.py", line 774, in event
rv = i.event(ev, x - xo, y - yo, cst)
File "D:\Coding\Dropbox\Dev\RenPy\renpy\display\behavior.py", line 726, in event
return handle_click(self.clicked)
File "D:\Coding\Dropbox\Dev\RenPy\renpy\display\behavior.py", line 669, in handle_click
rv = run(action)
File "D:\Coding\Dropbox\Dev\RenPy\renpy\display\behavior.py", line 274, in run
return var(*args, **kwargs)
File "launcher/game/editor.rpy", line 357, in __call__
renpy.invoke_in_new_context(interface.error, _("An exception occured while launching the text editor:\n[exception!q]"), error_message, exception=exception)
File "D:\Coding\Dropbox\Dev\RenPy\renpy\game.py", line 235, in invoke_in_new_context
return callable(*args, **kwargs)
File "launcher/game/interface.rpy", line 321, in error
common(_("ERROR"), store.ERROR_COLOR, message=message, submessage=submessage, back=action, **kwargs)
File "launcher/game/interface.rpy", line 287, in common
return screen_func("common", title=title, title_color=title_color, message=message, submessage=submessage, back=back, continue_=continue_, **kwargs)
File "D:\Coding\Dropbox\Dev\RenPy\renpy\exports.py", line 2103, in call_screen
rv = renpy.ui.interact(mouse="screen", type="screen", roll_forward=roll_forward)
File "D:\Coding\Dropbox\Dev\RenPy\renpy\ui.py", line 264, in interact
rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
File "D:\Coding\Dropbox\Dev\RenPy\renpy\display\core.py", line 2076, in interact
scene_lists.replace_transient()
File "D:\Coding\Dropbox\Dev\RenPy\renpy\display\core.py", line 592, in replace_transient
self.remove(layer, tag)
File "D:\Coding\Dropbox\Dev\RenPy\renpy\display\core.py", line 866, in remove
self.hide_or_replace(layer, remove_index, "hide")
File "D:\Coding\Dropbox\Dev\RenPy\renpy\display\core.py", line 790, in hide_or_replace
d = oldsle.displayable._hide(now - st, now - at, prefix)
File "D:\Coding\Dropbox\Dev\RenPy\renpy\display\screen.py", line 204, in _hide
hid.update()
File "D:\Coding\Dropbox\Dev\RenPy\renpy\display\screen.py", line 288, in update
self.screen.function(**self.scope)
File "D:\Coding\Dropbox\Dev\RenPy\renpy\screenlang.py", line 1239, in __call__
renpy.python.py_exec_bytecode(self.code.bytecode, locals=scope)
File "D:\Coding\Dropbox\Dev\RenPy\renpy\python.py", line 1382, in py_exec_bytecode
exec bytecode in globals, locals
File "launcher/game/interface.rpy", line 144, in <module>
layout "subtitle"
File "D:\Coding\Dropbox\Dev\RenPy\renpy\ui.py", line 469, in __call__
w = self.function(*args, **keyword)
File "D:\Coding\Dropbox\Dev\RenPy\renpy\text\text.py", line 1165, in __init__
self.set_text(text, scope, substitute)
File "D:\Coding\Dropbox\Dev\RenPy\renpy\text\text.py", line 1225, in set_text
i = unicode(i)
UnicodeDecodeError: 'ascii' codec can't decode byte 0x84 in position 78: ordinal not in range(128)
Windows-7-6.1.7601-SP1
Ren'Py 6.17.7.521
Ren'Py Launcher 6.17.7.521