Open GoogleCodeExporter opened 9 years ago
When debugging I get:
(Yes I just have one instance running)
Line 168:
case Win32Native.ERROR_INVALID_PARAMETER:
throw new IOException(Win32Native.GetMessage(errorCode),
Win32Native.MakeHRFromErrorCode(errorCode), maybeFullPath);
{"The process cannot access the file 'D:\\Music\\XYZ\\ABC\\01 - BLABLA.mp3'
because
it is being used by another process."}
System.IO.IOException was unhandled
Message="The process cannot access the file 'D:\\Music\\XYZ\\ABC\\01 - BLABLA.mp3'
because it is being used by another process."
Source="mscorlib"
StackTrace:
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileInfo.Delete()
at LibLastRip.LastManager.handleError(Boolean resetSong, ErrorEventArgs args)
at LibLastRip.LastManager.Save(IAsyncResult Res)
at System.Net.LazyAsyncResult.Complete(IntPtr userToken)
at System.Threading.ExecutionContext.runTryCode(Object userData)
at
System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(
TryCode
code, CleanupCode backoutCode, Object userData)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext,
ContextCallback callback, Object state)
at System.Net.ContextAwareResult.Complete(IntPtr userToken)
at System.Net.LazyAsyncResult.ProtectedInvokeCallback(Object result, IntPtr
userToken)
at System.Net.Sockets.BaseOverlappedAsyncResult.CompletionPortCallback(UInt32
errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)
at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32
errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)
InnerException:
Original comment by mpu...@gmail.com
on 18 May 2010 at 3:56
Well... i had the same error on a 32bit Windows 7 System.
I changed the saving options from direct to disk to buffering in memory.
It work's.
Propably the Stream is still in access of lastripper when he trys to write it
directly to disk.
Cheers
Original comment by Asekor...@googlemail.com
on 19 Jul 2010 at 2:05
Original issue reported on code.google.com by
mpu...@gmail.com
on 18 May 2010 at 3:51