aurieh / discord.nvim

Discord Rich Presence for Neovim
BSD 3-Clause "New" or "Revised" License
97 stars 20 forks source link

[discord] local discord client not found #52

Open Jockey12 opened 1 year ago

Jockey12 commented 1 year ago

discord client not found after installing and following instructions.

aurieh commented 1 year ago

Hi! Did you run :UpdateRemotePlugins after installing the plugin? Have you tried manually triggering a presence update via :DiscordUpdatePresence?

Please also verify that "Display current activity as a status message." is enabled under your settings -> Activity Settings -> Activity Status. In addition to that, check if you have a custom status set by clicking on your profile at the bottom left corner and verifying that it says "Set Custom Status", not "Edit Custom Status".

If none of the above helps, please include the following information in your reply:

H4ppy-04 commented 10 months ago

I get the same issue.

Here's the info you requested:

~ cat /etc/os-release

NAME="Manjaro Linux"
PRETTY_NAME="Manjaro Linux"
ID=manjaro
ID_LIKE=arch
BUILD_ID=rolling
ANSI_COLOR="32;1;24;144;200"
HOME_URL="https://manjaro.org/"
DOCUMENTATION_URL="https://wiki.manjaro.org/"
SUPPORT_URL="https://forum.manjaro.org/"
BUG_REPORT_URL="https://docs.manjaro.org/reporting-bugs/"
PRIVACY_POLICY_URL="https://manjaro.org/privacy-policy/"
LOGO=manjarolinux
~ nvim --version

NVIM v0.9.4
Build type: Release
LuaJIT 2.1.1699392533

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/share/nvim"

Run :checkhealth for more info

==============================================================================
compiler: require("compiler.health").check()

compiler.nvim ~
- Neovim Version: v0.9.4
- OK Using stable Neovim >= 0.8.0
- OK `git` is installed: Used for core functionality such as cloning compiler.nvim
- OK `gcc` is installed: Used to call the C compiler.
- OK `g++` is installed: Used to call the C++ compiler.
- WARNING `csc` is not installed: Used to call the C# compiler.
- OK `dotnet` is installed: Used to call the C# compiler for .csproj files.
- OK `javac` is installed: Used to call the java compiler.
- OK `nasm` is installed: Used to call the assembly compiler.
- OK `rustc` is installed: Used to call the rust compiler.
- OK `python` is installed: Used to call the python interpreter.
- OK `nuitka3` is installed: Used to call the python machine code compiler.
- WARNING `pyinstaller` is not installed: Used to call the python bytecode compiler.
- OK `ruby` is installed: Used to call the ruby interpreter.
- OK `node` is installed: nil
- OK `tsc` is installed: nil
- OK `make` is installed: Used to call the make interpreter.

==============================================================================
diffview: require("diffview.health").check()

Checking plugin dependencies ~
- OK nvim-web-devicons installed.

Checking VCS tools ~
- The plugin requires at least one of the supported VCS tools to be valid.
- OK Git found.
- OK Git is up-to-date. (2.42.1)
- OK Mercurial found.
- OK Mercurial is up-to-date. (6.5.3)

==============================================================================
discord: health#discord#check

discord.nvim ~
- OK has("nvim") was successful
- OK has("timers") was successful
- OK has("python3") was successful
- If you are still having problems, create an issue on https://github.com/aurieh/discord.nvim/issues

==============================================================================
mason: require("mason.health").check()

mason.nvim ~
- OK mason.nvim version v1.8.3
- OK PATH: prepend
- OK Providers: 
  mason.providers.registry-api
  mason.providers.client
- OK neovim version >= 0.7.0

mason.nvim [Registries] ~
- OK Registry `github.com/mason-org/mason-registry version: 2023-11-20-posh-task` is installed.

mason.nvim [Core utils] ~
- OK unzip: `UnZip 6.00 of 20 April 2009, by Info-ZIP.  Maintained by C. Spieler.  Send`
- OK wget: `GNU Wget 1.21.4 built on linux-gnu.`
- OK curl: `curl 8.4.0 (x86_64-pc-linux-gnu) libcurl/8.4.0 OpenSSL/3.1.4 zlib/1.3 brotli/1.1.0 zstd/1.5.5 libidn2/2.3.4 libpsl/0.21.2 (+libidn2/2.3.4) libssh2/1.11.0 nghttp2/1.58.0`
- OK gzip: `gzip 1.13`
- OK tar: `tar (GNU tar) 1.35`
- OK bash: `GNU bash, version 5.2.15(1)-release (x86_64-pc-linux-gnu)`
- OK sh: `Ok`

mason.nvim [Languages] ~
- OK Go: `go version go1.21.4 linux/amd64`
- OK Ruby: `ruby 3.0.6p216 (2023-03-30 revision 23a532679b) [x86_64-linux]`
- OK PHP: `PHP 8.2.12 (cli) (built: Oct 25 2023 08:53:06) (NTS)`
- OK luarocks: `/usr/bin/luarocks 3.9.2`
- OK cargo: `cargo 1.73.0 (9c4383fb5 2023-08-26)`
- OK node: `v21.1.0`
- OK Composer: `Composer version 2.6.5 2023-10-06 10:11:52`
- OK julia: `julia version 1.9.3`
- OK RubyGem: `3.3.25`
- OK python: `Python 3.11.5`
- OK python3_host_prog: `Python 3.11.5`
- OK java: `openjdk version "17.0.9" 2023-10-17`
- OK javac: `javac 17.0.9`
- OK python3_host_prog pip: `pip 23.3.1 from /usr/lib/python3.11/site-packages/pip (python 3.11)`
- OK pip: `pip 23.3.1 from /usr/lib/python3.11/site-packages/pip (python 3.11)`
- OK npm: `10.2.3`
- OK python venv: `Ok`

mason.nvim [GitHub] ~
- OK GitHub API rate limit. Used: 7. Remaining: 4993. Limit: 5000. Reset: Tue 21 Nov 2023 13:12:06.

==============================================================================
null-ls: require("null-ls.health").check()

- no sources registered

==============================================================================
nvim: require("nvim.health").check()

Configuration ~
- OK no issues found

Runtime ~
- OK $VIMRUNTIME: /usr/share/nvim/runtime

Performance ~
- OK Build type: Release

Remote Plugins ~
- OK Up to date

terminal ~
- key_backspace (kbs) terminfo entry: `key_backspace=\177`
- key_dc (kdch1) terminfo entry: `key_dc=\E[3~`
- $COLORTERM="truecolor"

==============================================================================
nvim-treesitter: require("nvim-treesitter.health").check()

Installation ~
- OK `tree-sitter` found 0.20.8 (0c49d6745b3fc4822ab02e0018770cd6383a779c) (parser generator, only needed for :TSInstallFromGrammar)
- OK `node` found v21.1.0 (only needed for :TSInstallFromGrammar)
- OK `git` executable found.
- OK `cc` executable found. Selected from { vim.NIL, "cc", "gcc", "clang", "cl", "zig" }
  Version: cc (GCC) 13.2.1 20230801
- OK Neovim was compiled with tree-sitter runtime ABI version 14 (required >=13). Parsers must be compatible with runtime ABI.

OS Info:
{
  machine = "x86_64",
  release = "6.5.11-1-MANJARO",
  sysname = "Linux",
  version = "#1 SMP PREEMPT_DYNAMIC Thu Nov  9 02:34:53 UTC 2023"
} ~

Parser/Features         H L F I J
  - bash                ✓ ✓ ✓ . ✓
  - c                   ✓ ✓ ✓ ✓ ✓
  - cmake               ✓ . ✓ ✓ .
  - commonlisp          ✓ ✓ ✓ . .
  - cpp                 ✓ ✓ ✓ ✓ ✓
  - css                 ✓ . ✓ ✓ ✓
  - dockerfile          ✓ . . . ✓
  - gitcommit           ✓ . . . ✓
  - gitignore           ✓ . . . .
  - html                ✓ ✓ ✓ ✓ ✓
  - ini                 ✓ . ✓ . .
  - javascript          ✓ ✓ ✓ ✓ ✓
  - json                ✓ ✓ ✓ ✓ .
  - latex               ✓ . ✓ . ✓
  - lua                 ✓ ✓ ✓ ✓ ✓
  - make                ✓ . ✓ . ✓
  - markdown            ✓ . ✓ ✓ ✓
  - markdown_inline     ✓ . . . ✓
  - nim                 ✓ ✓ ✓ . ✓
  - perl                ✓ . ✓ . ✓
  - python              ✓ ✓ ✓ ✓ ✓
  - query               ✓ ✓ ✓ ✓ ✓
  - ruby                ✓ ✓ ✓ ✓ ✓
  - rust                ✓ ✓ ✓ ✓ ✓
  - toml                ✓ ✓ ✓ ✓ ✓
  - typescript          ✓ ✓ ✓ ✓ ✓
  - vim                 ✓ ✓ ✓ . ✓
  - vimdoc              ✓ . . . ✓
  - yaml                ✓ ✓ ✓ ✓ ✓
  - zig                 ✓ . ✓ ✓ ✓

  Legend: H[ighlight], L[ocals], F[olds], I[ndents], In[j]ections
         +) multiple parsers found, only one will be used
         x) errors found in the query, try to run :TSUpdate {lang} ~

==============================================================================
provider: health#provider#check

