xxh / xxh-shell-xonsh

Use xonsh wherever you go through the SSH without installation on the host.
BSD 2-Clause "Simplified" License
49 stars 8 forks source link

Xonsh: bash: python3.10: No such file or directory #22

Closed Ruudjhuu closed 1 year ago

Ruudjhuu commented 1 year ago

Local OS (where xxh is installed): EndavourOS 6.0.10-arch2-1 Destination host OS: Debian 11.5 xxh version: xxh/0.8.11 xxh-plugins installed: none

Steps to Reproduce

  1. I run xxh ruud@docker-02 +s xonsh +v
  2. The output log:
    
    Load xxh config from /home/ruud/.config/xxh/config.xxhc
    ssh arguments: ['-o', 'StrictHostKeyChecking=accept-new', '-o', 'User=ruud']
    ruud@docker-02's password: 
    Pexpect result:
    {'user_host_accept': None, 'user_host_password': '*********', 'user_key_password': None, 'output': 'xxh_home_realpath=/home/ruud/.xxh\r\nxxh_version=0.8.11\r\nxxh_shell_exists=1\r\nxxh_home_writable=1\r\nxxh_parent_home_writable=1\r\nrsync=\r\nscp=/usr/bin/scp\r\nshell=\r\nkernel=Linux\r\narch=x86_64\r\n'}
    Host info:
    xxh_home_realpath=/home/ruud/.xxh
    xxh_version=0.8.11
    xxh_shell_exists=1
    xxh_home_writable=1
    xxh_parent_home_writable=1
    rsync=
    scp=/usr/bin/scp
    shell=
    kernel=Linux
    arch=x86_64

bash: /home/ruud/.xxh/.xxh/shells/xxh-shell-xonsh/build/xonsh-squashfs/usr/bin/usr/bin/python3.10: No such file or directory Connection to docker-02 closed.


4. What is the problem
The python3.10 file is not found when trying to use xonsh shell. With fish shell everything works fine. The part `/usr/bin` inside `/usr/bin` does not exists. Is the path wrong or are the files missing?

**For community:**
⬇️  **Please click the 👍 reaction instead of leaving a `+1` or 👍  comment**
Ruudjhuu commented 1 year ago

Duplicate of #21

anki-code commented 1 year ago

Hi @Ruudjhuu! I'm going to close this and leave a comment to #21.