Hi @seco,
I understand that 3.0.10 suppose to fix an issue where DLL is missing. I still experiencing this from time to time...
Need full debug logs to confirm..
See attached. I've installed the SubtitleDowloader from within the MP, so you'll probably need to look at the SubCentral.log.bak & MediaPortal.1.log
(The MP-error files were empty)
Edit: These are files from the log folder. If you need full logs, I'll do it tonight.
26-Oct-2013 23:09:19.174 Error [ SubCentralCore]: SubtitleDownloader: error getting providers
System.TypeInitializationException: The type initializer for 'SubtitleDownloader.Core.SubtitleDownloaderFactory' threw an exception. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Net.WebException: The remote name could not be resolved: 'www.subtitle.co.il'
at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
at System.Net.HttpWebRequest.GetRequestStream()
at SratimUtils.SratimDownloaderConfiguration.DoWebRequest(String url, String postData, CookieContainer cookieContainer)
at SratimUtils.SratimDownloaderConfiguration.GetCookieDataFromLoginData(LoginData loginData)
at SratimUtils.SratimDownloaderConfiguration.ValidateCredentials(String email, String password)
at Sratim.SratimDownloader.Init()
at Sratim.SratimDownloader..ctor()
--- End of inner exception stack trace ---
See attached. I've installed the SubtitleDowloader from within the MP, so you'll probably need to look at the SubCentral.log.bak & MediaPortal.1.log
(The MP-error files were empty)
Edit: These are files from the log folder. If you need full logs, I'll do it tonight.
Only error I can see is coming from Sratim.SratimDownloader constructor where a failed connection is made to the site. Since this happens at construction phase the whole library seems to fail to initialize.
Code:26-Oct-2013 23:09:19.174 Error [ SubCentralCore]: SubtitleDownloader: error getting providers System.TypeInitializationException: The type initializer for 'SubtitleDownloader.Core.SubtitleDownloaderFactory' threw an exception. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Net.WebException: The remote name could not be resolved: 'www.subtitle.co.il' at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context) at System.Net.HttpWebRequest.GetRequestStream() at SratimUtils.SratimDownloaderConfiguration.DoWebRequest(String url, String postData, CookieContainer cookieContainer) at SratimUtils.SratimDownloaderConfiguration.GetCookieDataFromLoginData(LoginData loginData) at SratimUtils.SratimDownloaderConfiguration.ValidateCredentials(String email, String password) at Sratim.SratimDownloader.Init() at Sratim.SratimDownloader..ctor() --- End of inner exception stack trace ---
To fix this I would probably remove this kind of initialization code from the constructror.
hi,
I can not use component (subtitledownloader.dll)
Can someone give me a sample source code? (vb.net or c#)
hi,
I can not use component (subtitledownloader.dll)
Can someone give me a sample source code? (vb.net or c#)
Only error I can see is coming from Sratim.SratimDownloader constructor where a failed connection is made to the site. Since this happens at construction phase the whole library seems to fail to initialize.
Code:26-Oct-2013 23:09:19.174 Error [ SubCentralCore]: SubtitleDownloader: error getting providers System.TypeInitializationException: The type initializer for 'SubtitleDownloader.Core.SubtitleDownloaderFactory' threw an exception. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Net.WebException: The remote name could not be resolved: 'www.subtitle.co.il' at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context) at System.Net.HttpWebRequest.GetRequestStream() at SratimUtils.SratimDownloaderConfiguration.DoWebRequest(String url, String postData, CookieContainer cookieContainer) at SratimUtils.SratimDownloaderConfiguration.GetCookieDataFromLoginData(LoginData loginData) at SratimUtils.SratimDownloaderConfiguration.ValidateCredentials(String email, String password) at Sratim.SratimDownloader.Init() at Sratim.SratimDownloader..ctor() --- End of inner exception stack trace ---
To fix this I would probably remove this kind of initialization code from the constructror.
hi,
I can not use component (subtitledownloader.dll)
Can someone give me a sample source code? (vb.net or c#)
How about reading the first post second time?
i want search and download subtitle from subscenhi,
I can not use component (subtitledownloader.dll)
Can someone give me a sample source code? (vb.net or c#)
My project is here:
https://code.google.com/p/hebrewsubtitledownloader
It contains 2 implementations of the interface. It also function as an extension (with subcentral as dependency)