URL: <http://gna.org/bugs/?22818> Summary: GUI test suite failures in MS Windows - PyAssertionError: C++ assertion "Assert failure" Project: relax Submitted by: bugman Submitted on: Fri 17 Oct 2014 12:36:30 PM UTC Category: GUI Specific analysis category: All analyses Priority: 3 - Low Severity: 2 - Minor Status: None Assigned to: bugman Originator Name: Originator Email: Open/Closed: Open Release: 3.3.1 Discussion Lock: Any Operating System: Microsoft Windows _______________________________________________________ Details: When running the relax test suite on MS Windows Vista or higher, the GUI tests fail with the following messages: ============= = GUI tests = ============= . 0.56 s for Bmrb.test_bug_20471_structure_present . 0.03 s for Bmrb.test_bug_22703_display_empty . 0.02 s for Bmrb.test_bug_22704_corrupted_state_file . 3.42 s for Bmrb.test_rw_bmrb_3_0_model_free . 2.31 s for Bmrb.test_rw_bmrb_3_1_model_free . 0.14 s for Bruker.test_bruker_read_noe . 0.33 s for Bruker.test_bruker_read_r1 . 1.59 s for Bruker.test_bug_20152_read_dc_file . 0.02 s for Bruker.test_bug_22411_T1_read_fail . 0.69 s for Ct.test_bug_20674_ct_analysis_failure . 0.17 s for Ct.test_calc . 0.30 s for Ct.test_consistency . 0.03 s for Ct.test_set_value . 0.03 s for Dead_uf_pages.test_mol_create . 13.73 s for Frame_order.test_cam_iso_cone . 2.00 s for General.test_bug_21720_pipe_switching_with_tab_closure . 0.02 s for Interatomic.test_copy . 0.39 s for Interatomic.test_manipulation . 0.16 s for Jw_mapping.test_bug_20674_jw_mapping . 0.08 s for Jw_mapping.test_calc . 0.17 s for Jw_mapping.test_mapping . 0.03 s for Jw_mapping.test_set_value . 6.14 s for Mf.test_bug_20479_gui_final_pipe . 1.47 s for Mf.test_bug_21615_incomplete_setup_failure . 24.47 s for Mf.test_mf_auto_analysis . 0.28 s for Mf.test_opendx_s2_te_rex . 1.74 s for N_state_model.test_5_state_xz . 0.06 s for N_state_model.test_A_to_chi . 0.59 s for N_state_model.test_absolute_T . 1.19 s for N_state_model.test_absolute_rdc . 0.59 s for N_state_model.test_absolute_rdc_menthol . 2.56 s for N_state_model.test_align_fit . 1.47 s for N_state_model.test_align_fit_pcs . 1.53 s for N_state_model.test_align_fit_pcs_rand . 2.20 s for N_state_model.test_align_fit_rand . 1.53 s for N_state_model.test_align_fit_rdc . 1.44 s for N_state_model.test_align_fit_rdc_rand . 0.41 s for N_state_model.test_data_copying . 0.58 s for N_state_model.test_frame_order_align_fit . 0.59 s for N_state_model.test_lactose_n_state_fixed . 0.80 s for N_state_model.test_lactose_n_state_population . 2.19 s for N_state_model.test_mc_sim_failure . 3.01 s for N_state_model.test_metal_pos_opt . 4.47 s for N_state_model.test_missing_data . 0.95 s for N_state_model.test_monte_carlo_sims . 1.86 s for N_state_model.test_paramag_align_fit . 2.92 s for N_state_model.test_paramag_centre_fit . 0.05 s for N_state_model.test_pcs_back_calc . 0.25 s for N_state_model.test_pcs_fit_true_pos . 0.20 s for N_state_model.test_pcs_fit_zero_pos . 0.06 s for N_state_model.test_pcs_to_rdc . 0.64 s for N_state_model.test_pyrotartaric_anhydride_absT . 0.56 s for N_state_model.test_pyrotartaric_anhydride_mix . 0.66 s for N_state_model.test_pyrotartaric_anhydride_rdcs . 0.62 s for N_state_model.test_rdc_tensor . 2.94 s for N_state_model.test_stereochem_analysis . 0.08 s for N_state_model.test_vector_loading1 . 0.06 s for N_state_model.test_vector_loading2 . 0.06 s for N_state_model.test_vector_loading3 . 2.70 s for Noe.test_noe_analysis . -0.00 s for Pipes.test_change_type . 0.14 s for Pipes.test_pipe_bundle . 0.01 s for Pipes.test_pipe_create . 1.50 s for Relax_disp.test_bug_20889_multi_col_peak_list . 1.41 s for Relax_disp.test_bug_21076_multi_col_peak_list . 1.00 s for Relax_disp.test_bug_22501_close_all_analyses . 17.95 s for Relax_disp.test_hansen_trunc_data . 9.95 s for Relax_disp.test_r2eff_err_estimate . 1.27 s for Relax_disp.test_read_spins_from_spectrum . 19.30 s for Relax_disp.test_tp02_data_to_tp02 . 6.53 s for Rx.test_r1_analysis . 0.31 s for State.test_bug_20480 . 1.78 s for State.test_load_state_no_gui . 1.34 s for State.test_old_state_loading . 0.25 s for User_functions.test_dx_map . 0.19 s for User_functions.test_spectrum_read_intensities F 0.09 s for User_functions.test_structure_add_atom F -0.00 s for User_functions.test_structure_pdb_read F -0.00 s for User_functions.test_structure_rotate F 0.02 s for User_functions.test_value_set ====================================================================== FAIL: test_structure_add_atom (test_suite.gui_tests.test_user_functions.User_functions) Test the operation of the structure.add_atom user function GUI window. ---------------------------------------------------------------------- Value: ''; Return: None Value: '[1, 2, -3.]'; Return: [1.0, 2.0, -3.0] Value: 'die'; Traceback (most recent call last): File "C:\relax\relax-trunk\test_suite\gui_tests\test_user_functions.py", line 243, in test_structure_add_atom uf.page.uf_args['pos'].selection_win_show() File "C:\relax\relax-trunk\gui\input_elements\sequence.py", line 392, in selection_win_show self.sel_win = Sequence_window(parent=self.parent, name=self.name, seq_type=self.seq_type, value_type=self.value_type, titles=self.titles, dim=self.dim) File "C:\relax\relax-trunk\gui\input_elements\sequence.py", line 501, in __init__ wx.Dialog.__init__(self, parent, id=-1, title=title) File "C:\Python27\lib\site-packages\wx-3.0-msw\wx\_windows.py", line 734, in __init__ _windows_.Dialog_swiginit(self,_windows_.new_Dialog(*args, **kwargs)) PyAssertionError: C++ assertion "Assert failure" failed at ..\..\src\msw\toplevel.cpp(495) in wxTopLevelWindowMSW::CreateDialog(): Failed to create dialog. Incorrect DLGTEMPLATE? ====================================================================== FAIL: test_structure_pdb_read (test_suite.gui_tests.test_user_functions.User_functions) Test the full operation of the structure.read_pdb user function GUI window. ---------------------------------------------------------------------- Traceback (most recent call last): File "C:\relax\relax-trunk\test_suite\gui_tests\test_user_functions.py", line 270, in test_structure_pdb_read self.exec_uf_pipe_create(pipe_name='PDB reading test') File "C:\relax\relax-trunk\test_suite\gui_tests\test_user_functions.py", line 53, in exec_uf_pipe_create uf.create_wizard(parent=self.app.gui) File "C:\relax\relax-trunk\gui\uf_objects.py", line 291, in create_wizard self.wizard = Wiz_window(parent=parent, size_x=self._size[0], size_y=self._size[1], title=self._title) File "C:\relax\relax-trunk\gui\wizards\wiz_objects.py", line 390, in __init__ wx.Dialog.__init__(self, parent, id=-1, title=title, style=style) File "C:\Python27\lib\site-packages\wx-3.0-msw\wx\_windows.py", line 734, in __init__ _windows_.Dialog_swiginit(self,_windows_.new_Dialog(*args, **kwargs)) PyAssertionError: C++ assertion "Assert failure" failed at ..\..\src\msw\toplevel.cpp(495) in wxTopLevelWindowMSW::CreateDialog(): Failed to create dialog. Incorrect DLGTEMPLATE? ====================================================================== FAIL: test_structure_rotate (test_suite.gui_tests.test_user_functions.User_functions) Test the operation of the structure.rotate user function GUI window. ---------------------------------------------------------------------- Traceback (most recent call last): File "C:\relax\relax-trunk\test_suite\gui_tests\test_user_functions.py", line 315, in test_structure_rotate self.exec_uf_pipe_create(pipe_name='PDB rotation test') File "C:\relax\relax-trunk\test_suite\gui_tests\test_user_functions.py", line 53, in exec_uf_pipe_create uf.create_wizard(parent=self.app.gui) File "C:\relax\relax-trunk\gui\uf_objects.py", line 291, in create_wizard self.wizard = Wiz_window(parent=parent, size_x=self._size[0], size_y=self._size[1], title=self._title) File "C:\relax\relax-trunk\gui\wizards\wiz_objects.py", line 390, in __init__ wx.Dialog.__init__(self, parent, id=-1, title=title, style=style) File "C:\Python27\lib\site-packages\wx-3.0-msw\wx\_windows.py", line 734, in __init__ _windows_.Dialog_swiginit(self,_windows_.new_Dialog(*args, **kwargs)) PyAssertionError: C++ assertion "Assert failure" failed at ..\..\src\msw\toplevel.cpp(495) in wxTopLevelWindowMSW::CreateDialog(): Failed to create dialog. Incorrect DLGTEMPLATE? _______________________________________________________ Reply to this item at: <http://gna.org/bugs/?22818> _______________________________________________ Message sent via/by Gna! http://gna.org/