Permisson error [ errno 13]

R@pist

New Member
Nov 18, 2023
2
0
I keep getting "errno 13" while running certain games, example of such error is this:
PermissionError: [Errno 13] Permission denied: 'C:\\Users\\010\\AppData\\Roaming/RenPy/tokens\\upgraded.txt'

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

Full traceback:
File "C:\Users\010\Downloads\TiddyTown-0.1-pc\TiddyTown-0.1-pc\renpy\bootstrap.py", line 275, in bootstrap
renpy.main.main()
File "C:\Users\010\Downloads\TiddyTown-0.1-pc\TiddyTown-0.1-pc\renpy\main.py", line 536, in main
renpy.savetoken.upgrade_all_savefiles()
File "C:\Users\010\Downloads\TiddyTown-0.1-pc\TiddyTown-0.1-pc\renpy\savetoken.py", line 256, in upgrade_all_savefiles
with open(upgraded_txt, "a") as f:
PermissionError: [Errno 13] Permission denied: 'C:\\Users\\010\\AppData\\Roaming/RenPy/tokens\\upgraded.txt'
 

peterppp

Active Member
Mar 5, 2020
637
1,051
make sure that the updgraded.txt file is not set to read-only.
i dont know if you need admin permission, i'm always logged in as administrator
 
  • Like
Reactions: anne O'nymous

osanaiko

Engaged Member
Modder
Jul 4, 2017
2,355
4,138
Find the file 'C:\\Users\\010\\AppData\\Roaming/RenPy/tokens\\upgraded.txt'
See if your user can open it.
if not, change the file ownership permission so you can.
Then try again.