View Full Version : problems with weather?
jwilson56
February 29th, 2008, 11:37 AM
Anyone else having problems getting weather today? I have tried a few different zipcodes and some are hit and miss and mine 48124 will not show the weather.
John
Rob H
February 29th, 2008, 01:20 PM
It's working here with a couple of different zones (one UK and one US)
Ron
March 2nd, 2008, 10:16 PM
There are definite issues on the back-end here. No weather data is forthcoming from customweather :( even their own weather page is not responding at this point. If this is not resolved by the morning I will place a few calls.
Goodnight.
Rob H
March 3rd, 2008, 01:30 AM
This is still the case here at 0927 GMT.
Ron
March 3rd, 2008, 06:27 AM
Still not working even though customer weather claimed they had fixed it. I'll see what I can do...
Note that our webservice page returns a 404 at the moment to prevent a webserver overload. I will move the script back as soon as things start working again.
Ron
March 3rd, 2008, 11:28 AM
Weather should be back up. Let me know if this is not the case for you.
jwilson56
March 3rd, 2008, 12:19 PM
Working here.... thanks Ron
John
dsmes
March 4th, 2008, 06:00 PM
Note that our webservice page returns a 404 at the moment to prevent a webserver overload. I will move the script back as soon as things start working again.Does this mean that Custom Weather update requests are routed through Promixis or something? Please explain.
Ron
March 4th, 2008, 06:06 PM
Yep, customweather requests are routed through promixis.com. This was a requirement of customweather.
m1duckett
July 31st, 2008, 05:52 PM
I am now seeing this when weather attempts to update:
.\scripts\weather.lua:753: attempt to index local `data' (a nil value)
.\scripts\weather.lua:753: in function `UpdateCC'
.\scripts\weather.lua:990: in function <.\scripts\weather.lua:983>
for the life of me I can not find this script.
Any ideas?
Ron
July 31st, 2008, 06:01 PM
This is the old weather script. I will remove that from the next release.
For now look at this thread on how to disable it in your install
http://promixis.com/forums/showthread.php?t=18728
Ron
July 31st, 2008, 07:54 PM
open luascript/startup/test.lua and remove this line:
gir.LoadPreCompiledScript(gir.Scripts.WEATHER)
m1duckett
July 31st, 2008, 08:17 PM
ack! Sorry I am using Girder 4, did not realize this was in the G5 forum. Is there an issue with G4 weather now?
Ron
July 31st, 2008, 08:21 PM
Ah yes, Girder 4 weather has been disabled by custom weather. They didn't like us hitting their servers from each and every end user. Contact me at support@promixis.com for an updated script.
jolly1
August 3rd, 2008, 11:49 AM
Ron put the script in luascript directory. I now get the following error
compiledlua: ...am Files\Promixis\Girder\\luascript\weather-work.lua:83: attempt to call field `GetRegistryHive' (a nil value)
Any ideas
Regards John
jolly1
August 3rd, 2008, 11:50 AM
Ron regarding the previous message I am using Girder 4
Ron
August 3rd, 2008, 12:40 PM
on line 83 replace gir.GetRegistryHive() with "HKLM"
and on line 84 replace gir.GetRegistryPath() with "\\Software\\Promixis\\Girder\\4"
local regHive = "HKLM"
local regPath = "\\Software\Promixis\\Girder\\4Weather"
jolly1
August 3rd, 2008, 03:33 PM
Hi Ron still no joy now get the following errors
compiledlua: ...am Files\Promixis\Girder\\luascript\weather-work.lua:684: attempt to index global `curl' (a nil value)
stack traceback:
...am Files\Promixis\Girder\\luascript\weather-work.lua:684: in function `Initialize'
...am Files\Promixis\Girder\\luascript\weather-work.lua:300: in function `Start'
...am Files\Promixis\Girder\\luascript\weather-work.lua:122: in function `StartLocalWeatherRetrieval'
...am Files\Promixis\Girder\\luascript\weather-work.lua:100: in function `Start'
...am Files\Promixis\Girder\\luascript\weather-work.lua:1293: in main chunk
[C]: in function `LoadPreCompiledScript'
...am Files\Promixis\Girder\/luascript/startup/test.lua:9: in main chunk
Regards John
Ron
August 3rd, 2008, 03:49 PM
darn it is using the curl escape function. I don't have time to try this out but experiment a bit with this:
require('socket.url')
curl = {}
curl.escape = socket.url.escape
put that at the top of weather-work.lua
jolly1
August 3rd, 2008, 04:10 PM
Hi Ron still not working following messages
compiledlua: ...am Files\Promixis\Girder\\luascript\weather-work.lua:13: cannot find url in path C:\Program Files\Promixis\Girder\luascript\?.lua
stack traceback:
[C]: in function `error'
...gram Files\Promixis\Girder\\luascript\compat-5.1.lua:71: in function `require'
...am Files\Promixis\Girder\\luascript\weather-work.lua:13: in main chunk
[C]: in function `LoadPreCompiledScript'
...am Files\Promixis\Girder\/luascript/startup/test.lua:9: in main chunk
Ron
August 3rd, 2008, 06:47 PM
change the 'require' line to
require('socket.url')
Ron
August 4th, 2008, 10:29 AM
Any luck with this?
jolly1
August 5th, 2008, 04:57 AM
Ron currently away from home, will try this weekend and update you then
John
Ron
August 5th, 2008, 07:10 AM
use
require('socket.url')
curl = {}
curl.escape = socket.url.escape
jolly1
August 9th, 2008, 10:51 AM
Ron,
Weather now working in Girder 4. Thanks for the help with this
philippegu
October 1st, 2008, 10:51 AM
Hi,
I am using Girder 4 too. please someone can send me a new lua weather script working in Girder 4
tks
Phil
jolly1
October 13th, 2008, 06:28 AM
here is the one I use
Powered by vBulletin® Version 4.1.8 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.