| View previous topic :: View next topic |
| Author |
Message |
incith Master

Joined: 23 Apr 2005 Posts: 275 Location: Canada
|
Posted: Sat Aug 09, 2008 9:43 pm Post subject: |
|
|
| Branden wrote: | | Tcl error [incith::weather::weather_handler]: invalid command name "clock" |
Um, what version of Tcl are you using? Windrop or eggdrop? etc etc
There's no reason your Tcl should be missing the clock command.. _________________ ; Answer a few unanswered posts! |
|
| Back to top |
|
 |
eXtremer Op
Joined: 07 May 2008 Posts: 138
|
Posted: Tue Aug 12, 2008 10:51 am Post subject: |
|
|
incith, a question: there is nothin` to do with the language, from english (default) to change to another language, for example French.
http://www.wunderground.com - has the change language setting.
Is it possible ? |
|
| Back to top |
|
 |
incith Master

Joined: 23 Apr 2005 Posts: 275 Location: Canada
|
Posted: Tue Aug 12, 2008 5:14 pm Post subject: |
|
|
| eXtremer wrote: | incith, a question: there is nothin` to do with the language, from english (default) to change to another language, for example French.
http://www.wunderground.com - has the change language setting.
Is it possible ? |
No, or I would have to make regexps for every language, e.g. russia is on ru.wunderground.com, etc etc. I have plans to add language functionality, using built-in language files. _________________ ; Answer a few unanswered posts! |
|
| Back to top |
|
 |
eXtremer Op
Joined: 07 May 2008 Posts: 138
|
Posted: Wed Aug 13, 2008 2:53 am Post subject: |
|
|
| incith wrote: | | No, or I would have to make regexps for every language, e.g. russia is on ru.wunderground.com, etc etc. I have plans to add language functionality, using built-in language files. |
Don't 4get about Romanian
 |
|
| Back to top |
|
 |
speechles Revered One

Joined: 26 Aug 2006 Posts: 1398 Location: emerald triangle, california (coastal redwoods)
|
Posted: Wed Aug 13, 2008 8:28 am Post subject: |
|
|
| eXtremer wrote: | | incith wrote: | | No, or I would have to make regexps for every language, e.g. russia is on ru.wunderground.com, etc etc. I have plans to add language functionality, using built-in language files. |
Don't 4get about Romanian  |
http://romanian.wunderground.com/
http://russian.wunderground.com/
Not necessarily would you have to make regexp's for every language if you use html context to extract data rather than english words within the html markups. You would suffer problems dealing with encodings and utf-8 vs iso8859-1 during socket reads. The bot will confuse utf-8 with iso8859-1 and vice versa and does it everytime. _________________ speechles' eggdrop tcl archive |
|
| Back to top |
|
 |
incith Master

Joined: 23 Apr 2005 Posts: 275 Location: Canada
|
Posted: Wed Aug 13, 2008 11:32 am Post subject: |
|
|
| eXtremer wrote: |  |
Since you clearly cannot do even slight investigation on your own and choose to instead attempt some sort of insult upon me, indeed, it is russian.wunderground.com, sorry to have made such a horrendous mistake. It changes nothing.
| speechles wrote: | http://romanian.wunderground.com/
http://russian.wunderground.com/
Not necessarily would you have to make regexp's for every language if you use html context to extract data rather than english words within the html markups. You would suffer problems dealing with encodings and utf-8 vs iso8859-1 during socket reads. The bot will confuse utf-8 with iso8859-1 and vice versa and does it everytime. |
It will be easier to make language files... I have it envisioned! _________________ ; Answer a few unanswered posts! |
|
| Back to top |
|
 |
granddad Voice
Joined: 19 May 2008 Posts: 5
|
Posted: Mon Aug 18, 2008 5:07 pm Post subject: |
|
|
I am getting this error with 2.8L.
missing close-brace
while executing
"namespace eval incith {
namespace eval weather {
# [custom_format] : converts a string to the desired output
#
proc custom_format {htmla..."
(file "scripts/incith-weather.tcl" line 221)
invoked from within
"source scripts/incith-weather.tcl"
Cant find the missing close-brace . |
|
| Back to top |
|
 |
kelso Voice
Joined: 31 Oct 2008 Posts: 3
|
Posted: Fri Oct 31, 2008 1:34 pm Post subject: |
|
|
Just wanted to point out, it looks like something changed again on multiple results. I tried to figure it out, it appears to be a slight change in HTML with the regexp, but im not able to get my self made changes to work.
!w united kingdom
!w miami
good examples, i have to keep muting / banning people abusing this.
Thanks |
|
| Back to top |
|
 |
incith Master

Joined: 23 Apr 2005 Posts: 275 Location: Canada
|
Posted: Sat Nov 15, 2008 2:08 am Post subject: |
|
|
Sorry all, it seems I had 2.8m sitting around, thought I had released it. This will fix any spewing of html data. _________________ ; Answer a few unanswered posts! |
|
| Back to top |
|
 |
vip Voice
Joined: 20 Nov 2008 Posts: 3
|
Posted: Thu Nov 20, 2008 8:32 pm Post subject: |
|
|
| possible to add www.hurl.ws to the list ?? |
|
| Back to top |
|
 |
kelso Voice
Joined: 31 Oct 2008 Posts: 3
|
Posted: Thu Dec 11, 2008 9:12 am Post subject: |
|
|
| it appears "south africa" is now spewing out a ton of extra data. Been looking through the tcl to see if i can fix it myself. |
|
| Back to top |
|
 |
incith Master

Joined: 23 Apr 2005 Posts: 275 Location: Canada
|
Posted: Sat Dec 13, 2008 4:30 pm Post subject: |
|
|
2.8n released to fix windchill not showing up.
| kelso wrote: | | it appears "south africa" is now spewing out a ton of extra data. Been looking through the tcl to see if i can fix it myself. |
Didn't see your post until I came to submit this. I do agree it's spewing a lot of data, but not HTML data, which was the point of prior fixes. I've been meaning to add an option that will limit the max length of output to some variable, so that these huge search results (and future HTML spewings) will not happen. _________________ ; Answer a few unanswered posts! |
|
| Back to top |
|
 |
incith Master

Joined: 23 Apr 2005 Posts: 275 Location: Canada
|
Posted: Wed Dec 17, 2008 10:26 pm Post subject: |
|
|
Things seem to have broke today, I'm working on it for tonight.
Update: I may not finish it tonight. I've submitted a ticket to wunderground to get a question answered as well. The changes they did today basically, are now controlling whether temperature is being displayed in C or F (metric or english) or Both, are now being controlled by cookies, and so weather script is only looking for the F degrees, I'll have a bit of rewriting to do. 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. _________________ ; Answer a few unanswered posts! |
|
| Back to top |
|
 |
incith Master

Joined: 23 Apr 2005 Posts: 275 Location: Canada
|
Posted: Thu Dec 18, 2008 3:48 am Post subject: |
|
|
2.8o available at incith.com
2.8p will have language support. I will soon be requesting translations once I have made a master language file, stay tuned! _________________ ; Answer a few unanswered posts! |
|
| Back to top |
|
 |
Hellster Voice
Joined: 10 Aug 2006 Posts: 22
|
Posted: Thu Dec 18, 2008 9:43 am Post subject: |
|
|
just a heads up , all i get with the latest version is this error
[08:28] Tcl error [pub_wz]: can't read "mtemp": no such variable |
|
| Back to top |
|
 |
|