Opened 9 years ago

Closed 9 years ago

#48685 closed defect (fixed)

Upgrading to ipython 4.0.0 breakes spyder

Reported by: vs-never@… Owned by: eborisch (Eric A. Borisch)
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc: gnw3
Port: py-spyder

Description (last modified by mf2k (Frank Schima))

After upgrading py27-ipython to version 4.0.0 spyder IDE fails to launch with the following crash report:

Traceback (most recent call last):
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/spyderlib/spyder.py", line 2367, in main
    mainwindow = run_spyder(app, options, args)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/spyderlib/spyder.py", line 2255, in run_spyder
    main.setup()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/spyderlib/spyder.py", line 801, in setup
    from spyderlib.plugins.inspector import ObjectInspector
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/spyderlib/plugins/inspector.py", line 41, in <module>
    from spyderlib.widgets.ipython import IPythonControlWidget
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/spyderlib/widgets/ipython.py", line 27, in <module>
    pygments_patch.apply()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/spyderlib/pygments_patch.py", line 27, in apply
    from IPython.frontend.qt.console.pygments_highlighter import RegexLexer
ImportError: No module named pygments_highlighter 

It seems that the problem is known by spyder developers, https://github.com/spyder-ide/spyder/issues/2608, and solved in version 2.3.6.

Change History (6)

comment:1 Changed 9 years ago by gnw3

Cc: gnwiii@… added

Cc Me!

comment:2 Changed 9 years ago by mf2k (Frank Schima)

Keywords: ipython 4 spyder removed
Owner: changed from macports-tickets@… to eborisch@…
Port: py-spyder added; py27-spyder removed

In the future, please use WikiFormatting, fill in the Port field and Cc the port maintainers (port info --maintainers py27-spyder), if any.

comment:3 Changed 9 years ago by mf2k (Frank Schima)

Description: modified (diff)

comment:4 Changed 9 years ago by eborisch (Eric A. Borisch)

From upstream: "[...]I'm still fixing other bugs before releasing 2.3.6. In the mean time please downgrade to IPython 3.2.1." [github]

Will upgrade py*-spyder once 2.3.6 is released.

comment:5 Changed 9 years ago by eborisch (Eric A. Borisch)

Resolved (upgraded to 2.3.6) in r139771.

comment:6 Changed 9 years ago by eborisch (Eric A. Borisch)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.