Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

symbol not found error using MacOS Sonoma #2311

Closed
3 tasks done
fuetser opened this issue Sep 30, 2023 · 9 comments
Closed
3 tasks done

symbol not found error using MacOS Sonoma #2311

fuetser opened this issue Sep 30, 2023 · 9 comments
Labels
bug Something isn't working upstream Issues that apply to upstream plugins and not AstroNvim directly.

Comments

@fuetser
Copy link

fuetser commented Sep 30, 2023

Checklist

  • Using a stable version of Neovim (i.e. not neovim nightly)
  • :AstroUpdate
  • Restarted AstroNvim

Operating system/version

macOS Sonoma 14.0

Terminal/GUI

iterm2

AstroNvim Health

AstroNvim ~

  • AstroNvim Version: v3.37.0
  • Neovim Version: v0.9.2
  • OK Using stable Neovim >= 0.8.0
  • OK git is installed: Used for core functionality such as updater and plugin management
  • OK open is installed: Used for gx mapping for opening files with system opener (Optional)
  • OK lazygit is installed: Used for mappings to pull up git TUI (Optional)
  • OK node is installed: Used for mappings to pull up node REPL (Optional)
  • WARNING gdu is not installed: Used for mappings to pull up disk usage analyzer (Optional)
  • WARNING btm is not installed: Used for mappings to pull up system monitor (Optional)
  • OK python3 is installed: Used for mappings to pull up python REPL (Optional)

Describe the bug

I installed the latest version of neovim then installed Astro using git clone and opened neovim. Right after the plugins finished installing i got this error. If i try to open file explorer or open a file i get the same error message. I also did all of this on a new computer which did not have iterm2, brew or neovim installed before. I have tried reinstalling neovim and Astro but nothing helped.

Steps to Reproduce

  1. brew install neovim
  2. git clone --depth 1 https://github.com/AstroNvim/AstroNvim ~/.config/nvim
  3. nvim

Expected behavior

Plugins are successfully installed and no error messages are shown.

Screenshots

Снимок экрана 2023-09-30 в 17 46 15

Additional Context

No response

@fuetser fuetser added the bug Something isn't working label Sep 30, 2023
@aravezskinteeth
Copy link

aravezskinteeth commented Sep 30, 2023

I can confirm that I'm getting the same error as you, even after I cloned my AstroNvim config. I have no idea how to solve it. I'm on MacOs Sonoma 14.0 too. Even when I open a new file I get the same error.

@andrewozh
Copy link

Same thing! I upgraded to Sonoma, also upgraded all brew packages
Complete AstroNvim reinstall didn't help

@andrewozh
Copy link

@fuetser I found out that the problem is caused by some folding mechanism from new version of nvim, and we supposed to have ability to gracefully disable it by adding

foldenable = false,
foldcolumn = nil,

to ~/.config/nvim/lua/user/options.lua, but it won't help for some reason..
So I changed it directly in ~/.config/nvim/lua/astronvim/options.lua
After this the amount of errors decreased significantly!
At least nvim is slightly usable with this, and I can work tomorrow 🎉

But I still see same errors from nvim-ufo plugin! I tried to disable it in my user configuration by adding ~/.config/nvim/lua/user/plugins/ufo.lua:

return {
  {
    "kevinhwang91/nvim-ufo",
    enable = false,
    dependencies = { "kevinhwang91/promise-async" },
    provider_selector = function(_, filetype, buftype)
      -- force do nothing
    end
  },
}

But it didn't help as well.. I did evetything, set enable to false, deleted events, cleared all actions from it's function, and it still run somehow

@mehalter userconf options and plugins seems not work for me, or am I doing sth wrong 😔

@anuragrao04
Copy link

anuragrao04 commented Oct 1, 2023

Same thing! I upgraded to Sonoma, also upgraded all brew packages Complete AstroNvim reinstall didn't help

Same steps followed, same issue; +1

@fuetser
Copy link
Author

fuetser commented Oct 1, 2023

I manually installed neovim v0.8.3 and that error doesn't show up anymore. It does't solve the original issue but is ok as a workaround.

@mehalter
Copy link
Member

mehalter commented Oct 1, 2023

I looked into this and it looks like this is related to using pre-release versions of Mac OS which is known to break FFI. It looks like probably just needs to use nightly neovim or something or use a stable operating system. Sorry I'm not much help!

neovim/neovim#25295

@mehalter mehalter closed this as not planned Won't fix, can't repro, duplicate, stale Oct 1, 2023
@mehalter mehalter added the upstream Issues that apply to upstream plugins and not AstroNvim directly. label Oct 1, 2023
@mehalter
Copy link
Member

mehalter commented Oct 1, 2023

neovim/neovim#25274

Looks like this PR probably fixes this for Mac OS Sonoma

Also I looked into this and I believe the mention of it being a pre-release is not true anymore since it is fully released. I believe it just needed to be fixed in Neovim to support the new OS. Hopefully they release some patch updates for neovim that backport this fix or something!

@aravezskinteeth
Copy link

neovim/neovim#25274

Looks like this PR probably fixes this for Mac OS Sonoma

Also I looked into this and I believe the mention of it being a pre-release is not true anymore since it is fully released. I believe it just needed to be fixed in Neovim to support the new OS. Hopefully they release some patch updates for neovim that backport this fix or something!

Downloaded the --HEAD version of neovim with brew and the errors seem to have disappeared, thankfully.

@mehalter mehalter changed the title Getting error right after intalling symbol not found error using MacOS Sonoma Oct 3, 2023
@mehalter mehalter pinned this issue Oct 7, 2023
@mehalter mehalter mentioned this issue Oct 8, 2023
3 tasks
@mehalter
Copy link
Member

This has been fixed in Neovim 0.9.4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working upstream Issues that apply to upstream plugins and not AstroNvim directly.
Projects
None yet
Development

No branches or pull requests

5 participants