Author: bugman Date: Thu Aug 29 13:55:16 2013 New Revision: 20708 URL: http://svn.gna.org/viewcvs/relax?rev=20708&view=rev Log: Attempt at fixing bug #21080 (https://gna.org/bugs/?21080). This was reported by Troels Linnet. The problem is a standard GUI problem. The text from a wxPython GUI is a unicode string. But relax requires standard strings. Therefore the gui.string_conv.gui_to_str() function needs to be used on the return value of the GUI element GetValue() method, but this call was forgotten. Modified: branches/relax_disp/gui/analyses/auto_relax_disp.py Modified: branches/relax_disp/gui/analyses/auto_relax_disp.py URL: http://svn.gna.org/viewcvs/relax/branches/relax_disp/gui/analyses/auto_relax_disp.py?rev=20708&r1=20707&r2=20708&view=diff ============================================================================== --- branches/relax_disp/gui/analyses/auto_relax_disp.py (original) +++ branches/relax_disp/gui/analyses/auto_relax_disp.py Thu Aug 29 13:55:16 2013 @@ -206,7 +206,7 @@ # Results directories. data.save_dir = self.data.save_dir - data.pre_run_dir = self.field_pre_run_dir.GetValue() + data.pre_run_dir = gui_to_str(self.field_pre_run_dir.GetValue()) # Check if sequence data is loaded if not exists_mol_res_spin_data():