| View previous topic :: View next topic |
| Author |
Message |
FoxII Voice
Joined: 26 Sep 2007 Posts: 9
|
Posted: Thu Oct 04, 2007 11:27 am Post subject: egg-fu_2.0.11 illegal operation |
|
|
I am currently trying to get egg-fu to work, but when I run eggdrop, I get the following error;
| Code: | error reading "file20": illegal operation on a directory
while executing
"gets $bc"
invoked from within
"set sex [gets $bc]"
(file "scripts/egg-fu_2.0.11.tcl" line 761)
invoked from within
"source scripts/egg-fu_2.0.11.tcl" |
I have been to that line in the script and I have;
| Code: |
set bc [open $eggfu(path,bc) r]
set sex [gets $bc];set sex [gets $bc];close $bc
putlog "\002egg\002-\002fu\002 \002$eggver\002 loaded! (age: [myage], sex: $sex)" |
I am guessing that the problem lies with the "illegal operation on a directory" but I cannot fathom enough to solve it.
I am running the current release of eggdrop on linux run from my own machine.
TIA _________________ Linux based computer, running eggdrop on my own comp. |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Thu Oct 04, 2007 11:48 am Post subject: |
|
|
It would seem "$eggfu(path,bc)" has been set to a directory rather than a file. Trying to read a line of text from a directory generally does'nt make much sense, and hence the error. _________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
FoxII Voice
Joined: 26 Sep 2007 Posts: 9
|
Posted: Thu Oct 04, 2007 1:50 pm Post subject: |
|
|
I have found that the $eggfu(path,bc) should be a location for the 'birth certificate' to be created. This is not being created so I guess that there is a problem somewhere else.
I'm currently looking to see if I can see anything which stands out, but if you have any further ideas, I would be really grateful. _________________ Linux based computer, running eggdrop on my own comp. |
|
| Back to top |
|
 |
|