Viciousscorpion
Member
- Mar 21, 2021
- 466
- 362
- 214
You need a different version of renpy for joiplay. Just go to their Patreon and you can find and install all of them.See if this helps.
You need a different version of renpy for joiplay. Just go to their Patreon and you can find and install all of them.See if this helps.
I got this error when trying to run URM with Wife Trainer Files. It happens when I start a new game. If I start the game without URM, save, exit, add URM and load the saved game, it runs but URM is not loaded.Be doing this they broke a function inside Ren'Py that URM needs.You don't have permission to view the spoiler content. Log in or register now.
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/script.rpy", line 158, in script
call screen package_select(persist.packages)
File "renpy/common/000statements.rpy", line 671, in execute_call_screen
store._return = renpy.call_screen(name, *args, **kwargs)
File "renpy/common/00action_data.rpy", line 157, in __init__
super(LocalVariable, self).__init__(sys._getframe(1).f_locals,
AttributeError: 'ADVCharacter' object has no attribute '_getframe'
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "game/script.rpy", line 158, in script
call screen package_select(persist.packages)
File "renpy/ast.py", line 1971, in execute
self.call("execute")
File "renpy/ast.py", line 1953, in call
return renpy.statements.call(method, parsed, *args, **kwargs)
File "renpy/statements.py", line 349, in call
return method(parsed, *args, **kwargs)
File "renpy/common/000statements.rpy", line 671, in execute_call_screen
store._return = renpy.call_screen(name, *args, **kwargs)
File "renpy/exports.py", line 3420, in call_screen
rv = renpy.ui.interact(mouse="screen", type="screen", roll_forward=roll_forward)
File "renpy/ui.py", line 301, in interact
rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
File "renpy/display/core.py", line 2166, in interact
repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, pause=pause, pause_start=pause_start, pause_modal=pause_modal, **kwargs) # type: ignore
File "renpy/display/core.py", line 2688, in interact_core
root_widget.visit_all(lambda d : d.per_interact())
File "renpy/display/displayable.py", line 431, in visit_all
d.visit_all(callback, seen)
File "renpy/display/displayable.py", line 431, in visit_all
d.visit_all(callback, seen)
File "renpy/display/displayable.py", line 431, in visit_all
d.visit_all(callback, seen)
File "renpy/display/screen.py", line 480, in visit_all
callback(self)
File "renpy/display/core.py", line 2688, in <lambda>
root_widget.visit_all(lambda d : d.per_interact())
File "renpy/display/screen.py", line 491, in per_interact
self.update()
File "renpy/display/screen.py", line 697, in update
self.screen.function(**self.scope)
File "0x52-URM/screens/main.rpy.x52", line 20, in execute
File "0x52-URM/screens/main.rpy.x52", line 20, in execute
File "0x52-URM/screens/main.rpy.x52", line 69, in execute
File "0x52-URM/screens/main.rpy.x52", line 70, in execute
File "0x52-URM/screens/progress.rpy.x52", line 16, in execute
File "0x52-URM/screens/progress.rpy.x52", line 16, in execute
File "0x52-URM/screens/progress.rpy.x52", line 19, in execute
File "0x52-URM/screens/progress.rpy.x52", line 19, in keywords
File "0x52-URM/screens/progress.rpy.x52", line 26, in <module>
File "renpy/common/00action_data.rpy", line 157, in __init__
super(LocalVariable, self).__init__(sys._getframe(1).f_locals,
AttributeError: 'ADVCharacter' object has no attribute '_getframe'
Windows-10-10.0.26100 AMD64
Ren'Py 7.7.3.24061702
The Wife Trainer Files 0.7r
Wed Oct 1 02:26:15 2025
0x52 URM 2.6.1
Try this method, worked for other game.I got this error when trying to run URM with Wife Trainer Files. It happens when I start a new game. If I start the game without URM, save, exit, add URM and load the saved game, it runs but URM is not loaded.
Tried the fix in the quoted post, but in this game, renpy/common/00action_data.rpy does not contain any "def SetLocalVariable(name, value)". The line 157 that shows in the traceback.txt file reads:Code:I'm sorry, but an uncaught exception occurred. While running game code: File "game/script.rpy", line 158, in script call screen package_select(persist.packages) File "renpy/common/000statements.rpy", line 671, in execute_call_screen store._return = renpy.call_screen(name, *args, **kwargs) File "renpy/common/00action_data.rpy", line 157, in __init__ super(LocalVariable, self).__init__(sys._getframe(1).f_locals, AttributeError: 'ADVCharacter' object has no attribute '_getframe' -- Full Traceback ------------------------------------------------------------ Full traceback: File "game/script.rpy", line 158, in script call screen package_select(persist.packages) File "renpy/ast.py", line 1971, in execute self.call("execute") File "renpy/ast.py", line 1953, in call return renpy.statements.call(method, parsed, *args, **kwargs) File "renpy/statements.py", line 349, in call return method(parsed, *args, **kwargs) File "renpy/common/000statements.rpy", line 671, in execute_call_screen store._return = renpy.call_screen(name, *args, **kwargs) File "renpy/exports.py", line 3420, in call_screen rv = renpy.ui.interact(mouse="screen", type="screen", roll_forward=roll_forward) File "renpy/ui.py", line 301, in interact rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs) File "renpy/display/core.py", line 2166, in interact repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, pause=pause, pause_start=pause_start, pause_modal=pause_modal, **kwargs) # type: ignore File "renpy/display/core.py", line 2688, in interact_core root_widget.visit_all(lambda d : d.per_interact()) File "renpy/display/displayable.py", line 431, in visit_all d.visit_all(callback, seen) File "renpy/display/displayable.py", line 431, in visit_all d.visit_all(callback, seen) File "renpy/display/displayable.py", line 431, in visit_all d.visit_all(callback, seen) File "renpy/display/screen.py", line 480, in visit_all callback(self) File "renpy/display/core.py", line 2688, in <lambda> root_widget.visit_all(lambda d : d.per_interact()) File "renpy/display/screen.py", line 491, in per_interact self.update() File "renpy/display/screen.py", line 697, in update self.screen.function(**self.scope) File "0x52-URM/screens/main.rpy.x52", line 20, in execute File "0x52-URM/screens/main.rpy.x52", line 20, in execute File "0x52-URM/screens/main.rpy.x52", line 69, in execute File "0x52-URM/screens/main.rpy.x52", line 70, in execute File "0x52-URM/screens/progress.rpy.x52", line 16, in execute File "0x52-URM/screens/progress.rpy.x52", line 16, in execute File "0x52-URM/screens/progress.rpy.x52", line 19, in execute File "0x52-URM/screens/progress.rpy.x52", line 19, in keywords File "0x52-URM/screens/progress.rpy.x52", line 26, in <module> File "renpy/common/00action_data.rpy", line 157, in __init__ super(LocalVariable, self).__init__(sys._getframe(1).f_locals, AttributeError: 'ADVCharacter' object has no attribute '_getframe' Windows-10-10.0.26100 AMD64 Ren'Py 7.7.3.24061702 The Wife Trainer Files 0.7r Wed Oct 1 02:26:15 2025 0x52 URM 2.6.1
View attachment 5299927
Should I try and add "import sys" somewhere above or below the "def __init__(...)" block?
Heh, good to know the warning worked.If you wouldn't mind looking at The interactions with The sin Within that makes it crash when saving, but only in free roam mode? It's both regular save and Quicksave that brings up the fault.
I saw the last request being somewhat lackluster, so I hope I've got the info you need.
I'm guessing they're doing something fucky with ren'py, but I thought their "It's not my fault" was a little on the nose.
Ok, thanks for letting me know, I was able to reproduce it.
Here's a fix (based on the one from the FAQ, just in different files & places):
If you search existing *.RPY files for_getframe, you will find three files:
Open each of those files with a text editor and find the occurrence of
renpy\common\00action_data.rpyrenpy\common\00barvalues.rpyrenpy\common\00inputvalues.rpy_getframeand add a single line like follows:
00action_data.rpy:
00barvalues.rpy:
00inputvalues.rpy:
IMPORTANT: Make sure to only use SPACES in front of the "import sys" statement, otherwise it won't work!
Now searching for variables does work for me as well.
Ah champion, this works like a charm, not sure why I didn't look for a fix here sooner. Works for making snapshots too, all the same deal I guess.Now searching for variables does work for me as well.
That sounds like your persistent file isn't saving. Did you modify your save token?
Been using URM for a long time but not familiar with that the persistent save file does. I'm having a problem with The Big Swap where the progress bar initially was at 95% and never progressed. I deleted the savegame folder and also the files copied to appdata/roaming/ren-py/the big swap (or whatever). Now the progress bar is at 0% and still not progressing.I also think it’s a persistent save issue. I saved the game normally and didn’t touch the save token.
Persistent file is a renpy functionality, not URM. It holds data that persists between saves, like whether you've seen a message before. I'm assuming your install came with a persistent file of its own which doesn't match your save token so you can't save changes to it. Deleting the persistent file should make a blank one generate and then you can start with it.Been using URM for a long time but not familiar with that the persistent save file does. I'm having a problem with The Big Swap where the progress bar initially was at 95% and never progressed. I deleted the savegame folder and also the files copied to appdata/roaming/ren-py/the big swap (or whatever). Now the progress bar is at 0% and still not progressing.
It's weird that the game shipped with a 95% progress and even three savegame files. May have been packed from a play folder, not the author's distribution directly, or maybe the author packed it like that?
Anyway, what's the correct way to reset the progress bar and keep it functioning, assuming I reinstall the game and it's back to the point where the bar shows 95% progress? Thanks!
I'm windows, but I had the same problem that every now and then ALT-M wouldn't work on certain games.Love this mod, install it on every renpy game I play as I am a developer and I just enjoy the debugger-like functionality. However, I have discovered on some games (for example, just tried it with Shadow over Blackmore) that rolling back soon after the game starts can sometimes cause URM to break.
Alt+M no longer opens the UI and URM no longer displays anything on screen. Anyone encountered this before and know how to fix it? I run Linux and run the games through their sh script. I find it especially odd that it only seems to occur sometimes with no error screen displayed and nothing in the standard log file.
There's no guarantee of seeing every line in a renpy novel, dev can easily / accidentally make lines of dialogue that are impossible to reach. Occasionally URM can let you view choices that are normally impossible to reach via normal gameplay but it doesn't and probably can't catch every single instance of it ever.Is there a way to view the unreaded lines of text? Every time I turn on the tracker with F2, I see that many lines remain.
Thanks, I will give this a try!I'm windows, but I had the same problem that every now and then ALT-M wouldn't work on certain games.
So I went into 'Options', then 'QuickMenu' and set up a global quickmenu with just a URM button in it (and an auto hide). I have it up the top in the middle so it doesn't affect anything, but it means I just have to move my mouse to the middle of the top and a shortcut to URM always pops up.
View attachment 5332063
View attachment 5332059
I've had no issue with this mod and TNHTried on latest version of Null Hypothesis 0.8C which is based on renpy 8.5.0. it crashes game on startup.
Would be grateful on any help.
Oh yes, so let me be more specific. It crashes on Android version. I can get log and traceback.I've had no issue with this mod and TNH
You don't have permission to view the spoiler content. Log in or register now.
Have you followed the Andriod installations from the OP?Oh yes, so let me be more specific. It crashes on Android version. I can get log and traceback.
It used to work just fine with any version before the current 0.8c.Have you followed the Andriod installations from the OP?
Touch devices (e.g. Android):
You don't have permission to view the spoiler content. Log in or register now.