| View previous topic :: View next topic |
| Author |
Message |
Glavata Voice
Joined: 08 Oct 2009 Posts: 2
|
Posted: Wed Feb 02, 2011 12:58 am Post subject: |
|
|
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:
| Quote: |
Tcl error [incith::weather::weather_handler]: can't read "lr": no such variable
|
and in partyline I see:
| Quote: |
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. |
|
| Back to top |
|
 |
4everlearning Voice
Joined: 26 Jan 2011 Posts: 8
|
Posted: Wed Feb 02, 2011 7:13 am Post subject: |
|
|
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 |
|
| Back to top |
|
 |
LiquidIce Halfop
Joined: 09 Jan 2004 Posts: 48 Location: USA
|
Posted: Wed Feb 02, 2011 9:45 am Post subject: |
|
|
error just started happening today
| Quote: |
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>
|
|
|
| Back to top |
|
 |
marx2k Voice
Joined: 23 Jan 2011 Posts: 10
|
Posted: Wed Feb 02, 2011 9:51 am Post subject: |
|
|
| I get the same error here. |
|
| Back to top |
|
 |
caesar Mint Rubber

Joined: 14 Oct 2001 Posts: 3741 Location: Mint Factory
|
Posted: Wed Feb 02, 2011 10:10 am Post subject: |
|
|
@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. _________________ Once the game is over, the king and the pawn go back in the same box.
Last edited by caesar on Wed Feb 02, 2011 10:20 am; edited 2 times in total |
|
| Back to top |
|
 |
cache Master
Joined: 10 Jan 2006 Posts: 306 Location: Mass
|
Posted: Wed Feb 02, 2011 10:15 am Post subject: |
|
|
This might just be a temp fix, not sure how long 'classic' version will remain up.
| Code: |
proc fetch_html {query {query_url "http://www.wunderground.com/cgi-bin/findweather/getForecast?query="} {no_format 0}} {
|
Change to:
| Code: |
proc fetch_html {query {query_url "http://classic.wunderground.com/cgi-bin/findweather/getForecast?query="} {no_format 0}} {
|
|
|
| Back to top |
|
 |
br00 Voice
Joined: 19 Jun 2006 Posts: 9
|
Posted: Wed Feb 02, 2011 10:27 am Post subject: |
|
|
nice one cache, works for now  |
|
| Back to top |
|
 |
spithash Master

Joined: 12 Jul 2007 Posts: 248 Location: Libera
|
Posted: Wed Feb 02, 2011 1:33 pm Post subject: |
|
|
Good call cache  _________________ Libera ##rtlsdr & ##re - Nick: spithash
Click here for troll.tcl |
|
| Back to top |
|
 |
LiquidIce Halfop
Joined: 09 Jan 2004 Posts: 48 Location: USA
|
Posted: Wed Feb 02, 2011 8:03 pm Post subject: |
|
|
nice save
thankx |
|
| Back to top |
|
 |
Racquet Voice
Joined: 28 Aug 2010 Posts: 3
|
Posted: Thu Feb 03, 2011 6:46 pm Post subject: |
|
|
| 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. |
|
| Back to top |
|
 |
speechles Revered One

Joined: 26 Aug 2006 Posts: 1398 Location: emerald triangle, california (coastal redwoods)
|
Posted: Thu Feb 03, 2011 8:05 pm Post subject: |
|
|
| 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...
| Quote: | <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  _________________ speechles' eggdrop tcl archive |
|
| Back to top |
|
 |
Racquet Voice
Joined: 28 Aug 2010 Posts: 3
|
Posted: Fri Feb 04, 2011 2:55 am Post subject: |
|
|
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. |
|
| Back to top |
|
 |
redfeather Voice
Joined: 04 Feb 2011 Posts: 1 Location: United States
|
Posted: Fri Feb 04, 2011 9:32 am Post subject: |
|
|
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?) |
|
| Back to top |
|
 |
cache Master
Joined: 10 Jan 2006 Posts: 306 Location: Mass
|
Posted: Fri Feb 04, 2011 12:39 pm Post subject: |
|
|
| Working fine for me.. did you download the new version 2.9? speechles posted a link to it. |
|
| Back to top |
|
 |
HashPipe Voice
Joined: 06 Aug 2003 Posts: 10
|
Posted: Sat Feb 05, 2011 5:49 am Post subject: |
|
|
| cache wrote: | This might just be a temp fix, not sure how long 'classic' version will remain up.
| Code: |
proc fetch_html {query {query_url "http://www.wunderground.com/cgi-bin/findweather/getForecast?query="} {no_format 0}} {
|
Change to:
| Code: |
proc fetch_html {query {query_url "http://classic.wunderground.com/cgi-bin/findweather/getForecast?query="} {no_format 0}} {
|
|
Thanks for that!!! |
|
| Back to top |
|
 |
|