question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Version 0.2.14 works, version 0.2.15 hangs

See original GitHub issue

Got it working in that it shows number of sats. Got an error message about the …p in src/cmd.js and removed those … (no idea what that means) but now 0.2.15 works in that it shows the green sats but not the red once. So, not good but that’s more or less where the problem is. The error message:

SyntaxError: src/cmd.js: Unexpected token (36:19)
  34 |     const pays = res.pays
  35 |       .filter(p => p.status == 'complete')
> 36 |       .map(p => ({ ...p, payment_hash: hash(p.preimage) }))
     |                    ^
  37 | 
  38 |     const pay_parts = await Promise.all(
  39 |       pays.map(p => ln.listsendpays(null, p.payment_hash)))

there’s another …p

Spark-wallet version 0.2.14 is working for me, 0.2.15 is not: colored lines keep running around in circles. I’m running spark-wallet inside a browser (Chrome) on Android (version 9).

EDIT: is nodejs v8 still recommended?

EDIT: reinstalled npm and got a little further without errors with npm run dist:npm and running spark-wallet/dist/cli.js but the result is the same running around circles. Here is the new 0.2.15 output:

0.2.15 output:

Connected to c-lightning v0.9.0-2-ge7d89cd with id 02888244029c5909593038ab19f269947c720de3423e491791b46c7c92f76279b6 on network bitcoin at /home/user/.lightning/bitcoin/lightning-rpc
Loaded TLS certificate with fingerprint be:26:ff:41:(etc) from /home/user/.spark-wallet/tls

HTTPS server running on https://0.0.0.0:9737
GET / 200 10.165 ms - 810
GET /style.css 200 19.903 ms - -
GET /load-theme.js 200 2.696 ms - -
GET /swatch/dark/bootstrap.min.css 200 2.589 ms - -
GET /fonts/typeface-open-sans/index.css 200 1.833 ms - -
GET /app.js 200 1.048 ms - -
GET /fonts/typeface-open-sans/files/open-sans-latin-300.woff2 200 1.362 ms - 14932
GET /lib/instascan.js 200 0.980 ms - -
POST /rpc 200 106.562 ms - -
POST /rpc 200 7.314 ms - 698
POST /rpc 200 27.174 ms - -
POST /rpc 200 12.031 ms - -
POST /rpc 200 9.602 ms - -
POST /rpc 200 21.933 ms - -
GET /fonts/typeface-open-sans/files/open-sans-latin-400.woff2 200 2.391 ms - 14380
GET /manifest-rZXnkNFjR8/manifest.json 200 1.852 ms - 571
GET /favicon.ico 200 2.484 ms - -
GET /worker.js 200 3.728 ms - -
POST /rpc 200 2.541 ms - 698
POST /rpc 200 10.346 ms - -
POST /rpc 200 4.062 ms - -
POST /rpc 200 22.286 ms - -
POST /rpc 200 19.457 ms - -
POST /rpc 200 3.630 ms - 698
POST /rpc 200 14.475 ms - -
POST /rpc 200 7.434 ms - -
POST /rpc 200 28.324 ms - -
POST /rpc 200 24.361 ms - -
POST /rpc 200 3.657 ms - 698
POST /rpc 200 16.090 ms - -

0.2.14 output:

Connected to c-lightning v0.9.0-2-ge7d89cd with id 02888244029c5909593038ab19f269947c720de3423e491791b46c7c92f76279b6 on network bitcoin at /home/user/.lightning/bitcoin/lightning-rpc
Loaded TLS certificate with fingerprint be:26:ff:41:8d (etc) from /home/user/.spark-wallet/tls

HTTPS server running on https://0.0.0.0:9737
GET / 200 20.349 ms - 810
GET /style.css 200 64.202 ms - -
GET /load-theme.js 200 2.862 ms - -
GET /swatch/dark/bootstrap.min.css 200 76.594 ms - -
GET /app.js 200 16.977 ms - -
GET /fonts/typeface-open-sans/index.css 200 76.960 ms - -
POST /rpc 200 94.831 ms - -
POST /rpc 200 15.706 ms - -
POST /rpc 200 3.647 ms - 698
GET /fonts/typeface-open-sans/files/open-sans-latin-300.woff2 200 23.039 ms - 14932
GET /lib/instascan.js 200 22.305 ms - -
POST /rpc 200 9.416 ms - -
POST /rpc 200 3.553 ms - -
GET /fonts/typeface-open-sans/files/open-sans-latin-400.woff2 200 39.328 ms - 14380
GET /favicon.ico 200 17.485 ms - -
GET /manifest-rZXnkNFjR8/manifest.json 200 51.011 ms - 571
GET /worker.js 200 2.926 ms - -
GET /manifest-rZXnkNFjR8/icon-512.png 200 9.007 ms - 16947
GET /manifest-rZXnkNFjR8/icon-192.png 200 2.818 ms - 7526
GET /manifest-rZXnkNFjR8/icon-192.png 200 1.846 ms - 7526
GET /manifest-rZXnkNFjR8/icon-192.png 200 1.795 ms - 7526
GET /manifest-rZXnkNFjR8/icon-192.png 200 1.785 ms - 7526
GET /manifest-rZXnkNFjR8/icon-192.png 200 1.842 ms - 7526

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:21 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
gruve-pcommented, Aug 11, 2020

@shesek I can confirm the installation bug is now fixed

1reaction
ghostcommented, Aug 11, 2020

@shesek It does! Well done. So everything is fine now. I will keep an eye on the changes at c-lightning and spark-wallet and pull the latest versions when necessary.

Read more comments on GitHub >

github_iconTop Results From Across the Web

tokio@0.2.14 + futures::executor::block_on causes hang #2376
Version tokio@0.2.14 and tokio@0.2.15 exhibit this issue, ... If we don't use juniper and .await the futures normally, it works fine.
Read more >
Browse /siptapi/v_0_2_15 at SourceForge.net
A TAPI driver for SIP. SIPTAPI gives you a click2dial feature with any TAPI enabled application (e.g. MS Outlook) and SIP PBX/proxy. This...
Read more >
Change log : whoopsie package : Ubuntu - Launchpad
Deleted in vivid-proposed on 2014-12-20 (Reason: moved to release) ... so that we can report crashes from installation environments to the Error Tracker....
Read more >
Change log - JAX documentation
GitHub commits. Changes: Upgraded libtpu wheel to a version that fixes a hang when initializing a TPU pod. Fixes #10218.
Read more >
Change Log - Hail
This issue has exists in versions 0.2.15, 0.2.16, and 0.2.17, and any users on those versions should update as soon as possible.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found