Skip to content

btcli view dashboard on WSL #356

@taotemplar

Description

@taotemplar

I have done all the steps it suggests in the output below, but still unable to get it to work (sudo apt install libwebkit2gtk-4.0-dev, sudo vim /etc/apt/sources.list.d/jammy-temp.list, deb http://archive.ubuntu.com/ubuntu jammy main universe, sudo apt update && sudo apt install)

I've also tried it both within "Command Prompt" and "Terminal Preview" and they produce the same output:

$ btcli view dashboard --wallet-name default
This command requires WebKit dependencies on Linux.

Please make sure these packages are installed on your system for PyWry to work:

Arch Linux / Manjaro:
sudo pacman -S webkit2gtk

Debian / Ubuntu:
sudo apt install libwebkit2gtk-4.0-dev

Note for Ubuntu 24.04+ & Debian 13+:
You may need these additional steps to install libwebkit2gtk:
        Create a new source file with: sudo vim /etc/apt/sources.list.d/jammy-temp.list
        Add this into the file and save: deb http://archive.ubuntu.com/ubuntu jammy main universe
        Update the repository and install the webkit dependency: sudo apt update && sudo apt install libwebkit2gtk-4.0-dev

Fedora / CentOS / AlmaLinux:
sudo dnf install gtk3-devel webkit2gtk3-devel


Using the wallet path from config: <redacted>
Opening dashboard in a window. Press Ctrl+C to close.
Exception in callback Process.terminate()
handle: <Handle Process.terminate()>
Traceback (most recent call last):
  File "/usr/lib/python3.10/asyncio/events.py", line 80, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/lib/python3.10/asyncio/subprocess.py", line 140, in terminate
    self._transport.terminate()
  File "/usr/lib/python3.10/asyncio/base_subprocess.py", line 149, in terminate
    self._check_proc()
  File "/usr/lib/python3.10/asyncio/base_subprocess.py", line 142, in _check_proc
    raise ProcessLookupError()
ProcessLookupError
Exception in callback Process.kill()
handle: <Handle Process.kill()>
Traceback (most recent call last):
  File "/usr/lib/python3.10/asyncio/events.py", line 80, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/lib/python3.10/asyncio/subprocess.py", line 143, in kill
    self._transport.kill()
  File "/usr/lib/python3.10/asyncio/base_subprocess.py", line 153, in kill
    self._check_proc()
  File "/usr/lib/python3.10/asyncio/base_subprocess.py", line 142, in _check_proc
    raise ProcessLookupError()
ProcessLookupError
Exception in thread Thread-3 (run):
Traceback (most recent call last):
  File "/home/ritherz/.venvs/latent/lib/python3.10/site-packages/pywry/core.py", line 349, in run_backend
    await self.runner.stdin.drain()
  File "/usr/lib/python3.10/asyncio/streams.py", line 371, in drain
    await self._protocol._drain_helper()
  File "/usr/lib/python3.10/asyncio/streams.py", line 167, in _drain_helper
    raise ConnectionResetError('Connection lost')
ConnectionResetError: Connection lost

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.10/threading.py", line 953, in run
    self._target(*self._args, **self._kwargs)
  File "/home/ritherz/.venvs/latent/lib/python3.10/site-packages/pywry/core.py", line 384, in run
    asyncio.run(self.run_backend())
  File "/usr/lib/python3.10/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "/usr/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
    return future.result()
  File "/home/ritherz/.venvs/latent/lib/python3.10/site-packages/pywry/core.py", line 358, in run_backend
    await self.run_backend()
  File "/home/ritherz/.venvs/latent/lib/python3.10/site-packages/pywry/core.py", line 339, in run_backend
    await self.runner.stdin.drain()
  File "/usr/lib/python3.10/asyncio/streams.py", line 371, in drain
    await self._protocol._drain_helper()
  File "/usr/lib/python3.10/asyncio/streams.py", line 167, in _drain_helper
    raise ConnectionResetError('Connection lost')
ConnectionResetError: Connection lost

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