Asogiate is a filetype editor (MIME), and on 11.04 if gives an error about the database being malformed, then won't work. How do I get around this?
I found the solution.
It turns out that Asogiate was correct, and my database was corrupt. To fix this, I had to remove ~/.local/share/mime/ and then when I ran it again it worked.