Patch it with the patch distributed with Electrum.
Note: Even though Electrum's database uses pruning, you cannot use it
-with a pruning bitcoind. A full bitcoin node is required in order to
-know for each address if it has been used. Pruning occurs only at the
-level of the Electrum database.
+with a ultra-pruning bitcoind (forthcoming in 0.9 or later).
+A full bitcoin node is required in order to know for each address
+if it has been used. Pruning occurs only at the level of the Electrum database.
+txindex=1 however is *not* needed!
__________________________________________________________
2. Install python-leveldb:
+Starting at Ubuntu 12.10 you can use apt to install leveldb. If you
+rather stay on 12.04 LTS you can use the backport and add
+"deb http://archive.ubuntu.com/ubuntu precise-backports main restricted universe"
+to your sources file. Install the package with:
+
sudo apt-get install python-leveldb
alternatively build yourself, see