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

Cannot launch tabs, windows and os-windows with --cwd=current in an ssh session #7028

Closed
ad-chaos opened this issue Jan 20, 2024 · 1 comment
Labels

Comments

@ad-chaos
Copy link
Contributor

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Build kitty from source on the latest master branch
  2. Run ./kitty/launcher/kitty --config NONE -o allow_remote_control=yes
  3. kitten ssh into any machine
  4. Run kitty @ launch --cwd=current --hold also reproduceable with --type=tab or --type=os-window
  5. See the error in the created window and in the stdout

Process stdout:

File "/Users/adchaos/git-repos/ad-chaos/kitty/kitty/launcher/kitty.app/Contents/MacOS/../../../../../kittens/ssh/utils.py", line 133, in get_ssh_data
    raise ValueError(f'Incorrect request id: {rq_id!r} expecting the KITTY_PID-KITTY_WINDOW_ID for the current kitty window')

In the created window:

Incorrect request id: '75914-1' expecting the KITTY_PID-KITTY_WINDOW_ID for the current kitty window
@ad-chaos ad-chaos added the bug label Jan 20, 2024
@ad-chaos
Copy link
Contributor Author

when doing kitten @ launch --cwd=current --hold I get Error: The SSH kitten is meant to run inside a kitty window

@ad-chaos ad-chaos changed the title Cannot launch tabs, windows and os-windows with --cwd=current when using ssh Cannot launch tabs, windows and os-windows with --cwd=current in an ssh session Jan 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant