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.

problem with reading file from web

Old posts that have not been replied to for several years.
Locked
d
drl

problem with reading file from web

Post by drl »

Hi,

I don't know much about tcl - but I managed to write a script which would once an hour, take the text from a php script and set the topic with the text in that file. The php file would change automatically depending who was on air (the bot is in a channel for a radio station).

It was running fine for about a month untill the other day (I have made no change to the bot what so ever) I get this error message on the partyline every time it tries to access the file:

Tcl error [autoupdate]: Your terminal lacks the ability to clear the screen or position the cursor.

Is it a problem I can fix? The bot uses lynx to access the data, with the line:

set file [open "|lynx -dump http://www.location.of/file" r]

Thanks,

David
P
Progeny

Post by Progeny »

Why don't use http library?
See the releated documentation at http://tcl.activestate.com/man/tcl8.0/TclCmd/http.htm
Locked