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

IPython error #1100

Closed
Nuvelle opened this issue Jul 14, 2016 · 4 comments
Closed

IPython error #1100

Nuvelle opened this issue Jul 14, 2016 · 4 comments
Labels
Bug Things to squish; generally used for issues

Comments

@Nuvelle
Copy link

Nuvelle commented Jul 14, 2016

I have a fresh install of Sopel running on 2.7.

I installed IPython using pip install (it didnt install with Sopel).

I now get the following when running the bot:

Welcome` to Sopel. Loading modules...

/usr/local/lib/python2.7/site-packages/IPython/utils/io.py:86: DeprecationWarning: IOStream is deprecated since IPython 5.0, use sys.{stdin,stdout,stderr} instead
stdin = IOStream(sys.stdin, fallback=devnull)
/usr/local/lib/python2.7/site-packages/IPython/utils/io.py:87: DeprecationWarning: IOStream is deprecated since IPython 5.0, use sys.{stdin,stdout,stderr} instead
stdout = IOStream(sys.stdout, fallback=devnull)
/usr/local/lib/python2.7/site-packages/IPython/utils/io.py:88: DeprecationWarning: IOStream is deprecated since IPython 5.0, use sys.{stdin,stdout,stderr} instead
stderr = IOStream(sys.stderr, fallback=devnull)
Error loading ipython: 'OutputRedirect' object has no attribute 'isatty' (../IPython/terminal/interactiveshell.py:77)

Registered 40 modules,
1 modules failed to load

Connecting to

@maxpowa maxpowa added the Bug Things to squish; generally used for issues label Jul 19, 2016
@maxpowa
Copy link
Contributor

maxpowa commented Jul 19, 2016

Seems like somewhere the workaround we're doing to pass regular stdout/stdin to iPython isn't working anymore. Might require a different approach, or just adding isatty to OutputRedirect.

@blip-zz
Copy link

blip-zz commented Jul 26, 2016

New install, quick summary:

  • CentOS 6.8
  • yum install python27 (v2.7.8)
  • pip install sopel (v6.3.1)
  • pip install IPython (v5.0.0)

Same error...
+1 interested in a solution.

Also tried to downgrade IPython to 4.2.1 and received many more warnings...

  • pip uninstall IPython
  • pip install -Vi IPython==4.2.1

I went back to IPython v5.0.0

@dgw
Copy link
Member

dgw commented Mar 23, 2018

@alanhuang122 If you have further interest in working on IPython stuff after #1263, this would be a great place to start. :)

@dgw
Copy link
Member

dgw commented Sep 27, 2019

Preemptively closing this as we get closer to merging #1684 and/or #1678. One way or the other, this bug will be rendered a non-issue Soon™.

We're also going to drop Python 2 support in Sopel 8. The upcoming Sopel 7.x series will be the last to run on it. On top of that, this bug is probably somewhere in IPython itself, outside our control.

@dgw dgw closed this as completed Sep 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Things to squish; generally used for issues
Projects
None yet
Development

No branches or pull requests

4 participants