lbryio / lbry-sdk

The LBRY SDK for building decentralized, censorship resistant, monetized, digital content apps.
https://lbry.com
MIT License
7.19k stars 482 forks source link

LBRY desktop app not working #3607

Open stevenwong951028 opened 2 years ago

stevenwong951028 commented 2 years ago

upon starting the desktop app, I only get following result:

image image

tried restarting my pc & clearing cache, same result

moodyjon commented 2 years ago

You might be able to find a cause by investigating lbrynet.log:

https://lbry.com/faq/how-to-find-lbry-log-file

moodyjon commented 2 years ago

Also version 0.53.2 of lbry-desktop had problems. https://github.com/lbryio/lbry-desktop/blob/master/CHANGELOG.md

Check your version.

MorsMortium commented 2 years ago

Hi! Developer of LBRY-GTK here. Since some time i also have a simillar bug. At first it happens randomly, then it stays even after restarting the sdk. Clearing the lbrynet folder solves the problem for a time, until it happens again.

lbrynet version
{
  "build": "release",
  "desktop": "KDE",
  "distro": {
    "codename": "Qonos",
    "id": "manjaro",
    "like": "arch",
    "version": "21.2.6",
    "version_parts": {
      "build_number": "6",
      "major": "21",
      "minor": "2"
    }
  },
  "lbrynet_version": "0.108.0",
  "os_release": "5.17.1-3-MANJARO",
  "os_system": "Linux",
  "platform": "Linux-5.17.1-3-MANJARO-x86_64-with-arch-Manjaro-Linux",
  "processor": "",
  "python_version": "3.7.12",
  "version": "0.108.0"
}

A search while in this state produces this output:

lbrynet claim search --text=test
{
  "code": -32500,
  "data": {
    "args": [],
    "command": "claim_search",
    "kwargs": {
      "all_languages": [],
      "all_locations": [],
      "all_tags": [],
      "any_languages": [],
      "any_locations": [],
      "any_tags": [],
      "channel_ids": [],
      "claim_ids": [],
      "has_channel_signature": false,
      "has_no_source": false,
      "has_source": false,
      "include_is_my_output": false,
      "include_purchase_receipt": false,
      "invalid_channel_signature": false,
      "is_controlling": false,
      "media_types": [],
      "no_totals": false,
      "not_channel_ids": [],
      "not_languages": [],
      "not_locations": [],
      "not_tags": [],
      "order_by": [],
      "remove_duplicates": false,
      "stream_types": [],
      "text": "test",
      "valid_channel_signature": false
    },
    "name": "RPCError",
    "traceback": [
      "Traceback (most recent call last):",
      "  File \"lbry/extras/daemon/daemon.py\", line 778, in _process_rpc_call",
      "  File \"lbry/extras/daemon/daemon.py\", line 2652, in jsonrpc_claim_search",
      "  File \"lbry/wallet/ledger.py\", line 906, in claim_search",
      "  File \"lbry/wallet/ledger.py\", line 785, in _inflate_outputs",
      "  File \"lbry/wallet/network.py\", line 92, in send_request",
      "  File \"lbry/wallet/network.py\", line 82, in send_request",
      "  File \"lbry/wallet/rpc/session.py\", line 484, in send_request",
      "lbry.wallet.rpc.jsonrpc.RPCError: (-32000, 'query timed out')",
      ""
    ]
  },
  "message": "(-32000, 'query timed out')"
}
belikor commented 2 years ago
{
  "code": -32500,
  "data": {

The cause of this error could have been a faulty spv server. A few days ago, around the time this issue was created, spv17 was not working. Just removing it from the daemon_settings.yml would fix the issue.

Since then, spv17 should be working, so check that the LBRY Desktop application and lbrynet works.

MorsMortium commented 2 years ago

It did work later, but it still corrupted something internal, because after some 10 minutes of working, and then breaking, it instantly stopped working on startup, until the lbrynet folder got emptied