PDA

View Full Version : [Fixed] is this setting for autonuke valid please?


djdeluxe76
04-25-2005, 01:50 PM
Hello and thank you for reading my post!

I am going to post a log entry from SystemError.log and after that
the corresponding line from the ioAUTONUKE.itcl which I believe is
causing it. I am asking for help as to determine what could be
the problem here:


SystemError.log

can't read "anuke(banned,)": no such element in array
while executing
"foreach type $anuke(banned,$section) {
if {[string match -nocase "*$type*" $name]} {return $type}
}"
(procedure "isbanned" line 3)
invoked from within
"isbanned "$subsection" "$release""
(procedure "autonuke" line 175)
invoked from within
"autonuke"

ioAUTONUKE.itcl

set anuke(banned,sections) {{"/0DAY" 1 1 3 30 60}}

As you can see I have a section defined for the banned procedure, I
just want it to be browsing all 0DAY dirs and not just the /0DAY/????
which translates to "today". Is this a valid entry and if not what can
I do to achieve my goal please?

Thanks for your time helping me!

cheers
DJ

Harm
04-25-2005, 07:01 PM
It looks correct.
Though, I have just checked the code of the ioAUTONUKE.itcl that comes with ioBanana v20 and I might have an idea of what's causing it. I will make some tests tomorrow to be sure and help you to solve your problem.. but I probably won't release a fix for this version.

The good thing is that your problem helped me to fix a similar (the message, not the cause) bug in the version of ioAUTONUKE I'm working on (read: a new one).

djdeluxe76
04-26-2005, 07:52 AM
wow, that great to hear! I really like your scripts.
Let's see what you have in mind for the new version.

Thanks for helping me here :)

Cheers
DJ

Harm
04-26-2005, 08:06 AM
In mind ? Let's see :
- easily extensible
- imdb and mp3 nukes
- nuke reasons will be (somehow) customisable
Those are already implemented. Anything else ?

djdeluxe76
04-26-2005, 08:55 AM
hehe, i was just gonna ask you for customizable nuke reasons, but it's
probably you're already thinking in some levels higher :)

I was thinking, maybe you can add regex support to defining dirs to
search and dirs to exclude. Like you did with the CD[0-9] where it says
"regexp are supported"... that way almost any scenario would be
addable.

Other than that, I think your Autonuke will be as near to being perfect
as it can be for an Autonuke script.

cheers
DJ