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 

Eggdrop tclsql problem

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    egghelp.org community Forum Index -> Archive
View previous topic :: View next topic  
Author Message
Mad0nna
Guest





PostPosted: Sun May 19, 2002 12:06 pm    Post subject: Reply with quote

Hello
I'm running:
-Freebsd4.5 (i386)
-mysql Ver 11.15 Distrib 3.23.47, for -freebsd4.5 (i386)
-Eggdrop v1.6.9: 5 users (mem: 88k)
-TCL8.3
-tclsql 1.1

I installed tcl8.3 and tclsql through /stand/sysinstall so they should both be compiled correctly. The tclsql commands work correctly in tclsh, I can query the mysql server without any problems, but when I load the sql package in my eggdrop and try to connect, I get the following error:

[15:40] Tcl error [sql]: too many nested calls to Tcl_EvalObj (infinite loop?)

The eggdrop doesn't crash but the sql query certaintly doesn't work either. Below is the TCL code that triggers the error:

package require sql
set conn [sql connect localhost someuser secret]

Can someone tell me why there is a difference in the behaviour of tclsql in the normal tclsh versus in an eggdrops tcl script ?
How do I make this work ?
Back to top
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    egghelp.org community Forum Index -> Archive 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