Patricks Blog

the happiest place on the web
Posts tagged "Revelation"

Hi, nach dem Update auf Ubuntu 10.4 trat folgender Fehler beim Passwort Manager Revelation auf:

 pe@perdmann ~ $ revelation 
Traceback (most recent call last):
  File "/usr/bin/revelation", line 27, in 
    from revelation import config, data, datahandler, dialog, entry, io, ui, util
  File "/usr/lib/python2.6/dist-packages/revelation/__init__.py", line 29, in 
    import datahandler
  File "/usr/lib/python2.6/dist-packages/revelation/datahandler/__init__.py", line 28, in 
    from fpm import FPM
  File "/usr/lib/python2.6/dist-packages/revelation/datahandler/fpm.py", line 37, in 
    from Crypto.Cipher import Blowfish
ImportError: No module named Cipher


Das ganze habe ich erstmal repariert indem ich in der “/usr/lib/python2.6/dist-packages/revelation/datahandler/fpm.py” zwei neue Zeilen vor dem “from Crypto.Cipher import Blowfish” eingefügt habe: 

import sys
sys.path = ['/usr/lib/python2.6/dist-packages'] + sys.path

from Crypto.Cipher import Blowfish
from Crypto.Hash import MD5


import syssys.path =  [‘/usr/lib/python2.6/dist-packages’] + sys.path
from Crypto.Cipher import Blowfishfrom Crypto.Hash import MD5

Wenn ihr einen eleganteren Fix dafür habt meldet euch bitte. patrick AT perdmann DOT de