egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

incith:weather (2.8p) (Dec. 18th, 2008)
Goto page Previous  1, 2, 3, 4, 5 ... 19, 20, 21  Next
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
sk-4
Halfop


Joined: 06 Oct 2007
Posts: 51

PostPosted: Wed Feb 27, 2008 9:29 am    Post subject: Reply with quote

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
View user's profile Send private message
incith
Master


Joined: 23 Apr 2005
Posts: 275
Location: Canada

PostPosted: Wed Feb 27, 2008 11:07 am    Post subject: Reply with quote

Yeah.. hence the whole downloading it again thing. =/
_________________
; Answer a few unanswered posts!
Back to top
View user's profile Send private message
incith
Master


Joined: 23 Apr 2005
Posts: 275
Location: Canada

PostPosted: Thu Apr 17, 2008 3:03 am    Post subject: Reply with quote

2.8h (and i) released to fix multiple results.
_________________
; Answer a few unanswered posts!
Back to top
View user's profile Send private message
eXtremer
Op


Joined: 07 May 2008
Posts: 138

PostPosted: Wed Jun 04, 2008 5:02 am    Post subject: Reply with quote

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 Sad
Waiting for reply...
Back to top
View user's profile Send private message
djevrek
Voice


Joined: 31 Jul 2007
Posts: 11

PostPosted: Wed Jun 04, 2008 5:44 am    Post subject: Reply with quote

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
View user's profile Send private message
eXtremer
Op


Joined: 07 May 2008
Posts: 138

PostPosted: Wed Jun 04, 2008 6:19 am    Post subject: Reply with quote

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 Sad I have the same problem with multiple results...
Back to top
View user's profile Send private message
sniepre
Voice


Joined: 01 Mar 2006
Posts: 4

PostPosted: Sun Jul 13, 2008 11:50 pm    Post subject: Reply with quote

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
View user's profile Send private message
speechles
Revered One


Joined: 26 Aug 2006
Posts: 1398
Location: emerald triangle, california (coastal redwoods)

PostPosted: Mon Jul 14, 2008 10:21 am    Post subject: Reply with quote

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
View user's profile Send private message
sniepre
Voice


Joined: 01 Mar 2006
Posts: 4

PostPosted: Mon Jul 14, 2008 4:19 pm    Post subject: Reply with quote

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
View user's profile Send private message
speechles
Revered One


Joined: 26 Aug 2006
Posts: 1398
Location: emerald triangle, california (coastal redwoods)

PostPosted: Mon Jul 14, 2008 4:46 pm    Post subject: Reply with quote

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. Wink

*** 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. Razz
_________________
speechles' eggdrop tcl archive
Back to top
View user's profile Send private message
incith
Master


Joined: 23 Apr 2005
Posts: 275
Location: Canada

PostPosted: Fri Jul 18, 2008 12:23 am    Post subject: Reply with quote

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
View user's profile Send private message
eXtremer
Op


Joined: 07 May 2008
Posts: 138

PostPosted: Fri Jul 18, 2008 4:41 am    Post subject: Reply with quote

incitch, could you resolve the multiple results for the Chisinau City ?
Back to top
View user's profile Send private message
incith
Master


Joined: 23 Apr 2005
Posts: 275
Location: Canada

PostPosted: Fri Jul 18, 2008 11:54 am    Post subject: Reply with quote

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
View user's profile Send private message
incith
Master


Joined: 23 Apr 2005
Posts: 275
Location: Canada

PostPosted: Mon Jul 21, 2008 8:11 pm    Post subject: Reply with quote

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
View user's profile Send private message
eXtremer
Op


Joined: 07 May 2008
Posts: 138

PostPosted: Tue Jul 22, 2008 9:05 am    Post subject: Reply with quote

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 Wink
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases All times are GMT - 4 Hours
Goto page Previous  1, 2, 3, 4, 5 ... 19, 20, 21  Next
Page 4 of 21

 
Jump to:  
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


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber