Crash when going into season level

Jun 26, 2011 at 11:01 AM

Hi Guys

Great program.

 

But i get a crash when I try to enter a season level of tv shows, this is the crash log

Exception : Access to the path 'F:\TV Shows\Chaos (2011)\Season 1\metadata\Chaos (2011) 1x01.xml' is denied.
Exception Data : System.Collections.ListDictionaryInternal
Inner Exception :
Source : mscorlib
StackTrace :    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, Boolean useLongPath)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
   at System.Xml.XmlDocument.Save(String filename)
   at MediaScoutGUI.GUITypes.Episode.UpdatePosterFileNameInXMLFile()
   at MediaScoutGUI.GUITypes.Episode.GetImage(String posterfilename)
   at MediaScoutGUI.MainWindow.UpdateEpisodePoster(Episode e, String filename, Boolean IsLoading)
   at MediaScoutGUI.MainWindow.tvEpisodes_SelectionChanged(Object sender, SelectionChangedEventArgs e)
   at System.Windows.Controls.SelectionChangedEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
   at System.Windows.Controls.ListBox.OnSelectionChanged(SelectionChangedEventArgs e)
   at System.Windows.Controls.Primitives.Selector.InvokeSelectionChanged(List`1 unselectedItems, List`1 selectedItems)
   at System.Windows.Controls.Primitives.Selector.SelectionChanger.End()
   at System.Windows.Controls.Primitives.Selector.SelectionChanger.SelectJustThisItem(Object item, Boolean assumeInItemsCollection)
   at System.Windows.Controls.Primitives.Selector.SetSelectedToCurrent()
   at System.Windows.Controls.Primitives.Selector.OnItemsChanged(NotifyCollectionChangedEventArgs e)
   at System.Windows.Controls.ItemsControl.OnItemCollectionChanged(Object sender, NotifyCollectionChangedEventArgs e)
   at System.Collections.Specialized.NotifyCollectionChangedEventHandler.Invoke(Object sender, NotifyCollectionChangedEventArgs e)
   at System.Windows.Data.CollectionView.OnCollectionChanged(NotifyCollectionChangedEventArgs args)
   at System.Windows.Controls.ItemCollection.System.Windows.IWeakEventListener.ReceiveWeakEvent(Type managerType, Object sender, EventArgs e)
   at System.Windows.WeakEventManager.DeliverEventToList(Object sender, EventArgs args, ListenerList list)
   at System.Windows.WeakEventManager.DeliverEvent(Object sender, EventArgs args)
   at System.Collections.Specialized.CollectionChangedEventManager.OnCollectionChanged(Object sender, NotifyCollectionChangedEventArgs args)
   at System.Windows.Data.CollectionView.OnCollectionChanged(NotifyCollectionChangedEventArgs args)
   at System.Windows.Data.ListCollectionView.RefreshOverride()
   at System.Windows.Data.CollectionView.Refresh()
   at System.Windows.Data.CollectionView.EndDefer()
   at System.Windows.Data.CollectionView.DeferHelper.Dispose()
   at System.Windows.Controls.ItemCollection.SetCollectionView(CollectionView view)
   at System.Windows.Controls.ItemCollection.SetItemsSource(IEnumerable value)
   at System.Windows.Controls.ItemsControl.OnItemsSourceChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
   at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
   at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
   at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
   at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
   at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty dp)
   at System.Windows.Data.BindingExpressionBase.Invalidate(Boolean isASubPropertyChange)
   at System.Windows.Data.BindingExpression.TransferValue(Object newValue, Boolean isASubPropertyChange)
   at System.Windows.Data.BindingExpression.Activate(Object item)
   at System.Windows.Data.BindingExpression.OnDataContextChanged(DependencyObject contextElement)
   at System.Windows.Data.BindingExpression.HandlePropertyInvalidation(DependencyObject d, DependencyPropertyChangedEventArgs args)
   at System.Windows.Data.BindingExpressionBase.OnPropertyInvalidation(DependencyObject d, DependencyPropertyChangedEventArgs args)
   at System.Windows.Data.BindingExpression.OnPropertyInvalidation(DependencyObject d, DependencyPropertyChangedEventArgs args)
   at System.Windows.DependentList.InvalidateDependents(DependencyObject source, DependencyPropertyChangedEventArgs sourceArgs)
   at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
   at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
   at System.Windows.TreeWalkHelper.OnInheritablePropertyChanged(DependencyObject d, InheritablePropertyChangeInfo info)
   at System.Windows.DescendentsWalker`1._VisitNode(DependencyObject d)
   at System.Windows.DescendentsWalker`1.VisitNode(FrameworkElement fe)
   at System.Windows.DescendentsWalker`1.VisitNode(DependencyObject d)
   at System.Windows.DescendentsWalker`1.WalkLogicalChildren(FrameworkElement feParent, FrameworkContentElement fceParent, IEnumerator logicalChildren)
   at System.Windows.DescendentsWalker`1.WalkFrameworkElementLogicalThenVisualChildren(FrameworkElement feParent, Boolean hasLogicalChildren)
   at System.Windows.DescendentsWalker`1.IterateChildren(DependencyObject d)
   at System.Windows.DescendentsWalker`1.StartWalk(DependencyObject startNode, Boolean skipStartNode)
   at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
   at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
   at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
   at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
   at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
   at MediaScoutGUI.MainWindow.ShowEpisodeList()
   at MediaScoutGUI.MainWindow.SeasonItem_DoubleClick(Object sender, MouseButtonEventArgs e)
   at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
   at System.Windows.Input.InputManager.ProcessStagingArea()
   at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
   at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
   at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
   at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
   at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
   at System.Windows.Threading.Dispatcher.Run()
   at System.Windows.Application.RunDispatcher(Object ignore)
   at System.Windows.Application.RunInternal(Window window)
   at System.Windows.Application.Run(Window window)
   at MediaScoutGUI.SingleInstanceManager.OnStartup(StartupEventArgs e)
TargetSite : WinIOError
Attributes :PrivateScope, Assembly, Static, HideBySig
Details
Method : WinIOError, Line : 0
Method : Init, Line : 0
Method : .ctor, Line : 0
Method : Save, Line : 0
Method : UpdatePosterFileNameInXMLFile, Line : 0
Method : GetImage, Line : 0
Method : UpdateEpisodePoster, Line : 0
Method : tvEpisodes_SelectionChanged, Line : 0
Method : InvokeEventHandler, Line : 0
Method : InvokeHandler, Line : 0
Method : InvokeHandler, Line : 0
Method : InvokeHandlersImpl, Line : 0
Method : RaiseEventImpl, Line : 0
Method : RaiseEvent, Line : 0
Method : OnSelectionChanged, Line : 0
Method : InvokeSelectionChanged, Line : 0
Method : End, Line : 0
Method : SelectJustThisItem, Line : 0
Method : SetSelectedToCurrent, Line : 0
Method : OnItemsChanged, Line : 0
Method : OnItemCollectionChanged, Line : 0
Method : Invoke, Line : 0
Method : OnCollectionChanged, Line : 0
Method : System.Windows.IWeakEventListener.ReceiveWeakEvent, Line : 0
Method : DeliverEventToList, Line : 0
Method : DeliverEvent, Line : 0
Method : OnCollectionChanged, Line : 0
Method : OnCollectionChanged, Line : 0
Method : RefreshOverride, Line : 0
Method : Refresh, Line : 0
Method : EndDefer, Line : 0
Method : Dispose, Line : 0
Method : SetCollectionView, Line : 0
Method : SetItemsSource, Line : 0
Method : OnItemsSourceChanged, Line : 0
Method : OnPropertyChanged, Line : 0
Method : OnPropertyChanged, Line : 0
Method : NotifyPropertyChange, Line : 0
Method : UpdateEffectiveValue, Line : 0
Method : InvalidateProperty, Line : 0
Method : Invalidate, Line : 0
Method : TransferValue, Line : 0
Method : Activate, Line : 0
Method : OnDataContextChanged, Line : 0
Method : HandlePropertyInvalidation, Line : 0
Method : OnPropertyInvalidation, Line : 0
Method : OnPropertyInvalidation, Line : 0
Method : InvalidateDependents, Line : 0
Method : NotifyPropertyChange, Line : 0
Method : UpdateEffectiveValue, Line : 0
Method : OnInheritablePropertyChanged, Line : 0
Method : _VisitNode, Line : 0
Method : VisitNode, Line : 0
Method : VisitNode, Line : 0
Method : WalkLogicalChildren, Line : 0
Method : WalkFrameworkElementLogicalThenVisualChildren, Line : 0
Method : IterateChildren, Line : 0
Method : StartWalk, Line : 0
Method : OnPropertyChanged, Line : 0
Method : NotifyPropertyChange, Line : 0
Method : UpdateEffectiveValue, Line : 0
Method : SetValueCommon, Line : 0
Method : SetValue, Line : 0
Method : ShowEpisodeList, Line : 0
Method : SeasonItem_DoubleClick, Line : 0
Method : InvokeEventHandler, Line : 0
Method : InvokeHandler, Line : 0
Method : InvokeHandler, Line : 0
Method : InvokeHandlersImpl, Line : 0
Method : RaiseEventImpl, Line : 0
Method : RaiseTrustedEvent, Line : 0
Method : RaiseEvent, Line : 0
Method : ProcessStagingArea, Line : 0
Method : ProcessInput, Line : 0
Method : ReportInput, Line : 0
Method : ReportInput, Line : 0
Method : FilterMessage, Line : 0
Method : InputFilterMessage, Line : 0
Method : WndProc, Line : 0
Method : DispatcherCallbackOperation, Line : 0
Method : InternalRealCall, Line : 0
Method : TryCatchWhen, Line : 0
Method : InvokeImpl, Line : 0
Method : SubclassWndProc, Line : 0
Method : DispatchMessage, Line : 0
Method : PushFrameImpl, Line : 0
Method : PushFrame, Line : 0
Method : Run, Line : 0
Method : RunDispatcher, Line : 0
Method : RunInternal, Line : 0
Method : Run, Line : 0
Method : OnStartup, Line : 0

 

This occurs if I run Mediascout as a user or  as an administrator.

 

Any help appreciated

 

Cheers