-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ledger hw1 plugin unusable with current git head #1605
Comments
I just tried with a fresh ledger; I get this errror: Invalid status 6d00 |
this error is pretty generic, it basically means that the chip is not in
|
@btchip : FYI, that was one of the new ledgers you sent me lately |
I've got HEAD to a state where you can create a new wallet from an already-setup ledger. |
I should also have some simplified code coming up soon |
It's a lot better now. But there's a problem left. File "/home/richi/sourcecode/electrum/gui/qt/util.py", line 226, in run |
It's also strange that it generates transactions with 4 or 5 outputs when the ledger supports only 2. |
ulrichard: Ledger only supports <= 2-output txs? Are you using the privacy coin chooser? |
yes that was with the privacy coin chooser |
with the current git head I get this when trying to sign a tx: Traceback (most recent call last): |
@ulrichard that should fix it: 78e9a84 |
Now the problem is somewhere else: Traceback (most recent call last): |
@ulrichard maybe, line 269, replace client by self.client.. |
what's the status of @kyuupichan code ? I don't really have time to test
|
Yes, it was a one liner |
* Update Chaquopy pycryptodomex hashes * Add Romanian plural formula * Take default cashaddr format setting from back end * Simplify main activity fragment tracking (closes spesmilo#1576) * Add another null check for TextView.getLayout (closes spesmilo#1592) * Fix intent handler so URIs are never processed multiple times * Factor out base class for all dialogs which work on a background thread, and ensure multiple threads are never created (closes spesmilo#1575) * Add uncapitalized string * Migrate to AndroidX using IDE * Tidy up after migration * Move `py` variable from Daemon.kt to App.kt: On startup, if ACRA attempts to resend a crash report which previously failed, it accesses `py` to get the Python version number. But this also initializes all the other global variables in the same file, which caused the following exception: java.lang.IllegalStateException: Cannot invoke setValue on a background thread at androidx.lifecycle.LiveData.assertMainThread(LiveData.java:443) at androidx.lifecycle.LiveData.setValue(LiveData.java:286) at androidx.lifecycle.MutableLiveData.setValue(MutableLiveData.java:33) at org.electroncash.electroncash3.DaemonKt.<clinit>(Daemon.kt:23) at org.electroncash.electroncash3.DaemonKt.getPy(Unknown Source:0) at org.electroncash.electroncash3.CrashKt$reportToJson$4.invoke(Crash.kt:102) at org.electroncash.electroncash3.CrashKt$reportToJson$4.invoke(Unknown Source:0) at org.electroncash.electroncash3.CrashKt.putJson(Crash.kt:116) at org.electroncash.electroncash3.CrashKt.reportToJson(Crash.kt:101) at org.electroncash.electroncash3.CrashhubSender.convertToString(Crash.kt:62) at org.acra.sender.HttpSender.send(HttpSender.java:127) at org.acra.sender.ReportDistributor.sendCrashReport(ReportDistributor.java:111) at org.acra.sender.ReportDistributor.distribute(ReportDistributor.java:76) at org.acra.sender.SenderService.onHandleWork(SenderService.java:84) at androidx.core.app.JobIntentService$CommandProcessor.doInBackground(JobIntentService.java:392) at androidx.core.app.JobIntentService$CommandProcessor.doInBackground(JobIntentService.java:383) at android.os.AsyncTask$2.call(AsyncTask.java:333) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at java.lang.Thread.run(Thread.java:764) * Fix Enter key repeating if ACTION_UP is lost during a rotation * Update to androidx.fragment and androidx.appcompat version 1.1.0 (closes spesmilo#1091) * Implement AlertDialogFragment.createView (spesmilo#1091) * Access synthetic properties on fragment rather than dialog / Remove dialog parameter from onShowDialog and onFirstShowDialog * Work around toast bug in Android 7.1 (closes spesmilo#1528) * Fix warning
* Update Chaquopy pycryptodomex hashes * Add Romanian plural formula * Take default cashaddr format setting from back end * Simplify main activity fragment tracking (closes spesmilo#1576) * Add another null check for TextView.getLayout (closes spesmilo#1592) * Fix intent handler so URIs are never processed multiple times * Factor out base class for all dialogs which work on a background thread, and ensure multiple threads are never created (closes spesmilo#1575) * Add uncapitalized string * Migrate to AndroidX using IDE * Tidy up after migration * Move `py` variable from Daemon.kt to App.kt: On startup, if ACRA attempts to resend a crash report which previously failed, it accesses `py` to get the Python version number. But this also initializes all the other global variables in the same file, which caused the following exception: java.lang.IllegalStateException: Cannot invoke setValue on a background thread at androidx.lifecycle.LiveData.assertMainThread(LiveData.java:443) at androidx.lifecycle.LiveData.setValue(LiveData.java:286) at androidx.lifecycle.MutableLiveData.setValue(MutableLiveData.java:33) at org.electroncash.electroncash3.DaemonKt.<clinit>(Daemon.kt:23) at org.electroncash.electroncash3.DaemonKt.getPy(Unknown Source:0) at org.electroncash.electroncash3.CrashKt$reportToJson$4.invoke(Crash.kt:102) at org.electroncash.electroncash3.CrashKt$reportToJson$4.invoke(Unknown Source:0) at org.electroncash.electroncash3.CrashKt.putJson(Crash.kt:116) at org.electroncash.electroncash3.CrashKt.reportToJson(Crash.kt:101) at org.electroncash.electroncash3.CrashhubSender.convertToString(Crash.kt:62) at org.acra.sender.HttpSender.send(HttpSender.java:127) at org.acra.sender.ReportDistributor.sendCrashReport(ReportDistributor.java:111) at org.acra.sender.ReportDistributor.distribute(ReportDistributor.java:76) at org.acra.sender.SenderService.onHandleWork(SenderService.java:84) at androidx.core.app.JobIntentService$CommandProcessor.doInBackground(JobIntentService.java:392) at androidx.core.app.JobIntentService$CommandProcessor.doInBackground(JobIntentService.java:383) at android.os.AsyncTask$2.call(AsyncTask.java:333) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at java.lang.Thread.run(Thread.java:764) * Fix Enter key repeating if ACTION_UP is lost during a rotation * Update to androidx.fragment and androidx.appcompat version 1.1.0 (closes spesmilo#1091) * Implement AlertDialogFragment.createView (spesmilo#1091) * Access synthetic properties on fragment rather than dialog / Remove dialog parameter from onShowDialog and onFirstShowDialog * Work around toast bug in Android 7.1 (closes spesmilo#1528) * Fix warning
I didn't test the hw1 for a while, but in the current git head it is unusable.
First It complained about missing QMessageBox, so I added the following line:
from electrum_gui.qt.util import *
If I then try to open the hw1 wallet without the dongle plugged in, I get a message box with the following:
Exception: Exception : No dongle found
And it doesn't open the wallet for viewing.
If I then try to open the hw1 wallet wit the dongle plugged in, I get a message box with the following:
Exception: Could not connect to your Ledger wallet. Please verify access permissions, PIN, or unplug the dongle and plug it again
And it still doesn't open the wallet for viewing.
The text was updated successfully, but these errors were encountered: