|
SageTV Customizations This forums is for discussing and sharing user-created modifications for the SageTV application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss customizations for SageTV version 6 and earlier, or for the SageTV3 UI. |
|
Thread Tools | Search this Thread | Display Modes |
#481
|
|||
|
|||
Weather Report Suite Problem
Have a problem with Weather Report Suite. I've installed and reinstalled nielm stv many times now, but the WRS has never worked 100%. I've tried all default configuration and some that have been posted on this forum, but the same happends every time. The WRS starts without any error messages and open the local conditions view. But without any information at all. (see attachment) This happens with forecast view aswell. But all the other views: radars, maps etc are downloaded and working. Can anyone help me with this?
|
#482
|
||||
|
||||
What version of the Java runtime are you guys with forecast/conditions display problems using?
|
#483
|
||||
|
||||
Henki, Methius and DIBU,
The only time I have been able to reproduce the screenshot you all sent (they are all the same after all) is if my weather.com location ID is not correct... This will cause the forecast and current conditions to fail to retrieve the information from weather.com Can you recheck your weatherconfig.xml... (perhaps try the default one just to check? Eg: Henki, for london, you should have the location defined as: Code:
<location name="London" label="London"> <weathersourceinfo id="UKXX0085"/> </location> To check that you have the correct location ID, put it at the end of this URL in your web browser: http://www.weather.com/weather/local/ To find your location ID, search for your city in www.weather.com, and you will be taken to a URL of something like: Code:
www.weather.com/outlook/travel/local/BEXX0005?from=search_city Last edited by nielm; 10-26-2004 at 05:57 PM. |
#484
|
||||
|
||||
Quote:
T. |
#485
|
|||
|
|||
Same for me. I use Nielm's latest release (still the best STV IMO) and your module on 2.1RC5 and it's perfectly fine.
peace . . . Quote:
__________________
PVR user since the late 1900's . . . |
#486
|
||||
|
||||
:-/
I'm using Sage 2 with java 1.4.2_05.. And the weather locations are correct.. When I use them with the Mlbdude skin, they work. (also, the default xml doesn't work) |
#487
|
||||
|
||||
Quote:
Quote:
|
#488
|
|||
|
|||
I'm using Sage 2 with java 1.4.2_05. The picture I sent was from when i used default XML configuration. I tried with the one Nielm posted here, but with the same result.
Runned the command config test and the result was this: C:\Program Files\Frey Technologies\SageTV>java -cp . com.stusals.wrs.Testy view is ready: false com.stusals.wrs.Location: exception retrieving data: java.lang.reflect.InvocationTargetException com.stusals.wrs.Location: updated data for Palma, Mallorca com.stusals.wrs.Location: exception retrieving data: java.lang.reflect.InvocationTargetException com.stusals.wrs.Location: updated data for London com.stusals.rotan.View: updated data for view eusat2 com.stusals.rotan.View: updated data for view ukradar com.stusals.rotan.View: updated data for view eupress com.stusals.rotan.View: updated data for view eusat com.stusals.rotan.View: updated data for view eutemp com.stusals.rotan.View: updated data for view euradar com.stusals.rotan.View: updated data for view eurain com.stusals.wrs.Location: exception retrieving data: java.lang.reflect.InvocationTargetException com.stusals.wrs.Location: updated data for Brussels,Belgium java.lang.NullPointerException at com.stusals.wrs.Testy.main(Testy.java:31) |
#489
|
||||
|
||||
Quote:
I have both weather module's enabled in Nielm's STV (to see if the forecast problem could be WRS specific). And the weather retrieval module from MlbDude2's STV works, the WRS doesn't. (the fault that no forecast/weather data is shown, the animations work) About the XML, in default mode (just install, no modifications) it still doesn't work ... |
#490
|
||||
|
||||
Quote:
Do you normally need to use proxy servers to access the net? You are all non-us based... Do you have any xerces.jar files in java/jre/lib/ext for use with the XMLTV plugin? Can you try moving this xerces.jar file somewhere else and retry the test? Can you check that all the .jar files from the nielm_stv-jre-lib-ext are in the java/jre_xxx/lib/ext directory? (and yes, the mlbdude 'simple' weather screen proves that the location ID's are OK, and that weather.com is reachable...) (and if you do remove xerces.jar, and it fixes it, check that the XMLTV plugin still works by using the plugin tester from the XMLTV thread... Recent Java versions include xerces.jar -- I don't need it on my system) Last edited by nielm; 10-27-2004 at 08:13 AM. |
#491
|
|||
|
|||
No i'm not behind av proxy server
The files are where in right folder. Did reinstall the to be sure Removed xerces.jar for a command test: C:\Program Files\Frey Technologies\SageTV>java -cp . com.stusals.wrs.Testy view is ready: false com.stusals.rotan.View: updated data for view eusat2 com.stusals.rotan.View: updated data for view ukradar com.stusals.rotan.View: updated data for view eupress com.stusals.rotan.View: updated data for view eusat com.stusals.rotan.View: updated data for view eutemp com.stusals.rotan.View: updated data for view euradar com.stusals.rotan.View: updated data for view eurain com.stusals.wrs.Location: exception retrieving data: java.lang.reflect.InvocatinTargetException com.stusals.wrs.Location: updated data for Palma, Mallorca com.stusals.wrs.Location: exception retrieving data: java.lang.reflect.InvocatinTargetException com.stusals.wrs.Location: updated data for London com.stusals.wrs.Location: exception retrieving data: java.lang.reflect.InvocatinTargetException com.stusals.wrs.Location: updated data for Brussels,Belgium java.lang.NullPointerException at com.stusals.wrs.Testy.main(Testy.java:31) Didn't look any different to me.. Just one thing - when I go to weather.com and then to London. the path is http://www.w3.weather.com/outlook/travel/local/UKXX0085?from=search_city Much the same as you has written before, but allso with this w3 just after www. Does this matter? |
#492
|
||||
|
||||
Same here, didn't work..
Maybe a thing to note: I'm getting Internet on the HTPC, using Wireless network connected to a pc that is connected to a ADSL hub. But that wouldn't explain why the simple version Weather retrieval works... |
#493
|
||||
|
||||
Quote:
I will try to create a Location.class with more debugging later tonight. Just one thing to check: does the file: com\stusals\wrs\data\WeatherDotCom.class exist in the SageTV directory... |
#494
|
|||
|
|||
yepp, the file is there.
|
#495
|
||||
|
||||
Ok, I have updated the java classes zipfile on the server to add more debugging info when things go wrong...
Download, unpack and re-try the test stub |
#496
|
||||
|
||||
Here's the debug data:
url=http://xoap.weather.com/weather/local/USCT0135?par=1005337166&key=b2e9d553ae aa21d4&cc=*&dayf=10&prod=xoap&link=xoap&unit=s view is ready: false com.stusals.wrs.Location: Problem retrieving data com.stusals.wrs.Location: Failed to create class com.stusals.wrs.data.WeatherDot Com: InvocationTargetException com.stusals.wrs.Location: java.text.ParseException: Unparseable date: "10/27/04 2:53 PM EDT" java.text.ParseException: Unparseable date: "10/27/04 2:53 PM EDT" at java.text.DateFormat.parse(Unknown Source) at com.stusals.wrs.data.WeatherDotCom.<init>(WeatherDotCom.java:122) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou rce) at java.lang.reflect.Constructor.newInstance(Unknown Source) at com.stusals.wrs.Location.retrieve(Location.java:57) at com.stusals.bgupdate.BGUpdateable.retrieveSynchronized(BGUpdateable.j ava:89) at com.stusals.bgupdate.BGUpdateable.update(BGUpdateable.java:69) at com.stusals.bgupdate.Updater.update(Updater.java:12) at com.stusals.bgupdate.UpdateThread.run(UpdateThread.java:23) com.stusals.wrs.Location: updated data for NewHaven url=http://xoap.weather.com/weather/local/USNY0996?par=1005337166&key=b2e9d553ae aa21d4&cc=*&dayf=10&prod=xoap&link=xoap&unit=s com.stusals.wrs.Location: Problem retrieving data com.stusals.wrs.Location: Failed to create class com.stusals.wrs.data.WeatherDot Com: InvocationTargetException com.stusals.wrs.Location: java.text.ParseException: Unparseable date: "10/27/04 2:51 PM EDT" java.text.ParseException: Unparseable date: "10/27/04 2:51 PM EDT" at java.text.DateFormat.parse(Unknown Source) at com.stusals.wrs.data.WeatherDotCom.<init>(WeatherDotCom.java:122) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou rce) at java.lang.reflect.Constructor.newInstance(Unknown Source) at com.stusals.wrs.Location.retrieve(Location.java:57) at com.stusals.bgupdate.BGUpdateable.retrieveSynchronized(BGUpdateable.j ava:89) at com.stusals.bgupdate.BGUpdateable.update(BGUpdateable.java:69) at com.stusals.bgupdate.Updater.update(Updater.java:12) at com.stusals.bgupdate.UpdateThread.run(UpdateThread.java:23) com.stusals.wrs.Location: updated data for NY url=http://xoap.weather.com/weather/local/USPA1290?par=1005337166&key=b2e9d553ae aa21d4&cc=*&dayf=10&prod=xoap&link=xoap&unit=s com.stusals.wrs.Location: Problem retrieving data com.stusals.wrs.Location: Failed to create class com.stusals.wrs.data.WeatherDot Com: InvocationTargetException com.stusals.wrs.Location: java.text.ParseException: Unparseable date: "10/27/04 2:51 PM EDT" java.text.ParseException: Unparseable date: "10/27/04 2:51 PM EDT" at java.text.DateFormat.parse(Unknown Source) at com.stusals.wrs.data.WeatherDotCom.<init>(WeatherDotCom.java:122) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou rce) at java.lang.reflect.Constructor.newInstance(Unknown Source) at com.stusals.wrs.Location.retrieve(Location.java:57) at com.stusals.bgupdate.BGUpdateable.retrieveSynchronized(BGUpdateable.j ava:89) at com.stusals.bgupdate.BGUpdateable.update(BGUpdateable.java:69) at com.stusals.bgupdate.Updater.update(Updater.java:12) at com.stusals.bgupdate.UpdateThread.run(UpdateThread.java:23) com.stusals.wrs.Location: updated data for Pittsburgh url=http://xoap.weather.com/weather/local/USDC0001?par=1005337166&key=b2e9d553ae aa21d4&cc=*&dayf=10&prod=xoap&link=xoap&unit=s com.stusals.wrs.Location: Problem retrieving data com.stusals.wrs.Location: Failed to create class com.stusals.wrs.data.WeatherDot Com: InvocationTargetException com.stusals.wrs.Location: java.text.ParseException: Unparseable date: "10/27/04 2:51 PM EDT" java.text.ParseException: Unparseable date: "10/27/04 2:51 PM EDT" at java.text.DateFormat.parse(Unknown Source) at com.stusals.wrs.data.WeatherDotCom.<init>(WeatherDotCom.java:122) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou rce) at java.lang.reflect.Constructor.newInstance(Unknown Source) at com.stusals.wrs.Location.retrieve(Location.java:57) at com.stusals.bgupdate.BGUpdateable.retrieveSynchronized(BGUpdateable.j ava:89) at com.stusals.bgupdate.BGUpdateable.update(BGUpdateable.java:69) at com.stusals.bgupdate.Updater.update(Updater.java:12) at com.stusals.bgupdate.UpdateThread.run(UpdateThread.java:23) com.stusals.wrs.Location: updated data for DC |
#497
|
|||
|
|||
The result with the new files is in the text file.
|
#498
|
||||
|
||||
Ok, it's clear now. You guys have locale settings that default the expected date format to the European standard, and weather.com is giving it to you in the U.S. standard format.
I'll fix this tonight if Niel doesn't beat me to it. Thanks for your patience. |
#499
|
||||
|
||||
Thank you for your WRS
Maybe someone should set up Paypal accounts for the time and effort you guys are putting into these STV's (If Studio doesn't come out soon) |
#500
|
||||
|
||||
I have a feeling this is another one of those times i'm not looking hard enough but can you expand on the custom command capability?
I'm basically jsut looking for a format of how this would work, both in the Sage.Properties file and how you would access it in the UI |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|