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.

lilyurl1.2.tcl

Support & discussion of released scripts, and announcements of new releases.
Post Reply
User avatar
swarfega
Voice
Posts: 25
Joined: Sat Oct 07, 2006 6:40 am

lilyurl1.2.tcl

Post by swarfega »

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
s
slaapliedje
Voice
Posts: 5
Joined: Mon Jul 30, 2012 2:08 pm

Post by slaapliedje »

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: Select all

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 :D[/code]
User avatar
speechles
Revered One
Posts: 1398
Joined: Sat Aug 26, 2006 10:19 pm
Location: emerald triangle, california (coastal redwoods)

Post by speechles »

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: Select all

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 :D
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: Select all

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 :)
Post Reply