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.

C-lightning update to v0.10.2

See original GitHub issue

the update to v0.10.2rc1 finishes successfully, but there is a pip error in the beginning:

Cloning into 'lightning'...
remote: Enumerating objects: 81588, done.
remote: Counting objects: 100% (3701/3701), done.
remote: Compressing objects: 100% (1618/1618), done.
remote: Total 81588 (delta 2322), reused 3023 (delta 2026), pack-reused 77887
Receiving objects: 100% (81588/81588), 44.92 MiB | 1.90 MiB/s, done.
Resolving deltas: 100% (61689/61689), done.
    ERROR: Command errored out with exit status 1:
     command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-9se81v11/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-9se81v11/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-req-build-9se81v11/pip-egg-info
         cwd: /tmp/pip-req-build-9se81v11/
    Complete output (27 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-req-build-9se81v11/setup.py", line 12, in <module>
        setup(name='pyln-client',
      File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 144, in setup
        return distutils.core.setup(**attrs)
      File "/usr/lib/python3.8/distutils/core.py", line 108, in setup
        _setup_distribution = dist = klass(attrs)
      File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 447, in __init__
        _Distribution.__init__(self, {
      File "/usr/lib/python3.8/distutils/dist.py", line 292, in __init__
        self.finalize_options()
      File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 740, in finalize_options
        ep.load()(self)
      File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 747, in _finalize_setup_keywords
        ep.load()(self, ep.name, value)
      File "/tmp/pip-req-build-9se81v11/.eggs/setuptools_scm-6.3.2-py3.8.egg/setuptools_scm/integration.py", line 65, in version_keyword
        dist.metadata.version = _get_version(config)
      File "/tmp/pip-req-build-9se81v11/.eggs/setuptools_scm-6.3.2-py3.8.egg/setuptools_scm/__init__.py", line 177, in _get_version
        parsed_version = _do_parse(config)
      File "/tmp/pip-req-build-9se81v11/.eggs/setuptools_scm-6.3.2-py3.8.egg/setuptools_scm/__init__.py", line 135, in _do_parse
        raise LookupError(
    LookupError: setuptools-scm was unable to detect version for '/'.
    
    Make sure you're either building from a fully intact git repository or PyPI tarballs. Most other sources (such as GitHub's tarballs, a git checkout without the .git folder) don't contain the necessary metadata and will not work.
    
    For example, if you're using pip, instead of https://github.com/user/proj/archive/master.zip use git+https://github.com/user/proj.git#egg=proj
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Submodule 'external/gheap' (https://github.com/valyala/gheap) registered for path 'external/gheap'

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:13 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
openomscommented, Jan 12, 2022

The problem is even with sudo pip is not always installing mrkd to the same place. I found that once it is in /root/.local (which is not in the path) or the /usr/local/bin (which works). If fails again we need to make sure that the PATH is updated with the location of mrkd.

update: removing the --user option did it. mrkd is now installed to the /usr/local/bin reliably

1reaction
openomscommented, Jan 11, 2022

my bad, changed pip to not install to root, but bitcoin instead and the installer ran with admin. Should be fixed with c72b6d2

Update: tested ok

Read more comments on GitHub >

github_iconTop Results From Across the Web

c-lightning v0.10.2 — “Bitcoin Dust Consensus Rule” - Medium
The c-lightning team is delighted to announce the release of c-lightning v0.10.2, the latest and greatest version of our Lightning ...
Read more >
Install — Core Lightning v22.11-21-gb3a1d01-modded
A working example that compiles both bitcoind and Core Lightning for Armbian can be found here. To compile for Alpine¶. Get dependencies: apk...
Read more >
c-lightning v0.10.2 released : r/lightningnetwork - Reddit
not sure if it's just coincidence but I think I can rebalance way faster/more success after updated to this release. Upvote 1. Downvote....
Read more >
Image Layer Details - btcpayserver/lightning:v0.10.2-arm32v7 ...
btcpayserver/lightning:v0.10.2-arm32v7. Digest:sha256:8c3651b9a1a7fdb508f44cb4d542052deb75a06ab1e1021f9d12b6e6319581c9. OS/ARCH. linux/amd64.
Read more >
Node: SINGER-v0.10.2-531-gbe75518 | 1ML - Lightning Network ...
Vega - Lightning Wallet. 458 6 (0 0.00%). SINGER-v0.10.2-531-gbe75518. 459 6. Channels - Last Updatedlast 10 results ...
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