MMM icons disappeared? Here's why...

So some of you have noticed that your icons have disappeared. Umm: sorry about that.

The good news is that I think I've found the reason - there's a bug in MMM that means that it doesn't gracefully handle subreddits being deleted. Some of the subreddits it monitored have been deleted, and it started going crazy as a result. Everybody using v15xb will have been affected, and v12x people will have been affected if they were ever members of one of the now-deleted subreddits. But now I've found the problem, I can fix it.

The bad news is that, to be sure that the data is accurate post-fix, I'm going to have MMM regenerate its entire database. Which takes a while, because it has to basically go to the "/about/contributors" page on every sub it watches and click "next... next... next..." through the pages^* (waiting at least 2 seconds between each click) to check them all. And some subs, like r/top and r/EternityClub have... well, they have a lot of members. r/gildedgonewild and r/MegaLounge aren't small these days, either.

If I'm right, it should fix itself for v150b users within the next hour, and for v120 users within a couple of hours after that. Fingers crossed!

Sorry all.

Edit: Oh, and incidentally - there was an additional bug in v120 that made it not show an error message to explain what had gone wrong. It'd just never come up before. v120 should have been telling us there was a problem earlier!

Edit2: Revised estimate - v150b should work within 3 hours, v120 within 6. Assuming I'm right about the root cause.

Edit3: Not convinced that the change has fixed it. Think there's something else going on. Will look tomorrow evening.

Edit4: Deeper problem was that the MMM database had somehow started including duplicate usernames of people who'd been in those subs that had been deleted. These duplicate people were the reason that some of you were seeing duplicate icons; they're also the reason that some of you were seeing no icons at all (you were being authenticated as one of "you", but not the right "you"). Soo... I've cleared out the database of all 82,000 "people" as well and I'm having MMM rebuild it. And I'm adding checks to make sure that can't happen again either. So: lots of data-rebuilding. The good news is that once it's set off, the computer can pretty much do it by itself. The bad news is that it'll take a while. Will keep you posted, but honestly: if this fixes everything (and again, it'd be fixed for v150b users first) then you'll probably know about it before I do, because I expect to be asleep in bed when it finishes.


^(^* It doesn't actually do this. But it kind-of does.)

Posted Mar 23, 2016, 4:10 PM UTC · edited

1738
Loading comments…