extraterm icon indicating copy to clipboard operation
extraterm copied to clipboard

pipenv subshell doesn't instantiate if output framing is active

Open marnec opened this issue 6 years ago • 4 comments

If frames are active, when trying to activate a pipenv subshell the system pauses for around 30 seconds, then prompts a success-frame but never activates the (pipenv) subshell.

pipenvbug

If frames are turned off everything works fine

marnec avatar Jan 03 '20 08:01 marnec

What OS and version of Extraterm are you using?

I use pipenv shell very frequently in WSL Ubuntu 18.04 with framing enabled, but I'm usually using fish as my shell. I'm usually on Python 3 and the most recent version of pip/pipenv. It works in bash as well, but I get a message about postexec: command not found after I run any command, though it seems to still work.

There were some framing issues in v0.46.0 that were fixed in #225, so if you're not using v0.48.0 that may be worth a try. There are also configuration options to only frame output if longer than n lines, or to disable framing for specific commands. That should at least give you a workaround for pipenv which would still allow framing to work for other commands.

Kynolin avatar Jan 20 '20 23:01 Kynolin

I'm on Ubuntu 18.04 with extraterm 0.48

marnec avatar Feb 10 '20 07:02 marnec

This looks like some kind of "bash running inside bash" type compatibility problem.

sedwards2009 avatar Feb 10 '20 20:02 sedwards2009

I remember the shell integration being fixed to be more careful about when it runs, i.e. only for interactive shells. I suspect this fixes the problem.

sedwards2009 avatar Jan 08 '23 19:01 sedwards2009