Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] #106

Open
shakibhasan009 opened this issue Mar 16, 2024 · 0 comments
Open

[BUG] #106

shakibhasan009 opened this issue Mar 16, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@shakibhasan009
Copy link

Describe the bug
Excercise file does not download automatically instead everytime its create 1KB zip file.

Operating System
Windows 11

Log File
2024-03-16 09:19:32.601 +06:00 [INF] Setting key value for icon in registry
2024-03-16 09:19:32.649 +06:00 [INF] Current exe path : C:/Users/Shaki/AppData/Local/Linkedin-Learning-Courses-Downloader/app-1.2.0/Linkedin-Learning-Courses-Downloader.exe
2024-03-16 09:19:32.649 +06:00 [INF] Key value for icon is set successfully
2024-03-16 09:19:32.649 +06:00 [INF] Restoring config file
2024-03-16 09:19:32.649 +06:00 [INF] No config file to restore is found
2024-03-16 09:19:33.742 +06:00 [INF] No Config is found
2024-03-16 09:19:34.940 +06:00 [INF] Checking for updates...
2024-03-16 09:19:36.698 +06:00 [INF] No updates detected.
2024-03-16 09:22:34.317 +06:00 [INF] Validating Input
2024-03-16 09:22:36.275 +06:00 [INF] Input Valid
2024-03-16 09:37:22.648 +06:00 [INF] Validating Input
2024-03-16 09:37:24.734 +06:00 [INF] Input Valid
2024-03-16 09:44:22.131 +06:00 [INF] Validating Input
2024-03-16 09:44:24.173 +06:00 [INF] Input Valid
2024-03-16 11:24:33.440 +06:00 [INF] Validating Input
2024-03-16 11:24:35.457 +06:00 [INF] Input Valid
2024-03-16 13:29:22.937 +06:00 [INF] Validating Input
2024-03-16 13:29:25.011 +06:00 [INF] Input Valid
2024-03-16 13:37:53.132 +06:00 [ERR] Course Extraction Failedhttps://www.linkedin.com/learning/introduction-to-prompt-engineering-for-generative-ai -- https://www.linkedin.com/learning/ai-productivity-hacks-to-reimagine-your-workday-and-career -- https://www.linkedin.com/learning/generative-ai-skills-for-creative-content-opportunities-issues-and-ethics -- https://www.linkedin.com/learning/excel-with-copilot-ai-driven-data-analysis -- https://www.linkedin.com/learning/how-to-research-and-write-using-generative-ai-tools -- https://www.linkedin.com/learning/chatgpt-prompts-for-small-businesses -- https://www.linkedin.com/learning/how-to-boost-your-productivity-with-ai-tools -- https://www.linkedin.com/learning/chatgpt-prompts-for-jobseekers -- https://www.linkedin.com/learning/using-ai-as-your-seo-assistant -- https://www.linkedin.com/learning/generative-ai-for-business-leaders -- https://www.linkedin.com/learning/artificial-intelligence-for-students -- https://www.linkedin.com/learning/gpt-4-foundations-building-ai-powered-apps -- https://www.linkedin.com/learning/ai-trends/ -- https://www.linkedin.com/learning/building-apps-with-ai-tools-chatgpt-semantic-kernel-and-langchain
System.ArgumentException: Failed to extract a course video. The provided token is probably invalid
at LLCD.CourseExtractor.Extractor.d__15.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at LLCD.DownloaderGUI.MainForm.d__7.MoveNext()
2024-03-16 13:39:49.073 +06:00 [INF] Validating Input
2024-03-16 13:39:52.204 +06:00 [INF] Input Valid
2024-03-16 14:28:57.834 +06:00 [ERR] Failed to download video with title Limitations in creativity and capabilities
System.AggregateException: One or more errors occurred. ---> System.IO.IOException: Unable to read data from the transport connection: An established connection was aborted by the software in your host machine. ---> System.Net.Sockets.SocketException: An established connection was aborted by the software in your host machine
at System.Net.Sockets.Socket.EndReceive(IAsyncResult asyncResult)
at System.Net.Sockets.NetworkStream.EndRead(IAsyncResult asyncResult)
--- End of inner exception stack trace ---
at System.Net.ConnectStream.EndRead(IAsyncResult asyncResult)
at System.IO.Stream.<>c.b__43_1(Stream stream, IAsyncResult asyncResult)
at System.Threading.Tasks.TaskFactory1.FromAsyncTrimPromise1.Complete(TInstance thisRef, Func3 endMethod, IAsyncResult asyncResult, Boolean requiresSynchronization) --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Net.Http.HttpClientHandler.WebExceptionWrapperStream.<ReadAsync>d__4.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task) at LLCD.DownloaderGUI.Downloader.<DownloadFileAsync>d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at LLCD.DownloaderGUI.DownloaderForm.<>c__DisplayClass16_2.<<DownloadCourse>b__1>d.MoveNext() --- End of inner exception stack trace --- at LLCD.CourseExtractor.Retry.<Do>d__3.MoveNext() ---> (Inner Exception #0) System.IO.IOException: Unable to read data from the transport connection: An established connection was aborted by the software in your host machine. ---> System.Net.Sockets.SocketException: An established connection was aborted by the software in your host machine at System.Net.Sockets.Socket.EndReceive(IAsyncResult asyncResult) at System.Net.Sockets.NetworkStream.EndRead(IAsyncResult asyncResult) --- End of inner exception stack trace --- at System.Net.ConnectStream.EndRead(IAsyncResult asyncResult) at System.IO.Stream.<>c.<BeginEndReadAsync>b__43_1(Stream stream, IAsyncResult asyncResult) at System.Threading.Tasks.TaskFactory1.FromAsyncTrimPromise1.Complete(TInstance thisRef, Func3 endMethod, IAsyncResult asyncResult, Boolean requiresSynchronization)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Net.Http.HttpClientHandler.WebExceptionWrapperStream.d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at LLCD.DownloaderGUI.Downloader.d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at LLCD.DownloaderGUI.DownloaderForm.<>c__DisplayClass16_2.<b__1>d.MoveNext()<---

2024-03-16 14:28:57.857 +06:00 [INF] Running Action on Error
2024-03-16 14:28:57.862 +06:00 [ERR] Trying again 1
2024-03-16 14:28:57.919 +06:00 [ERR] Failed to download video with title Limitations in creativity and capabilities
System.AggregateException: One or more errors occurred. ---> System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The remote name could not be resolved: 'dms.licdn.com'
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)
--- End of inner exception stack trace ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at LLCD.DownloaderGUI.Downloader.d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at LLCD.DownloaderGUI.DownloaderForm.<>c__DisplayClass16_2.<b__1>d.MoveNext()
--- End of inner exception stack trace ---
at LLCD.CourseExtractor.Retry.d__3.MoveNext()
---> (Inner Exception #0) System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The remote name could not be resolved: 'dms.licdn.com'
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)
--- End of inner exception stack trace ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at LLCD.DownloaderGUI.Downloader.d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at LLCD.DownloaderGUI.DownloaderForm.<>c__DisplayClass16_2.<b__1>d.MoveNext()<---

