| View previous topic :: View next topic |
| Author |
Message |
swarfega Voice

Joined: 07 Oct 2006 Posts: 25
|
Posted: Sat Aug 25, 2012 10:31 am Post subject: lilyurl1.2.tcl |
|
|
I cant get this to run.
I get this error: http://pastebin.com/fQFSadwf
Could someone be kind enough to list the required tcls please.
So far Ive added:
source scripts/http.tcl
source scripts/tls.tcl
source scripts/struct.tcl
source scripts/graph_tcl.tcl
source scripts/htmlparse.tcl
source scripts/statusd.tcl
source scripts/lilyurl1.2.tcl |
|
| Back to top |
|
 |
slaapliedje Voice
Joined: 30 Jul 2012 Posts: 5
|
Posted: Fri Oct 12, 2012 6:38 pm Post subject: |
|
|
I was able to get this to load on my Debian Sqeeze setup by installing the following packages;
tcllib
tcl-tls
libsqlite3-tcl
tcllib contains the struct.tcl, so anything that'll use it is installed globally, I didn't have to include it in the eggdrop.conf file.
The problem I'm running into is that whenever a URL is posted, instead of doing anything, it gives me this error when telnet'd to eggdrop.
| Code: | | Tcl error [pubm:url2irc]: invalid command name "::http::meta" |
So let's see if my suggestion fixes your issue and then hopefully someone can help me with mine [/code] |
|
| Back to top |
|
 |
speechles Revered One

Joined: 26 Aug 2006 Posts: 1398 Location: emerald triangle, california (coastal redwoods)
|
Posted: Fri Oct 12, 2012 10:23 pm Post subject: |
|
|
| slaapliedje wrote: | The problem I'm running into is that whenever a URL is posted, instead of doing anything, it gives me this error when telnet'd to eggdrop.
| Code: | | Tcl error [pubm:url2irc]: invalid command name "::http::meta" |
So let's see if my suggestion fixes your issue and then hopefully someone can help me with mine  |
The problem you are having is.... http package version differences.
Http package 2.5 has no http::meta included. To duplicate it, add this procedure to the end of the script requiring http::meta. | Code: | proc http::meta {token} {
variable $token
upvar 0 $token state
return $state(meta)
} |
Http package 2.7 and above include this procedure by default. There is no need to modify the script to support it. You can tell which version of http package you have by typing .tcl package present http in your bots partyline.
Hope this helps  _________________ speechles' eggdrop tcl archive |
|
| Back to top |
|
 |
|