SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Customizations
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

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.

Reply
 
Thread Tools Search this Thread Display Modes
  #481  
Old 10-26-2004, 05:29 PM
Henki Henki is offline
Sage User
 
Join Date: Aug 2004
Location: Oslo, Norway
Posts: 31
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?
Attached Images
File Type: jpg WRS.jpg (57.0 KB, 159 views)
Reply With Quote
  #482  
Old 10-26-2004, 05:31 PM
salsbst's Avatar
salsbst salsbst is offline
SageTVaholic
 
Join Date: Jun 2003
Posts: 2,592
What version of the Java runtime are you guys with forecast/conditions display problems using?
Reply With Quote
  #483  
Old 10-26-2004, 05:48 PM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
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>
DIBU, for Frankfurt, you need to use the location ID of GMXX0185 in a similar XML block..

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
The location ID is between the last '/' and the '?'

Last edited by nielm; 10-26-2004 at 05:57 PM.
Reply With Quote
  #484  
Old 10-26-2004, 10:02 PM
mightyt's Avatar
mightyt mightyt is offline
Sage Icon
 
Join Date: Jul 2004
Location: CA.
Posts: 1,293
Quote:
Originally Posted by salsbst
Methius and DIBU, I've just tested the latest Nielm release under 2.1... it works on my machine.

If anyone else out there has tried or could try WRS under Niel's latest release (either Sage 2 or 2.1), I'd be interested in your findings: do you get forecast and local conditions?
Salsbst ,,, I have Sage 2 and Nielm 1.8 ... WRS works fine for me ... ???

T.
Attached Images
File Type: jpg WRS1.JPG (111.9 KB, 157 views)
File Type: jpg WRS2.JPG (95.4 KB, 122 views)
Reply With Quote
  #485  
Old 10-27-2004, 12:39 AM
Hector Hector is offline
Sage Aficionado
 
Join Date: Dec 2003
Location: Can-tuck-kee
Posts: 400
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:
Originally Posted by salsbst
Methius and DIBU, I've just tested the latest Nielm release under 2.1... it works on my machine.

If anyone else out there has tried or could try WRS under Niel's latest release (either Sage 2 or 2.1), I'd be interested in your findings: do you get forecast and local conditions?
__________________
PVR user since the late 1900's . . .
Reply With Quote
  #486  
Old 10-27-2004, 05:46 AM
Methius's Avatar
Methius Methius is offline
Sage Advanced User
 
Join Date: Oct 2004
Posts: 124
:-/
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)
Reply With Quote
  #487  
Old 10-27-2004, 06:01 AM
salsbst's Avatar
salsbst salsbst is offline
SageTVaholic
 
Join Date: Jun 2003
Posts: 2,592
Quote:
And the weather locations are correct..
When I use them with the Mlbdude skin, they work.
WRS is not featured in Mlbdude's STV.

Quote:
(also, the default xml doesn't work)
I don't understand.
Reply With Quote
  #488  
Old 10-27-2004, 06:46 AM
Henki Henki is offline
Sage User
 
Join Date: Aug 2004
Location: Oslo, Norway
Posts: 31
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)
Reply With Quote
  #489  
Old 10-27-2004, 07:34 AM
Methius's Avatar
Methius Methius is offline
Sage Advanced User
 
Join Date: Oct 2004
Posts: 124
Quote:
Originally Posted by salsbst
WRS is not featured in Mlbdude's STV.

I don't understand.
I don't mean the WRS (the mistake I made some posts ago ), but the Weather module function in the MlbDude2 STV.

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 ...
Reply With Quote
  #490  
Old 10-27-2004, 08:01 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
Quote:
Originally Posted by Henki
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.
Thanks for runing the test app... It looks like the WRS code is having problems either retrieveing or parsing the XML weather information from weather.com...

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.
Reply With Quote
  #491  
Old 10-27-2004, 08:39 AM
Henki Henki is offline
Sage User
 
Join Date: Aug 2004
Location: Oslo, Norway
Posts: 31
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?
Reply With Quote
  #492  
Old 10-27-2004, 09:03 AM
Methius's Avatar
Methius Methius is offline
Sage Advanced User
 
Join Date: Oct 2004
Posts: 124
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...
Reply With Quote
  #493  
Old 10-27-2004, 09:30 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
Quote:
Originally Posted by Henki
Just one thing - when I go to weather.com and then to London. the path is http://www.w3.weather.com/outlook/tr...om=search_city
Much the same as you has written before, but allso with this w3 just after www. Does this matter?
no, the java uses a different server anyway - only the location ID is important (and UKXX0085 is valid)...
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...
Reply With Quote
  #494  
Old 10-27-2004, 11:10 AM
Henki Henki is offline
Sage User
 
Join Date: Aug 2004
Location: Oslo, Norway
Posts: 31
yepp, the file is there.
Reply With Quote
  #495  
Old 10-27-2004, 12:53 PM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
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
Reply With Quote
  #496  
Old 10-27-2004, 01:54 PM
Methius's Avatar
Methius Methius is offline
Sage Advanced User
 
Join Date: Oct 2004
Posts: 124
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
Reply With Quote
  #497  
Old 10-27-2004, 01:56 PM
Henki Henki is offline
Sage User
 
Join Date: Aug 2004
Location: Oslo, Norway
Posts: 31
The result with the new files is in the text file.
Attached Files
File Type: txt wrs.txt (4.4 KB, 167 views)
Reply With Quote
  #498  
Old 10-27-2004, 02:23 PM
salsbst's Avatar
salsbst salsbst is offline
SageTVaholic
 
Join Date: Jun 2003
Posts: 2,592
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.
Reply With Quote
  #499  
Old 10-27-2004, 02:25 PM
Methius's Avatar
Methius Methius is offline
Sage Advanced User
 
Join Date: Oct 2004
Posts: 124
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)
Reply With Quote
  #500  
Old 10-27-2004, 02:48 PM
abasu2003's Avatar
abasu2003 abasu2003 is offline
Sage Expert
 
Join Date: Jul 2004
Posts: 551
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
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 10:05 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.