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;
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.
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.
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.