LBRY-Vault/electrum
SomberNight e68b6447cc
hww: catch exceptions when user clicks on hww qt status bar icon
E | gui.qt.exception_window.Exception_Hook | exception caught by crash reporter
Traceback (most recent call last):
  File "...\electrum\electrum\plugins\ledger\ledger.py", line 167, in perform_hw1_preflight
    firmwareInfo = self.dongleObject.getFirmwareVersion()
  File "...\Python38\site-packages\btchip\btchip.py", line 561, in getFirmwareVersion
    response = self.dongle.exchange(bytearray(apdu))
  File "...\Python38\site-packages\btchip\btchipComm.py", line 127, in exchange
    raise BTChipException("Invalid status %04x" % sw, sw)
btchip.btchipException.BTChipException: Exception : Invalid status 6faa

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "...\electrum\electrum\gui\qt\main_window.py", line 120, in onPress
    self.func()
  File "...\electrum\electrum\plugins\hw_wallet\qt.py", line 260, in show_settings_dialog
    device_id = self.choose_device(window, keystore)
  File "...\electrum\electrum\plugins\hw_wallet\qt.py", line 253, in choose_device
    info = self.device_manager().select_device(self, keystore.handler, keystore)
  File "...\electrum\electrum\plugin.py", line 554, in select_device
    infos = self.unpaired_device_infos(handler, plugin, devices)
  File "...\electrum\electrum\plugin.py", line 545, in unpaired_device_infos
    soft_device_id=client.get_soft_device_id()))
  File "...\electrum\electrum\plugins\ledger\ledger.py", line 88, in get_soft_device_id
    self._soft_device_id = self.request_root_fingerprint_from_device()
  File "...\electrum\electrum\plugins\hw_wallet\plugin.py", line 197, in request_root_fingerprint_from_device
    child_of_root_xpub = self.get_xpub("m/0'", xtype='standard')
  File "...\electrum\electrum\plugins\ledger\ledger.py", line 55, in catch_exception
    return func(self, *args, **kwargs)
  File "...\electrum\electrum\plugins\ledger\ledger.py", line 103, in get_xpub
    self.checkDevice()
  File "...\electrum\electrum\plugins\ledger\ledger.py", line 210, in checkDevice
    self.perform_hw1_preflight()
  File "...\electrum\electrum\plugins\ledger\ledger.py", line 198, in perform_hw1_preflight
    raise UserFacingException("Dongle is temporarily locked - please unplug it and replug it again")
