| Author |
Message |
|
FaTMax
Joined: Feb 01, 2007 Posts: 127 Location: Haugesund, Norway
|
Anyone have a clue ? I cant figure it out!
|
| Sun Dec 07, 2008 5:39 am |
|
 |
|
macpro
Joined: Dec 29, 2005 Posts: 585 Location: Third byte on the right
|
AWRefreshRate is a fixed value and will not change.
Have you defined this variable yourself or was it generated automatically via the attachment script?
_________________ "I tawt I taw a puddy tat!" Tweety
|
| Sun Dec 07, 2008 6:26 am |
|
 |
|
FaTMax
Joined: Feb 01, 2007 Posts: 127 Location: Haugesund, Norway
|
I defined it myself. Set it to 600.
Its a nono to do that ?
|
| Sun Dec 07, 2008 7:59 am |
|
 |
|
matt (support)
Site Admin
Joined: Jan 27, 2003 Posts: 11815 Location: Texas
|
Did you follow all the steps in the Read Me. Namely, did you install the XML Tools? There are quite a few other steps involved as well it looks like.
_________________
|
| Sun Dec 07, 2008 8:20 am |
|
 |
|
FaTMax
Joined: Feb 01, 2007 Posts: 127 Location: Haugesund, Norway
|
Yep, theres MANY steps  I did install the XML tools and have also rebooted a couple of times. Also did an permissions check/repair an hour ago (none of this is in the readme, i just did it because its something ive never done(permissions)).
|
| Sun Dec 07, 2008 10:10 am |
|
 |
|
matt (support)
Site Admin
Joined: Jan 27, 2003 Posts: 11815 Location: Texas
|
I'd suggest you start adding debug log lines (log to Indigo's Event Log) to the script until you isolate exactly which call is failing: - Code: Select all
log "got here 0001"
_________________
|
| Sun Dec 07, 2008 10:14 am |
|
 |
|
macpro
Joined: Dec 29, 2005 Posts: 585 Location: Third byte on the right
|
FaTMax wrote:I defined it myself. Set it to 600.
Its a nono to do that ?
No. It's fine if you define it yourself.
_________________ "I tawt I taw a puddy tat!" Tweety
|
| Sun Dec 07, 2008 10:16 am |
|
 |
|
FaTMax
Joined: Feb 01, 2007 Posts: 127 Location: Haugesund, Norway
|
Ok, I´ll give the debug thing a try. Never done that before. Is it as easy as you wrote, and it just shows up in Indigo´s log file ?
|
| Sun Dec 07, 2008 10:33 am |
|
 |
|
FaTMax
Joined: Feb 01, 2007 Posts: 127 Location: Haugesund, Norway
|
Ok, I´ll give the debug thing a try. Never done that before. Is it as easy as you wrote, and it just shows up in Indigo´s log file ?
|
| Sun Dec 07, 2008 10:33 am |
|
 |
|
matt (support)
Site Admin
Joined: Jan 27, 2003 Posts: 11815 Location: Texas
|
Yes. I would also add a tell IndigoServer prefix like this:
- Code: Select all
tell application "IndigoServer" to log "got here 0001"
_________________
|
| Mon Dec 08, 2008 8:20 am |
|
 |
|
Terry
Joined: Apr 24, 2005 Posts: 44 Location: Essex Junction, Vermont
|
 Weather & Snow Leopard
Been a long time since I messed with the AccuWeather script, don't remember much at all.
I just upgraded to Snow Leopard and the AccuWeather script produces errors:
- Code: Select all
11/04/09 11:21:07 AM Time/Date Action Fetch outside temperature Error script error: in file "AccuWeather sync.scpt" Error script error: "<xml>
<adc_Database>
<WatchWarnAreas> <GmtDiff> -5 </GmtDiff> <CurrentConditions> <City> Essex Junction </City> <State> VT </State> <DaylightSavingsActive></DaylightSavingsActive> <Time> 11:00 </Time> <Pressure> 30.30 </Pressure> <Temperature> 39 </Temperature> <RealFeel> 33 </RealFeel> <Humidity>56%</Humidity> <WeatherText> MOSTLY CLOUDY </WeatherText> <WeatherIcon> 06 </WeatherIcon> <WindSpeed> 10 </WindSpeed> <WindDirection> WNW </WindDirection> <Visibility> 10 </Visibility> <Precip> 0.00 </Precip> <UVIndex> 0 </UVIndex> <Copyright>AccuWeather, Inc.</Copyright> </CurrentConditions> <AirAndPollen> <Tree>N(0)</Tree> <Weed>N(0)</Weed> <Grass>N(0)</Grass> <Mold>N(0)</Mold> <AirQuality>G(20)</AirQuality> <AirQualityType> 1 </AirQualityType> </AirAndPollen> <Planets> <Sun> <Moon> <Mercury> <Venus> <Mars> <Jupiter> <Saturn> <Uranus> <Neptune> <Pluto>
</Planets> <Moon> <Phase> 16 </Phase> <Phase> 17 </Phase> <Phase> 18 </Phase> <Phase> 19 </Phase> <Phase> 20 </Phase> <Phase> 21 </Phase> <Phase> 22 </Phase> <Phase> 23 </Phase> <Phase> 24 </Phase> <Phase> 25 </Phase> <Phase date=\"1 Error error dispatching event to attachment script (-1753) Error script error: "<xml>
<adc_Database>
<WatchWarnAreas> <GmtDiff> -5 </GmtDiff> <CurrentConditions> <City> Essex Junction </City> <State> VT </State> <DaylightSavingsActive></DaylightSavingsActive> <Time> 11:00 </Time> <Pressure> 30.30 </Pressure> <Temperature> 39 </Temperature> <RealFeel> 33 </RealFeel> <Humidity>56%</Humidity> <WeatherText> MOSTLY CLOUDY </WeatherText> <WeatherIcon> 06 </WeatherIcon> <WindSpeed> 10 </WindSpeed> <WindDirection> WNW </WindDirection> <Visibility> 10 </Visibility> <Precip> 0.00 </Precip> <UVIndex> 0 </UVIndex> <Copyright>AccuWeather, Inc.</Copyright> </CurrentConditions> <AirAndPollen> <Tree>N(0)</Tree> <Weed>N(0)</Weed> <Grass>N(0)</Grass> <Mold>N(0)</Mold> <AirQuality>G(20)</AirQuality> <AirQualityType> 1 </AirQualityType> </AirAndPollen> <Planets> <Sun> <Moon> <Mercury> <Venus> <Mars> <Jupiter> <Saturn> <Uranus> <Neptune> <Pluto>
</Planets> <Moon> <Phase> 16 </Phase> <Phase> 17 </Phase> <Phase> 18 </Phase> <Phase> 19 </Phase> <Phase> 20 </Phase> <Phase> 21 </Phase> <Phase> 22 </Phase> <Phase> 23 </Phase> <Phase> 24 </Phase> <Phase> 25 </Phase> <Phase date=\"1
_________________ Terry
I started off with nothing...I still have most of it left.
|
| Wed Nov 04, 2009 10:29 am |
|
 |
|
macpro
Joined: Dec 29, 2005 Posts: 585 Location: Third byte on the right
|
I'm affraid the AccuWeather script is not compatible with Snow Leopard.
The reason is that it uses XML Tools and that piece doesn't work with SL.
We'll have to wait for an update that makes that part SL ready.
Until then you can't use the script.
But... the author of the XML Tools is already working on a fix and beta releases are available.
Please go to this link http://www.latenightsw.com/blog/?p=231 and try the beta for XML Tools.
_________________ "I tawt I taw a puddy tat!" Tweety
|
| Wed Nov 04, 2009 10:36 am |
|
 |
|
Terry
Joined: Apr 24, 2005 Posts: 44 Location: Essex Junction, Vermont
|
Ah. OK. Thanks for the info.
Just out of curiosity, are there other methods to get local temperature beside the AccuWeather script?
The only reason I use it is that I use the temperature info to control a light I installed in a refrigerator to stop the contents from freezing during the winter here in Vermont.
Of course I could just stop using it during the winter, but it always seems the main refrigerator isn't big enough at times.
Thanks
_________________ Terry
I started off with nothing...I still have most of it left.
|
| Wed Nov 04, 2009 11:43 am |
|
 |
|
macpro
Joined: Dec 29, 2005 Posts: 585 Location: Third byte on the right
|
There's also a NOAA Weather Script that uses another technique to fetch data. Maybe that works with Snow Leopard.
_________________ "I tawt I taw a puddy tat!" Tweety
|
| Wed Nov 04, 2009 12:18 pm |
|
 |
|
jay (support)
Site Admin
Joined: Mar 19, 2008 Posts: 6856 Location: Austin, Texas
|
macpro wrote:There's also a NOAA Weather Script that uses another technique to fetch data. Maybe that works with Snow Leopard.
Yes, the NOAA script that ships with Indigo works on Snow Leopard. Be sure to get the latest version that ships with 4.1.1 - it has better error reporting.
_________________ Jay (Indigo Support)
|
| Wed Nov 04, 2009 1:11 pm |
|
|