PDA

View Full Version : [Fixed] ioAUTONUKE.itcl ErrrorInfo Question


djdeluxe76
03-29-2005, 08:33 AM
Hello,

I hope this is the right Forum to post this, but as ioAUTONUKE.itcl
came with ioBanana v20 and my ioFTPD-beta-5-8-5r I guess I'll post
this here as a start:

When I schedule ioAUTONUKE with warnings enabled and deletion
disabled as told in ioBanana manual I get this message in my
SystemError.log file.


--------------------------- ErrorInfo ----------------------------
can't read "anuke(allowed,0DAY)": no such element in array
while executing
"foreach group $anuke(allowed,$section) {
if {[string match -nocase "*-$group" $name]} {return 1}
}"
(procedure "isallowed" line 3)
invoked from within
"isallowed "$subsection" "$release""
(procedure "autonuke" line 233)
invoked from within
"autonuke"
(file "C:\ioFTPD\script03-29-2005 15:00:06 "C:\ioFTPD\scripts\ioAUTONUKE.itcl" terminated abnormally


Can I be told from this error message what I need to change/tweak
in the itcl script to make the autonuker work correctly? If more setup
info is needed please ask the parts you need. Sorry for this
inconvenience, but I am quite ew to Tcl and I dont understand the
language yet, so I wouldnt know how this relates to ther settings.

Thanks for taking your time to read this post!

Cheers!
DJ

Harm
03-29-2005, 12:33 PM
This is indeed the correct forum to post this.
You're missing a setting :set anuke(allowed,0DAY) {"WHATEVER"}

djdeluxe76
03-29-2005, 05:33 PM
thanks for your quick reply (as usual!).

You were right, there is two lines according to the sections that are in the script by default.
I think for allowed it was MP3. I added the 0DAY and didnt know that a few paragraphs below
you had to add a line under the MP3 one that searches for TESTALLOW and ALLOWTEST.

Now I have to enter the groups i want to be allowed for 0DAYS where you typed WHATEVER
because if it doesnt know what groups are allowed in 0DAY it becomes NULL and the array isnt set.
Dunno know if this geek talk makes sense to a supreme coder but at least it does for me :)

Case closed now, if it wasnt for your outstanding help.

Domo arigatu
DJ