jack
Corporal
Posts: 52
|
Post by jack on Jun 5, 2016 21:50:15 GMT -8
So I'm trying to run [RE]turn and I consistently get a traceback at the same point every time. It's on the diode cloning facility in the opening, after alpha says "You have suffered... but I Seek to create a universe where we can finally be safe..." I progress to the next frame and alway get a traceback.
heres the traceback.
I'm sorry, but an uncaught exception occurred.
While running game code: File "game/REturn.rpy", line 120, in script $dshow(81601,ypos=1650) File "game/REturn.rpy", line 120, in <module> $dshow(81601,ypos=1650) File "game/functions.rpy", line 1428, in dshow d = store.sprites[input_string] KeyError: 'out of range'
-- Full Traceback ------------------------------------------------------------
Full traceback: File "game/REturn.rpy", line 120, in script $dshow(81601,ypos=1650) File "/home/ark/.steam/steam/steamapps/common/Sunrider Liberation Day/renpy/ast.py", line 805, in execute renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store) File "/home/ark/.steam/steam/steamapps/common/Sunrider Liberation Day/renpy/python.py", line 1461, in py_exec_bytecode exec bytecode in globals, locals File "game/REturn.rpy", line 120, in <module> $dshow(81601,ypos=1650) File "game/functions.rpy", line 1428, in dshow d = store.sprites[input_string] KeyError: 'out of range'
Linux-3.16.0-4-amd64-x86_64-with-debian-8.4 Ren'Py 6.99.8.959 Release 3.01
kind of at a loss here
|
|
|
Post by vaendryl on Jun 6, 2016 1:22:30 GMT -8
this tends to happen on Linux, not sure why I also don't really have any idea why this would happen.
I recommend trying to run the game through an emulator or something
|
|
|
Post by Samu-kun on Jun 6, 2016 13:57:44 GMT -8
Damn, I think we found the cause of the bug. However, it's gonna be a slow fix because none of us use Linux and can't replicate in practice. Hang on for the next update...
|
|
jack
Corporal
Posts: 52
|
Post by jack on Jun 6, 2016 14:36:57 GMT -8
Thanks. Also, for some reason it's showing Asaga's sprite instead of Alice's at that point.
|
|
|
Post by vaendryl on Jun 6, 2016 20:16:41 GMT -8
I uploaded a potential fix on the 'experimental' channel. please try that and see if it helps you.
|
|
|
Post by almainyny on Aug 19, 2016 21:41:35 GMT -8
I'm also having the same problem, except it's happening to me on Windows 7. Also, instead of Alice, it's showing Sola.
Here's the traceback, in case you need it.
I'm sorry, but an uncaught exception occurred.
While running game code: File "game/REturn.rpy", line 120, in script $dshow(81601,ypos=1650) File "game/REturn.rpy", line 120, in <module> $dshow(81601,ypos=1650) File "game/functions.rpy", line 1428, in dshow d = store.sprites[input_string] KeyError: 'out of range'
-- Full Traceback ------------------------------------------------------------
Full traceback: File "game/REturn.rpy", line 120, in script $dshow(81601,ypos=1650) File "C:\Steam\steamapps\common\Sunrider Liberation Day\renpy\ast.py", line 805, in execute renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store) File "C:\Steam\steamapps\common\Sunrider Liberation Day\renpy\python.py", line 1461, in py_exec_bytecode exec bytecode in globals, locals File "game/REturn.rpy", line 120, in <module> $dshow(81601,ypos=1650) File "game/functions.rpy", line 1428, in dshow d = store.sprites[input_string] KeyError: 'out of range'
Windows-7-6.1.7601-SP1 Ren'Py 6.99.8.959 Release 3.01
Also a quick note; I am running the "Mask of Arcadius in Liberation Day" mod, although I can't imagine that'd have anything to do with it since that mod doesn't seem to change any of the basic files that Liberation Day runs on.
Edit: something else of note is the fact that changing over to the experimental version under the "betas" tab in Steam as well as revalidating files does not seem to have had any effect on this.
Edit 2: As it turns out, deleting and re-installing the game worked, after having gotten rid of anything related to the MoA in LD mod. You have my sincerest apologies about that.
|
|
|
Post by bigfoot on Aug 29, 2016 10:50:38 GMT -8
Ok just to solve this: Now that dshow uses renpy.list_files and searches for Character, it finds folders in the entire game directory not just the archive.whatsit so any folder named Character will break it by throwing its numbering off in get_sprite_elements_name if shorthand is used. Its a really cool function, I wish I realized it had been updated! for now the MoA mod has an override and will no longer interfere with [Re]Turn: def get_sprite_elements_names(): x = [x for x in renpy.list_files() if 'Character' in x and '.png' in x and 'MoA' not in x] x = [x.replace("Character/","").replace(".png","") for x in x] x.sort() return With that fixed, I need to find and break some more code!
|
|
|
Post by Nemjen on Aug 29, 2016 12:38:09 GMT -8
Good to hear you have a handle on it, I didn't have a clue what was going on. With that fixed, I need to find and break some more code! Although... stop breaking things bigfoot, I was enjoying the peace and quiet.
|
|
|
Post by jesusalva on Sept 25, 2017 20:12:14 GMT -8
this tends to happen on Linux, not sure why I also don't really have any idea why this would happen. I recommend trying to run the game through an emulator or something It's not “No idea why this would happen”, it's called “poorly written code.” If you are stuck with version 3.00, all you need to do is change game/functions.rpy", around line 1885 from x = [x for x in renpy.list_files() if 'Character' in x and '.png' in x] to x = [x for x in sorted(renpy.list_files()) if 'Character' in x and '.png' in x] After all, an OS is not forced to serve the files in alphabetical order. sorted() function fixes this. This is actually a simple bug but took me some prints to figure it out. Seriously, you should try to get a virtual machine. Or even install Linux with dual-boot xD I also... hope this is fixed in latest build. Eh. I'm definitely NOT going to check.
|
|