Error

pantene

Member
Oct 31, 2019
172
286
hi

i recently have this problems with almost all my games when i try to save
anyone can help me solve this?
Thanks.


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

While running game code:
  File "renpy/common/00gamemenu.rpy", line 173, in script
    $ ui.interact()
  File "renpy/common/00gamemenu.rpy", line 173, in <module>
    $ ui.interact()
  File "renpy/common/00action_file.rpy", line 382, in __call__
    renpy.save(fn, extra_info=save_name)
Exception: Not saved - no valid save locations.

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

Full traceback:
  File "renpy/common/00gamemenu.rpy", line 173, in script
    $ ui.interact()
  File "renpy/ast.py", line 922, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "renpy/python.py", line 2218, in py_exec_bytecode
    exec(bytecode, globals, locals)
  File "renpy/common/00gamemenu.rpy", line 173, in <module>
    $ ui.interact()
  File "renpy/ui.py", line 298, in interact
    rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
  File "renpy/display/core.py", line 3276, in interact
    repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, pause=pause, pause_start=pause_start, **kwargs)
  File "renpy/display/core.py", line 4100, in interact_core
    rv = root_widget.event(ev, x, y, 0)
  File "renpy/display/layout.py", line 1062, in event
    rv = i.event(ev, x - xo, y - yo, cst)
  File "renpy/display/transition.py", line 48, in event
    return self.new_widget.event(ev, x, y, st) # E1101
  File "renpy/display/layout.py", line 1062, in event
    rv = i.event(ev, x - xo, y - yo, cst)
  File "renpy/display/layout.py", line 1062, in event
    rv = i.event(ev, x - xo, y - yo, cst)
  File "renpy/display/screen.py", line 720, in event
    rv = self.child.event(ev, x, y, st)
  File "renpy/display/layout.py", line 1062, in event
    rv = i.event(ev, x - xo, y - yo, cst)
  File "renpy/display/layout.py", line 1062, in event
    rv = i.event(ev, x - xo, y - yo, cst)
  File "renpy/display/layout.py", line 245, in event
    rv = d.event(ev, x - xo, y - yo, st)
  File "renpy/display/behavior.py", line 979, in event
    return handle_click(self.clicked)
  File "renpy/display/behavior.py", line 914, in handle_click
    rv = run(action)
  File "renpy/display/behavior.py", line 329, in run
    return action(*args, **kwargs)
  File "renpy/common/00action_file.rpy", line 382, in __call__
    renpy.save(fn, extra_info=save_name)
  File "renpy/loadsave.py", line 433, in save
    location.save(slotname, sr)
  File "renpy/savelocation.py", line 421, in save
    raise Exception("Not saved - no valid save locations.")
Exception: Not saved - no valid save locations.

Windows-10-10.0.19041
Ren'Py 7.4.6.1693
HS
v0.3.6
{a=https://tinyurl.com/yyofm783}Patch Mod{/a} v0.93
{a=https://f95zone.to}F95zone{/a}
Mon Jul 12 17:42:47 2021
 

AnimeKing314

Giant Perv
Game Developer
Jun 28, 2018
395
597
First possiblility since it's a recent issue would be an issue caused by an OS update (assuming you've had one recently). In that case I'd see if you can rollback the update (I think this is normally done by using a restore point but you might want to look into it a bit more cuz I'm not completely sure) or reinstall the update and it'll most likely fix the problem.

The other option that comes to mind is if the permissions were somehow changed in the save directory which would prevent renpy from saving there. The location itself will depend on what OS you're on. For Windows it's in %APPDATA%/RenPy for mac it's ~/Library/RenPy and for linux it's ~/.renpy

Regardless of which OS, check the permissions for the renpy folder and the folder above it to make sure there's both read and write access for it. Also make sure your antivirus isn't blocking renpy from reading and writing because I've had that before with just my desktop folder and hadn't realized because I had my antivirus in silent mode.
 
  • Like
Reactions: pantene

pantene

Member
Oct 31, 2019
172
286
AnimeKing314 OK. I tried all the solutions you presented me, and first of all I want to thank you for your availability.
my OS is Win10,no problem, also everything ok with permissions so i tried to change the location of the game and apparently the problem seems to be solved.
grateful