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/util.py
sudo sed -i "s/md5.new/hashlib.md5/g" /usr/share/rubber/rubber/util.py

After it you should restart gedit to apply changes.

See ya

3 Responses to Gedit LaTeX plugin bug: rubber uses deprecated md5 module

  1. Denis says:

    Thanks for this, much appreciated!

  2. Eduardo says:

    Mano, this link has the complete “history” of this warning. https://bugs.launchpad.net/ubuntu/+source/rubber/+bug/338285

  3. Emanuel says:

    Interesting! They put the project (branch) in launchpad.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: