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.

egg-fu_2.0.11 illegal operation

Support & discussion of released scripts, and announcements of new releases.
Post Reply
F
FoxII
Voice
Posts: 9
Joined: Wed Sep 26, 2007 11:10 pm

egg-fu_2.0.11 illegal operation

Post by FoxII »

I am currently trying to get egg-fu to work, but when I run eggdrop, I get the following error;

Code: Select all

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

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.
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

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
F
FoxII
Voice
Posts: 9
Joined: Wed Sep 26, 2007 11:10 pm

Post by FoxII »

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.
Post Reply