SonsOfLiberty

Post Pro
Compressor
Sep 3, 2022
23,084
192,656
Appreciate the help. But that still didn't fix it. It's bizarre, I've played literally hundreds if not a thousand games. And I've had the occasional error, but nothing like this.

Code:
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "renpy/common/00action_file.rpy", line 479, in __call__
    renpy.load(fn)
AttributeError: Can't get attribute 'WTMOD_DB' on <renpy.python.StoreModule object at 0x0000000004025670>

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

Full traceback:
  File "renpy/common/_layout/screen_main_menu.rpym", line 28, in script
    python hide:
  File "C:\Users\mauri\Desktop\Radiant-0.6.1-pc\Radiant-0.6.1-pc\renpy\ast.py", line 1138, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "C:\Users\mauri\Desktop\Radiant-0.6.1-pc\Radiant-0.6.1-pc\renpy\python.py", line 1122, in py_exec_bytecode
    exec(bytecode, globals, locals)
  File "renpy/common/_layout/screen_main_menu.rpym", line 28, in <module>
    python hide:
  File "renpy/common/_layout/screen_main_menu.rpym", line 35, in _execute_python_hide
    ui.interact()
  File "C:\Users\mauri\Desktop\Radiant-0.6.1-pc\Radiant-0.6.1-pc\renpy\ui.py", line 299, in interact
    rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
  File "C:\Users\mauri\Desktop\Radiant-0.6.1-pc\Radiant-0.6.1-pc\renpy\display\core.py", line 3582, 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 "C:\Users\mauri\Desktop\Radiant-0.6.1-pc\Radiant-0.6.1-pc\renpy\display\core.py", line 4543, in interact_core
    rv = root_widget.event(ev, x, y, 0)
  File "C:\Users\mauri\Desktop\Radiant-0.6.1-pc\Radiant-0.6.1-pc\renpy\display\layout.py", line 1179, in event
    rv = i.event(ev, x - xo, y - yo, cst)
  File "C:\Users\mauri\Desktop\Radiant-0.6.1-pc\Radiant-0.6.1-pc\renpy\display\layout.py", line 1179, in event
    rv = i.event(ev, x - xo, y - yo, cst)
  File "C:\Users\mauri\Desktop\Radiant-0.6.1-pc\Radiant-0.6.1-pc\renpy\display\layout.py", line 1179, in event
    rv = i.event(ev, x - xo, y - yo, cst)
  File "C:\Users\mauri\Desktop\Radiant-0.6.1-pc\Radiant-0.6.1-pc\renpy\display\screen.py", line 770, in event
    rv = self.child.event(ev, x, y, st)
  File "C:\Users\mauri\Desktop\Radiant-0.6.1-pc\Radiant-0.6.1-pc\renpy\display\layout.py", line 1179, in event
    rv = i.event(ev, x - xo, y - yo, cst)
  File "C:\Users\mauri\Desktop\Radiant-0.6.1-pc\Radiant-0.6.1-pc\renpy\display\layout.py", line 1403, in event
    rv = super(Window, self).event(ev, x, y, st)
  File "C:\Users\mauri\Desktop\Radiant-0.6.1-pc\Radiant-0.6.1-pc\renpy\display\layout.py", line 281, in event
    rv = d.event(ev, x - xo, y - yo, st)
  File "C:\Users\mauri\Desktop\Radiant-0.6.1-pc\Radiant-0.6.1-pc\renpy\display\layout.py", line 1179, in event
    rv = i.event(ev, x - xo, y - yo, cst)
  File "C:\Users\mauri\Desktop\Radiant-0.6.1-pc\Radiant-0.6.1-pc\renpy\display\layout.py", line 1403, in event
    rv = super(Window, self).event(ev, x, y, st)
  File "C:\Users\mauri\Desktop\Radiant-0.6.1-pc\Radiant-0.6.1-pc\renpy\display\layout.py", line 281, in event
    rv = d.event(ev, x - xo, y - yo, st)
  File "C:\Users\mauri\Desktop\Radiant-0.6.1-pc\Radiant-0.6.1-pc\renpy\display\layout.py", line 1179, in event
    rv = i.event(ev, x - xo, y - yo, cst)
  File "C:\Users\mauri\Desktop\Radiant-0.6.1-pc\Radiant-0.6.1-pc\renpy\display\layout.py", line 281, in event
    rv = d.event(ev, x - xo, y - yo, st)
  File "C:\Users\mauri\Desktop\Radiant-0.6.1-pc\Radiant-0.6.1-pc\renpy\display\behavior.py", line 1142, in event
    return handle_click(self.clicked)
  File "C:\Users\mauri\Desktop\Radiant-0.6.1-pc\Radiant-0.6.1-pc\renpy\display\behavior.py", line 1075, in handle_click
    rv = run(action)
  File "C:\Users\mauri\Desktop\Radiant-0.6.1-pc\Radiant-0.6.1-pc\renpy\display\behavior.py", line 379, in run
    return action(*args, **kwargs)
  File "renpy/common/00action_file.rpy", line 479, in __call__
    renpy.load(fn)
  File "C:\Users\mauri\Desktop\Radiant-0.6.1-pc\Radiant-0.6.1-pc\renpy\loadsave.py", line 815, in load
    roots, log = loads(log_data)
  File "C:\Users\mauri\Desktop\Radiant-0.6.1-pc\Radiant-0.6.1-pc\renpy\compat\pickle.py", line 100, in loads
    return load(io.BytesIO(s))
  File "C:\Users\mauri\Desktop\Radiant-0.6.1-pc\Radiant-0.6.1-pc\renpy\compat\pickle.py", line 97, in load
    return up.load()
  File "C:\Users\mauri\Desktop\Radiant-0.6.1-pc\Radiant-0.6.1-pc\renpy\compat\pickle.py", line 93, in find_class
    return super().find_class(module, name)
AttributeError: Can't get attribute 'WTMOD_DB' on <renpy.python.StoreModule object at 0x0000000004025670>

Windows-10-10.0.22631 AMD64
Ren'Py 8.1.3.23091805
Radiant 0.6.1
Wed Mar 27 02:08:25 2024
AttributeError: Can't get attribute 'WTMOD_DB' on <renpy.python.StoreModule object at 0x0000000004025670>


Whatever else you are adding...extract the game fresh add nothing else to the game.
 

Uthuriel

Conversation Conqueror
Jan 26, 2021
6,889
21,443
Like I said in my original post, asking for help. I'm getting the same error with and without adding anything.
Please post some pictures of your folders... something here is definitely not working as intended.
Yours should look like e.g. this:

1711502744382.png

Inside of one of the game folders:

1711502808752.png
Ignore the unren file, you won't have that.
 

MauritkCL

Member
Feb 3, 2018
261
244
Then delete it. Download it again, extract it fresh and try again.
Did that too, didn't solve the problem.

I'm generally a layman, when it comes to the intricacies of a Ren'py game. But my own best guess, as to the cause of this error, has to do with the last (previous) update. I went back to a save from April 2023, and there's no problem there. But all my saves after that (all of them from February 2024) have this error. I'm at a loss.
 
  • Like
Reactions: throwawayqwer

Sancho1969

Message Maven
Modder
Donor
Jan 19, 2020
12,382
48,809
Like I said in my original post, asking for help. I'm getting the same error with and without adding anything.
Bud, there's no way in hell your getting that error without loading a previously modded save (apparently a JokerMod save) inside an unmodded (correct) installation. If you are then delete the entire installation since it's fucked up beyond reality. Whatever save you are trying to load is seeking "WTMOD_DB" from RenPy's var list, not finding it, and crashing. If you are trying to load a save made with a mod then you MUST have that particular mod installed correctly for the old saves to load proper.
 
  • Like
Reactions: imzahai

MauritkCL

Member
Feb 3, 2018
261
244
Bud, there's no way in hell your getting that error without loading a previously modded save (apparently a JokerMod save) inside an unmodded (correct) installation. If you are then delete the entire installation since it's fucked up beyond reality. Whatever save you are trying to load is seeking "WTMOD_DB" from RenPy's var list, not finding it, and crashing.
Yeah I'm starting come to that conclusion too. Just abandon the whole thing, and start over. Thanks for the advice.
 

SonsOfLiberty

Post Pro
Compressor
Sep 3, 2022
23,084
192,656
That's what happens when I extract the game from the .zip-file. Don't know why, it just does.
You are extracting to folder name vs extract to "here".

Yes, it says in the error log "mod".

For other folks reading this:
Important! The VN must be patched to get the forced scene (unmodded or with Joker's mod). It'll trigger with SanchoMod regardless (since I have a custom patch already coded within the mod Core itself). You'll want the patch's image assets though so go ahead and DL/apply the patch no matter what.
With the compressed just move it from the folder.
 

Uthuriel

Conversation Conqueror
Jan 26, 2021
6,889
21,443
That's what happens when I extract the game from the .zip-file. Don't know why, it just does.
Show me what's in the other Radiant-0.6.1-pc folder.

Your structure should be e.g. C:\Games\Radiant-0.6.1-pc NOT C:\Games\Radiant-0.6.1-pc\Radiant-0.6.1-pc
 
4.30 star(s) 280 Votes