| View previous topic :: View next topic |
| Author |
Message |
sk-4 Halfop
Joined: 06 Oct 2007 Posts: 51
|
Posted: Wed Feb 27, 2008 9:29 am Post subject: |
|
|
i noticed there is error in weather.tcl,but it was Ok after i removed the extra "e"
set chan [lindexe $args 0]
set input [lindex $args 1]
Error:
Tcl error [incith::weather::astronomy_handler]: invalid command name "lindexe" |
|
| Back to top |
|
 |
incith Master

Joined: 23 Apr 2005 Posts: 275 Location: Canada
|
Posted: Wed Feb 27, 2008 11:07 am Post subject: |
|
|
Yeah.. hence the whole downloading it again thing. =/ _________________ ; Answer a few unanswered posts! |
|
| Back to top |
|
 |
incith Master

Joined: 23 Apr 2005 Posts: 275 Location: Canada
|
|
| Back to top |
|
 |
eXtremer Op
Joined: 07 May 2008 Posts: 138
|
Posted: Wed Jun 04, 2008 5:02 am Post subject: |
|
|
incith, wunderground.com has the Select Langauge option, could you make the script show the weather in a certain language that the site supports ?! It would be greate !!! Cose not all know or understand English
Waiting for reply... |
|
| Back to top |
|
 |
djevrek Voice
Joined: 31 Jul 2007 Posts: 11
|
Posted: Wed Jun 04, 2008 5:44 am Post subject: |
|
|
There is still error with multiple search. See this
<Moonshine> !weather belgrade
<Spremna> Multiple Results Found: Belgrade, Maine; Belgrade, Minnesota; Belgrade, Missouri; Belgrade, Montana; Belgrade, Nebraska; Belgrade, Serbia; Belgrade, Serbia
<Moonshine> !weather belgrade, serbia
<Spremna> Multiple Results Found: Belgrade, Serbia; Belgrade, Serbia |
|
| Back to top |
|
 |
eXtremer Op
Joined: 07 May 2008 Posts: 138
|
Posted: Wed Jun 04, 2008 6:19 am Post subject: |
|
|
| djevrek wrote: | There is still error with multiple search. See this
<Moonshine> !weather belgrade
<Spremna> Multiple Results Found: Belgrade, Maine; Belgrade, Minnesota; Belgrade, Missouri; Belgrade, Montana; Belgrade, Nebraska; Belgrade, Serbia; Belgrade, Serbia
<Moonshine> !weather belgrade, serbia
<Spremna> Multiple Results Found: Belgrade, Serbia; Belgrade, Serbia |
yes I have the same problem with multiple results... |
|
| Back to top |
|
 |
sniepre Voice
Joined: 01 Mar 2006 Posts: 4
|
Posted: Sun Jul 13, 2008 11:50 pm Post subject: |
|
|
| Has anyone had the temperatures stop being displayed? For the last day or so, most all fields show up still except for temperature. |
|
| Back to top |
|
 |
speechles Revered One

Joined: 26 Aug 2006 Posts: 1398 Location: emerald triangle, california (coastal redwoods)
|
Posted: Mon Jul 14, 2008 10:21 am Post subject: |
|
|
See my post below, most relevant with said fix. _________________ speechles' eggdrop tcl archive
Last edited by speechles on Mon Jul 14, 2008 4:47 pm; edited 2 times in total |
|
| Back to top |
|
 |
sniepre Voice
Joined: 01 Mar 2006 Posts: 4
|
Posted: Mon Jul 14, 2008 4:19 pm Post subject: |
|
|
| speechles wrote: | | sniepre wrote: | | Has anyone had the temperatures stop being displayed? For the last day or so, most all fields show up still except for temperature. |
Try reading. In fact, try reading the thread directly below this one. A fix has been provided, all you need to do is be smart enough to find it. |
I see that now, thanks. I just googled for the script name and was taken directly to this thread, I thought this was the discussion thread for the script. |
|
| Back to top |
|
 |
speechles Revered One

Joined: 26 Aug 2006 Posts: 1398 Location: emerald triangle, california (coastal redwoods)
|
Posted: Mon Jul 14, 2008 4:46 pm Post subject: |
|
|
| sniepre wrote: | | speechles wrote: | | sniepre wrote: | | Has anyone had the temperatures stop being displayed? For the last day or so, most all fields show up still except for temperature. |
Try reading. In fact, try reading the thread directly below this one. A fix has been provided, all you need to do is be smart enough to find it. |
I see that now, thanks. I just googled for the script name and was taken directly to this thread, I thought this was the discussion thread for the script. |
In the interest of keeping things simple. | Code: | | regexp -- {pwsvariable="tempf".+?>.+?nobr">.+?>(.+?)</span>.*?F</span>.*?/.+?nobr">.+?>(.+?)</span>} $html - output(tempf) output(tempc) |
This will fix it. Find 'pwsvariable' in the script. Change the regexp involving pwsvariable to look exactly as it does above. It will work once again when fixed.
*** Note to Moderator: The other newly created thread titled incith-weather v2.8i variable missing in output. should be abandoned, junked or similar since it merely mirrors this fix and this note itself can also be removed. Thanks.  _________________ speechles' eggdrop tcl archive |
|
| Back to top |
|
 |
