spyder: Spyder crashes when trying to save IPython console with graphics

Long time I was not reporting this, suspecting local compatibility troubles to cause it. But now all related libraryes (including PyQt4) updated and no warning messages in console shown. But trouble still here. Spyder crashes when trying to save IPython console when some graphics (from pyplot in my case) displayed in it. Similar print function works fine, saving single picture from console works too. But when selecting “Save as HTML/XML” it displays save-as dialog and after click “save” just crash all spyder without any log or traceback. So all I can provide as error information is screenshoots and windows error details from crash message.

What steps will reproduce the problem?

  1. execute something like
import numpy as np
import matplotlib.pyplot as plt
plt.plot(np.sin(np.arange(314)/50.),'g--')
plt.show()

to display graphics in console

  1. right click on IPython console and select “Save as HTML/XML” (or just ctrl+s when IPython console in focus)
  2. select valid file name and click “save”

What is the expected output? What do you see instead? expected some resulted HTML but receive crash all spyder without log or trace. Windows error message is

Problem signature:
  Problem Event Name:	APPCRASH
  Application Name:	pythonw.exe
  Application Version:	0.0.0.0
  Application Timestamp:	5488ac31
  Fault Module Name:	QtGui4.dll
  Fault Module Version:	4.8.7.0
  Fault Module Timestamp:	55655256
  Exception Code:	c0000005
  Exception Offset:	00055ac7
  OS Version:	6.1.7601.2.1.0.256.4
  Locale ID:	1049
  Additional Information 1:	0a9e
  Additional Information 2:	0a9e372d3b4ad19135b953a78882e789
  Additional Information 3:	0a9e
  Additional Information 4:	0a9e372d3b4ad19135b953a78882e789  

Please provide any additional information below here is some screenshots of how it looks

Versions and main components

  • Spyder Version: 3.2.6
  • Python Version: 2.7.9
  • Qt Versions: 4.8.6, PyQt4 (API v2) 4.11.3 on Windows
  • PyQt Version: PyQt4
  • Operating system: windows 7 x86

Dependencies

IPython >=4.0;<6.0: 5.5.0 (OK) cython >=0.21 : 0.25.2 (OK) jedi >=0.9.0 : 0.11.1 (OK) nbconvert >=4.0 : 5.3.1 (OK) numpy >=1.7 : 1.14.0 (OK) pandas >=0.13.1 : 0.22.0 (OK) pycodestyle >=2.3 : 2.3.1 (OK) pyflakes >=0.5.0 : 1.6.0 (OK) pygments >=2.0 : 2.2.0 (OK) pylint >=0.25 : 1.8.1 (OK) qtconsole >=4.2.0 : 4.3.1 (OK) rope >=0.9.4 : 0.10.7 (OK) sphinx >=0.6.6 : 1.6.6 (OK) sympy >=0.7.3 : 1.0 (OK)

About this issue

  • Original URL
  • State: closed
  • Created 9 years ago
  • Comments: 17 (9 by maintainers)

Most upvoted comments

spyder --debug

thanks! that is what I am looking for. but. it not working too. here is a screencast //1st command was a mistake- just forget to exit python console (called to show version)

I am so sorry 😦( - so strange things is going on here.