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
  #101  
Old 08-12-2004, 10:18 PM
chutio13 chutio13 is offline
Sage User
 
Join Date: Jul 2004
Posts: 14
thank you all very much for the help, I finally got it working....
Reply With Quote
  #102  
Old 08-23-2004, 01:11 PM
Gaurav's Avatar
Gaurav Gaurav is offline
Sage Advanced User
 
Join Date: Jul 2004
Location: Sugar Land, TX
Posts: 205
works beautifully.....

a small kink - when the current wind speed is "CALM", it is displayed as -
"CALM calmmph"

Would love to see animated real time radar maps.
Reply With Quote
  #103  
Old 09-24-2004, 04:16 AM
wardy wardy is offline
New Member
 
Join Date: Sep 2004
Posts: 1
Weather Icons

Weather is working ok however I am getting no Icons in my weather section can someboy pleas tell me the path where the icons should be located. can this location be changed in the sage.propertiesfile

thanks in advance

wardy
Reply With Quote
  #104  
Old 10-08-2004, 01:49 AM
Xenophon Xenophon is offline
Sage User
 
Join Date: Sep 2004
Posts: 13
java.lang.NoClassDefFoundError

Exception in thread "main" java.lang.NoClassDefFoundError:getWeather3

for the life of me I cant get rid of this error, getWeather3.class is in MLBDUDE folder!!, and as a result getweather.bat will not create a weather.txt file outside of Sage.

Naturally inside Sage, Weather hangs at loading. Weather suite works ok.

First question. No one talks about getWeather3.java file thats included. Is it simply enough to add it to MLBDUDE folder or do I have to go download stuff and mess around with that as well?

2nd. Heres my getweather.bat file

@echo off

rem numdays is number of days to forecast -- between 1 and 10
set numdays=5

rem units is metric (m) or standard/imperial (s)
set units=s

rem %1 is weather.com url or location code
rem %1 is output file name (weather.txt)

echo %1

"C:\Program Files\java\j2re1.4.2_05\bin\java.exe" "getWeather3" 60402 weather.txt %units% %numdays%



I have played around with lots of the suggestions here: added the full path instead of just "java", moved around quotation marks, altered upper and lower cases, mlbdude2 1.8.7 is in mlbdude folder, have weather extractor 1.1.2 also.

Any other ideas for me? is this compatible with j2re1.4.2_05? I get some help information back from java -cp . getweather deal but what should I be looking for if anything there?
Reply With Quote
  #105  
Old 10-08-2004, 03:57 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
The error message means that java cannot find the file getweather3.class -- it needs to be in the SageTV main folder where the sage.exe is (not the MLBdude folder).

Alternatively, in your batch file change the java.exe line to specify with -cp the full path to the directory where your getweather3.class is
"C:\Program Files\java\j2re1.4.2_05\bin\java.exe" -cp "C:\Program Files\Frey Technologies\SageTV" "getWeather3" 60402 weather.txt %units% %numdays%

(getaweather3.java is the source code which is not used by anything)
Reply With Quote
  #106  
Old 10-08-2004, 06:54 AM
Xenophon Xenophon is offline
Sage User
 
Join Date: Sep 2004
Posts: 13
WOOT

Thanks Nielm, got it working =). On to the next project gettin the comm skip to work hehe.

Last edited by Xenophon; 10-08-2004 at 07:21 AM.
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 07:31 PM.


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