2024-03-16 14:28:57.920 +06:00 [INF] Running Action on Error
2024-03-16 14:28:57.921 +06:00 [ERR] Trying again 2
2024-03-16 14:28:57.923 +06:00 [ERR] Failed to download video with title Limitations in creativity and capabilities
System.AggregateException: One or more errors occurred. ---> System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The remote name could not be resolved: 'dms.licdn.com'
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)
--- End of inner exception stack trace ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at LLCD.DownloaderGUI.Downloader.d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at LLCD.DownloaderGUI.DownloaderForm.<>c__DisplayClass16_2.<b__1>d.MoveNext()
--- End of inner exception stack trace ---
at LLCD.CourseExtractor.Retry.d__3.MoveNext()
---> (Inner Exception #0) System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The remote name could not be resolved: 'dms.licdn.com'
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)
--- End of inner exception stack trace ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at LLCD.DownloaderGUI.Downloader.d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at LLCD.DownloaderGUI.DownloaderForm.<>c__DisplayClass16_2.<b__1>d.MoveNext()<---

2024-03-16 14:28:57.923 +06:00 [INF] Running Action on Error
2024-03-16 14:28:57.924 +06:00 [ERR] Trying again 3
2024-03-16 14:28:57.926 +06:00 [ERR] Failed to download video with title Limitations in creativity and capabilities
System.AggregateException: One or more errors occurred. ---> System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The remote name could not be resolved: 'dms.licdn.com'
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)
--- End of inner exception stack trace ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at LLCD.DownloaderGUI.Downloader.d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at LLCD.DownloaderGUI.DownloaderForm.<>c__DisplayClass16_2.<b__1>d.MoveNext()
--- End of inner exception stack trace ---
at LLCD.CourseExtractor.Retry.d__3.MoveNext()
---> (Inner Exception #0) System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The remote name could not be resolved: 'dms.licdn.com'
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)
--- End of inner exception stack trace ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at LLCD.DownloaderGUI.Downloader.d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at LLCD.DownloaderGUI.DownloaderForm.<>c__DisplayClass16_2.<b__1>d.MoveNext()<---

