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
[Plugin] BBC Weather
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="Jay_UK" data-source="post: 813102" data-attributes="member: 98509"><p>Hello mate,</p><p></p><p>I have recently installed your latest version onto my 1.2.1 install, but have an annoying issue <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite3" alt=":(" title="Frown :(" loading="lazy" data-shortname=":(" /></p><p></p><p>When my HTPC sleeps and then wakes, MePo crashes (client only, not TV server).</p><p></p><p>The error.log contains:</p><p></p><p>2011-11-21 20:22:40.580003 [ERROR][(10)]: plugin: BBCWeather - error downloading weather, no internet connection</p><p>2011-11-21 20:22:40.580003 [ERROR][(10)]: plugin: BBCWeather - error downloading weather, no internet connection</p><p>2011-11-21 20:22:40.581003 [ERROR][(10)]: plugin: BBCWeather - error downloading weather, no internet connection</p><p>2011-11-21 20:22:40.581003 [ERROR][(10)]: plugin: BBCWeather - error downloading weather, no internet connection</p><p>2011-11-21 20:22:40.583003 [ERROR][(10)]: plugin: BBCWeather - error downloading weather, no internet connection</p><p>2011-11-21 20:22:40.583003 [ERROR][(10)]: plugin: BBCWeather - error downloading weather, no internet connection</p><p>2011-11-21 20:22:40.583003 [ERROR][(10)]: plugin: BBCWeather - error downloading weather, no internet connection</p><p>2011-11-21 20:22:40.584004 [ERROR][(10)]: plugin: BBCWeather - error downloading weather, no internet connection</p><p>2011-11-21 20:22:40.584004 [ERROR][(10)]: plugin: BBCWeather - error downloading weather, no internet connection</p><p>2011-11-21 20:23:00.031931 [ERROR][(10)]: MediaPortal: Unhandled exception occured</p><p>2011-11-21 20:23:00.046932 [ERROR][(10)]: Exception <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite5" alt=":confused:" title="Confused :confused:" loading="lazy" data-shortname=":confused:" />ystem.Net.WebException: The remote name could not be resolved: 'news.bbc.co.uk'</p><p> at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)</p><p> at System.Net.WebClient.DownloadString(Uri address)</p><p> at System.Net.WebClient.DownloadString(String address)</p><p> at BBCWeather.BBCWeatherPlugin.ParseRegionName()</p><p> at BBCWeather.BBCWeatherPlugin.DownloadAll()</p><p> at BBCWeather.BBCWeatherPlugin.RefreshMe()</p><p> at BBCWeather.BBCWeatherPlugin._Lambda$__1(Object a0)</p><p> at System.Threading._TimerCallback.TimerCallback_Context(Object state)</p><p> at System.Threading.ExecutionContext.runTryCode(Object userData)</p><p> at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)</p><p> at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)</p><p> at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)</p><p> at System.Threading._TimerCallback.PerformTimerCallback(Object state)</p><p>2011-11-21 20:23:00.046932 [ERROR][(10)]: Exception :The remote name could not be resolved: 'news.bbc.co.uk'</p><p>2011-11-21 20:23:00.047932 [ERROR][(10)]: site :Byte[] DownloadDataInternal(System.Uri, System.Net.WebRequest ByRef)</p><p>2011-11-21 20:23:00.047932 [ERROR][(10)]: source <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite5" alt=":confused:" title="Confused :confused:" loading="lazy" data-shortname=":confused:" />ystem</p><p>2011-11-21 20:23:00.048932 [ERROR][(10)]: stacktrace: at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)</p><p> at System.Net.WebClient.DownloadString(Uri address)</p><p> at System.Net.WebClient.DownloadString(String address)</p><p> at BBCWeather.BBCWeatherPlugin.ParseRegionName()</p><p> at BBCWeather.BBCWeatherPlugin.DownloadAll()</p><p> at BBCWeather.BBCWeatherPlugin.RefreshMe()</p><p> at BBCWeather.BBCWeatherPlugin._Lambda$__1(Object a0)</p><p> at System.Threading._TimerCallback.TimerCallback_Context(Object state)</p><p> at System.Threading.ExecutionContext.runTryCode(Object userData)</p><p> at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)</p><p> at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)</p><p> at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)</p><p> at System.Threading._TimerCallback.PerformTimerCallback(Object state)</p><p></p><p>I am assuming the plugin is trying to connect to the web/DNS before my NIC has woke up and connected ok. I have my OS configured (reg hack) to ignore link state on the NIC (such that TV server doesn't die if my switch/switch is rebooted).</p><p></p><p>I assume the plugin should be able to handle this (and definately shouldn't crash out MePo itself)?</p><p></p><p>Any chance you could have a look at the exception handling?? <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p><p></p><p>Cheers,</p><p></p><p>J. <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite8" alt=":D" title="Big Grin :D" loading="lazy" data-shortname=":D" /></p></blockquote><p></p>
[QUOTE="Jay_UK, post: 813102, member: 98509"] Hello mate, I have recently installed your latest version onto my 1.2.1 install, but have an annoying issue :( When my HTPC sleeps and then wakes, MePo crashes (client only, not TV server). The error.log contains: 2011-11-21 20:22:40.580003 [ERROR][(10)]: plugin: BBCWeather - error downloading weather, no internet connection 2011-11-21 20:22:40.580003 [ERROR][(10)]: plugin: BBCWeather - error downloading weather, no internet connection 2011-11-21 20:22:40.581003 [ERROR][(10)]: plugin: BBCWeather - error downloading weather, no internet connection 2011-11-21 20:22:40.581003 [ERROR][(10)]: plugin: BBCWeather - error downloading weather, no internet connection 2011-11-21 20:22:40.583003 [ERROR][(10)]: plugin: BBCWeather - error downloading weather, no internet connection 2011-11-21 20:22:40.583003 [ERROR][(10)]: plugin: BBCWeather - error downloading weather, no internet connection 2011-11-21 20:22:40.583003 [ERROR][(10)]: plugin: BBCWeather - error downloading weather, no internet connection 2011-11-21 20:22:40.584004 [ERROR][(10)]: plugin: BBCWeather - error downloading weather, no internet connection 2011-11-21 20:22:40.584004 [ERROR][(10)]: plugin: BBCWeather - error downloading weather, no internet connection 2011-11-21 20:23:00.031931 [ERROR][(10)]: MediaPortal: Unhandled exception occured 2011-11-21 20:23:00.046932 [ERROR][(10)]: Exception :System.Net.WebException: The remote name could not be resolved: 'news.bbc.co.uk' at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request) at System.Net.WebClient.DownloadString(Uri address) at System.Net.WebClient.DownloadString(String address) at BBCWeather.BBCWeatherPlugin.ParseRegionName() at BBCWeather.BBCWeatherPlugin.DownloadAll() at BBCWeather.BBCWeatherPlugin.RefreshMe() at BBCWeather.BBCWeatherPlugin._Lambda$__1(Object a0) at System.Threading._TimerCallback.TimerCallback_Context(Object state) at System.Threading.ExecutionContext.runTryCode(Object userData) at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading._TimerCallback.PerformTimerCallback(Object state) 2011-11-21 20:23:00.046932 [ERROR][(10)]: Exception :The remote name could not be resolved: 'news.bbc.co.uk' 2011-11-21 20:23:00.047932 [ERROR][(10)]: site :Byte[] DownloadDataInternal(System.Uri, System.Net.WebRequest ByRef) 2011-11-21 20:23:00.047932 [ERROR][(10)]: source :System 2011-11-21 20:23:00.048932 [ERROR][(10)]: stacktrace: at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request) at System.Net.WebClient.DownloadString(Uri address) at System.Net.WebClient.DownloadString(String address) at BBCWeather.BBCWeatherPlugin.ParseRegionName() at BBCWeather.BBCWeatherPlugin.DownloadAll() at BBCWeather.BBCWeatherPlugin.RefreshMe() at BBCWeather.BBCWeatherPlugin._Lambda$__1(Object a0) at System.Threading._TimerCallback.TimerCallback_Context(Object state) at System.Threading.ExecutionContext.runTryCode(Object userData) at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading._TimerCallback.PerformTimerCallback(Object state) I am assuming the plugin is trying to connect to the web/DNS before my NIC has woke up and connected ok. I have my OS configured (reg hack) to ignore link state on the NIC (such that TV server doesn't die if my switch/switch is rebooted). I assume the plugin should be able to handle this (and definately shouldn't crash out MePo itself)? Any chance you could have a look at the exception handling?? :) Cheers, J. :thx: [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
[Plugin] BBC Weather
Contact us
RSS
Top
Bottom