Guan: can I ask a favor of you? Would you mind writing out exactly what the problem is in a bug-tracker bug? That way, if anyone wants to fix it, they can.
Also, if you could tag the code from HEAD with openacs-5-1-compat, then at least people will be downloading the right version, even if it is currently broken.