electrum.util.UserFacingException: Dongle is temporarily locked - please unplug it and replug it again
2020-04-01 21:08:50 +02:00
..
gui hww: catch exceptions when user clicks on hww qt status bar icon 2020-04-01 21:08:50 +02:00
plugins hww: catch exceptions when user clicks on hww qt status bar icon 2020-04-01 21:08:50 +02:00
scripts integrate PSBT support natively. WIP 2019-11-04 22:24:36 +01:00
tests commands: add new cmd "getprivatekeyforpath" to export a WIF for a path 2020-03-31 05:50:18 +02:00
wordlist
www@7d902a422a fix websocket messages 2019-09-05 11:45:28 +02:00
__init__.py windows: dll-load 'hack' needs to be applied not only from main script 2020-02-11 20:57:37 +01:00
address_synchronizer.py commands: add new cmd "getprivatekeyforpath" to export a WIF for a path 2020-03-31 05:50:18 +02:00
base_crash_reporter.py added trigger_crash method for testing crash reporter 2019-07-04 18:06:21 +02:00
base_wizard.py hw wallets: during wallet creation, make sure to save correct label 2020-03-31 15:56:54 +02:00
bip32.py follow-up prev: do all checks, and add tests 2020-02-27 05:13:31 +01:00
bitcoin.py commands: add new cmd "getprivatekeyforpath" to export a WIF for a path 2020-03-31 05:50:18 +02:00
blockchain.py blockchain: move init_headers_file from network.py to blockchain.py 2020-02-27 20:45:29 +01:00
channel_db.py channel_db: raise specific exception if database is not loaded when we try to find a route 2020-03-10 15:13:20 +01:00
checkpoints.json update block header checkpoints 2020-03-05 17:19:48 +01:00
checkpoints_testnet.json update block header checkpoints 2020-03-05 17:19:48 +01:00
coinchooser.py CoinChooser: avoid NotEnoughFunds if zero buckets are sufficient 2019-11-11 15:15:04 +01:00
commands.py commands: add new cmd "getprivatekeyforpath" to export a WIF for a path 2020-03-31 05:50:18 +02:00
constants.py lnworker: re-enable dns seeds for peer-finding bootstrap 2020-03-03 20:12:12 +01:00
contacts.py Separate db from storage 2020-02-10 17:45:23 +01:00
crypto.py crypto: add 'cryptography' as alt dependency for 'pycryptodomex' 2020-03-04 18:54:20 +01:00
currencies.json Removed dead exchange. 2019-07-21 13:13:51 +02:00
daemon.py taskgroups: don't log CancelledError 2020-02-27 20:22:49 +01:00
dns_hacks.py network dns hacks: split from network.py into its own file 2020-01-22 18:32:57 +00:00
dnssec.py ecc: abstract away some usage of python-ecdsa: bytes<->int conversions 2020-02-11 16:41:49 +01:00
ecc.py ecc.ECPubkey: also accept bytearray in __init__ 2020-02-19 00:40:33 +01:00
ecc_fast.py libsecp: log exception if failed to load 2020-02-21 15:59:18 +01:00
electrum
exchange_rate.py network: handle main_taskgroup dying better. passthrough CancelledError 2019-08-30 19:46:25 +02:00
i18n.py
interface.py fee estimates: use median if auto-connect 2020-03-12 15:39:50 +01:00
json_db.py follow-up prev: try to handle json db int key madness :/ 2020-03-17 20:32:27 +01:00
keystore.py keystore: add workaround for StoredDict issue #6066 2020-04-01 13:33:38 +02:00
lightning.json update lightning.json 2019-08-20 09:03:11 +02:00
lnaddr.py invoices: deal with expiration of "0" mess 2020-03-04 14:24:07 +01:00
lnchannel.py lnchannel: add more type hints 2020-03-30 03:49:50 +02:00
lnhtlc.py follow-up prev: try to handle json db int key madness :/ 2020-03-17 20:32:27 +01:00
lnmsg.py ChannelDB.load_data: add comment re bad performance, and some speed-up 2020-03-03 04:05:36 +01:00
lnonion.py lnpeer: implement basic handling of "update_fail_malformed_htlc" 2020-03-17 20:31:50 +01:00
lnpeer.py trivial: use "chunks()" for htlc_sigs in lnchannel 2020-03-30 02:46:25 +02:00
lnrouter.py small clean-up re max CLTV delta for LN 2020-03-30 02:46:14 +02:00
lnsweep.py support option_static_remotekey 2020-02-20 21:02:01 +01:00
lntransport.py crypto: move LN-related chacha20/poly1305 code into crypto.py 2020-03-04 17:58:43 +01:00
lnutil.py lnchannel: add more type hints 2020-03-30 03:49:50 +02:00
lnverifier.py rename all TaskGroup() fields to "taskgroup" 2020-02-27 19:13:56 +01:00
lnwatcher.py lnchannel: add more type hints 2020-03-30 03:49:50 +02:00
lnworker.py small clean-up re max CLTV delta for LN 2020-03-30 02:46:14 +02:00
logging.py Travis CI: Use flake8 to find Python syntax errors and undefined names (#5467) 2019-08-11 22:35:23 +00:00
mnemonic.py mnemonic: implement Wordlist class 2020-02-29 00:20:11 +01:00
network.py network: update tx broadcast error msgs whitelist 2020-03-31 07:08:31 +02:00
old_mnemonic.py mnemonic: implement Wordlist class 2020-02-29 00:20:11 +01:00
paymentrequest.proto
paymentrequest.py README: rm "Compile the protobuf description file" section 2020-02-21 18:50:52 +01:00
paymentrequest_pb2.py
pem.py
plot.py
plugin.py hw wallets: show e.g. "An unnamed trezor" if no label in select_device 2020-03-31 15:18:24 +02:00
qrscanner.py
ripemd.py
rsakey.py no more "import *" 2019-02-11 20:21:24 +01:00
segwit_addr.py integrate PSBT support natively. WIP 2019-11-04 22:24:36 +01:00
servers.json Remove phishing server 2019-12-26 23:47:32 +07:00
servers_regtest.json
servers_testnet.json servers: update testnet default list 2019-04-27 23:10:12 +02:00
simple_config.py Merge pull request #5898 from leo-lb/plausible-deniability-config 2020-03-03 11:50:04 +01:00
sql_db.py ChannelDB: (trivial) add prefix to names of db methods 2020-03-03 04:05:29 +01:00
storage.py Separate db from storage 2020-02-10 17:45:23 +01:00
synchronizer.py rename all TaskGroup() fields to "taskgroup" 2020-02-27 19:13:56 +01:00
transaction.py transaction: follow-up prev 2020-03-01 22:08:18 +01:00
util.py lnutil.UpdateAddHtlc: use attrs instead of old-style namedtuple 2020-03-17 20:31:11 +01:00
verifier.py rename all TaskGroup() fields to "taskgroup" 2020-02-27 19:13:56 +01:00
version.py bump version number to 4.0.0a0 (alpha version) 2019-10-11 18:13:48 +02:00
wallet.py commands: add new cmd "getprivatekeyforpath" to export a WIF for a path 2020-03-31 05:50:18 +02:00
wallet_db.py wallet_db.clear_history: now clears prevouts_by_scripthash too 2020-03-27 02:28:43 +01:00
x509.py ecc: abstract away some usage of python-ecdsa: bytes<->int conversions 2020-02-11 16:41:49 +01:00