This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.
For more information, see this announcement post . Click the X in the top right-corner of this box to dismiss this message.
Support & discussion of released scripts, and announcements of new releases.
Glavata
Voice
Posts: 2 Joined: Thu Oct 08, 2009 4:45 pm
Post
by Glavata » Wed Feb 02, 2011 12:58 am
I am getting a few errors, and unsure how to proceed. Using Incith:Weather 2.8r that speechless posted a few posts back.
and in partyline I see:
Tcl error [incith::weather::weather_handler]: can't read "lr": no such variable
and in partyline I see:
Tcl error [incith::weather::weather_handler]: unable to convert date-time string "January</option><option selected="selected" value="2">February</option><option value="3">March</option><option value="4">April</option><option value="5">May</option><option value="6">June</option><option value="7">July</option><option value="8">August</option><option value="9">September</option><option value="10">October</option><option value="11">Novem
In both cases, the bot does not respond with anything in the channel.
4everlearning
Voice
Posts: 8 Joined: Wed Jan 26, 2011 4:32 am
Post
by 4everlearning » Wed Feb 02, 2011 7:13 am
I am receiving same error that Glavata is getting. Did wunderground maybe change again?
I might mention that I am using incith:weather-2.8p
LiquidIce
Halfop
Posts: 48 Joined: Fri Jan 09, 2004 7:22 pm
Location: USA
Post
by LiquidIce » Wed Feb 02, 2011 9:45 am
error just started happening today
Tcl error [incith::weather::weather_handler]: unable to convert date-time string "January</option><option selected="selected" value="2">February</option><option value="3">March</option><option value="4">April</option><option value="5">May</option><option value="6">June</option><option value="7">July</option><option value="8">August</option><option value="9">September</option><option value="10">October</option>
marx2k
Voice
Posts: 10 Joined: Sun Jan 23, 2011 10:34 am
Post
by marx2k » Wed Feb 02, 2011 9:51 am
I get the same error here.
caesar
Mint Rubber
Posts: 3778 Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory
Post
by caesar » Wed Feb 02, 2011 10:10 am
@4everlearning : there's no need to copy/paste the info you see on their blog, as the author of the script (or who maintains it) will notice the change and will do the required adjustments to make it work again.
I can't help it wondering why doesn't the author use the
API they've made for fetching the weather?
By using the API the script would continue working no matter the changes they made to the layout of the main page.
Last edited by
caesar on Wed Feb 02, 2011 10:20 am, edited 2 times in total.
Once the game is over, the king and the pawn go back in the same box.
cache
Master
Posts: 306 Joined: Tue Jan 10, 2006 4:59 am
Location: Mass
Post
by cache » Wed Feb 02, 2011 10:15 am
This might just be a temp fix, not sure how long 'classic' version will remain up.
Code: Select all
proc fetch_html {query {query_url "http://www.wunderground.com/cgi-bin/findweather/getForecast?query="} {no_format 0}} {
Change to:
Code: Select all
proc fetch_html {query {query_url "http://classic.wunderground.com/cgi-bin/findweather/getForecast?query="} {no_format 0}} {
br00
Voice
Posts: 9 Joined: Mon Jun 19, 2006 8:09 am
Post
by br00 » Wed Feb 02, 2011 10:27 am
nice one cache, works for now
spithash
Master
Posts: 249 Joined: Thu Jul 12, 2007 9:21 am
Location: Libera
Contact:
Post
by spithash » Wed Feb 02, 2011 1:33 pm
Good call cache
Libera ##rtlsdr & ##re - Nick:
spithash
Click here for
troll.tcl
LiquidIce
Halfop
Posts: 48 Joined: Fri Jan 09, 2004 7:22 pm
Location: USA
Post
by LiquidIce » Wed Feb 02, 2011 8:03 pm
nice save
thankx
Racquet
Voice
Posts: 3 Joined: Sat Aug 28, 2010 2:41 am
Post
by Racquet » Thu Feb 03, 2011 6:46 pm
Can someone try !weather 15222 and see if it spams your channel with html garbage and other stuff. Odd enough, most other places I have checked return correct format.
speechles
Revered One
Posts: 1398 Joined: Sat Aug 26, 2006 10:19 pm
Location: emerald triangle, california (coastal redwoods)
Post
by speechles » Thu Feb 03, 2011 8:05 pm
Racquet wrote: Can someone try !weather 15222 and see if it spams your channel with html garbage and other stuff. Odd enough, most other places I have checked return correct format.
Hmm...
<speechles> !wz 15222
<sp33chy> speechles's weather request; Pittsburgh, Pennsylvania (40.4°N/80.0°W); Updated: 6:50 PM EST (February 03, 2011); Conditions: Clear; Temperature: 27.7°F (-2.4°C); Windchill: 28°F (-2°C); High/Low: 29/14°F (-1/-10°C); UV: 0/16; Humidity: 59%; Dew Point: 33.8°F (1.0°C); Wind: SW at 1.0 MPH (1.6 KPH)
Seems.. fine to me... but wait...
Incith-Weather v2.9
That's because I fixed it.
So yeah, it did do that. Just like temperatures, sometimes dew points will not have both Fahrenheit and Celsius. So I've done the same way I fixed the temperatures, only take one, and figure the other out with some simple maths. Enjoys
Racquet
Voice
Posts: 3 Joined: Sat Aug 28, 2010 2:41 am
Post
by Racquet » Fri Feb 04, 2011 2:55 am
Thanks for the quick reply. It's working properly. I did the url change a few days ago and was wondering in your latest version if line 771 should be changed to ->
array set output [fetch_html "[lindex $lu 0]" "
http://classic.wunderground.com " 1]
for those cases. I'd offer an example of which I had two days ago; alas, my bnc didn't keep the messages.
redfeather
Voice
Posts: 1 Joined: Fri Feb 04, 2011 9:29 am
Location: United States
Post
by redfeather » Fri Feb 04, 2011 9:32 am
Unfortunately neither of those fixes work for me.
!weather 90042
Tcl error [incith::weather::weather_handler]: too many nested evaluations (infinite loop?)
!forecast 90042
Tcl error [incith::weather::forecast_handler]: too many nested evaluations (infinite loop?)
cache
Master
Posts: 306 Joined: Tue Jan 10, 2006 4:59 am
Location: Mass
Post
by cache » Fri Feb 04, 2011 12:39 pm
Working fine for me.. did you download the new version 2.9? speechles posted a link to it.
HashPipe
Voice
Posts: 10 Joined: Wed Aug 06, 2003 12:17 pm
Post
by HashPipe » Sat Feb 05, 2011 5:49 am
cache wrote: This might just be a temp fix, not sure how long 'classic' version will remain up.
Code: Select all
proc fetch_html {query {query_url "http://www.wunderground.com/cgi-bin/findweather/getForecast?query="} {no_format 0}} {
Change to:
Code: Select all
proc fetch_html {query {query_url "http://classic.wunderground.com/cgi-bin/findweather/getForecast?query="} {no_format 0}} {
Thanks for that!!!