Cache Clearing
Reported by Brian Michalski (gmail) | September 4th, 2009 @ 06:20 PM
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 October 9th, 2009 @ 10:33 AM
- State changed from new to invalid
Moving to Concerto Screensaver project.
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 ยป
Concerto is an open source digital signage system that makes it easy to engage a large community of people with graphical and text-based announcements, bulletins, and other messages... but enough about us, you came here to get involved.
<br />
If you think you've <b>found a bug in Concerto</b>, please click 'Create new ticket' and let us know about it.
<br />
Looking to peek at our source code? Head to <a href="https://github.com/concerto/concerto_v1">https://github.com/concerto/concerto_v1</a> (Concerto version 1) or <a href="https://github.com/concerto/concerto">https://github.com/concerto/concerto</a> (Concerto version 2).
<br />
Our getting started guide is available here: <a href="https://github.com/concerto/concerto/wiki/Getting-Involved">https://github.com/concerto/concerto/wiki/Getting-Involved</a>.