View Issue Details

IDProjectCategoryView StatusLast Update
0000471ascendpygtk guipublic2011-02-22 17:34
Assigned Tojohn 
Status assignedResolutionopen 
Product Version 
Target Version1.0Fixed in Version 
Summary0000471: Use of sys.stdout with pythonw.exe causes silent crash (uncaught IOError)
DescriptionWe need to avoid using 'print' and 'sys.stdout' while ASCEND is loading, becuase if 4096 bytes or more are output, the program silently crashes.

Firstly, we need to add an exception handler so that silent crashes are impossible.

Secondly, we need to change our use of 'print' and 'sys.stdout' to something more sophisticated that avoids the potential problem.

This problem seems to have emerged in preparation of 0.9.8 for release.
TagsNo tags attached.




2010-07-21 20:37

administrator   ~0000653

partial fix in changeset 2955.


2010-08-02 23:12

administrator   ~0000660

still to be done: implement the ctypes MessageBox error output for any unforeseen crashes on pythonw.

Issue History

Date Modified Username Field Change
2010-07-20 14:29 john New Issue
2010-07-20 14:30 john Product Version 0.9.7 =>
2010-07-20 14:30 john Target Version => 0.9.8
2010-07-20 14:30 john Status new => assigned
2010-07-20 14:30 john Assigned To => john
2010-07-21 20:37 john Note Added: 0000653
2010-08-02 23:12 john Note Added: 0000660
2011-02-22 17:34 john Target Version 0.9.8 => 1.0