TumblThreeApp / TumblThree

A Tumblr and Twitter Blog Backup Application
https://TumblThreeApp.github.io
MIT License
623 stars 75 forks source link

Bug: Error while downloading my own likes #517

Closed thomas694 closed 6 months ago

thomas694 commented 8 months ago

The following has been submitted:

I'm trying to download my likes (https://www.tumblr.com/likes) but the download process stops unexpectedly after around 600 posts despite many (over 10k) more being available. A look in the log file shows this:

20240308 13:20:03.593 Inf TumblThree start 20240308 13:20:03.593 Inf AppPath: C:\Users\\Desktop\TumblThree 20240308 13:20:03.609 Inf AppSettingsPath: C:\Users\\AppData\Local\TumblThree\Settings 20240308 13:20:03.609 Inf LogFilename: C:\Users\\AppData\Local\TumblThree\TumblThree.log 20240308 13:20:03.609 Inf Version: 2.12.0.438 20240308 13:20:03.609 Inf IsLongPathSupported: False 20240308 13:21:02.288 Err LoginService.GetTumblrUsernameAsync: System.InvalidOperationException: CoreWebView2 members cannot be accessed after the WebView2 control is disposed. ---> System.Runtime.InteropServices.COMException: Die Gruppe oder Ressource haben für diesen Vorgang nicht den richtigen Zustand. (Exception from HRESULT: 0x8007139F) at Microsoft.Web.WebView2.Core.Raw.ICoreWebView2.ExecuteScript(String javaScript, ICoreWebView2ExecuteScriptCompletedHandler handler) at Microsoft.Web.WebView2.Core.CoreWebView2.d178.MoveNext() --- End of inner exception stack trace --- at Microsoft.Web.WebView2.Core.CoreWebView2.d178.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at TumblThree.Presentation.Views.AuthenticateView.d17.MoveNext() in C:\projects\Tumblthree\src\TumblThree\TumblThree.Presentation\Views\AuthenticateView.xaml.cs:line 141 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at TumblThree.Applications.Services.LoginService.d20.MoveNext() in C:\projects\Tumblthree\src\TumblThree\TumblThree.Applications\Services\LoginService.cs:line 276 20240308 13:21:02.319 Err SettingsViewModel.UpdateLoginAsync: System.InvalidOperationException: CoreWebView2 members cannot be accessed after the WebView2 control is disposed. ---> System.Runtime.InteropServices.COMException: Die Gruppe oder Ressource haben für diesen Vorgang nicht den richtigen Zustand. (Exception from HRESULT: 0x8007139F) at Microsoft.Web.WebView2.Core.Raw.ICoreWebView2.ExecuteScript(String javaScript, ICoreWebView2ExecuteScriptCompletedHandler handler) at Microsoft.Web.WebView2.Core.CoreWebView2.d178.MoveNext() --- End of inner exception stack trace --- at Microsoft.Web.WebView2.Core.CoreWebView2.d178.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at TumblThree.Presentation.Views.AuthenticateView.d17.MoveNext() in C:\projects\Tumblthree\src\TumblThree\TumblThree.Presentation\Views\AuthenticateView.xaml.cs:line 141 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at TumblThree.Applications.Services.LoginService.d20.MoveNext() in C:\projects\Tumblthree\src\TumblThree\TumblThree.Applications\Services\LoginService.cs:line 294 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at TumblThree.Applications.ViewModels.SettingsViewModel.d508.MoveNext() in C:\projects\Tumblthree\src\TumblThree\TumblThree.Applications\ViewModels\SettingsViewModel.cs:line 1173 20240308 13:21:23.715 Err TumblrLikedByCrawler:CrawlPageAsync: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource) at System.Collections.Generic.List1.get_Item(Int32 index) at TumblThree.Applications.Crawler.TumblrLikedByCrawler.DownloadText(Data post, Post data) in C:\projects\Tumblthree\src\TumblThree\TumblThree.Applications\Crawler\TumblrLikedByCrawler.cs:line 477 at TumblThree.Applications.Crawler.TumblrLikedByCrawler.<DownloadPage>d__23.MoveNext() in C:\projects\Tumblthree\src\TumblThree\TumblThree.Applications\Crawler\TumblrLikedByCrawler.cs:line 392 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at TumblThree.Applications.Crawler.TumblrLikedByCrawler.<CrawlPageAsync>d__16.MoveNext() in C:\projects\Tumblthree\src\TumblThree\TumblThree.Applications\Crawler\TumblrLikedByCrawler.cs:line 220 20240308 13:21:35.925 Err TumblrLikedByCrawler:CrawlPageAsync: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource) at System.Collections.Generic.List1.get_Item(Int32 index) at TumblThree.Applications.Crawler.TumblrLikedByCrawler.DownloadText(Data post, Post data) in C:\projects\Tumblthree\src\TumblThree\TumblThree.Applications\Crawler\TumblrLikedByCrawler.cs:line 477 at TumblThree.Applications.Crawler.TumblrLikedByCrawler.d23.MoveNext() in C:\projects\Tumblthree\src\TumblThree\TumblThree.Applications\Crawler\TumblrLikedByCrawler.cs:line 392 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at TumblThree.Applications.Crawler.TumblrLikedByCrawler.d16.MoveNext() in C:\projects\Tumblthree\src\TumblThree\TumblThree.Applications\Crawler\TumblrLikedByCrawler.cs:line 220 20240308 13:21:55.236 Err TumblrLikedByCrawler:CrawlPageAsync: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource) at System.Collections.Generic.List1.get_Item(Int32 index) at TumblThree.Applications.Crawler.TumblrLikedByCrawler.DownloadText(Data post, Post data) in C:\projects\Tumblthree\src\TumblThree\TumblThree.Applications\Crawler\TumblrLikedByCrawler.cs:line 477 at TumblThree.Applications.Crawler.TumblrLikedByCrawler.<DownloadPage>d__23.MoveNext() in C:\projects\Tumblthree\src\TumblThree\TumblThree.Applications\Crawler\TumblrLikedByCrawler.cs:line 392 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at TumblThree.Applications.Crawler.TumblrLikedByCrawler.<CrawlPageAsync>d__16.MoveNext() in C:\projects\Tumblthree\src\TumblThree\TumblThree.Applications\Crawler\TumblrLikedByCrawler.cs:line 220 20240308 13:22:49.260 Err TumblrLikedByCrawler:CrawlPageAsync: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource) at System.Collections.Generic.List1.get_Item(Int32 index) at TumblThree.Applications.Crawler.TumblrLikedByCrawler.DownloadText(Data post, Post data) in C:\projects\Tumblthree\src\TumblThree\TumblThree.Applications\Crawler\TumblrLikedByCrawler.cs:line 477 at TumblThree.Applications.Crawler.TumblrLikedByCrawler.d23.MoveNext() in C:\projects\Tumblthree\src\TumblThree\TumblThree.Applications\Crawler\TumblrLikedByCrawler.cs:line 392 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at TumblThree.Applications.Crawler.TumblrLikedByCrawler.d__16.MoveNext() in C:\projects\Tumblthree\src\TumblThree\TumblThree.Applications\Crawler\TumblrLikedByCrawler.cs:line 220

Kind Regards