presence.nvim icon indicating copy to clipboard operation
presence.nvim copied to clipboard

Unexpected Discord IPC socket type: nil

Open H4ppy-04 opened this issue 2 years ago • 2 comments

Description

It seems that presence.nvim is having trouble determining the socket type that I'm using when I'm not running any sort of script. It's unusual because I am not running discord as an administrator and I'm not using WSL at all. Also powershell.exe, -Command, (Get-ChildItem \.pipe).FullName | findstr 'nvim' returns a blank line if that's of any help.

However, as soon as I do something like PlugUpdate, it immediately detects that I'm managing plugins and my status is immediately set to

Neovim Managing Plugins

Is this normal behaviour or a bug?

Neovim version

NVIM v0.8.0-1210-gd367ed9b2
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3

OS information

Windows 10 Home ver. 21H2 build. 19044.2075

Steps to reproduce

  1. Pack install andweeb/presence to $MYVIMRC
  2. let g:presence_log_level = "debug"
  3. :wq and run C:\Users\qwerty>nvim

Logs

[presence.nvim] Setting up plugin for windows [presence.nvim] Using Discord IPC socket path: .pipediscord-ipc-0 [presence.nvim] Checking Discord IPC socket at .pipediscord-ipc-0... [presence.nvim] Using id aa2b929b-6922-439d-a36c-9021263496de [presence.nvim] Completed plugin setup [presence.nvim] Getting nvim socket paths... [presence.nvim] Executing command: powershell.exe, -Command, (Get-ChildItem \.pipe).FullName | findstr 'nvim' [presence.nvim] Custom setup not detected, using defaults [presence.nvim] Found unexpected Discord IPC socket type: nil [presence.nvim] Handling BufEnter event... [presence.nvim] Connecting to Discord... [presence.nvim] Connected to Discord [presence.nvim] Authorizing with Discord... [presence.nvim] Wrote message to pipe [presence.nvim] Authorized with Discord for joshua.rose34 [presence.nvim] Parsed filename nil with no extension [presence.nvim] No status text for the given buffer, skipping... [presence.nvim] Got nvim socket paths: {} [presence.nvim] No other remote nvim instances Press ENTER or type command to continue

H4ppy-04 avatar Oct 07 '22 05:10 H4ppy-04

I have the excact same bug. Please help!

kjellherzke avatar Jul 05 '23 11:07 kjellherzke