{"action":"created","issue":{"url":"https://api.github.com/repos/NickeManarin/ScreenToGif/issues/10","repository_url":"https://api.github.com/repos/NickeManarin/ScreenToGif","labels_url":"https://api.github.com/repos/NickeManarin/ScreenToGif/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/NickeManarin/ScreenToGif/issues/10/comments","events_url":"https://api.github.com/repos/NickeManarin/ScreenToGif/issues/10/events","html_url":"https://github.com/NickeManarin/ScreenToGif/issues/10","id":177509065,"number":10,"title":"Exception using read only file as watermark","user":{"login":"duarteframos","id":8735426,"avatar_url":"https://avatars.githubusercontent.com/u/8735426?v=3","gravatar_id":"","url":"https://api.github.com/users/duarteframos","html_url":"https://github.com/duarteframos","followers_url":"https://api.github.com/users/duarteframos/followers","following_url":"https://api.github.com/users/duarteframos/following{/other_user}","gists_url":"https://api.github.com/users/duarteframos/gists{/gist_id}","starred_url":"https://api.github.com/users/duarteframos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duarteframos/subscriptions","organizations_url":"https://api.github.com/users/duarteframos/orgs","repos_url":"https://api.github.com/users/duarteframos/repos","events_url":"https://api.github.com/users/duarteframos/events{/privacy}","received_events_url":"https://api.github.com/users/duarteframos/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/NickeManarin/ScreenToGif/labels/bug","name":"bug","color":"ee0701"}],"state":"open","locked":false,"assignee":{"login":"NickeManarin","id":14798947,"avatar_url":"https://avatars.githubusercontent.com/u/14798947?v=3","gravatar_id":"","url":"https://api.github.com/users/NickeManarin","html_url":"https://github.com/NickeManarin","followers_url":"https://api.github.com/users/NickeManarin/followers","following_url":"https://api.github.com/users/NickeManarin/following{/other_user}","gists_url":"https://api.github.com/users/NickeManarin/gists{/gist_id}","starred_url":"https://api.github.com/users/NickeManarin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NickeManarin/subscriptions","organizations_url":"https://api.github.com/users/NickeManarin/orgs","repos_url":"https://api.github.com/users/NickeManarin/repos","events_url":"https://api.github.com/users/NickeManarin/events{/privacy}","received_events_url":"https://api.github.com/users/NickeManarin/received_events","type":"User","site_admin":false},"assignees":[{"login":"NickeManarin","id":14798947,"avatar_url":"https://avatars.githubusercontent.com/u/14798947?v=3","gravatar_id":"","url":"https://api.github.com/users/NickeManarin","html_url":"https://github.com/NickeManarin","followers_url":"https://api.github.com/users/NickeManarin/followers","following_url":"https://api.github.com/users/NickeManarin/following{/other_user}","gists_url":"https://api.github.com/users/NickeManarin/gists{/gist_id}","starred_url":"https://api.github.com/users/NickeManarin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NickeManarin/subscriptions","organizations_url":"https://api.github.com/users/NickeManarin/orgs","repos_url":"https://api.github.com/users/NickeManarin/repos","events_url":"https://api.github.com/users/NickeManarin/events{/privacy}","received_events_url":"https://api.github.com/users/NickeManarin/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2016-09-16T20:04:51Z","updated_at":"2016-09-19T13:04:19Z","closed_at":null,"body":"Trying to use a read only image file as a watermark generates an exception stating the\r\n\r\n> Access to the path 'path/to/image/file.png' is denied \r\n\r\n\r\nmscorlib.WinIOError\r\n   ```\r\nat System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)\r\n   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, Boolean checkHost)\r\n   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)\r\n   at System.IO.FileStream..ctor(String path, FileMode mode)\r\n   at ScreenToGif.ImageUtil.ImageMethods.SourceFrom(String fileSource, Nullable`1 size)\r\n   at ScreenToGif.Util.Converters.UriToBitmap.Convert(Object value, Type targetType, Object parameter, CultureInfo culture)\r\n   at System.Windows.Data.BindingExpression.TransferValue(Object newValue, Boolean isASubPropertyChange)\r\n   at System.Windows.Data.BindingExpression.ScheduleTransfer(Boolean isASubPropertyChange)\r\n   at MS.Internal.Data.ClrBindingWorker.NewValueAvailable(Boolean dependencySourcesChanged, Boolean initialValue, Boolean isASubPropertyChange)\r\n   at MS.Internal.Data.PropertyPathWorker.UpdateSourceValueState(Int32 k, ICollectionView collectionView, Object newValue, Boolean isASubPropertyChange)\r\n   at MS.Internal.Data.ClrBindingWorker.OnSourcePropertyChanged(Object o, String propName)\r\n   at MS.Internal.Data.PropertyPathWorker.OnPropertyChanged(Object sender, PropertyChangedEventArgs e)\r\n   at System.Windows.WeakEventManager.ListenerList`1.DeliverEvent(Object sender, EventArgs e, Type managerType)\r\n   at System.ComponentModel.PropertyChangedEventManager.OnPropertyChanged(Object sender, PropertyChangedEventArgs args)\r\n   at System.Configuration.ApplicationSettingsBase.OnPropertyChanged(Object sender, PropertyChangedEventArgs e)\r\n   at System.Configuration.ApplicationSettingsBase.set_Item(String propertyName, Object value)\r\n   at ScreenToGif.Windows.Editor.SelectWatermark_Click(Object sender, RoutedEventArgs e)\r\n   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)\r\n   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)\r\n   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)\r\n   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)\r\n   at System.Windows.Controls.Primitives.ButtonBase.OnClick()\r\n   at System.Windows.Controls.Button.OnClick()\r\n   at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)\r\n   at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)\r\n   at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)\r\n   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)\r\n   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)\r\n   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)\r\n   at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)\r\n   at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)\r\n   at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)\r\n   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)\r\n   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)\r\n   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)\r\n   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)\r\n   at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)\r\n   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)\r\n   at System.Windows.Input.InputManager.ProcessStagingArea()\r\n   at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)\r\n   at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)\r\n   at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)\r\n   at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)\r\n   at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)\r\n   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)\r\n   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)\r\n   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)\r\n   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)\r\n```"},"comment":{"url":"https://api.github.com/repos/NickeManarin/ScreenToGif/issues/comments/247987141","html_url":"https://github.com/NickeManarin/ScreenToGif/issues/10#issuecomment-247987141","issue_url":"https://api.github.com/repos/NickeManarin/ScreenToGif/issues/10","id":247987141,"user":{"login":"duarteframos","id":8735426,"avatar_url":"https://avatars.githubusercontent.com/u/8735426?v=3","gravatar_id":"","url":"https://api.github.com/users/duarteframos","html_url":"https://github.com/duarteframos","followers_url":"https://api.github.com/users/duarteframos/followers","following_url":"https://api.github.com/users/duarteframos/following{/other_user}","gists_url":"https://api.github.com/users/duarteframos/gists{/gist_id}","starred_url":"https://api.github.com/users/duarteframos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duarteframos/subscriptions","organizations_url":"https://api.github.com/users/duarteframos/orgs","repos_url":"https://api.github.com/users/duarteframos/repos","events_url":"https://api.github.com/users/duarteframos/events{/privacy}","received_events_url":"https://api.github.com/users/duarteframos/received_events","type":"User","site_admin":false},"created_at":"2016-09-19T13:04:19Z","updated_at":"2016-09-19T13:04:19Z","body":"Welcome. Clearing the preferences folder worked fine, thanks again. "}}
{"actor":{"display_login":"duarteframos"}}