Giter Club home page Giter Club logo

nijiedownloader's People

Contributors

dependabot[bot] avatar nandaka avatar watme888 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nijiedownloader's Issues

Can't open the program

As soon as I opened the program these error log showed up
Am I missing something? Sorry, this is my first time running this program.

2017-04-03 05:20:13,610 INFO [ 1] - Upgrading configuration
2017-04-03 05:20:14,429 DEBUG [ 1] - Proxy=
2017-04-03 05:20:14,433 DEBUG [ 1] - UseHttps= False
2017-04-03 05:20:14,449 INFO [ 1] - Nijie Downloader v1.0.8.0 started.
2017-04-03 05:20:18,621 ERROR [ 1] - Application Unexpected Error: The invocation of the constructor on type 'NijieDownloader.UI.MainWindow' that matches the specified binding constraints threw an exception.
System.Windows.Markup.XamlParseException: The invocation of the constructor on type 'NijieDownloader.UI.MainWindow' that matches the specified binding constraints threw an exception. ---> System.Data.SqlServerCe.SqlCeException: Unable to load the native components of SQL Server Compact corresponding to the ADO.NET provider of version 8876. Install the correct version of SQL Server Compact. Refer to KB article 974247 for more details.
at System.Data.SqlServerCe.NativeMethods.LoadNativeBinaries()
at System.Data.SqlServerCe.SqlCeConnection..ctor()
at System.Data.SqlServerCe.SqlCeProviderFactory.CreateConnection()
at System.Data.Entity.Internal.LazyInternalConnection.CreateConnectionFromProviderName(String providerInvariantName)
at System.Data.Entity.Internal.LazyInternalConnection.InitializeFromConnectionStringSetting(ConnectionStringSettings appConfigConnection)
at System.Data.Entity.Internal.LazyInternalConnection.TryInitializeFromAppConfig(String name, AppConfig config)
at System.Data.Entity.Internal.LazyInternalConnection.Initialize()
at System.Data.Entity.Internal.LazyInternalConnection.get_ProviderName()
at System.Data.Entity.Internal.LazyInternalContext.get_ProviderName()
at System.Data.Entity.Internal.DefaultModelCacheKeyFactory.Create(DbContext context)
at System.Data.Entity.Internal.LazyInternalContext.InitializeContext()
at System.Data.Entity.Internal.InternalContext.GetEntitySetAndBaseTypeForType(Type entityType)
at System.Data.Entity.Internal.Linq.InternalSet1.Initialize() at System.Data.Entity.Internal.Linq.InternalSet1.get_InternalContext()
at System.Data.Entity.Infrastructure.DbQuery1.System.Linq.IQueryable.get_Provider() at System.Linq.Queryable.Count[TSource](IQueryable1 source)
at NijieDownloader.UI.MainWindow..ctor()
--- End of inner exception stack trace ---
at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
at System.Windows.Application.LoadBamlStreamWithSyncInfo(Stream stream, ParserContext pc)
at System.Windows.Application.LoadComponent(Uri resourceLocator, Boolean bSkipJournaledProperties)
at System.Windows.Application.DoStartup()
at System.Windows.Application.<.ctor>b__1_0(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
2017-04-03 05:21:09,932 ERROR [ 1] - AppDomain Unexpected Error: The invocation of the constructor on type 'NijieDownloader.UI.MainWindow' that matches the specified binding constraints threw an exception.
System.Windows.Markup.XamlParseException: The invocation of the constructor on type 'NijieDownloader.UI.MainWindow' that matches the specified binding constraints threw an exception. ---> System.Data.SqlServerCe.SqlCeException: Unable to load the native components of SQL Server Compact corresponding to the ADO.NET provider of version 8876. Install the correct version of SQL Server Compact. Refer to KB article 974247 for more details.
at System.Data.SqlServerCe.NativeMethods.LoadNativeBinaries()
at System.Data.SqlServerCe.SqlCeConnection..ctor()
at System.Data.SqlServerCe.SqlCeProviderFactory.CreateConnection()
at System.Data.Entity.Internal.LazyInternalConnection.CreateConnectionFromProviderName(String providerInvariantName)
at System.Data.Entity.Internal.LazyInternalConnection.InitializeFromConnectionStringSetting(ConnectionStringSettings appConfigConnection)
at System.Data.Entity.Internal.LazyInternalConnection.TryInitializeFromAppConfig(String name, AppConfig config)
at System.Data.Entity.Internal.LazyInternalConnection.Initialize()
at System.Data.Entity.Internal.LazyInternalConnection.get_ProviderName()
at System.Data.Entity.Internal.LazyInternalContext.get_ProviderName()
at System.Data.Entity.Internal.DefaultModelCacheKeyFactory.Create(DbContext context)
at System.Data.Entity.Internal.LazyInternalContext.InitializeContext()
at System.Data.Entity.Internal.InternalContext.GetEntitySetAndBaseTypeForType(Type entityType)
at System.Data.Entity.Internal.Linq.InternalSet1.Initialize() at System.Data.Entity.Internal.Linq.InternalSet1.get_InternalContext()
at System.Data.Entity.Infrastructure.DbQuery1.System.Linq.IQueryable.get_Provider() at System.Linq.Queryable.Count[TSource](IQueryable1 source)
at NijieDownloader.UI.MainWindow..ctor()
--- End of inner exception stack trace ---
at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
at System.Windows.Application.LoadBamlStreamWithSyncInfo(Stream stream, ParserContext pc)
at System.Windows.Application.LoadComponent(Uri resourceLocator, Boolean bSkipJournaledProperties)
at System.Windows.Application.DoStartup()
at System.Windows.Application.<.ctor>b__1_0(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Threading.DispatcherOperation.Invoke()
at System.Windows.Threading.Dispatcher.ProcessQueue()
at System.Windows.Threading.Dispatcher.WndProcHook(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 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(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.Application.RunDispatcher(Object ignore)
at System.Windows.Application.RunInternal(Window window)
at System.Windows.Application.Run(Window window)
at NijieDownloader.UI.App.Main()
2017-04-03 05:21:20,618 DEBUG [ 1] - Proxy=
2017-04-03 05:21:20,632 DEBUG [ 1] - UseHttps= False
2017-04-03 05:21:20,634 INFO [ 1] - Nijie Downloader v1.0.8.0 started.
2017-04-03 05:21:20,905 ERROR [ 1] - Application Unexpected Error: The invocation of the constructor on type 'NijieDownloader.UI.MainWindow' that matches the specified binding constraints threw an exception.
System.Windows.Markup.XamlParseException: The invocation of the constructor on type 'NijieDownloader.UI.MainWindow' that matches the specified binding constraints threw an exception. ---> System.Data.SqlServerCe.SqlCeException: Unable to load the native components of SQL Server Compact corresponding to the ADO.NET provider of version 8876. Install the correct version of SQL Server Compact. Refer to KB article 974247 for more details.
at System.Data.SqlServerCe.NativeMethods.LoadNativeBinaries()
at System.Data.SqlServerCe.SqlCeConnection..ctor()
at System.Data.SqlServerCe.SqlCeProviderFactory.CreateConnection()
at System.Data.Entity.Internal.LazyInternalConnection.CreateConnectionFromProviderName(String providerInvariantName)
at System.Data.Entity.Internal.LazyInternalConnection.InitializeFromConnectionStringSetting(ConnectionStringSettings appConfigConnection)
at System.Data.Entity.Internal.LazyInternalConnection.TryInitializeFromAppConfig(String name, AppConfig config)
at System.Data.Entity.Internal.LazyInternalConnection.Initialize()
at System.Data.Entity.Internal.LazyInternalConnection.get_ProviderName()
at System.Data.Entity.Internal.LazyInternalContext.get_ProviderName()
at System.Data.Entity.Internal.DefaultModelCacheKeyFactory.Create(DbContext context)
at System.Data.Entity.Internal.LazyInternalContext.InitializeContext()
at System.Data.Entity.Internal.InternalContext.GetEntitySetAndBaseTypeForType(Type entityType)
at System.Data.Entity.Internal.Linq.InternalSet1.Initialize() at System.Data.Entity.Internal.Linq.InternalSet1.get_InternalContext()
at System.Data.Entity.Infrastructure.DbQuery1.System.Linq.IQueryable.get_Provider() at System.Linq.Queryable.Count[TSource](IQueryable1 source)
at NijieDownloader.UI.MainWindow..ctor()
--- End of inner exception stack trace ---
at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
at System.Windows.Application.LoadBamlStreamWithSyncInfo(Stream stream, ParserContext pc)
at System.Windows.Application.LoadComponent(Uri resourceLocator, Boolean bSkipJournaledProperties)
at System.Windows.Application.DoStartup()
at System.Windows.Application.<.ctor>b__1_0(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
2017-04-03 05:21:25,993 ERROR [ 1] - AppDomain Unexpected Error: The invocation of the constructor on type 'NijieDownloader.UI.MainWindow' that matches the specified binding constraints threw an exception.
System.Windows.Markup.XamlParseException: The invocation of the constructor on type 'NijieDownloader.UI.MainWindow' that matches the specified binding constraints threw an exception. ---> System.Data.SqlServerCe.SqlCeException: Unable to load the native components of SQL Server Compact corresponding to the ADO.NET provider of version 8876. Install the correct version of SQL Server Compact. Refer to KB article 974247 for more details.
at System.Data.SqlServerCe.NativeMethods.LoadNativeBinaries()
at System.Data.SqlServerCe.SqlCeConnection..ctor()
at System.Data.SqlServerCe.SqlCeProviderFactory.CreateConnection()
at System.Data.Entity.Internal.LazyInternalConnection.CreateConnectionFromProviderName(String providerInvariantName)
at System.Data.Entity.Internal.LazyInternalConnection.InitializeFromConnectionStringSetting(ConnectionStringSettings appConfigConnection)
at System.Data.Entity.Internal.LazyInternalConnection.TryInitializeFromAppConfig(String name, AppConfig config)
at System.Data.Entity.Internal.LazyInternalConnection.Initialize()
at System.Data.Entity.Internal.LazyInternalConnection.get_ProviderName()
at System.Data.Entity.Internal.LazyInternalContext.get_ProviderName()
at System.Data.Entity.Internal.DefaultModelCacheKeyFactory.Create(DbContext context)
at System.Data.Entity.Internal.LazyInternalContext.InitializeContext()
at System.Data.Entity.Internal.InternalContext.GetEntitySetAndBaseTypeForType(Type entityType)
at System.Data.Entity.Internal.Linq.InternalSet1.Initialize() at System.Data.Entity.Internal.Linq.InternalSet1.get_InternalContext()
at System.Data.Entity.Infrastructure.DbQuery1.System.Linq.IQueryable.get_Provider() at System.Linq.Queryable.Count[TSource](IQueryable1 source)
at NijieDownloader.UI.MainWindow..ctor()
--- End of inner exception stack trace ---
at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
at System.Windows.Application.LoadBamlStreamWithSyncInfo(Stream stream, ParserContext pc)
at System.Windows.Application.LoadComponent(Uri resourceLocator, Boolean bSkipJournaledProperties)
at System.Windows.Application.DoStartup()
at System.Windows.Application.<.ctor>b__1_0(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Threading.DispatcherOperation.Invoke()
at System.Windows.Threading.Dispatcher.ProcessQueue()
at System.Windows.Threading.Dispatcher.WndProcHook(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 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(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.Application.RunDispatcher(Object ignore)
at System.Windows.Application.RunInternal(Window window)
at System.Windows.Application.Run(Window window)
at NijieDownloader.UI.App.Main()
2017-04-03 05:22:18,009 DEBUG [ 1] - Proxy=
2017-04-03 05:22:18,025 DEBUG [ 1] - UseHttps= False
2017-04-03 05:22:18,026 INFO [ 1] - Nijie Downloader v1.0.8.0 started.
2017-04-03 05:22:18,307 ERROR [ 1] - Application Unexpected Error: The invocation of the constructor on type 'NijieDownloader.UI.MainWindow' that matches the specified binding constraints threw an exception.
System.Windows.Markup.XamlParseException: The invocation of the constructor on type 'NijieDownloader.UI.MainWindow' that matches the specified binding constraints threw an exception. ---> System.Data.SqlServerCe.SqlCeException: Unable to load the native components of SQL Server Compact corresponding to the ADO.NET provider of version 8876. Install the correct version of SQL Server Compact. Refer to KB article 974247 for more details.
at System.Data.SqlServerCe.NativeMethods.LoadNativeBinaries()
at System.Data.SqlServerCe.SqlCeConnection..ctor()
at System.Data.SqlServerCe.SqlCeProviderFactory.CreateConnection()
at System.Data.Entity.Internal.LazyInternalConnection.CreateConnectionFromProviderName(String providerInvariantName)
at System.Data.Entity.Internal.LazyInternalConnection.InitializeFromConnectionStringSetting(ConnectionStringSettings appConfigConnection)
at System.Data.Entity.Internal.LazyInternalConnection.TryInitializeFromAppConfig(String name, AppConfig config)
at System.Data.Entity.Internal.LazyInternalConnection.Initialize()
at System.Data.Entity.Internal.LazyInternalConnection.get_ProviderName()
at System.Data.Entity.Internal.LazyInternalContext.get_ProviderName()
at System.Data.Entity.Internal.DefaultModelCacheKeyFactory.Create(DbContext context)
at System.Data.Entity.Internal.LazyInternalContext.InitializeContext()
at System.Data.Entity.Internal.InternalContext.GetEntitySetAndBaseTypeForType(Type entityType)
at System.Data.Entity.Internal.Linq.InternalSet1.Initialize() at System.Data.Entity.Internal.Linq.InternalSet1.get_InternalContext()
at System.Data.Entity.Infrastructure.DbQuery1.System.Linq.IQueryable.get_Provider() at System.Linq.Queryable.Count[TSource](IQueryable1 source)
at NijieDownloader.UI.MainWindow..ctor()
--- End of inner exception stack trace ---
at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
at System.Windows.Application.LoadBamlStreamWithSyncInfo(Stream stream, ParserContext pc)
at System.Windows.Application.LoadComponent(Uri resourceLocator, Boolean bSkipJournaledProperties)
at System.Windows.Application.DoStartup()
at System.Windows.Application.<.ctor>b__1_0(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
2017-04-03 05:22:19,544 ERROR [ 1] - AppDomain Unexpected Error: The invocation of the constructor on type 'NijieDownloader.UI.MainWindow' that matches the specified binding constraints threw an exception.
System.Windows.Markup.XamlParseException: The invocation of the constructor on type 'NijieDownloader.UI.MainWindow' that matches the specified binding constraints threw an exception. ---> System.Data.SqlServerCe.SqlCeException: Unable to load the native components of SQL Server Compact corresponding to the ADO.NET provider of version 8876. Install the correct version of SQL Server Compact. Refer to KB article 974247 for more details.
at System.Data.SqlServerCe.NativeMethods.LoadNativeBinaries()
at System.Data.SqlServerCe.SqlCeConnection..ctor()
at System.Data.SqlServerCe.SqlCeProviderFactory.CreateConnection()
at System.Data.Entity.Internal.LazyInternalConnection.CreateConnectionFromProviderName(String providerInvariantName)
at System.Data.Entity.Internal.LazyInternalConnection.InitializeFromConnectionStringSetting(ConnectionStringSettings appConfigConnection)
at System.Data.Entity.Internal.LazyInternalConnection.TryInitializeFromAppConfig(String name, AppConfig config)
at System.Data.Entity.Internal.LazyInternalConnection.Initialize()
at System.Data.Entity.Internal.LazyInternalConnection.get_ProviderName()
at System.Data.Entity.Internal.LazyInternalContext.get_ProviderName()
at System.Data.Entity.Internal.DefaultModelCacheKeyFactory.Create(DbContext context)
at System.Data.Entity.Internal.LazyInternalContext.InitializeContext()
at System.Data.Entity.Internal.InternalContext.GetEntitySetAndBaseTypeForType(Type entityType)
at System.Data.Entity.Internal.Linq.InternalSet1.Initialize() at System.Data.Entity.Internal.Linq.InternalSet1.get_InternalContext()
at System.Data.Entity.Infrastructure.DbQuery1.System.Linq.IQueryable.get_Provider() at System.Linq.Queryable.Count[TSource](IQueryable1 source)
at NijieDownloader.UI.MainWindow..ctor()
--- End of inner exception stack trace ---
at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
at System.Windows.Application.LoadBamlStreamWithSyncInfo(Stream stream, ParserContext pc)
at System.Windows.Application.LoadComponent(Uri resourceLocator, Boolean bSkipJournaledProperties)
at System.Windows.Application.DoStartup()
at System.Windows.Application.<.ctor>b__1_0(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Threading.DispatcherOperation.Invoke()
at System.Windows.Threading.Dispatcher.ProcessQueue()
at System.Windows.Threading.Dispatcher.WndProcHook(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 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(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.Application.RunDispatcher(Object ignore)
at System.Windows.Application.RunInternal(Window window)
at System.Windows.Application.Run(Window window)
at NijieDownloader.UI.App.Main()

[1.0.8] Modified Date

Set the file downloaded modified date to servers. So it can keep date as the original.

[1.0.0.2] Request: more options for Filename format

{imageTitle} - actual item title which is displayed in window header normally per any image or comic.

{serverFilename} - original numeric filename as the image is kept on server. Format is currently something like yyyymmddhhmmssxxxx.jpg.

{memberName} may be a good addition too, however member names may change in time, creating a possibility for the tool to download duplicates in future.

[1.0.3.0] Bug: batch download tab display is broken if contains more than 150 jobs

Screenshot: http://i.imgur.com/ybCVyP3.png

My batchjob.xml is around 250kb after the update from 1.0.2.1.

I've tested few scenarios and it seems the list display breaks if the batch list is too big - it's fine while under ~89kb or 150 jobs.

  • start with clean batch list
  • add 150 "member" jobs (e.g. 1,2,3...149,150) or fill batchjob.xml manually
  • restart the app
  • batch list displays fine
  • add another job, e.g. 151
  • batch list displays fine
  • restart the app
  • batch list becomes broken
  • it's possible to delete the last 151th job and the list would be fine after app is restarted

Not sure what exactly triggers the bug - 151th job or a certain size limit of a file buffer for batchjob.xml. It's 90kb after adding 151th job for me.

The actual list stays functional it seems.

I can also workaround it by manually re-sizing (dragging by the right window border) the window several times, but it needs to be done each time the application is loaded, if I want a correct list display.

[1.0.3.x] Problem: batch download speed degradation

I'm not sure if this bug appeared in 1.0.3.0 or 1.0.3.1, but with 1.0.2.0 I never had this problem, as far as I can say.

I have >400 member entries in batch job, concurrent job = 6. From the start the execution goes very fast, with ~1300 lines per minute being logged. Some time later, it goes as low as ~200 lines/m, then 80 lines/m. During this random pauses between lines as big as 240 seconds appear. It really looks like the app doesn't do anything during these periods - batch table UI update speed makes it look like downloading 50-100 mb files.

This is certainly not a problem with my connection speed - if I restart the app it does the same thing again, with 1000-1300 lines/m logged.

I can't understand why this is happening randomly - sometimes it does all 400 entries without problems (around 30 minutes maybe, since 99% of files are already downloaded), sometimes it takes few hours only to realize it didn't even finish half of its jobs.

[1.0.7.0] Request: Batch Download / Add Job dialog improvement

Request is simple: move the Member option upper in the dropdown list, making it a default option for each Add Job dialong instance. Image option is quite useless for batch processing anyway when adding jobs by hand.

To further optimize the process of filling the job list, I'd suggest to make a dedicated text field and a button right inside the dialog, something like:

[_____] [Add Member]

And make it immediately add a member job with Id set in [_____] field, with current default settings for start page, end page and filename formats. Maybe even make a dropdown to choose between Images, Doujin and Bookmark modes nearby:

[_____] [Images V] [Add Member]
        |Doujin  |
        |Bookmark|

For me that would greatly simplify the process. I'm not using batch processing for tags or individual images.

In my opinion using Image job type is useless; there may be not many of Tags jobs in the end AND each would likely need specific options thus using a dialog for adding Tags seems fair; but Member jobs are what most people would use to monitor authors AND they might want to monitor many of them - since adding these shouldn't require many options I'd say it's safe to skip [Add Job] dialog completely for this job type.

[1.0.7.7] Add error message if member does not exist

I've been updating some of my old artist downloads, and came across a member who appears to have deleted their account. However, searching for them in Process Member elicits no response in the program. The thumbnails and info from the previous search remain on the screen with no reaction to the new failed search. The only change is in the Member URL, which of course changes as you type in the search box. The lack of response is confusing, and the incorrect URL displayed with the previous search images is also problematic.

This isn't terribly hard to work around once you're aware of it, but it's probably the same behavior as in a network/proxy failure, which can complicate diagnostics for those of us with non-standard connections.

A simple popup signifying that the artist does not exist would be a solution. A more elegant inline approach might be to simply remove the thumbs and image numbers from the previous search and display artist not found somewhere in the member area. This would make moving into the next search easier without having to dismiss the program-locking popup.

Thanks! :3

[1.0.6.1] Batch Dowload Processes Able to Continue Independent of Program Control

I wanted to test the "Clear All" button in the Batch Downloader screen (to determine if it removes both active and completed jobs). I left about 20 Completed downloads sitting in the job list, queued a new Member download, and hit start. After about 10 seconds I pressed Clear All, and all tasks were removed from the list.

In checking quickly to see if there were any corrupted temp files, I was surprised to see new files still appearing in the directory. The task continued for about 4 minutes and downloaded all 123 images. There was a 404 image on the web which since cleared up, so I tried the same procedure again.

When "cleared," the download process continues running, but disappears from the download list and control of the download buttons. It also did not return the error I saw in the log. Re-queuing the job while it's still running doesn't result in an error, but the software regards the new job as queued and cannot be paused-restarted, and according to the log the duplicate job began with a 2000ms delay after the completion of the first, finding all duplicates.

I also confirmed that the same thing happens using the checkbox and delete key. Also, if you add 2 new jobs to the queue and delete them both seconds after starting, the process will finish with the first one and then start and finish the next.

This doesn't impact the ability of the program to do what it should, but it could be a frustrating mistake if one made a large queue list and deleted it only to find the ghosts still doing it beyond one's control.

Knowing almost nothing about the causes or fixes of this kind of disconnection between UI and processes....perhaps it would solve the problem to change the functionality of the Delete and (especially) Clear All buttons?

Clear All could be changed to Clear Completed, with much more frequent utility and no loss of functionality. The list could be trimmed while downloading, and the only time the Delete function would need to be used is for cancellation an unstarted job...I suppose the Delete function could still be used in the way I tested it, but needing to mark the check boxes individually makes it unlikely.

[1.0.8] Naming Suggestion

Two suggestions:

  • {maxPage} seems to add " of ". Can you leave it up to the user to add what they want. So {maxPage} only adds page count with the " of ". It can be easily added in the naming if user wants it.
  • Please consider adding {date} and {date-time}. So you can add "2016-07-30 200944" to the name.

Thanks

[1.0.7.9] Append new download tasks into active batch process, if running

If you add a batch job for a gallery download and start it, then go back to the member processor and add a few more, these added tasks show up only as "queued" in the batch list, and will not start if there are free task slots open, or when the first job finishes. So it appears to only actually queue the files in the list at the time the button is pressed.

FileZilla FTP does that as well. It's tough to say whether it adds functionality (creating up to two distinct "queues" within the download list, with a pause built in before activating the second) or just makes it so I can't start my downloading until I've created the queue that I want in full (or resuming).

I end up using it the way it behaves (like to test download one file but leave the rest "on deck"), but I don't think that's very useful for NijieDownloader; the images are visible in the member and image viewers, and the content is small enough that it seems more convenient to program for the generation of a "continual" download list that lets you browse while the (rather slow) downloading occurs (more like DownThemAll, and probably most downloading programs).

It's also awkward to not know which items I added before and then after I started the batch, since tasks in both of these queue states simply say "Queued."

Obviously low-priority, and perhaps something you designed intentionally because that makes sense to your thinking/workflow. Either way, just a minor observation while I noticed it again ^^

[1.0.2.1] Bug: locked submissions stop the batch job with error

Happens when I'm doing a batch job by member id, if he has at least 1 image that is locked (set to private). Log file returns:
2014-03-19 01:05:22,652 DEBUG [ 27] - Redirection for Image xxxxx: https://nijie.info/view.php?id=xxxxx ==> https://nijie.info/members.php?id=xxxxx, possibly locked. 2014-03-19 01:05:22,652 ERROR [ 27] - filenameFormat={memberId}\{imageId}{page}_{imageTitle}_{serverFilename} System.ArgumentNullException: value can not be undefined Parameter: uriString ... [1003] Failed when renaming
And further processing of the job stops, Status reporting Error.

Example locked image id: 74587

Question

Is there a way to use Pixivdownloader to download all individuals your account is "following"?

[1.0.7.0] Download using search on tags/title not working anymore

There is no error message, and NijieDownloader does not see any image to download in search mode by tags or title and in batch mode too.
It was fine on the last time I used it (26/10/2014). Nothing was changed in the configuration and it was working flawlessly until now.
Direct image download using "image process" and an image ID number still work.

Here is an example of a batch on tag ふたなり :

2014-11-01 10:15:58,087 DEBUG [ 1] - Proxy=
2014-11-01 10:15:58,121 DEBUG [ 1] - UseHttps= False
2014-11-01 10:15:58,123 INFO [ 1] - Nijie Downloader v1.0.7.0 started.
2014-11-01 10:16:08,391 INFO [ 1] - Tracking 26009 image(s)
2014-11-01 10:16:10,502 INFO [ 3] - Loggged Out
2014-11-01 10:16:13,661 INFO [ 3] - Logged In
2014-11-01 10:16:44,209 DEBUG [ 6] - Delay before starting job: 200ms
2014-11-01 10:16:44,411 DEBUG [ 6] - Running Search Job: Search Tags: ふたなり Limit: 0
StartPage: 1 EndPage: 10
2014-11-01 10:16:46,615 INFO [ 6] - Moving to next page: 2
2014-11-01 10:16:48,617 INFO [ 6] - Moving to next page: 3
2014-11-01 10:16:50,759 INFO [ 6] - Moving to next page: 4
2014-11-01 10:16:52,841 INFO [ 6] - Moving to next page: 5
2014-11-01 10:16:55,033 INFO [ 6] - Moving to next page: 6
2014-11-01 10:16:57,143 INFO [ 6] - Moving to next page: 7
2014-11-01 10:16:59,241 INFO [ 6] - Moving to next page: 8
2014-11-01 10:17:01,421 INFO [ 6] - Moving to next page: 9
2014-11-01 10:17:03,750 INFO [ 6] - Moving to next page: 10
2014-11-01 10:17:06,004 INFO [ 6] - Moving to next page: 11
2014-11-01 10:17:06,005 DEBUG [ 6] - Job completed: Search Tags: ふたなり Limit: 0
StartPage: 1 EndPage: 10 in 21,7957754s

As you can see NijieDownloader did not find any image to process (not even images already downloaded.
In search mode, whatever the search and search parameters, no results are found and no thumbnail are displayed.

[1.0.1.0] Problem: batch downloading stucks for unknown reason

Not really sure why this is happening.

I'm trying to batch dl by member id. On a first member it downloaded first image then it is stuck, not moving to next image. Re-adding work doesn't do anything, it says "Skipped / Running". Log file also doesn't report anything beyond that.

On a second member it was able to download 2 images, then it is stuck again.

If I try to Pause/Resume it just reports "Running", nothing really progresses. If I try to Stop, it says "Canceling" and Start not working anymore for this job (so I either have to re-add the job or restart the app to continue). Log file also not being updated with any errors or exceptions.

I also tried removing the Database file, it didn't help.

Today I'm getting quite slow connection to many foreign servers (nijie included), so I also tried using a proxy - this helped with the speed but didn't solve the problem.

Just in case, here is filename format I'm using:
{memberId}\{imageId}_{page}_{imageTitle}_{serverFilename}

[1.0.3.1] Problem: Overwrite only if different in size not working correctly anymore

As of yesterday, April 13, 2014, the app can no longer detect filesizes of many images, thus re-downloading and re-writing tons of files that are already downloaded. Up until yesterday I never had this problem.

Log file says:
Content-Length Filesize: -1 File Exists: [xxx].jpg, different size: 489199 vs -1, backing up to: [xxx].jpg.1397402216,98304
For some reason I can't reproduce this with a test batchjob.xml of 1 member job. It either has something to do with too many concurrent jobs (I haven't increased it though, it's still 6) or temporary server issues.

Would be great if you could add some kind of protection against incorrect server responses about filesizes.

EDIT:
I've now deleted all dupes after some fiddling with logs and cmd.exe. There were 12018 dupes after 2 runs (yesterday and today). My current download folder contains ~21000 files, so as you can guess the app created dupes for over 50% of downloaded files.

[1.0.7.0] Tag Search download jobs continue into endless series of page queries

This has happened to every one of my searches so far. I'll pick terms from the Nijie wiki and my image notes until I find a search with promising results and themes—then copy the Japanese language terms and repeat my search in the program. Everything goes great until I notice the batch status message ticking up another search page every second and no new downloaded/skipped files.

I've let one search run for 1200 pages before I got tired of it (all my tag searches were 5 pages results or less, so far). After which point, it seems to present the same termination problems I mentioned in issue #23 (though in this case, it always searches endlessly even if it's the only job queued).

Pressing the Clear All or Delete button will cause the hidden runaway thread that can't be controlled by the program again, but will restart (still hidden) at page 1 if another job is initiated. Restarting the program seems to kill the process. However, I just found that pushing Stop on the endlessly searching job brings up the correct end-of-job popup dialog, with a corresponding note in the log. So, hitting Stop and then delete or clear before another job is added into the queue allows functions to proceed normally.

The download job also exits cleanly if the search reaches the End Page value entered by the user on the Add Job setup screen. The total number of submissions in a web search appears below the essential 'file folder' navigation tabs in tiny letters, immediately following a bold string like

タグ検索:産卵 の結果(部分一致) 169 枚

Hopefully this number can be ascretained through the API in a method other than brute force~

[1.0.6.1] Program crashes when loading image from tag search results

After doing a tag search, I double-click on one of the result thumbnails I would like to see enlarge and information detailed in the program's very nice Process Image section. Program switches to that screen, but only shows a dialog box with error message, which crashes the program after I click OK.

I receive two markedly different messages at different times, after the same direct procedure of searching for the same tag and opening an image result at random.

ERROR [    2] - AppDomain Unexpected Error: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread.
System.AggregateException: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at NijieDownloader.UI.ImagePage.OnFragmentNavigation(FragmentNavigationEventArgs e)
   at FirstFloor.ModernUI.Windows.Controls.ModernFrame.OnFragmentNavigation(IContent content, FragmentNavigationEventArgs e)
   at FirstFloor.ModernUI.Windows.Controls.ModernFrame.SetContent(Uri newSource, NavigationType navigationType, Object newContent, Boolean contentIsError)
   at FirstFloor.ModernUI.Windows.Controls.ModernFrame.<>c__DisplayClassc.<Navigate>b__7(Task`1 t)
   at System.Threading.Tasks.Task.Execute()
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.TaskExceptionHolder.Finalize()
---> (Inner Exception #0) System.NullReferenceException: Object reference not set to an instance of an object.
   at NijieDownloader.UI.ImagePage.OnFragmentNavigation(FragmentNavigationEventArgs e)
   at FirstFloor.ModernUI.Windows.Controls.ModernFrame.OnFragmentNavigation(IContent content, FragmentNavigationEventArgs e)
   at FirstFloor.ModernUI.Windows.Controls.ModernFrame.SetContent(Uri newSource, NavigationType navigationType, Object newContent, Boolean contentIsError)
   at FirstFloor.ModernUI.Windows.Controls.ModernFrame.<>c__DisplayClassc.<Navigate>b__7(Task`1 t)
   at System.Threading.Tasks.Task.Execute()<---

The other flavor of the error displays two large boxes in sequence:

ERROR [    1] - Application Unexpected Error: Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
   at NijieDownloader.UI.ImagePage.OnFragmentNavigation(FragmentNavigationEventArgs e)
   at FirstFloor.ModernUI.Windows.Controls.ModernFrame.OnFragmentNavigation(IContent content, FragmentNavigationEventArgs e)
   at FirstFloor.ModernUI.Windows.Controls.ModernFrame.SetContent(Uri newSource, NavigationType navigationType, Object newContent, Boolean contentIsError)
   at FirstFloor.ModernUI.Windows.Controls.ModernFrame.Navigate(Uri oldValue, Uri newValue, NavigationType navigationType)
   at FirstFloor.ModernUI.Windows.Controls.ModernFrame.OnSourceChanged(Uri oldValue, Uri newValue)
   at FirstFloor.ModernUI.Windows.Controls.ModernFrame.OnSourceChanged(DependencyObject o, 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.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 NijieDownloader.UI.SearchPage.lbxImages_PreviewMouseDoubleClick(Object sender, MouseButtonEventArgs e)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.Controls.Control.HandleDoubleClick(Object sender, MouseButtonEventArgs e)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   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.Input.InputManager.ProcessStagingArea()
   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)

The second seeming to have an extra 8 lines or so at the end:

ERROR [    1] - AppDomain Unexpected Error: Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
   at NijieDownloader.UI.ImagePage.OnFragmentNavigation(FragmentNavigationEventArgs e)
   at FirstFloor.ModernUI.Windows.Controls.ModernFrame.OnFragmentNavigation(IContent content, FragmentNavigationEventArgs e)
   at FirstFloor.ModernUI.Windows.Controls.ModernFrame.SetContent(Uri newSource, NavigationType navigationType, Object newContent, Boolean contentIsError)
   at FirstFloor.ModernUI.Windows.Controls.ModernFrame.Navigate(Uri oldValue, Uri newValue, NavigationType navigationType)
   at FirstFloor.ModernUI.Windows.Controls.ModernFrame.OnSourceChanged(Uri oldValue, Uri newValue)
   at FirstFloor.ModernUI.Windows.Controls.ModernFrame.OnSourceChanged(DependencyObject o, 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.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 NijieDownloader.UI.SearchPage.lbxImages_PreviewMouseDoubleClick(Object sender, MouseButtonEventArgs e)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.Controls.Control.HandleDoubleClick(Object sender, MouseButtonEventArgs e)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   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.Input.InputManager.ProcessStagingArea()
   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.WrappedInvoke(Delegate callback, 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.Application.RunInternal(Window window)
   at System.Windows.Application.Run()
   at NijieDownloader.UI.App.Main()

This error occured while downloads were processing, as well as immediately after starting the program and performing a search. Images open as expected from the member search results page.

[1.0.7.9] Remember status of batch jobs between sessions

The batch list saves the list of jobs between sessions, which is great. But it appears that if you don't remove the complete jobs on exit, all jobs will regain the "Added" status upon program restart. Doesn't cause problems except wasted time/bandwidth if your settings deal properly with repeat downloads. But it large lists of jobs or large galleries, it could spin its wheels for a long time.

Might it be fairly easy to save the download state (Added/Queued/Completed) along with the list, or in other settings? It would be neat to save the "message" status text (downloaded/skipped/available) as well, though that's more informational than useful.

[1.0.0.2] Problem: can't update from 1.0.0.1 without uninstalling

Taken from log:
...
"You cannot start application Nijie Downloader from this location because it is already installed from a different location."
...

Exception:
System.Deployment.Application.DeploymentException (DeploymentUriDifferent)
in System.Deployment.Application.ApplicationActivator.CheckDeploymentProviderValidity(ActivationDescription actDesc, SubscriptionState subState)
in System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl)
in System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)

Batch downloading doesn't work

After adding 3 pictures to batch and starting them their status changes to Running and nothing else happens. Log:

2014-02-19 10:33:21,681 DEBUG [ 21] - Running Image Job: Image ID: 73681
2014-02-19 10:33:21,681 DEBUG [ 22] - Running Image Job: Image ID: 71282
2014-02-19 10:33:21,681 DEBUG [ 20] - Running Image Job: Image ID: 72434
2014-02-19 10:33:21,683 DEBUG [ 21] - Processing Image:73681
2014-02-19 10:33:21,683 DEBUG [ 20] - Processing Image:72434
2014-02-19 10:33:21,683 DEBUG [ 22] - Processing Image:71282
2014-02-19 10:33:23,902 DEBUG [ 20] - Dumping big image page to: Dump for Big Image 72434.html
2014-02-19 10:33:23,904 ERROR [ 20] - Failed to process big image: 72434
System.NullReferenceException: Object reference not set to an instance of an object.
in NijieDownloader.Library.Nijie.ParseBigImage(NijieImage image)
2014-02-19 10:33:23,907 DEBUG [ 20] - Dumping image page to: Dump for Image 72434.html
2014-02-19 10:33:23,908 ERROR [ 20] - Error when processing image: 72434
System.NullReferenceException: Object reference not set to an instance of an object.
in NijieDownloader.Library.Nijie.ParseBigImage(NijieImage image)
in NijieDownloader.Library.Nijie.ParseImage(NijieImage image, NijieMember member)
2014-02-19 10:33:24,332 DEBUG [ 22] - Dumping big image page to: Dump for Big Image 71282.html
2014-02-19 10:33:24,332 ERROR [ 22] - Failed to process big image: 71282
System.NullReferenceException: Object reference not set to an instance of an object.
in NijieDownloader.Library.Nijie.ParseBigImage(NijieImage image)
2014-02-19 10:33:24,332 DEBUG [ 22] - Dumping image page to: Dump for Image 71282.html
2014-02-19 10:33:24,333 ERROR [ 22] - Error when processing image: 71282
System.NullReferenceException: Object reference not set to an instance of an object.
in NijieDownloader.Library.Nijie.ParseBigImage(NijieImage image)
in NijieDownloader.Library.Nijie.ParseImage(NijieImage image, NijieMember member)

Same thing happens when trying to batch-download by member id.

Same exception produce crashes when doing various things within the app, e.g. adding some image from fetched member page by double-clicking. So far only multi-paged items are added into "process image" tab correctly and actually being downloaded.

Non-english Windows 8.1 here.

[1.0.6.1] Member Bookmark search draws blank if target user has less than ~48 bookmarks

This one is probably a small bug in the search on the bookmark page; image galleries with less than 1 full page of submissions load fine in the member image search. Searching for a user whose bookmarks number approximately less than the 1-page limit of 48, returns nothing. The loading data box comes up for a minute, but the returned results are just a reload of the last search page contents, with no error message or even reappearance of the previous search term which still matches the screen results (which made me overlook it the first time it happened).

(Note that I don't know the exact submission threshold, but a user with 50 BMs worked fine, and all those up to 40 didn't, so it's my operating assumption).

When searching immediately in a freshly-opened program instance, a substantial technical error pops up in a dialog and the log file.

Log: [Dumping member page to: Dump for Member 1226 Mode Bookmark.html
2014-07-22 01:11:15,290 ERROR [    1] - Application Unexpected Error: ]

Exception has been thrown by the target of an invocation.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at NijieDownloader.UI.MemberPage.<>c__DisplayClass3.<ExecuteGetMemberCommand>b__2(MemberPage y)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
   at System.Delegate.DynamicInvokeImpl(Object[] args)
   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)  

When clicking OK, it is followed immediately by a screen-spanning program exception, which causes the program to crash fatally after clicking ok. [a few prefatory lines appearing only in the log are marked in brackets]

http://pastebin.com/W77eCkXY

[1.0.6.1] Request: Remember separate file naming options for each downloadable image organization from Nijie

In short, this is a feature I'd love to see in this software. Honestly, it's not terribly hard to work around it, and re-enter the syntax from my text file at each download..The image collections made downloadable by this software may be grouped into 3-4 broad topics of organization (by Artist, one or multiple subject or detail feature collections, as a personal bookmark collection with an uninvolved artist as the taxonomical focus, or curator), or indeed parsed into highly specific collections by individuals based on the remarkable databasing tools. As such, the ability to receive these files, organize them into a file system, and include the most relevant information in their filenames, seems like a highly powerful function that might be explored in some easy implementations.

The configuration entered in the main settings is persistent, and appears as the returning, overwriting default on the options page for each unique download. Rather than needing to change from the default every time the download page comes up, these two options strike me as allowing much more configurability with much less manual maintenance of the software by users.

a) maintain the single set of saved options in the main settings. These text entry lines could be given drop-down menus containing the previous ~5 confirmed entries, so if switching to a different mode of downloading, a few clicks would select the more appropriate option. Still a little awkward, since one needs to evaluate and possibly change the naming system each time a download is attempted, even if the entry itself is now trivial.

b) Maintain a discrete set of these 3 file naming variables in discrete Add Job option pages accessed when initiating a download from that section of the software. These could maintain their initial, default inheritance from the program's main setting, but remembering it for me the first time I changed how Tag Searches are stored would be a subtle yet elegant touch appreciated by many :3

[1.0.7.4] Bookmark feature not functioning

I encounter this error when I try to use the Bookmark feature:

Error: Error while processing my member bookmark ==> Object reference not set to an instance of an object.

Select Bookmark tab, select either Bookmark or Image from the drop-down menu, and press the Get My Bookmark button.


Secondly, there might be a couple of small UI bugs in the Batch Download section. You can click on Name, Message, and Status to sort by those categories, but if you click on #, nothing happens. I'm not sure if that is intended; intuitively, I would expect that clicking on # would put all the jobs that I have checked at the top or bottom of the list. But either way, regardless of how the job list is sorted, it doesn't seem to affect the actual queue order, and again, I'm not sure if that is intended.

404 error

i have 404, time out error, what can it be? help :(

[1.0.0.2] Bug: fetching individual images fails

Always displaying "Error: failed to process big image". Tested on image #22222.

System.NullReferenceException: Object reference not set to an instance of an object
in NijieDownloader.Library.Nijie.ParseImagePopups(NijieImage image)

[1.0.2.1] Bugs: batch download tab problems

  • If some item is selected and you press Ctrl+C, an exception occurs: System.Runtime.InteropServices.COMException (0x800401D0): OpenClipboard (HRESULT: 0x800401D0 (CLIPBRD_E_CANT_OPEN)), the item text may or may not be successfully copied to the clipboard as a result.
  • Minor annoyance: while working with member id jobs, each item height will vary from 2 to 3 lines all the time, because of duplicate Current page: x Downloaded count: x row being inserted. Just a minor annoyance.
  • Minor annoyance: there seem to be no way to start individual items, Start/Pause/Stop work globally. An ability to restart individual items would be helpful.
  • Minor annoyance: Sorting by Name seems useless because member ids are not being sorted in natural order. It goes like this: 100 - 101000 - 102 - 1030 - ... instead of 100 - 102 - 1030 - 101000 - ... I suspect same happens with images batch lists.
  • Minor annoyance: it always reports Jobs Completed, even if stopped by user, even if finished with errors.
  • Minor annoyance: a title says Process Member. Should be Batch Download or something similar maybe.

nijie.info issue

hello, there is's no way to download all images from sites without tags or artist ID???
nijie have some rarerly artist whos post only there and its really difficult too view every update day by day.

[1.0.6.1] Job queue becomes stuck if additional jobs queued during downloading

I've had a tendency to queue a few jobs, get them started downloading, then go back to the browser and do some more searching and queuing. The program tolerates this beautifully, except that the job queue becomes 'stuck' on the first of any jobs I add after I press Start and the downloads are running.

The program will complete the last of the pre-queued jobs normally, start the next normally by downloading the folder picture....but then hang as soon as it attempts an actual source image. Sometimes it is able to retrieve the the folder image, and sometimes not (checked extant)

The download manager behavior is baffling as well. The stuck job will continue to say Running (with the moving status bar)--but sometimes the Start button will remain pressed as it should, but sometimes it will pause (or stop?) while the Running/status bar still indicate.

The solution is to simply press Start (or Pause->Resume, depending on the type of failure). After that I did not find any files to be corrupted or missing.

Here are four clippings of the logs when this happened....probably nothing useful. I believe it stayed stuck on the 'processing image' or maybe 'work date' line as long as I cared to leave it.
http://pastebin.com/rh2qAxiM

[1.0.7.6] Invalid URI

This happens on seemingly random images. Happened >30 times on my batchlist (~4000 members).

2015-12-24 09:33:20,164 DEBUG [   11] - Downloading url: ... ==> ...
2015-12-24 09:33:20,683 ERROR [   12] - filenameFormat={memberId}\{imageId}{page}_{imageTitle}_{serverFilename}
System.UriFormatException: Invalid URI: The Authority/Host could not be parsed.
   in System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
   in Nandaka.Common.Util.ExtractFilenameFromUrl(String url, Boolean stripExtension)
   in NijieDownloader.UI.MainWindow.makeFilename(JobDownloadViewModel job, NijieImage image, Int32 currPage, FilenameFormatType type)

Usually followed by

[1003] Failed when renaming

1.0.7.4 and 1.0.7.5 did not have this problem, as far as I can see from the logs.

I think this error forces the app to stop processing current member job leaving it with Error status.

[1.0.8] Minor Bug in Naming

Hello,
Thanks for the tool.

It seems to always add the page number in manga even when I include {page} or {page-}. So I get duplicate.

if rule is {memberId}\{imageId}{page}; I would get this "179135_p1_p0.jpg" instead of this "179135_p1.jpg".

About downloading by tags

Hello, i have quastion, can this app download all pic from nijie by tags or title?
ex: in pixiv dwnloader, type R-18, then all pic/mang etc. will be downloaded

[1.0.7.0] Minor problem while processing with DB / Table name = NijieTags

System.Data.Entity.Infrastructure.DbUpdateException: An error occurred while updating the entries. See the inner exception for details. ---> System.Data.Entity.Core.UpdateException: An error occurred while updating the entries. See the inner exception for details. ---> System.Data.SqlServerCe.SqlCeException: A duplicate value cannot be inserted into a unique index. [ Table name = NijieTags,Constraint name = PK_dbo.NijieTags ]
   in System.Data.SqlServerCe.SqlCeCommand.ProcessResults(Int32 hr)
   in System.Data.SqlServerCe.SqlCeCommand.ExecuteCommandText(IntPtr& pCursor, Boolean& isBaseTableCursor)
   in System.Data.SqlServerCe.SqlCeCommand.ExecuteCommand(CommandBehavior behavior, String method, ResultSetOptions options)
   in System.Data.SqlServerCe.SqlCeCommand.ExecuteNonQuery()
   in System.Data.Entity.SqlServerCompact.SqlCeMultiCommand.ExecuteNonQuery()
   in System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext,TResult](TTarget target, Func`3 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed)
   in System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.NonQuery(DbCommand command, DbCommandInterceptionContext interceptionContext)
   in System.Data.Entity.Core.Mapping.Update.Internal.DynamicUpdateCommand.Execute(Dictionary`2 identifierValues, List`1 generatedValues)
   in System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update()
   ---
   in System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update()
   in System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess)
   in System.Data.Entity.Core.Objects.ObjectContext.SaveChangesToStore(SaveOptions options, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction)
   in System.Data.Entity.Core.Objects.ObjectContext.SaveChangesInternal(SaveOptions options, Boolean executeInExistingTransaction)
   in System.Data.Entity.Internal.InternalContext.SaveChanges()
   ---
   in System.Data.Entity.Internal.InternalContext.SaveChanges()
   in NijieDownloader.UI.JobRunner.SaveImageToDB(JobDownloadViewModel job, NijieImage image)

This can be seen in the log, for several images. There are no problems with files themselves.
Not sure why this happens, and I'm not using any tags in my job list.

[1.0.6.1] Request: Obtain accurate image total for searching and downloading jobs

Hopefully easy to implement in the software. At present, when searching for member images or tags, Result XX appears in the lower left, where XX is any number up to the single page submission limit of 48. Search results with 1000 submissions will still display Result 48, making it difficult to characterize the searches one performs.

When searching from the web interface, the total number of submissions (though seemingly not the total number of pages of results, if more than 9) appears in the search headings:

example search

Could this number be obtained in the API along with the first results page? This would not only give one a better idea as to the volume of a given download project, but would also:

  • Allow the easy computation of the number of pages to attempt to download, preventing the run-on process described in issue #25
  • Allow a progress percentage bar on the download page that would be somewhat indicative of the stage the project is in (though a great many submissions also have an indeterminate number of additional pages, making the %completion approximate without scanning the page value for every submission in the batch).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.