quickie comment re SetSession: either pass in $session (and do "tie %$session"), or don't pass it in (and substitute $session for $HTML::Mason::Commands::session)
also, why does it untie at the end? Surely that's your problem?
(Shirley)
ruaok
No, its not...
The hash needs to get untied before the script ends so that apache can write the session back to disk.
djce
Well (a) there's probably a "sync" call for that, and (b) Mason (at least) does the "untie" anyway when the request ends.
ruaok
I don't get your quickie comment -- I am passing in session.
please elaborate.
djce
$session is always going to be == \%HTML::Mason::Commands::Session, I think.
In fact, if it's not, the method won't work.
cos you tie() to one and write into the other.
ruaok
ok, taking the tie out makes it work.
Its probably getting to be bed time...
djce
Oh, maybe you need "tie if not already tied" ? One for later, perhaps.
btw be sure to "cvs update" your copy of UserStuff.pm before you do more work on it
time to do some voting... haven't done any for a while.
ruoak
ok, I've updated UserStuff
djce
Did you see Gavin's (?) suggestion that the new automod's old mods should be pushed through without voting?
ruoak
I haven't looked yet, but sounds reasonable.
djce
I was just about to do that by manually adding 10 to moderation.yes for each one, or something.
That sound ok?
ruoak
sure. :-)
djce
(easier than changing code :-)
ruoak
damn near 1,000,000 tracks too...
Oh, I need to make sure ModBot doesn't show up in the top 10 moderators...
djce
OK, automod's mods updated. And the modbot is /just/ about to run.
Couldn't have timed it better :-)
ruoak
and is now. :-)
djce
SPEW SPEW SPEW ERROR ERROR WHO'S BEEN DIDDLING MY DATA?????? :-)
ruoak
that took over 1000 mods out...
djce
indeed.
Presumably you fixed last night's (i.e. about 22 hours ago) ModBot error?
ruoak
yup.
djce
What was it this time?
ruoak
artistalias_fk
djce
deleted artist?
ruoak
I don't recall, sorry...
djce
Maybe whenever one (any?) of us steps in to relieve the ModBot of its pain, we should mail root@zim (so we all get it) to say what was wrong and how we fixed it.