nunit-core team mailing list archive
-
nunit-core team
-
Mailing list archive
-
Message #03126
[Bug 1057913] Re: Unhandled exception for /trace option in nunit-console.exe
** Branch linked: lp:nunitv2
--
You received this bug notification because you are a member of NUnit
Developers, which is subscribed to NUnit V2.
https://bugs.launchpad.net/bugs/1057913
Title:
Unhandled exception for /trace option in nunit-console.exe
Status in NUnit V2 Test Framework:
Fix Committed
Bug description:
On XP, for the attached empty test library and empty test fixture,
nunit-console.exe with /trace=Verbose throws the following unhandled
exception:
/cygdrive/c/Program\ Files/NUnit\ 2.6.1/bin/nunit-console.exe
./NUnit/bin/Debug/NUnit.dll /trace=Verbose
Unhandled Exception: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Documents and Settings\Arnaut\Local Settings\Application Data\NUnit\logs\nunit-console_2708.log'.
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)
at System.IO.StreamWriter.CreateFile(String path, Boolean append)
at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize)
at System.IO.StreamWriter..ctor(String path, Boolean append)
at NUnit.Core.InternalTraceWriter..ctor(String logName)
at NUnit.Core.InternalTrace.set_Level(InternalTraceLevel value)
at NUnit.Core.InternalTrace.Initialize(String logName, InternalTraceLevel level)
at NUnit.ConsoleRunner.Runner.Main(String[] args)
at NUnit.ConsoleRunner.Class1.Main(String[] args)
To manage notifications about this bug go to:
https://bugs.launchpad.net/nunitv2/+bug/1057913/+subscriptions
References