2024-03-16 14:28:57.926 +06:00 [INF] Running Action on Error
2024-03-16 14:28:57.927 +06:00 [ERR] Trying again 4
2024-03-16 14:28:57.929 +06:00 [ERR] Failed to download video with title Limitations in creativity and capabilities
System.AggregateException: One or more errors occurred. ---> System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The remote name could not be resolved: 'dms.licdn.com'
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)
--- End of inner exception stack trace ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at LLCD.DownloaderGUI.Downloader.d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at LLCD.DownloaderGUI.DownloaderForm.<>c__DisplayClass16_2.<b__1>d.MoveNext()
--- End of inner exception stack trace ---
at LLCD.CourseExtractor.Retry.d__3.MoveNext()
---> (Inner Exception #0) System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The remote name could not be resolved: 'dms.licdn.com'
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)
--- End of inner exception stack trace ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at LLCD.DownloaderGUI.Downloader.d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at LLCD.DownloaderGUI.DownloaderForm.<>c__DisplayClass16_2.<b__1>d.MoveNext()<---

2024-03-16 14:28:57.929 +06:00 [INF] Running Action on Error
2024-03-16 14:28:57.929 +06:00 [ERR] Trying again 5
2024-03-16 14:28:57.929 +06:00 [FTL] Error occured 5 times without being resolved
2024-03-16 14:28:57.929 +06:00 [INF] Running action on fatal
2024-03-16 14:32:36.929 +06:00 [INF] Validating Input
2024-03-16 14:32:39.138 +06:00 [INF] Input Valid
2024-03-16 15:56:20.943 +06:00 [INF] Validating Input
2024-03-16 15:56:24.041 +06:00 [INF] Input Valid
2024-03-16 15:57:35.218 +06:00 [ERR] Course Extraction Failedhttps://www.linkedin.com/learning/how-to-research-and-write-using-generative-ai-tools -- https://www.linkedin.com/learning/chatgpt-prompts-for-small-businesses -- https://www.linkedin.com/learning/how-to-boost-your-productivity-with-ai-tools -- https://www.linkedin.com/learning/chatgpt-prompts-for-jobseekers -- https://www.linkedin.com/learning/using-ai-as-your-seo-assistant -- https://www.linkedin.com/learning/generative-ai-for-business-leaders -- https://www.linkedin.com/learning/artificial-intelligence-for-students -- https://www.linkedin.com/learning/gpt-4-foundations-building-ai-powered-apps -- https://www.linkedin.com/learning/ai-trends/ -- https://www.linkedin.com/learning/building-apps-with-ai-tools-chatgpt-semantic-kernel-and-langchain
System.ArgumentException: Failed to extract a course video. The provided token is probably invalid
at LLCD.CourseExtractor.Extractor.d__15.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at LLCD.DownloaderGUI.MainForm.d__7.MoveNext()
2024-03-16 16:48:39.408 +06:00 [INF] Restoring config file
2024-03-16 16:48:39.487 +06:00 [INF] No config file to restore is found
2024-03-16 16:48:40.831 +06:00 [INF] Acquired data from config
2024-03-16 16:48:41.598 +06:00 [INF] Checking for updates...
2024-03-16 16:48:43.980 +06:00 [INF] No updates detected.

@shakibhasan009 shakibhasan009 added the bug Something isn't working label Mar 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants