Linux - Neovim doesn't show
Oni Version: 0.3.6 (installed from .deb) and 0.3.9 (from release page) Neovim Version (Linux only): v0.4.0-286-gece19b459 Operating System: Linux Mint 19 (Tara)
Issue: Neovim doesn't show, just a blank screen, even from the log below shows that it has been started. I manually checked the process and it's running. From console, there's no error message and I'm not sure how to debug. The screen is similar to #2580, but I compiled neovim myself, not sure if this is related.
/opt/Oni/resources/app/lib/browser/bundle.js:1 Files to open: []
/opt/Oni/resources/app/lib/browser/bundle.js:1 Folders to open: []
/opt/Oni/resources/app/lib/browser/bundle.js:1 $env:ONI_CONFIG_FILE: undefined
/opt/Oni/resources/app/lib/browser/bundle.js:1 [Configuration] Adding file: /home/user/.config/oni/config.js
/opt/Oni/resources/app/lib/browser/bundle.js:1 Oni.Start.Config: 78.004638671875ms
bundle.js:1 $env:ONI_CONFIG_FILE: undefined
bundle.js:1 Oni.Start.Plugins.Discover: 7.475830078125ms
bundle.js:1 Oni.Start.Themes: 23.113037109375ms
bundle.js:1 [Notifications] Setting enabled: true
bundle.js:1 [OniEditor::enter]
bundle.js:1 [NeovimEditor::enter]
bundle.js:1 [OniEditor::init] Called with filesToOpen:
bundle.js:1 [NeovimEditor::init] Called with filesToOpen:
bundle.js:1 [NeovimProcessSpawner::startNeovim] Neovim process path: /usr/local/bin/nvim
bundle.js:1 [NeovimProcessSpawner::startNeovim] Starting Neovim - process: 16426
bundle.js:1 Initializing neovim process using transport: stdio
bundle.js:1 NeovimInstance: Neovim started
bundle.js:1 [NeovimInstance::_checkAndFixIfBlocked] checking mode...
bundle.js:1 Oni.Start.Editors: 5004.050048828125ms
bundle.js:1 Error deserializing from store: SyntaxError: Unexpected token u in JSON at position 0
t.warn @ bundle.js:1
(anonymous) @ vendor.bundle.js:1019
a @ vendor.bundle.js:1019
or @ 1.bundle.js:251
(anonymous) @ bundle.js:1
i @ bundle.js:1
Promise resolved (async)
c @ bundle.js:1
i @ bundle.js:1
[snipped - repeated the last 3 lines]
bundle.js:1 Oni.Start.Sidebar: 86.2978515625ms
bundle.js:1 [PLUGIN] Activating: oni-plugin-statusbar
bundle.js:1 [PLUGIN] Activation successful.
bundle.js:1 [PLUGIN] Activating: oni-plugin-buffers
bundle.js:1 [PLUGIN] Activation successful.
bundle.js:1 [PLUGIN] Activating: oni-plugin-git
bundle.js:1 [PLUGIN] Activation successful.
bundle.js:1 [PLUGIN] Activating: oni-plugin-typescript
bundle.js:1 [PLUGIN] Activation successful.
bundle.js:1 [PLUGIN] Activating: oni-plugin-markdown-preview
bundle.js:1 [PLUGIN] Activation successful.
bundle.js:1 [PLUGIN] Activating: oni-plugin-prettier
bundle.js:1 [PLUGIN] Activation successful.
bundle.js:1 $env:ONI_CONFIG_FILE: undefined
bundle.js:1 [Language Manager - Config] Registering info for language: html - command: /opt/Oni/resources/app/node_modules/vscode-html-languageserver-bin/htmlServerMain.js
bundle.js:1 [Language Manager - Config] Registering info for language: go - command: go-langserver
bundle.js:1 [Language Manager - Config] Registering info for language: python - command: pyls
bundle.js:1 [Language Manager - Config] Registering info for language: cpp - command: clangd
bundle.js:1 [Language Manager - Config] Registering info for language: c - command: clangd
bundle.js:1 [Language Manager - Config] Registering info for language: css - command: /opt/Oni/resources/app/node_modules/vscode-css-languageserver-bin/cssServerMain.js
bundle.js:1 [Language Manager - Config] Registering info for language: less - command: /opt/Oni/resources/app/node_modules/vscode-css-languageserver-bin/cssServerMain.js
bundle.js:1 [Language Manager - Config] Registering info for language: scss - command: /opt/Oni/resources/app/node_modules/vscode-css-languageserver-bin/cssServerMain.js
bundle.js:1 [Language Manager - Config] Registering info for language: reason - command: /opt/Oni/resources/app/node_modules/ocaml-language-server/bin/server/index.js
bundle.js:1 [Language Manager - Config] Registering info for language: ocaml - command: /opt/Oni/resources/app/node_modules/ocaml-language-server/bin/server/index.js
bundle.js:1 [Language Manager - Config] Registering info for language: haskell - command: stack
bundle.js:1 Oni.Start.Activate: 284.632080078125ms
bundle.js:1 Oni.Start: 5908.418212890625ms
bundle.js:1 [OniEditor::enter]
bundle.js:1 [NeovimEditor::enter]
bundle.js:1 [OniEditor::leave]
bundle.js:1 [NeovimEditor::leave]
bundle.js:1 [OniEditor::enter]
bundle.js:1 [NeovimEditor::enter]
bundle.js:1 [OniEditor::leave]
bundle.js:1 [NeovimEditor::leave]
bundle.js:1 [OniEditor::enter]
bundle.js:1 [NeovimEditor::enter]
Expected behavior: Neovim should work as expected.
Actual behavior: Neovim doesn't show, see above.
Steps to reproduce: Just start oni normally.
Hello and welcome to the Oni repository! Thanks for opening your first issue here. To help us out, please make sure to include as much detail as possible - including screenshots and logs, if possible.
Running fine on Oni 0.3.9 :cry:
It worked once, and after I closed it, it's not working again. I tried clearing my ~/.config/oni/ but still no luck. The console is pretty similar to the one above, no error shown.
The last stable release does not work with more recent versions of Neovim, there's a workaround here.
Or you can downgrade neovim to 0.3.1
Closing as duplicate of https://github.com/onivim/oni/issues/2706. Let's continue the discussion there.