incith Master

Joined: 23 Apr 2005 Posts: 275 Location: Canada
|
Posted: Fri Jul 18, 2008 12:23 am Post subject: |
|
|
2.8j released. See the first post for changes. Will be including diff files from now on for those that run customised versions of things, to see what was changed. _________________ ; Answer a few unanswered posts! |
|
| Back to top |
|
 |
eXtremer Op
Joined: 07 May 2008 Posts: 138
|
Posted: Fri Jul 18, 2008 4:41 am Post subject: |
|
|
| incitch, could you resolve the multiple results for the Chisinau City ? |
|
| Back to top |
|
 |
incith Master

Joined: 23 Apr 2005 Posts: 275 Location: Canada
|
Posted: Fri Jul 18, 2008 11:54 am Post subject: |
|
|
| eXtremer wrote: | | incitch, could you resolve the multiple results for the Chisinau City ? |
| Code: | # TODO: #
# - fix multiple results, take best match, etc # |
Some day... ^_^ _________________ ; Answer a few unanswered posts! |
|
| Back to top |
|
 |
incith Master

Joined: 23 Apr 2005 Posts: 275 Location: Canada
|
Posted: Mon Jul 21, 2008 8:11 pm Post subject: |
|
|
Well, got a bit of motivation back, next release will feature improvements to multiple results, no more duplicate location problems (belgrade, chisinau, you're good to go).
Second, search results with no data will not be returned as a search result. For example, "Goa, India" location. It has a duplicate, and only one has data. So for that example, of course the one with data will be used to fetch the actual weather data. But during my testing, both of them lost data, and so the script would return no search results. So I will work around this, by just using one of the bad results, as it will not have data to use anyway.
| Code: | (18:12:32) <visitant> [18:12] incith:weather-2.8k: <incith/private> !weather india
(18:12:35) <visitant> [18:12] removals: 423
(18:12:35) <visitant> [18:12] found: 28
(example of both locations with no data):
(18:13:14) <visitant> [18:13] incith:weather-2.8k: <incith/private> !weather goa, india
(18:13:14) <visitant> [18:13] removals: 2
(18:13:14) <visitant> [18:13] found: 0
(18:13:51) <visitant> [18:13] incith:weather-2.8k: <incith/private> !weather quebec
(18:13:51) <visitant> [18:13] removals: 0
(18:13:51) <visitant> [18:13] found: 1
(18:13:51) <visitant> [18:13] multiple results:
(18:13:51) <visitant> [18:13] loop_loc: Quebec, Quebec (loop_url: /global/stations/71714.html) |
_________________ ; Answer a few unanswered posts! |
|
| Back to top |
|
 |
eXtremer Op
Joined: 07 May 2008 Posts: 138
|
Posted: Tue Jul 22, 2008 9:05 am Post subject: |
|
|
| incith wrote: | Well, got a bit of motivation back, next release will feature improvements to multiple results, no more duplicate location problems (belgrade, chisinau, you're good to go).
Second, search results with no data will not be returned as a search result. For example, "Goa, India" location. It has a duplicate, and only one has data. So for that example, of course the one with data will be used to fetch the actual weather data. But during my testing, both of them lost data, and so the script would return no search results. So I will work around this, by just using one of the bad results, as it will not have data to use anyway.
| Code: | (18:12:32) <visitant> [18:12] incith:weather-2.8k: <incith/private> !weather india
(18:12:35) <visitant> [18:12] removals: 423
(18:12:35) <visitant> [18:12] found: 28
(example of both locations with no data):
(18:13:14) <visitant> [18:13] incith:weather-2.8k: <incith/private> !weather goa, india
(18:13:14) <visitant> [18:13] removals: 2
(18:13:14) <visitant> [18:13] found: 0
(18:13:51) <visitant> [18:13] incith:weather-2.8k: <incith/private> !weather quebec
(18:13:51) <visitant> [18:13] removals: 0
(18:13:51) <visitant> [18:13] found: 1
(18:13:51) <visitant> [18:13] multiple results:
(18:13:51) <visitant> [18:13] loop_loc: Quebec, Quebec (loop_url: /global/stations/71714.html) |
|
Respect incith, that's the way 2 go  |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|