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

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

Description

@rachyandco

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions