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 

[SOLVED] Tcl error in file at startup

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
Landslyde
Halfop


Joined: 01 May 2014
Posts: 46

PostPosted: Thu May 01, 2014 6:23 pm    Post subject: [SOLVED] Tcl error in file at startup Reply with quote

I just installed eggdrop 1.6.21 and tcl8.6.1 on a Debian 7.0 VPS. Everything was smooth until I tried to run it. It seems I'm missing a file: eggdrop/scripts/script.tcl

Code:

./eggdrop -m stryker.conf

Eggdrop v1.6.21 (C) 1997 Robey Pointer (C) 2011 Eggheads
[21:45:19] --- Loading eggdrop v1.6.21 (Thu May  1 2014)
[21:45:19] Module loaded: blowfish
[21:45:19] Module loaded: dns
[21:45:19] Module loaded: channels
[21:45:19] Module loaded: server
[21:45:19] Module loaded: ctcp
[21:45:19] Module loaded: irc
[21:45:19] Module loaded: notes            (with lang support)
[21:45:19] Module loaded: console          (with lang support)
[21:45:19] Can't load modules woobie: /home/eggdropbot/eggdrop/modules/woobie.so: cannot open shared object file: No such file or directory
[21:45:19] Module loaded: seen
[21:45:19] Module loaded: assoc            (with lang support)
[21:45:19] Module loaded: wire             (with lang support)
[21:45:19] Module loaded: uptime
[21:45:19] Tcl error in file 'stryker.conf':
[21:45:19] couldn't read file "scripts/script.tcl": no such file or directory
    while executing
"source scripts/script.tcl"
    (file "stryker.conf" line 1382)
[21:45:19] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)


script.tcl is an installation file. It wasn't there. So I removed the eggdrop dir and re-installed eggdrop1.6.21. And the file was missing from the installation again. I can comment out the line that loads this file and the bot runs. But why am I missing an install file?

Not sure what am I doing wrong, guys? I've been fighting this all day long. Crazy!

Thanks for your time.

UPDATE: I created script.tcl, uploaded it, and I'm up and running. But I still don't feel 100% about having to do it that way.


Last edited by Landslyde on Fri May 02, 2014 2:20 pm; edited 1 time in total
Back to top
View user's profile Send private message
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1175

PostPosted: Fri May 02, 2014 8:44 am    Post subject: Reply with quote

Examine your eggdrop.conf. ( looks like it is stryker.conf )

Compare to the example found here:
http://eggwiki.org/Eggdrop.conf

On that webpage, text search for:
script.tcl
You'll find a section that begins:
"# This is a good place to load scripts to use with your bot."

In that section is an example line:
# source scripts/script.tcl

You mentioned that you can comment it out in yours, and the bot runs fine.
I suspect that somehow in your stryker.conf that line got un-commented.
It is supposed to be commented out. It is just an example.

As for:
Quote:

script.tcl is an installation file.

I don't know yet why you feel that it is.
Why?
Back to top
View user's profile Send private message
Landslyde
Halfop


Joined: 01 May 2014
Posts: 46

PostPosted: Fri May 02, 2014 2:19 pm    Post subject: Reply with quote

Because I got in a hurry. I made a mistake. Thank you for clarifying my error; it makes me feel better now knowing I'm not missing a file. I didn't take my time when uncommenting.

Now I'm working on getting the bot to respond to me. I'm sure I'll find this answer in the forum archives.

Thanks for your help, willyw.
Back to top
View user's profile Send private message
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1175

PostPosted: Fri May 02, 2014 4:10 pm    Post subject: Reply with quote

Landslyde wrote:
Because I got in a hurry. I made a mistake.

Welcome to the human race.
Smile
Quote:

Now I'm working on getting the bot to respond to me. I'm sure I'll find this answer in the forum archives.

That's a good place to hunt for information.
Quote:

Thanks for your help, willyw.

You're welcome.

Let us know if you need further assistance.
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 -> Eggdrop Help 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