- ERROR Failed to run healthcheck for "provider" plugin. Exception:
  function health#check[25]..health#provider#check[4]..<SNR>140_check_ruby, line 15
  Vim(let):E117: Unknown function: provider#ruby#Detect

==============================================================================
telescope: require("telescope.health").check()

Checking for required plugins ~
- OK plenary installed.
- OK nvim-treesitter installed.

Checking external dependencies ~
- OK rg: found ripgrep 13.0.0
- OK fd: found fd 8.7.1

===== Installed extensions ===== ~

Telescope Extension: `emoji` ~
- No healthcheck provided

Telescope Extension: `frecency` ~
- sqlite.lua is required when use_sqlite = true
- OK nvim-web-devicons installed.

Telescope Extension: `fzy_native` ~
- No healthcheck provided

Telescope Extension: `gitmoji` ~
- No healthcheck provided

==============================================================================
vim.lsp: require("vim.lsp.health").check()

- LSP log level : WARN
- Log path: /home/joshuar/.local/state/nvim/lsp.log
- Log size: 9055 KB

vim.lsp: Active Clients ~
- copilot (id=1, root_dir=nil)

==============================================================================
vim.treesitter: require("vim.treesitter.health").check()

- Nvim runtime ABI version: 14
- OK Parser: bash       ABI: 14, path: /home/joshuar/.local/share/nvim/site/pack/packer/start/nvim-treesitter/parser/bash.so
- OK Parser: c          ABI: 14, path: /home/joshuar/.local/share/nvim/site/pack/packer/start/nvim-treesitter/parser/c.so
- OK Parser: cmake      ABI: 14, path: /home/joshuar/.local/share/nvim/site/pack/packer/start/nvim-treesitter/parser/cmake.so
- OK Parser: commonlisp ABI: 14, path: /home/joshuar/.local/share/nvim/site/pack/packer/start/nvim-treesitter/parser/commonlisp.so
- OK Parser: cpp        ABI: 14, path: /home/joshuar/.local/share/nvim/site/pack/packer/start/nvim-treesitter/parser/cpp.so
- OK Parser: css        ABI: 14, path: /home/joshuar/.local/share/nvim/site/pack/packer/start/nvim-treesitter/parser/css.so
- OK Parser: dockerfile ABI: 14, path: /home/joshuar/.local/share/nvim/site/pack/packer/start/nvim-treesitter/parser/dockerfile.so
- OK Parser: gitcommit  ABI: 14, path: /home/joshuar/.local/share/nvim/site/pack/packer/start/nvim-treesitter/parser/gitcommit.so
- OK Parser: gitignore  ABI: 13, path: /home/joshuar/.local/share/nvim/site/pack/packer/start/nvim-treesitter/parser/gitignore.so
- OK Parser: html       ABI: 14, path: /home/joshuar/.local/share/nvim/site/pack/packer/start/nvim-treesitter/parser/html.so
- OK Parser: ini        ABI: 14, path: /home/joshuar/.local/share/nvim/site/pack/packer/start/nvim-treesitter/parser/ini.so
- OK Parser: javascript ABI: 14, path: /home/joshuar/.local/share/nvim/site/pack/packer/start/nvim-treesitter/parser/javascript.so
- OK Parser: json       ABI: 14, path: /home/joshuar/.local/share/nvim/site/pack/packer/start/nvim-treesitter/parser/json.so
- OK Parser: latex      ABI: 14, path: /home/joshuar/.local/share/nvim/site/pack/packer/start/nvim-treesitter/parser/latex.so
- OK Parser: lua        ABI: 14, path: /home/joshuar/.local/share/nvim/site/pack/packer/start/nvim-treesitter/parser/lua.so
- OK Parser: make       ABI: 13, path: /home/joshuar/.local/share/nvim/site/pack/packer/start/nvim-treesitter/parser/make.so
- OK Parser: markdown   ABI: 14, path: /home/joshuar/.local/share/nvim/site/pack/packer/start/nvim-treesitter/parser/markdown.so
- OK Parser: markdown_inline ABI: 14, path: /home/joshuar/.local/share/nvim/site/pack/packer/start/nvim-treesitter/parser/markdown_inline.so
- OK Parser: nim        ABI: 14, path: /home/joshuar/.local/share/nvim/site/pack/packer/start/nvim-treesitter/parser/nim.so
- OK Parser: perl       ABI: 14, path: /home/joshuar/.local/share/nvim/site/pack/packer/start/nvim-treesitter/parser/perl.so
- OK Parser: python     ABI: 14, path: /home/joshuar/.local/share/nvim/site/pack/packer/start/nvim-treesitter/parser/python.so
- OK Parser: query      ABI: 14, path: /home/joshuar/.local/share/nvim/site/pack/packer/start/~nvim-treesitter/parser/query.so
- OK Parser: ruby       ABI: 14, path: /home/joshuar/.local/share/nvim/site/pack/packer/start/nvim-treesitter/parser/ruby.so
- OK Parser: rust       ABI: 14, path: /home/joshuar/.local/share/nvim/site/pack/packer/start/nvim-treesitter/parser/rust.so
- OK Parser: toml       ABI: 13, path: /home/joshuar/.local/share/nvim/site/pack/packer/start/nvim-treesitter/parser/toml.so
- OK Parser: typescript ABI: 14, path: /home/joshuar/.local/share/nvim/site/pack/packer/start/nvim-treesitter/parser/typescript.so
- OK Parser: vim        ABI: 14, path: /home/joshuar/.local/share/nvim/site/pack/packer/start/nvim-treesitter/parser/vim.so
- OK Parser: vimdoc     ABI: 14, path: /home/joshuar/.local/share/nvim/site/pack/packer/start/nvim-treesitter/parser/vimdoc.so
- OK Parser: yaml       ABI: 13, path: /home/joshuar/.local/share/nvim/site/pack/packer/start/nvim-treesitter/parser/yaml.so
- OK Parser: zig        ABI: 14, path: /home/joshuar/.local/share/nvim/site/pack/packer/start/nvim-treesitter/parser/zig.so
- OK Parser: cpp        ABI: 14, path: /usr/share/nvim/runtime/parser/cpp.so
- OK Parser: python     ABI: 14, path: /usr/share/nvim/runtime/parser/python.so
- OK Parser: rust       ABI: 14, path: /usr/share/nvim/runtime/parser/rust.so

==============================================================================
vimtex: health#vimtex#check

VimTeX ~
- OK Vim version should have full support!
- OK Zathura should work properly!
- OK Compiler should work!

==============================================================================
which-key: require("which-key.health").check()

WhichKey: checking conflicting keymaps ~
- OK No conflicting keymaps found
[discord] local discord client not found

I opened /tmp/main.py

I used Flatpak package manager and installed discord by running:

flatpak install Discord

When running 'flatpak search Discord' I identified the application that I installed as being the one in the second row in the following table, namely 'Discord' with the application ID com.discordapp.Discord

Name Description Application ID Version Branch Remotes
discord-screenaudio A custom discord client that supports streaming with audio on Linux de.shorsh.discord-screenaudio 1.9.2 stable flathub
Discord Messaging, voice and video client com.discordapp.Discord 0.0.35 stable flathub

For greater clarity, here's an image of my terminal when I run this command: image

Stable 247539 (2115b8d)
Host 0.0.35 x64
Linux 64-Bit (6.5.11-1-MANJARO)
aurieh commented 10 months ago

@Trivoz Hi!

The Discord Flatpak is not (currently) supported, but adding the path should be relatively easy and I'll do so once I find a little bit of time.

In the meantime, you can apply the workaround found on the Discord Flathub wiki.

H4ppy-04 commented 10 months ago

On 23/11/22 04:08AM, auri wrote: @Trivoz Hi!

The Discord Flatpak is not (currently) supported, but adding the path should be relatively easy and I'll do so once I find a little bit of time.

In the meantime, you can apply the workaround found on the Discord Flathub wiki.

-- Reply to this email directly or view it on GitHub: https://github.com/aurieh/discord.nvim/issues/52#issuecomment-1822651908 You are receiving this because you were mentioned.

Message ID: @.***> Thank you, and I will most definitely have a look at that workaround.

Jockey12 commented 8 months ago

Hi! Did you run :UpdateRemotePlugins after installing the plugin? Have you tried manually triggering a presence update via :DiscordUpdatePresence?

Please also verify that "Display current activity as a status message." is enabled under your settings -> Activity Settings -> Activity Status. In addition to that, check if you have a custom status set by clicking on your profile at the bottom left corner and verifying that it says "Set Custom Status", not "Edit Custom Status".

If none of the above helps, please include the following information in your reply:

* Your operating system and its version (`/etc/os-release` or `/etc/lsb-release` on Linux).

* The version of nvim you're using (`nvim --version`).

* The full contents of the buffer opened by `:checkhealth` (copy to clipboard:  `:%y+`).

* The output of `:messages` (copy to clipboard: `:redir @+ | messages | redir END`) **after opening a supported filetype** with Discord open in the background.

* The method you used to install Discord (manual installation, script, package manager, flatpak, snap, etc...).

* The branch (Stable, PTB or Canary) and version of the Discord client you're using (both can be found at the bottom of the settings sidebar).

Sorry, I just deleted the plugin and forgot about this issue. sorry for wasting your time.