I figured it out by process of elimination - the animdata.mul had, somehow, been replaced with a blank one. This was causing the bit index error -- not sure why! I replaced the animdata with the default.
Wham, bam, thank you ma'am. It works!
Wham, bam, thank you ma'am. It works!