New Sophos Support Phone Numbers in Effect July 1st, 2023

Renpy breaks sandbox isolation

Up to date Windows 10 with Sandboxie 5.30.

Games using Renpy 7.3.5 or greater cannot save/load files.  Attempt to save a file shows the following error:

 


I'm sorry, but an uncaught exception occurred.
File "D:\Downloads\p\AMidsummerNightsDream.zip\renpy\savelocation.py", line 158, in save
record.write_file(filename)
File "D:\Downloads\p\AMidsummerNightsDream.zip\renpy\loadsave.py", line 349, in write_file
shutil.copyfile(self.first_filename, filename_new)
File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/shutil.py", line 82, in copyfile
IOError: [Errno 2] No such file or directory: 'C:\\Users\\Ben/.renpy/AMidsummerNightsDream-43098408\\1-1-LT1.save'

Windows-10.0.18362
Ren'Py 7.3.5.606
AMidsummerNightsDream 1,0.1
Wed May 20 01:39:29 2020

Using the developer console shows that the internal python interpreter shows unsandboxed locations for current working directory:

os.path.abspath(os.curdir)

'C:\\sandbox\\Ben\\default\\drive\...\p\AMidsummerNightsDream'