I have to mv /etc/profile/input-method-config.sh out of /etc/profile to recover.
I find my input method still usable, even if input-method-config.sh not exist.