KichangKim / DanbooruDownloader

Danbooru image downloader.
MIT License
142 stars 25 forks source link

App can`t start #4

Open sundevista opened 3 years ago

sundevista commented 3 years ago

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<--
undefined-moe commented 3 years ago

The same.

evanjs commented 3 years ago

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.

hackwellfox commented 3 years ago

the same

RyouMon commented 3 years ago

Release files is not up to date.

sundevista commented 2 years ago

I'm closing the issue because project's abandoned

ghost commented 1 year ago

Even if projects abandonned, you shouldnt close the issue.

sundevista commented 1 year ago

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.

ghost commented 1 year ago

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 commented 1 year ago

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

MarisaCodes commented 1 year ago

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

ghost commented 1 year ago

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

nemson-source commented 1 year ago

what is the error you are getting @MarisaCodes ?