Skip to content

AttributeError: 'LeapCryptedFileKeyring' object has no attribute 'file_path' on first run

i installed the leap client on a clean debian 6.0.6 system. on the first run, after going through the wizard, the client threw this error and wouldn't connect:

Traceback (most recent call last): File "/usr/local/lib/python2.6/dist-packages/leap_client_springbok-5c86e71dev-py2.6.egg/leap/gui/firstrunwizard.py", line 188, in accept leapkeyring.leap_set_password(username, password, seed=seed) File "/usr/local/lib/python2.6/dist-packages/leap_client_springbok-5c86e71dev-py2.6.egg/leap/crypto/leapkeyring.py", line 53, in leap_set_password keyring.set_password('leap', key, value) File "/usr/lib/pymodules/python2.6/keyring/core.py", line 33, in set_password return _keyring_backend.set_password(service_name, username, password) File "/usr/lib/pymodules/python2.6/keyring/backend.py", line 196, in set_password password_encrypted = self.encrypt(password) File "/usr/lib/pymodules/python2.6/keyring/backend.py", line 344, in encrypt crypter = self._init_crypter() File "/usr/lib/pymodules/python2.6/keyring/backend.py", line 324, in _init_crypter if not self._check_file(): File "/usr/lib/pymodules/python2.6/keyring/backend.py", line 303, in _check_file if os.path.exists(self.file_path): AttributeError: 'LeapCryptedFileKeyring' object has no attribute 'file_path'

however when i quit the client and started it again, it worked.

(from redmine: created on 2012-10-09, closed on 2012-10-25, blocks #662 (closed))