Project

General

Profile

Anomalie #4117

problème script init_sphynx

Added by Karim Ayari over 7 years ago. Updated over 7 years ago.

Status:
Fermé
Priority:
Normal
Category:
-
Start date:
09/21/2012
Due date:
% Done:

100%

Spent time:
Distribution:
EOLE 2.3

Description

on ne peut plus saisir la clé privée, on reçoit une erreur Traceback

Chemin complet de la clé privée : /root/privkey.pem
Saisir passphrase de la clé privée :

Traceback (most recent call last):
File "/usr/share/eole/init_sphynx", line 204, in <module>
populate_database()
File "/usr/share/eole/init_sphynx", line 167, in populate_database
decrypted_key = decrypt_privkey(privatekey_string=privkey, passwd=passwd)
File "/usr/lib/pymodules/python2.6/arv/lib/util.py", line 21, in newFunc
return func(*args, **kwargs)
TypeError: decrypt_privkey() got an unexpected keyword argument 'privatekey_string'
root@sphynx8:~#

la correction de Fabrice fonctionne :

modifier le script init_sphynx en remplaçant la ligne

decrypted_key = decrypt_privkey(privatekey_string=privkey, passwd=passwd)

par

devient decrypted_key = decrypt_privkey(privkey_string=privkey, passwd=passwd)

Associated revisions

Revision a6de5cac (diff)
Added by Fabrice Barconnière over 7 years ago

eole/init_sphynx : mauvais nom d'argument à l'appel de decrypt_privkey
fixes #4117 @5m

History

#1 Updated by Fabrice Barconnière over 7 years ago

  • Project changed from Amon to conf-sphynx
  • Status changed from Nouveau to Accepté
  • Assigned To set to Fabrice Barconnière
  • Target version set to Mises à jour 2.3.7 RC

#2 Updated by Fabrice Barconnière over 7 years ago

  • Status changed from Accepté to Résolu
  • % Done changed from 0 to 100

#3 Updated by Fabrice Barconnière over 7 years ago

  • Status changed from Résolu to Fermé

Also available in: Atom PDF