统一指挥2

统一指挥2

查看统计:
Piro 2023 年 12 月 14 日 上午 5:21
Permission Error on Startup
Games fails to start. Shows Error 13 Permission Denied.
I am the only user. No permissions have changed. Running as administrator does nothing. Never had the problem previously.

error message is the following:

cx_freeze: python error in main script

Traceback (most recent call last):
File
"C:\Env\Py311\Lib\site-packages\cx_freeze\
initscripts\__startup__.py", line 139, in run
File
"C:\Env\Py311\Lib\site-package\cx_Freeze\initscripts\console.py", line 18, in run
File "uoc2-exe.py", line 13, in <module>
File "C:\Code\uoc2\uoc2\main.py", line 41, in <module>
File "C:\Programs\Python311\Lib\logging\__init__py", line
11871, in __init__
File "C:\Programs\Python311\Lib\logging\__init.py", line 1213, in_open
PermissionError: [Errno 13] Permission denied:
'C:\\Users\\MyName\\Appdata\\Local\\.uoc2\\log.txt'

The dates in the log don't show anything for trying to run the game today 12/14. The last date is from a month ago (11/16).
I have Exclusions in my anti-virus for both the AppLocal/UOC2 folder as well as the SteamApps/common/UOC2 folder.

Reinstalled and restarting computer did nothing.

All suggestions are welcome. This is one my favorite games of all time and I'd hate to be locked out of it.
< >
正在显示第 1 - 2 条,共 2 条留言
tomislav.uzelac  [开发者] 2023 年 12 月 14 日 上午 7:48 
Hi, please try opening this folder in File Explorer: C:\\Users\\MyName\\Appdata\\Local\\.uoc2\\

In that folder, delete the files "log.txt" and "clog.txt".

Does that help?
Piro 2023 年 12 月 15 日 上午 3:30 
It did! That immediately solved the problem. Thank you so much!
And thank you for both making such a wonderful game and for responding so quickly!
< >
正在显示第 1 - 2 条,共 2 条留言
每页显示数: 1530 50