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

OS Detection #25

Open
AlexvZyl opened this issue Oct 8, 2022 · 7 comments
Open

OS Detection #25

AlexvZyl opened this issue Oct 8, 2022 · 7 comments

Comments

@AlexvZyl
Copy link

AlexvZyl commented Oct 8, 2022

I get this error when trying to setup this plugin on Arch.

image

Please let me know if you require further details.

@lucasdf
Copy link

lucasdf commented Oct 27, 2022

I also use Arch and don't have this issue. What is the output of running uname in the terminal?

@AlexvZyl
Copy link
Author

AlexvZyl commented Dec 28, 2022

Apologies for only responding now. I still get this error. uname -a gives:

Linux archlinux 5.15.85-1-lts #1 SMP Thu, 22 Dec 2022 06:22:00 +0000 x86_64 GNU/Linux

@RAprogramm
Copy link

same on ubuntu 22.04.1 lts

@ray-x
Copy link

ray-x commented Jan 8, 2023

Same issue. Archlinux
TIOCGWINSZ = 0x5413
ioctl returns -1

@0xAdk
Copy link

0xAdk commented Jan 9, 2023

ioctl errno is 25 (ENOTTY) and checking ffi.C.isatty(1) returns 0. Doing a git bisect leads to neovim/neovim@2448816.

@airpods69
Copy link

airpods69 commented Feb 19, 2023

Could it be cause of nightly version of neovim?

Also putting in the code here so that if someone searches for the error, it shows up on the search engine

Logs:

E5113: Error while calling lua chunk: ...e/pack/packer/start/hologram.nvim/lua/hologram/state.lua:38: Hologram failed to get screen size: detected
OS is not supported.
stack traceback:
        [C]: in function 'assert'
        ...e/pack/packer/start/hologram.nvim/lua/hologram/state.lua:38: in function 'update_cell_size'
        ...te/pack/packer/start/hologram.nvim/lua/hologram/init.lua:12: in function 'setup'
       ~/.config/nvim/after/plugin/pets.lua:1: in main chunk```

@airpods69
Copy link

Solution: (That worked for me)
Yep Seems like it was a neovim version fault

I switched from nightly version to nvim v0.8.3 and everything seems to be working

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants