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.

[SOLVED] Tcl error in file at startup

General support and discussion of Eggdrop bots.
Post Reply
L
Landslyde
Halfop
Posts: 46
Joined: Thu May 01, 2014 6:01 pm

[SOLVED] Tcl error in file at startup

Post by Landslyde »

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

./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.
w
willyw
Revered One
Posts: 1202
Joined: Thu Jan 15, 2009 12:55 am

Post by willyw »

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:
script.tcl is an installation file.
I don't know yet why you feel that it is.
Why?
L
Landslyde
Halfop
Posts: 46
Joined: Thu May 01, 2014 6:01 pm

Post by Landslyde »

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.
w
willyw
Revered One
Posts: 1202
Joined: Thu Jan 15, 2009 12:55 am

Post by willyw »

Landslyde wrote:Because I got in a hurry. I made a mistake.
Welcome to the human race.
:)
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.
Thanks for your help, willyw.
You're welcome.

Let us know if you need further assistance.
Post Reply