Author: michaelbieri Date: Sun Mar 14 23:04:03 2010 New Revision: 10991 URL: http://svn.gna.org/viewcvs/relax?rev=10991&view=rev Log: Redirection of system output to relaxGUI controller is temporarly disabled for automatic model-free calculation. This is done to find the error causing relaxGUI to crash in final analysis, as discussed here: https://gna.org/task/?6847#comment40. Modified: branches/bieri_gui/gui_bieri/analyses/auto_model_free.py Modified: branches/bieri_gui/gui_bieri/analyses/auto_model_free.py URL: http://svn.gna.org/viewcvs/relax/branches/bieri_gui/gui_bieri/analyses/auto_model_free.py?rev=10991&r1=10990&r2=10991&view=diff ============================================================================== --- branches/bieri_gui/gui_bieri/analyses/auto_model_free.py (original) +++ branches/bieri_gui/gui_bieri/analyses/auto_model_free.py Sun Mar 14 23:04:03 2010 @@ -619,7 +619,7 @@ which_model = self.choose_global_model(False) # Display the relax controller. - self.gui.controller.Show() + #self.gui.controller.Show() # Solve for all global models. if which_model == 'full': @@ -813,6 +813,9 @@ @type global_model: str """ + # Combine Parameters. + model = global_model + # Assemble all the data needed for the dAuvergne_protocol class. data = self.assemble_data() @@ -820,9 +823,9 @@ self.gui.calc_threads[-1].progress = 5.0 # Redirect relax output and errors to the controller. - redir = Redirect_text(self.gui.controller) - sys.stdout = redir - sys.stderr = redir + #redir = Redirect_text(self.gui.controller) + #sys.stdout = redir + #sys.stderr = redir # Print a header in the controller. wx.CallAfter(self.gui.controller.log_panel.AppendText, ('Starting Model-free calculation\n------------------------------------------\n\n') )