DanbooruDownloader icon indicating copy to clipboard operation
DanbooruDownloader copied to clipboard

App can`t start

Open sundevista opened this issue 4 years ago • 12 comments

When I write DanbooruDownloader dump MyDataset I see it:

2020-08-25 21:19:31.9651|INFO|DanbooruDownloader.Commands.DumpCommand|Downloading metadata ... (1 ~ )
2020-08-25 21:19:33.3554|INFO|DanbooruDownloader.Commands.DumpCommand|Checking 200 posts ...
System.AggregateException: One or more errors occurred. (Object reference not set to an instance of an object.) ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at DanbooruDownloader.Commands.DumpCommand.ConvertToPost(JObject jsonObject) in D:\Projects\Machine Learning Projects\DanbooruDownloader\DanbooruDownloader\Commands\DumpCommand.cs:line 240
   at System.Linq.Enumerable.SelectArrayIterator`2.ToArray()
   at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
   at DanbooruDownloader.Commands.DumpCommand.Run(String path, Int64 startId, Boolean ignoreHashCheck, Boolean includeDeleted) in D:\Projects\Machine Learning Projects\DanbooruDownloader\DanbooruDownloader\Commands\DumpCommand.cs:line 66
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at DanbooruDownloader.Program.<>c__DisplayClass0_1.<Main>b__2() in D:\Projects\Machine Learning Projects\DanbooruDownloader\DanbooruDownloader\Program.cs:line 46
   at Microsoft.Extensions.CommandLineUtils.CommandLineApplication.Execute(String[] args)
   at DanbooruDownloader.Program.Main(String[] args) in D:\Projects\Machine Learning Projects\DanbooruDownloader\DanbooruDownloader\Program.cs:line 59
---> (Inner Exception #0) System.NullReferenceException: Object reference not set to an instance of an object.
   at DanbooruDownloader.Commands.DumpCommand.ConvertToPost(JObject jsonObject) in D:\Projects\Machine Learning Projects\DanbooruDownloader\DanbooruDownloader\Commands\DumpCommand.cs:line 240
   at System.Linq.Enumerable.SelectArrayIterator`2.ToArray()
   at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
   at DanbooruDownloader.Commands.DumpCommand.Run(String path, Int64 startId, Boolean ignoreHashCheck, Boolean includeDeleted) in D:\Projects\Machine Learning Projects\DanbooruDownloader\DanbooruDownloader\Commands\DumpCommand.cs:line 66<--

sundevista avatar Aug 25 '20 18:08 sundevista

The same.

undefined-moe avatar Sep 29 '20 15:09 undefined-moe

Seems to work fine if built from source. I used .NET Core 3.1 to compile the application, as 2.2.0 has reached end of life status.

evanjs avatar Oct 25 '20 02:10 evanjs

the same

hackwellfox avatar Jan 21 '21 15:01 hackwellfox

Release files is not up to date.

RyouMon avatar Jun 26 '21 01:06 RyouMon

I'm closing the issue because project's abandoned

sundevista avatar Jun 13 '22 16:06 sundevista

Even if projects abandonned, you shouldnt close the issue.

ghost avatar Jul 31 '22 22:07 ghost

Even if projects abandonned, you shouldnt close the issue.

Developer will not fix it. This error will not be fixed even somebody does pull request.

sundevista avatar Aug 01 '22 07:08 sundevista

Yes but that would help new people see that the project is abandonned if there is lots of issue opened for years. Else it looks like its working just fine.

ghost avatar Aug 01 '22 16:08 ghost

Also, i just downloaded and compiled the project and it works correctly. Only the release is outdated

ghost avatar Aug 02 '22 08:08 ghost

I compiled it but it keeps exiting whenever I run it. How do I fix it? I never worked with .NET before

MarisaCodes avatar Dec 04 '22 09:12 MarisaCodes

Sorry its been too long i have no idea how to help :/

ghost avatar Dec 08 '22 21:12 ghost

what is the error you are getting @MarisaCodes ?

nemson-source avatar Apr 10 '23 19:04 nemson-source