question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

shell_plus interactive shell doesn't work properly in windows10?

See original GitHub issue

shell_plus doesn’t work well in windows 10 (using git-bash application`)

  • tab doesn’t support completion (It just works as tab, which is 4 spaces indentation, even after my_variable.<tab>)
  • Interactive shell line is not colorful (just grey)
  • input cursor can go anywhere…

Belows are my trials:

  1. django-extensions == 2.1.1 & python manage.py shell_plus
  2. django-extensions == 2.26. & python manage.py shell_plus --ipython

Phenomenons:

Screen Shot 2020-01-26 at 13 02 03

Interesting thing is that

  1. With same trials in Linux(Ubuntu 16.04) it works well… 2. python manage.py shell_plus --notebook works well in jupyter
  2. When running ipython in the shell(not shell_plus), then interactive shell works well as it meant to be(supporting tab autocompletion etc)

Why does it happen?

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
rightx2commented, Jan 26, 2020

Oops,

  1. manage.py shell: issues
  2. manage.py shell_plus: issues
  3. ipython: works well

So, it indicates that this is not just django-extensions issues, right?

0reactions
trbscommented, Jul 29, 2020

That’s a shame, since you should use Python 3.7 (or even better 3.8) and not the much older 3.5 😃

Sorry I do not own any Windows to test this out… a PR with test case would be much appreciated.

(Hint: if you are a company that have employee’s who are bitten by this please sponsor our work here so we can try and fix this.)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Windows 10 UI doesn't work, Shell Experience Host doesn't exist
Enter 'Command prompt' in the Search box. In the list of results, swipe down on or right-click Command prompt, and then tap or...
Read more >
Fixed: Computer stuck at EFI Shell Version 2.10 screen
My computer wouldn't boot successfully and was stuck at a screen with the following text: EFI Shell version 2.10 (4.641) Current running ...
Read more >
shell_plus — django-extensions 3.2.1 documentation
Django shell with autoloading of the apps database models and subclasses of user-defined classes. Interactive Python Shells¶. There is support for three ...
Read more >
The Unresponsive Terminal - Learning the UNIX ... - O'Reilly
You may have typed a command but forgotten to press RETURN to tell the shell that you're done typing and it should now...
Read more >
python manage.py runserver, shell, dbshell freezes on git-bash
The problem is python.exe itself has issues with gitbash. Supposedly, it has something to do with the ncurses library. The solution is to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found