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

TMUX crashes coq_nvim #622

Open
samrxth opened this issue Feb 21, 2024 · 3 comments
Open

TMUX crashes coq_nvim #622

samrxth opened this issue Feb 21, 2024 · 3 comments

Comments

@samrxth
Copy link

samrxth commented Feb 21, 2024

my configuration is virtually nothing but

require("coq_3p")({
  { src = "nvimlua", short_name = "nLUA" },
  { src = "vimtex", short_name = "vTEX" },
  { src = "copilot", short_name = "COP", accept_key = "<c-r>" },
})

the error:

not enough values to unpack (expected 7, got 1)
Traceback (most recent call last):
  File "/Users/sam/.local/share/nvim/site/pack/packer/start/coq_nvim/.vars/runtime/lib/python3.
11/site-packages/pynvim_pp/logging.py", line 31, in suppress_and_log
    yield None
  File "/Users/sam/.local/share/nvim/site/pack/packer/start/coq_nvim/coq/clients/tmux/worker.py
", line 41, in _poll
    await self.periodical()
           ^^^^^^^^^^^^^
  File "/Users/sam/.local/share/nvim/site/pack/packer/start/coq_nvim/coq/tmux/parse.py", line 5
9, in cont
    (
ValueError: not enough values to unpack (expected 7, got 1)
not enough values to unpack (expected 7, got 1)
Traceback (most recent call last):
  File "/Users/sam/.local/share/nvim/site/pack/packer/start/coq_nvim/.vars/runtime/lib/python3.
11/site-packages/pynvim_pp/logging.py", line 31, in suppress_and_log
    yield None
  File "/Users/sam/.local/share/nvim/site/pack/packer/start/coq_nvim/coq/clients/tmux/worker.py
", line 41, in _poll
    await self.periodical()
  File "/Users/sam/.local/share/nvim/site/pack/packer/start/coq_nvim/coq/clients/tmux/worker.py
", line 49, in periodical
    current, panes = await snapshot(
                     ^^^^^^^^^^^^^^^
  File "/Users/sam/.local/share/nvim/site/pack/packer/start/coq_nvim/coq/tmux/parse.py", line 1
13, in snapshot
    panes = await _panes(tmux, all_sessions=all_sessions)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/sam/.local/share/nvim/site/pack/packer/start/coq_nvim/coq/clients/tmux/worker.py
", line 41, in _poll
    await self.periodical()
  File "/Users/sam/.local/share/nvim/site/pack/packer/start/coq_nvim/coq/clients/tmux/worker.py
", line 49, in periodical
    current, panes = await snapshot(
                     ^^^^^^^^^^^^^^^
  File "/Users/sam/.local/share/nvim/site/pack/packer/start/coq_nvim/coq/tmux/parse.py", line 1
13, in snapshot
    panes = await _panes(tmux, all_sessions=all_sessions)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-- More --
Screen.Recording.2024-02-21.at.11.45.34.AM.mov
@btittelbach
Copy link

I can confirm this bug

@PavelSolaris
Copy link

The commit 649443f solved the issue

@btittelbach
Copy link

fix confirmed. Weird though that Lazy update did not fix this and I had to pull manually.

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

3 participants