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 ... 6, 7, 8 ... 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
holycrap
Op


Joined: 21 Jan 2008
Posts: 152

PostPosted: Thu Dec 18, 2008 12:48 pm    Post subject: Reply with quote

I got this:

Quote:
Tcl error [incith::weather::weather_handler]: can't read "html(fc1hf)": no such element in array
Back to top
View user's profile Send private message
subdriven
Voice


Joined: 18 Dec 2008
Posts: 1

PostPosted: Thu Dec 18, 2008 12:49 pm    Post subject: Reply with quote

Using both 2.8o and 2.8L I get the following error when setting
# send public/channel replies to the user instead of to the channel?
variable public_to_private 1

Tcl error [incith::weather::weather_handler]: no such channel record

Thanks for the assistance

Aaron
Back to top
View user's profile Send private message
kelso
Voice


Joined: 31 Oct 2008
Posts: 3

PostPosted: Thu Dec 18, 2008 1:04 pm    Post subject: Reply with quote

Latest version fixed the errors that started coming in. I also fixed south africa by adding this
|| [regexp {<h1>South Africa</h1>} $html]
Back to top
View user's profile Send private message
Yog
Voice


Joined: 18 Dec 2008
Posts: 3

PostPosted: Thu Dec 18, 2008 6:10 pm    Post subject: Reply with quote

For some reason, the script won't work for me when I set public_to_private to 1. The !weather command fails with this error:

Code:
Tcl error [incith::weather::weather_handler]: no such channel record


Yet, !forcast works just fine with this set. Odd.

Also, incith, have you considered rewriting the script to use the Wunderground XML API? Even if you didn't use some sort of fancy XML library, the output would be infinitely easier to parse into variable names than the html output.

Check it out: http://wiki.wunderground.com/index.php/API_-_XML
Back to top
View user's profile Send private message
incith
Master


Joined: 23 Apr 2005
Posts: 275
Location: Canada

PostPosted: Thu Dec 18, 2008 7:44 pm    Post subject: Reply with quote

@people with mtemp error: It's working fine for me. Can you be more specific? (turns out this isn't even from my script)

Yog wrote:
Check it out: http://wiki.wunderground.com/index.php/API_-_XML

incith wrote:
I plan to use something else on wunderground (assuming they fix the issue in my ticket) that should basically make the weather script work forever afterwards.

Yes, that is what the basis of my ticket is for, the API.

@private messages:
I'll look into the private messages thing tonight [update: fixed this]. Smile *whew!*
_________________
; Answer a few unanswered posts!
Back to top
View user's profile Send private message
Hellster
Voice


Joined: 10 Aug 2006
Posts: 22

PostPosted: Thu Dec 18, 2008 9:09 pm    Post subject: Reply with quote

Nevermind , it seems the script wasn't loaded properly Smile , working fine now , i did notice the triggers have changed , but no biggie , thanx for the updated script Smile
Back to top
View user's profile Send private message
Jonathan1683
Voice


Joined: 29 Jul 2008
Posts: 10

PostPosted: Thu Dec 18, 2008 11:27 pm    Post subject: Reply with quote

im getting this too

[22:23] Tcl error [pub_wz]: can't read "mtemp": no such variable

specific:

downloaded script loaded it. this is the error when i type !weather zipcode
Back to top
View user's profile Send private message
incith
Master


Joined: 23 Apr 2005
Posts: 275
Location: Canada

PostPosted: Thu Dec 18, 2008 11:42 pm    Post subject: Reply with quote

Jonathan1683 wrote:
im getting this too

[22:23] Tcl error [pub_wz]: can't read "mtemp": no such variable

specific:

downloaded script loaded it. this is the error when i type !weather zipcode

You are speaking about DragnLords (broken) script. Smile If you use mine (2.8o from incith.com), you will not get this error. I have no pub_wz proc nor mtemp variables.
_________________
; Answer a few unanswered posts!
Back to top
View user's profile Send private message
holycrap
Op


Joined: 21 Jan 2008
Posts: 152

PostPosted: Fri Dec 19, 2008 4:59 am    Post subject: Reply with quote

Is it possible to "notice the user" with the message, "no city found" or when they have to narrow their search?
Back to top
View user's profile Send private message
incith
Master


Joined: 23 Apr 2005
Posts: 275
Location: Canada

PostPosted: Fri Dec 19, 2008 5:27 am    Post subject: Reply with quote

holycrap wrote:
Is it possible to "notice the user" with the message, "no city found" or when they have to narrow their search?

Works fine for me. Set notices to 1..? Unless you mean only errors get noticed?
_________________
; Answer a few unanswered posts!
Back to top
View user's profile Send private message
holycrap
Op


Joined: 21 Jan 2008
Posts: 152

PostPosted: Fri Dec 19, 2008 5:30 am    Post subject: Reply with quote

Yeah, like when you type:

!weather sdfsadf
Instead of it having "no city found to the channel", notice the user instead. Same thing when they have to narrow their search.

Yes, only errors get notice to the user.

Thanks!

Very Happy
Back to top
View user's profile Send private message
incith
Master


Joined: 23 Apr 2005
Posts: 275
Location: Canada

PostPosted: Fri Dec 19, 2008 5:56 am    Post subject: Reply with quote

Yeah I can probably add something for this. I'll probably put it near the notices variable, so just watch for it I guess, lol. Maybe 'variable notices_errors_only 0/1'. Maybe next release or release after if I remember. Smile
_________________
; Answer a few unanswered posts!
Back to top
View user's profile Send private message
holycrap
Op


Joined: 21 Jan 2008
Posts: 152

PostPosted: Fri Dec 19, 2008 6:25 am    Post subject: Reply with quote

Cool, thanks!

Maybe add that feature to your "horoscope" script as well? I notice most people can't spell their Zodiac sign(including myself). Very Happy I just wanted a little notice message to tell them to check their spelling.


Thanks!

Very Happy


Last edited by holycrap on Thu Dec 25, 2008 11:14 am; edited 1 time in total
Back to top
View user's profile Send private message
ron
Voice


Joined: 19 Dec 2008
Posts: 6

PostPosted: Fri Dec 19, 2008 8:23 pm    Post subject: Reply with quote

Hi all, I am new to using eggdrop/windrops. I am starting to get the hang of it. I downloaded this weather script however the !w for the weather does not work and I get the following error:

Tcl error [incith::weather::weather_handler]: can't read "html(fc1hf)": no such element in array

I seen that someone before had this same issue in a previous post but could not see where their problem was solved. When I type !fc it shows me the forcast but the feed doesnt seem to be there. The !sky is working fine though. Any help would be appreciated. Keep in mind im really new to using this so you will have to break it down in "dummy" terms lol. By the way im using a windrop if that matters. Thanks!
Back to top
View user's profile Send private message Yahoo Messenger
holycrap
Op


Joined: 21 Jan 2008
Posts: 152

PostPosted: Fri Dec 19, 2008 8:48 pm    Post subject: Reply with quote

Go to the author's website and download the latest version, that should fix it.

Very Happy
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 ... 6, 7, 8 ... 19, 20, 21  Next
Page 7 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