Giter Club home page Giter Club logo

Comments (5)

anki-code avatar anki-code commented on May 30, 2024

Thanks! It looks like xonsh/xonsh#3525 xonsh/xonsh#3555 again. fyi @gforsyth

$ echo 123 | pl "line + '123'"
123123
$ xontrib load bashisms
$ echo 123 | pl "line + '123'"
^C^C^C^C^C^C^C^C^C^C             

# after kill -9 the process:

Traceback (most recent call last):
  File "/opt/miniconda/lib/python3.8/site-packages/xonsh/main.py", line 405, in main
    return main_xonsh(args)
  File "/opt/miniconda/lib/python3.8/site-packages/xonsh/main.py", line 434, in main_xonsh
    shell.shell.cmdloop()
  File "/opt/miniconda/lib/python3.8/site-packages/xonsh/ptk_shell/shell.py", line 197, in cmdloop
    line = self.singleline(auto_suggest=auto_suggest)
  File "/opt/miniconda/lib/python3.8/site-packages/xonsh/ptk_shell/shell.py", line 166, in singleline
    line = self.prompter.prompt(**prompt_args)
  File "/opt/miniconda/lib/python3.8/site-packages/prompt_toolkit/shortcuts/prompt.py", line 994, in prompt
    return self.app.run(set_exception_handler=set_exception_handler)
  File "/opt/miniconda/lib/python3.8/site-packages/prompt_toolkit/application/application.py", line 811, in run
    return loop.run_until_complete(
  File "/opt/miniconda/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
    return future.result()
  File "/opt/miniconda/lib/python3.8/site-packages/prompt_toolkit/application/application.py", line 778, in run_async
    return await _run_async2()
  File "/opt/miniconda/lib/python3.8/site-packages/prompt_toolkit/application/application.py", line 760, in _run_async2
    result = await _run_async()
  File "/opt/miniconda/lib/python3.8/site-packages/prompt_toolkit/application/application.py", line 682, in _run_async
    with self.input.raw_mode():
  File "/opt/miniconda/lib/python3.8/site-packages/prompt_toolkit/input/vt100.py", line 259, in __enter__
    termios.tcsetattr(self.fileno, termios.TCSANOW, newattr)
termios.error: (5, 'Input/output error')
Xonsh encountered an issue during launch
Failback to /bin/sh

from xontrib-pipeliner.

anki-code avatar anki-code commented on May 30, 2024

I've tested in xonsh 0.9.13 and it works:

$ xonsh -V
xonsh/0.9.13.dev1

$ echo 123 | pl "line + '123'"
123123

$ xontrib load bashisms

$ echo 123 | pl "line + '123'"
123123

It's definitely xonsh/xonsh#3525 xonsh/xonsh#3555

from xontrib-pipeliner.

rajaravivarma-r avatar rajaravivarma-r commented on May 30, 2024

Thank you. I will close this issue as this looks like a problem with the upstream package.

from xontrib-pipeliner.

anki-code avatar anki-code commented on May 30, 2024

I reopen the issue to force fix xonsh/xonsh#3342

from xontrib-pipeliner.

anki-code avatar anki-code commented on May 30, 2024

Closed with reference to xonsh/xonsh#4250

from xontrib-pipeliner.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.