The Confines Of The Crown

The Confines Of The Crown

View Stats:
Derasght Mar 31, 2016 @ 12:34pm
The game suddenly stopped working.
I haven't played it in a while, I admit that, but now it does not work. This is what it says:
I'm sorry, but an uncaught exception occurred. While executing init code: File "game/steam.rpy", line 1, in script File "game/steam.rpy", line 192, in python File "game/steam.rpy", line 107, in python UnicodeEncodeError: 'ascii' codec can't encode characters in position 65-73: ordinal not in range(128) -- Full Traceback ------------------------------------------------------------ Full traceback: File "H:\Steam\steamapps\common\The Royal Trap\renpy\execution.py", line 261, in run File "H:\Steam\steamapps\common\The Royal Trap\renpy\ast.py", line 630, in execute File "H:\Steam\steamapps\common\The Royal Trap\renpy\python.py", line 981, in py_exec_bytecode File "game/steam.rpy", line 192, in <module> File "game/steam.rpy", line 107, in sync_achievements File "subprocess.pyo", line 480, in call File "subprocess.pyo", line 633, in __init__ File "subprocess.pyo", line 842, in _execute_child UnicodeEncodeError: 'ascii' codec can't encode characters in position 65-73: ordinal not in range(128) Windows-post2008Server-6.1.7600 Ren'Py 6.12.2.1531 by Hanako Games 1.2
< >
Showing 1-5 of 5 comments
Hanako Games  [developer] Apr 2, 2016 @ 2:12am 
Hmm. I'm not sure why it would have worked in the past but not now - are you still on the same computer?

The ascii/unicode error sounds like a thing that might happen on some windows systems if your username is written in non-ascii characters. I know that's been a problem with some versions of the engine and I'm not sure off the top of my head what the code version here is with relation to that. I think we've been working on fixes for it on other games.

Are you using russian-language windows?
Last edited by Hanako Games; Apr 2, 2016 @ 2:12am
Derasght Apr 2, 2016 @ 2:32am 
Thank you for your response!
Yes, I am using the same computer as before and yes, I do have russian Windows...
spikycaterpillar  [developer] Apr 2, 2016 @ 12:14pm 
I've heard that this problem occurs when the 8-bit encoding your computer is using doesn't contain characters present in your username and/or the path to the game. If your computer is currently set to use an encoding other than Russian, setting Windows to use the Russian encoding may fix it.

If it still crashes with the same error when using the Russian encoding, try deleting (Path to the game)\game\steam.rpyc - your achievements won't post without steam.rpyc, but the game itself should still be playable. (You can get steam.rpyc back by verifying your Steam cache for the game)

(Black Closet uses a patched version of the engine that uses the Unicode APIs on Windows, but it's rather complicated and I don't know how practical it will be to run TRT inside the Black Closet Ren'Py)
Elpie Nov 30, 2016 @ 3:42pm 
I played the game yesterday and when I tried to start it up today, I got a similar error. The only difference appears to be which line. I'm pretty sure I'm not running Russian Windows, and I don't believe I have a set username other than 'admin' on this computer.


I'm sorry, but an uncaught exception occurred. While running game code: File "game/steward.rpy", line 8, in script Exception: Possible infinite loop. -- Full Traceback ------------------------------------------------------------ Full traceback: File "C:\Program Files (x86)\Steam\steamapps\common\The Royal Trap\renpy\bootstrap.py", line 301, in bootstrap renpy.main.main() File "C:\Program Files (x86)\Steam\steamapps\common\The Royal Trap\renpy\main.py", line 401, in main game.context().run(node) File "game/steward.rpy", line 8, in script File "C:\Program Files (x86)\Steam\steamapps\common\The Royal Trap\renpy\execution.py", line 52, in check_infinite_loop raise Exception("Possible infinite loop.") Exception: Possible infinite loop. Windows-8-6.2.9200 Ren'Py 6.99.8.959+SPIKY by Hanako Games 1.2
Last edited by Elpie; Nov 30, 2016 @ 3:43pm
spikycaterpillar  [developer] Nov 30, 2016 @ 6:24pm 
Originally posted by Elpie:
I played the game yesterday and when I tried to start it up today, I got a similar error. The only difference appears to be which line. I'm pretty sure I'm not running Russian Windows, and I don't believe I have a set username other than 'admin' on this computer.


I'm sorry, but an uncaught exception occurred. While running game code: File "game/steward.rpy", line 8, in script Exception: Possible infinite loop.

This looks like the game getting stuck trying to load an image. Does the error happen every time you start the game or only sometimes? I assume this is the same computer? Does the problem still show up after a reboot?

Possible causes:
Data corruption. If it's on-disc corruption, then the same error will happen every time you start the game, and validating the Steam cache for the game should fix it. (Note that the game will normally download a large number of small files whether or not there were any actual errors, because they get recompiled on your computer.). Disc corruption may also indicate problems with your computer. If it's memory corruption, then other programs are likely to crash too, and the error text is likely to change (especially after reboots).

Something is locking up the game during init. A malware scanner could possibly cause this; so could other programs locking the video card or sound hardware, or resource exhaustion. If it's resource exhaustion, rebooting will fix it; if it's locked hardware, rebooting is likely to fix it.

Assuming you can't fix it by validating the cache or rebooting, other possible workarounds:
Right-click on the game in your Steam library, go to Properties, select Local Files, and click 'Browse Local Files'. Try running the game from 'Play in Safe Mode', 'Play in GL Mode', or 'Play in Software Mode' and see if any of them work.
< >
Showing 1-5 of 5 comments
Per page: 1530 50