Page 1 of 1

prError.log

Posted: 2011-10-12 14:50
by MaSSive
Ive just recently noticed in game folder a file called "prError.log" Its full with errors related to Video.con parsing/writing

Log is way too much big but I have gone trough it and these two errors repeat in same order in almost same time:

Code: Select all

utorak, 11. oktobar 2011 23:55:26
---------------------------------
An error occurred while parsing video controls
System.IO.IOException: The process cannot access the file 'C:\Users\SAJ\Documents\Battlefield 2\Profiles\Default\Video.con' because it is being used by another process.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
   at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize)
   at System.IO.StreamReader..ctor(String path, Boolean detectEncodingFromByteOrderMarks)
   at System.IO.File.OpenText(String path)
   at d.g()

utorak, 11. oktobar 2011 23:55:26
---------------------------------
Error in writing screen aspect ratio file: c:\program files (x86)\ea games\battlefield 2\mods\pr\

System.IO.DirectoryNotFoundException: Could not find a part of the path 'c:\program files (x86)\ea games\battlefield 2\mods\pr\'.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
   at n.a(String A_0)
I dont get this error but sometimes CTD occurs and maybe this has something to do with it.

OS is WIN x64 Ultimate, shaders are properly optimised and I have full admin rights.

Re: prError.log

Posted: 2011-10-13 16:29
by MaSSive
Anyone even having this log in their mods/pr directory?

EDIT: NVM found thread about it https://www.realitymod.com/forum/f26-pr ... td-13.html

Re: prError.log

Posted: 2011-10-22 06:31
by rushn
yes I have the error log file

Re: prError.log

Posted: 2011-10-23 00:25
by MaSSive
it might help if you post it in thread?

Re: prError.log

Posted: 2011-10-23 01:07
by rushn
Friday, October 21, 2011 10:05:33 PM
---------------------------------
System.ArgumentException: The directory name C:\Users\Administrator.c15fakalinkin\Documents/Battlefield 2/Profiles/Default is invalid.
at System.IO.FileSystemWatcher.set_Path(String value)
at i..ctor(String A_0)
at k.a(String[] A_0)

Friday, October 21, 2011 10:25:28 PM
---------------------------------
System.ArgumentException: The directory name C:\Users\Administrator.c15fakalinkin\Documents/Battlefield 2/Profiles/Default is invalid.
at System.IO.FileSystemWatcher.set_Path(String value)
at i..ctor(String A_0)
at k.a(String[] A_0)

the exact same thing nay ideas?
Saturday, October 22, 2011 1:16:31 PM
---------------------------------
System.ArgumentException: The directory name C:\Users\Administrator.c15fakalinkin\Documents/Battlefield 2/Profiles/Default is invalid.
at System.IO.FileSystemWatcher.set_Path(String value)
at i..ctor(String A_0)
at k.a(String[] A_0)

Re: prError.log

Posted: 2011-10-23 01:15
by MaSSive
why the heck is your username Administrator.c15fakalinkin

C:\Users\Administrator.c15fakalinkin\Documents/Battlefield 2/Profiles/Default is invalid.
if thats not username you run windows with you might have some sort of corruption in system...like hdd failing or malware..

are you runing game over PR shrtcut as admin? do you have admin rights on that PC? Is UAC on?

Re: prError.log

Posted: 2011-10-23 01:41
by rushn
MaSSive wrote:why the heck is your username Administrator.c15fakalinkin



if thats not username you run windows with you might have some sort of corruption in system...like hdd failing or malware..

are you runing game over PR shrtcut as admin? do you have admin rights on that PC? Is UAC on?
yes UAC is on and there is a second admin account which I tried too

yes I am running shrotcut as administrator

Re: prError.log

Posted: 2011-10-23 04:48
by MaSSive
one more thing why do you have forward slahes in directory lisitng? like user\documents...and then goes /battlefield2/profiles... is that your formatting of message or what? Its invalid for system all slashes must be "\"

well rushn Im all out of ideas...told you most things I know about it...if I get some new info on it Ill let you know...sorry mate bad luck

Re: prError.log

Posted: 2011-10-23 05:10
by rushn
could the slashes be the problem i will fix it but it installed that way

checlked it I think its a mistake they looked fixed already

C:\Users\Administrator.c15fakalinkin\Documents\Battlefield 2\Profiles

Re: prError.log

Posted: 2011-10-23 06:36
by MaSSive
if it works now and no more errors are logged on you log file then youre good to go

Re: prError.log

Posted: 2011-10-23 06:51
by rushn
MaSSive wrote:if it works now and no more errors are logged on you log file then youre good to go
well i didnt fix it I just checked it and it wasnt brocken as you specified

still shows the same thing though

Sunday, October 23, 2011 12:53:19 AM
---------------------------------
System.ArgumentException: The directory name C:\Users\Administrator.c15fakalinkin\Documents/Battlefield 2/Profiles/Default is invalid.
at System.IO.FileSystemWatcher.set_Path(String value)
at i..ctor(String A_0)
at k.a(String[] A_0)

alright I got it fixed