egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

lilyurl1.2.tcl

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
swarfega
Voice


Joined: 07 Oct 2006
Posts: 25

PostPosted: Sat Aug 25, 2012 10:31 am    Post subject: lilyurl1.2.tcl Reply with quote

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
View user's profile Send private message
slaapliedje
Voice


Joined: 30 Jul 2012
Posts: 5

PostPosted: Fri Oct 12, 2012 6:38 pm    Post subject: Reply with quote

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 Very Happy[/code]
Back to top
View user's profile Send private message
speechles
Revered One


Joined: 26 Aug 2006
Posts: 1398
Location: emerald triangle, california (coastal redwoods)

PostPosted: Fri Oct 12, 2012 10:23 pm    Post subject: Reply with quote

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 Very Happy


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 Smile
_________________
speechles' eggdrop tcl archive
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber