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.

DragnLord's weather script

Support & discussion of released scripts, and announcements of new releases.
Post Reply
a
arbiter
Voice
Posts: 8
Joined: Mon Oct 24, 2005 8:21 pm

Post by arbiter »

yup looks like it needs an update ;/

da man is on top of it :)
Last edited by arbiter on Tue Feb 28, 2006 9:04 pm, edited 2 times in total.
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

Same here; website altered (yet again)?
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
c
cache
Master
Posts: 306
Joined: Tue Jan 10, 2006 4:59 am
Location: Mass

Post by cache »

Thanks for the update, works for me now :)
r
redtube
Voice
Posts: 10
Joined: Wed Mar 01, 2006 4:01 pm

Post by redtube »

"Thanks for the update, works for me now "
eh? how did you get the file to open? my download of weather3.5.9-a.tcl.gz says the archive is either of unknown format or damaged and my other saved rar files open up perfect in WinRAR client.
Maybe you would care to e mail me the file seeing as though you managed to open it - many thanks
davd r.
tube@centaur.plus.com
c
cache
Master
Posts: 306
Joined: Tue Jan 10, 2006 4:59 am
Location: Mass

Post by cache »

redtube, it gives me that same error, BUT what I do is, double click the file, and select to open with 'WordPad' it then opens and shows the source, I Copy it, then paste it in my old tcl file and save.

Cache.
r
redtube
Voice
Posts: 10
Joined: Wed Mar 01, 2006 4:01 pm

Post by redtube »

nope wont open in wordpad - i have win98 if thats causing that problem cause i dont have a choice to open a file into
i can slide the file across to notepad (cant into wordpad) and read it that way but its not wrapped properly and it shows up other spacing characters that would alter the code and cause any cut & paste to fail - can u possibly mail it to me ta?
tube@centaur.plus.com
User avatar
DragnLord
Owner
Posts: 711
Joined: Sat Jan 24, 2004 4:58 pm
Location: C'ville, Virginia, USA

gzip archive

Post by DragnLord »

The archive is fine, you just need a program that handles the archive type gzip.

Windows XP will open the file due to the integration of ZipMagic used to treat zip files as folders.

I don't use Windows, my desktop computer runs BSD, so my packaging is done with BSD and GNU operating systems in mind.

There are several freeware archive programs out that handle gzip, my preference for win32 systems is IZarc.
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

One could install Winace as it has no problems with .gz files let alone any other archives.
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
DragnLord
Owner
Posts: 711
Joined: Sat Jan 24, 2004 4:58 pm
Location: C'ville, Virginia, USA

winace, freeware?

Post by DragnLord »

I wasn't aware that winace was freeware now
c
cache
Master
Posts: 306
Joined: Tue Jan 10, 2006 4:59 am
Location: Mass

Post by cache »

Another trick I do on win xp is click rename and delete .gz part and it auto unzips lol.
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

Post by rosc2112 »

Just a THANK YOU to Dragonlord for bringing this script back to life and keeping it fixed. Wunderground is such a pain in the arse. I made a replica script for ircII which used lynx -dump, so there was no html to contend with, this has to be a real pain to keep updating every time wunderground decides to change their pages.
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

Post by rosc2112 »

Ohh, I just noticed, the script chokes on special chars passed to it, so I'd like to ask if this can be fixed?

Eg, .wz {foo
- Tcl error [msg_wz]: can't read "localtime": no such variable
Tcl error [msg_wz]: unmatched open brace in list


Thanks again :)
User avatar
DragnLord
Owner
Posts: 711
Joined: Sat Jan 24, 2004 4:58 pm
Location: C'ville, Virginia, USA

special characters

Post by DragnLord »

Since no city, country, nor any zip code, contain any special characters; the short answer here is "maybe when the next version comes out".

It in no way prevents the script from working with an intelligent request.
User avatar
Thunderdome
Op
Posts: 187
Joined: Tue Mar 15, 2005 4:42 pm

an error

Post by Thunderdome »

Code: Select all

Tcl error [pub_wz_forecast]: can't read "fcast(10)": no such element in array
It says this in the party line when I do .wzf (forecast)
Still, displays all forecast properly with the exception of a first blank line...

Awesome script by the way :wink:
User avatar
DragnLord
Owner
Posts: 711
Joined: Sat Jan 24, 2004 4:58 pm
Location: C'ville, Virginia, USA

Re: an error

Post by DragnLord »

Thunderdome wrote:

Code: Select all

Tcl error [pub_wz_forecast]: can't read "fcast(10)": no such element in array
It says this in the party line when I do .wzf (forecast)
Still, displays all forecast properly with the exception of a first blank line...

Awesome script by the way :wink:
It does that for non-USA forecasts during the evenings and nights. It does not prevent the script from working so it has a rather low priority level.

You can use console flags to not show those while not debugging scripts.
Post Reply