Skip to content
This repository has been archived by the owner on Oct 16, 2024. It is now read-only.

"enableAlternate2fa" error when using standard install on Ubuntu 16.04 #36

Open
rachyandco opened this issue Dec 13, 2017 · 0 comments
Open

Comments

@rachyandco
Copy link

Objective: using Ledger Nano S with Electrum to sign a bitcoin transaction

Electrum 2.9.3
Ledger bitcoin app: 1.1.10
Ubuntu 16.04
official ubuntu repo: btchip-python 0.1.16-1

This error happens:

Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/electrum_plugins/ledger/ledger.py", line 365, in sign_transaction
    self.get_client().enableAlternate2fa(False)
AttributeError: btchip instance has no attribute 'enableAlternate2fa'
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/electrum_gui/qt/util.py", line 582, in run
    result = task.task()
  File "/usr/local/lib/python2.7/dist-packages/electrum/wallet.py", line 1141, in sign_transaction
    k.sign_transaction(tx, password)
  File "/usr/local/lib/python2.7/dist-packages/electrum_plugins/ledger/ledger.py", line 422, in sign_transaction
    self.give_error(e, True)
  File "/usr/local/lib/python2.7/dist-packages/electrum_plugins/ledger/ledger.py", line 201, in give_error
    raise Exception(message)
Exception: btchip instance has no attribute 'enableAlternate2fa'

the workaround was to install with PIP version 0.1.24

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant