Cache Clearing
Reported by Brian Michalski | October 9th, 2009 @ 10:34 AM
The screensaver crashes when trying to clear the cache and a piece of content is in use. I thought this was fixed but I guess not. Might be worthwhile to wrap the delete in a try{} catch{} block.
Program Version: 0.2.7.27002
Win32 Version: 2.0.50727.4016, OS: Microsoft Windows NT 6.0.6002
Service
Pack 2
System.IO.IOException: The process cannot access the file
'C:\Users\USERNAME\AppData\Local\Concerto\D816CCED8B9387D2DB2FD4E4ECBACB5B
.jpg' 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)
at
System.Windows.Media.Imaging.BitmapDecoder.SetupDecoderFromUriOrStream(U
ri uri, Stream stream, BitmapCacheOption cacheOption, Guid&
clsId,
Boolean& isOriginalWritable, Stream& uriStream,
UnmanagedMemoryStream&
unmanagedMemoryStream, SafeFileHandle& safeFilehandle)
at
System.Windows.Media.Imaging.BitmapDecoder.CreateFromUriOrStream(Uri
baseUri, Uri uri, Stream stream, BitmapCreateOptions
createOptions,
BitmapCacheOption cacheOption, RequestCachePolicy
uriCachePolicy,
Boolean insertInDecoderCache)
at System.Windows.Media.Imaging.BitmapImage.FinalizeCreation() at
System.Windows.Media.Imaging.BitmapImage.EndInit() at
ConcertoScreenSaver.Main.Cycle(Object sender, EventArgs e) at
System.Windows.Threading.DispatcherTimer.FireTick(Object unused) at
System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate
callback, Object args, Boolean isSingleParameter)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object
source, Delegate callback, Object args, Boolean
isSingleParameter,
Delegate catchHandler)
mscorlib, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089
Concerto, Version=0.2.7.27002, Culture=neutral,
PublicKeyToken=null
PresentationFramework, Version=3.0.0.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35
WindowsBase, Version=3.0.0.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35
System, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089
PresentationCore, Version=3.0.0.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35
PresentationFramework.Aero, Version=3.0.0.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35
System.Configuration, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a
System.Xml, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089
System.Xml.Linq, Version=3.5.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089
System.Core, Version=3.5.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089
System.Windows.Forms, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089
System.Drawing, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a
Comments and changes to this ticket
-
Brian Michalski November 23rd, 2009 @ 05:18 PM
- State changed from new to resolved
Fixed in [700], I think.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
This is just a test right now...