| View previous topic :: View next topic |
| Author |
Message |
RcTomcat Voice
Joined: 03 Aug 2008 Posts: 5
|
Posted: Sun Aug 03, 2008 3:33 pm Post subject: can't start invalid command name |
|
|
Eggdrop v1.6.18 (C) 1997 Robey Pointer (C) 2006 Eggheads
[21:28] --- Loading eggdrop v1.6.18 (Sun Aug 3 2008)
[21:28] Tcl error in file 'eggdrop.conf':
[21:28] invalid command name "!"
while executing
"! /home/rctomcat/eggdrop1.6.18"
(file "eggdrop.conf" line 1)
[21:28] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)
how can i fix this error? |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Sun Aug 03, 2008 6:26 pm Post subject: |
|
|
Simple answer:
Don't remove the # on the first line..
Advanced answer:
#! is a "magic number", used by many systems to identify what kind of executable the file is. The #! specifies that the file isn't a binary itself, but a script which is to be executed by the program identified by the rest of the line. In the case of eggdrop configs, this should point to your eggdrop binary, and thus be
| Quote: | | #!/home/rctomcat/eggdrop1.6.18/eggdrop |
_________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
RcTomcat Voice
Joined: 03 Aug 2008 Posts: 5
|
Posted: Mon Aug 04, 2008 5:08 am Post subject: |
|
|
Thank you for your help but I still get the same error....
Even with the #!/home/rctomcat/eggdrop1.6.18/eggdrop
Now the error says
Eggdrop v1.6.18 (C) 1997 Robey Pointer (C) 2006 Eggheads
[21:28] --- Loading eggdrop v1.6.18 (Sun Aug 3 2008)
[21:28] Tcl error in file 'eggdrop.conf':
[21:28] invalid command name "#!/home/rctomcat/eggdrop1.6.18/eggdrop"
while executing
"#!/home/rctomcat/eggdrop1.6.18/eggdrop"
(file "eggdrop.conf" line 1)
[21:28] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR) |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Mon Aug 04, 2008 8:33 am Post subject: |
|
|
Emm?
Tcl should treat # as a simple comment, and ignore the line completely.
You could just remove that line, as it will not prevent your eggdrop from working properly. You'll have to start your eggdrop using | Code: | | ./eggdrop eggdrop.conf | rather than using Other than that, things should work just the same. _________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
RcTomcat Voice
Joined: 03 Aug 2008 Posts: 5
|
Posted: Mon Aug 04, 2008 9:18 am Post subject: |
|
|
I deleted this line.....
but i still experience the problem with the #
Looks like tcl doesnt know what to do woth this symbol.
Where can i get a new tcl version? |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Mon Aug 04, 2008 9:52 am Post subject: |
|
|
That sounds very odd, and to be honest, I can't recall encountering anything like that before. If you wish to try some other tcl-library, you can download source packages from www.tcl.tk. _________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
RcTomcat Voice
Joined: 03 Aug 2008 Posts: 5
|
Posted: Mon Aug 04, 2008 12:42 pm Post subject: |
|
|
thank you very much for your help.
I will try the other library.
It is a very weird error i get....
Well i keep you posted.
Thx |
|
| Back to top |
|
 |
|