Gedit LaTeX plugin bug: rubber uses deprecated md5 module

This post complements another post that introduces LaTeX plugin for Gedit. It treats a bug found in the first latex compilation after enable Latex Plugin in Gedit on Ubuntu 9.10. The turnaround is as follows:

sudo sed -i "s/import md5/import hashlib/g" /usr/share/rubber/rubber/
sudo sed -i "s/" /usr/share/rubber/rubber/

After it you should restart gedit to apply changes.

See ya