home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
SubCentral
SubtitleDownloader
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="seco" data-source="post: 1036423" data-attributes="member: 54595"><p>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.</p><p></p><p>[CODE]</p><p>26-Oct-2013 23:09:19.174 Error [ SubCentralCore]: SubtitleDownloader: error getting providers</p><p> 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'</p><p> at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)</p><p> at System.Net.HttpWebRequest.GetRequestStream()</p><p> at SratimUtils.SratimDownloaderConfiguration.DoWebRequest(String url, String postData, CookieContainer cookieContainer)</p><p> at SratimUtils.SratimDownloaderConfiguration.GetCookieDataFromLoginData(LoginData loginData)</p><p> at SratimUtils.SratimDownloaderConfiguration.ValidateCredentials(String email, String password)</p><p> at Sratim.SratimDownloader.Init()</p><p> at Sratim.SratimDownloader..ctor()</p><p> --- End of inner exception stack trace ---</p><p>[/CODE]</p><p></p><p>To fix this I would probably remove this kind of initialization code from the constructror.</p></blockquote><p></p>
[QUOTE="seco, post: 1036423, member: 54595"] 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 --- [/CODE] To fix this I would probably remove this kind of initialization code from the constructror. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
SubCentral
SubtitleDownloader
Contact us
RSS
Top
Bottom