prError.log

Help and support regarding PR:BF2 installation and in-game issues
Post Reply
MaSSive
Posts: 4502
Joined: 2011-02-19 15:02

prError.log

Post 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.
Image
CATA4TW!

"People never lie so much as before an election, during a war, or after a hunt."
"God has a special providence for fools, drunks, and the United States of America."
― Otto von Bismarck
MaSSive
Posts: 4502
Joined: 2011-02-19 15:02

Re: prError.log

Post 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
Last edited by MaSSive on 2011-10-13 16:38, edited 1 time in total.
Image
CATA4TW!

"People never lie so much as before an election, during a war, or after a hunt."
"God has a special providence for fools, drunks, and the United States of America."
― Otto von Bismarck
rushn
Posts: 2420
Joined: 2010-01-01 02:51

Re: prError.log

Post by rushn »

yes I have the error log file
MaSSive
Posts: 4502
Joined: 2011-02-19 15:02

Re: prError.log

Post by MaSSive »

it might help if you post it in thread?
Image
CATA4TW!

"People never lie so much as before an election, during a war, or after a hunt."
"God has a special providence for fools, drunks, and the United States of America."
― Otto von Bismarck
rushn
Posts: 2420
Joined: 2010-01-01 02:51

Re: prError.log

Post 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)
MaSSive
Posts: 4502
Joined: 2011-02-19 15:02

Re: prError.log

Post 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?
Image
CATA4TW!

"People never lie so much as before an election, during a war, or after a hunt."
"God has a special providence for fools, drunks, and the United States of America."
― Otto von Bismarck
rushn
Posts: 2420
Joined: 2010-01-01 02:51

Re: prError.log

Post 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
MaSSive
Posts: 4502
Joined: 2011-02-19 15:02

Re: prError.log

Post 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
Image
CATA4TW!

"People never lie so much as before an election, during a war, or after a hunt."
"God has a special providence for fools, drunks, and the United States of America."
― Otto von Bismarck
rushn
Posts: 2420
Joined: 2010-01-01 02:51

Re: prError.log

Post 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
Last edited by rushn on 2011-10-23 05:27, edited 1 time in total.
MaSSive
Posts: 4502
Joined: 2011-02-19 15:02

Re: prError.log

Post by MaSSive »

if it works now and no more errors are logged on you log file then youre good to go
Image
CATA4TW!

"People never lie so much as before an election, during a war, or after a hunt."
"God has a special providence for fools, drunks, and the United States of America."
― Otto von Bismarck
rushn
Posts: 2420
Joined: 2010-01-01 02:51

Re: prError.log

Post 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
Last edited by rushn on 2011-10-23 23:16, edited 2 times in total.
Post Reply

Return to “PR:BF2 Support”