egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

egg-fu_2.0.11 illegal operation

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
FoxII
Voice


Joined: 26 Sep 2007
Posts: 9

PostPosted: Thu Oct 04, 2007 11:27 am    Post subject: egg-fu_2.0.11 illegal operation Reply with quote

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
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Thu Oct 04, 2007 11:48 am    Post subject: Reply with quote

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
View user's profile Send private message
FoxII
Voice


Joined: 26 Sep 2007
Posts: 9

PostPosted: Thu Oct 04, 2007 1:50 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber