Hello,
thanks for the new release.
When running the gui-test suite, I see following error. It was also
present in earlier versions. Do you know what's the problem here? Wrong
wxwidgets version? Bug in relax?
Regards,
Justin
$ relax-nmr --gui-tests
=============
= GUI tests =
=============
.....................................................F......F.
======================================================================
FAIL: test_noe_analysis (test_suite.gui_tests.noe.Noe)
Test the NOE analysis.
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/usr/lib64/python2.7/site-packages/relax/test_suite/gui_tests/noe.py",
line 45, in test_noe_analysis
self.app.gui.show_pipe_editor(None)
File "/usr/lib64/python2.7/site-packages/relax/gui/relax_gui.py", line
676, in show_pipe_editor
self.pipe_editor = Pipe_editor(gui=self)
File "/usr/lib64/python2.7/site-packages/relax/gui/pipe_editor.py",
line 91, in __init__
self.add_buttons(sizer)
File "/usr/lib64/python2.7/site-packages/relax/gui/pipe_editor.py",
line 219, in add_buttons
self.button_delete.SetBitmapLabel(wx.Bitmap(fetch_icon('oxygen.actions.list_remove',
"22x22"), wx.BITMAP_TYPE_ANY))
File
"/usr/lib64/python2.7/site-packages/wx-2.9.4-gtk2/wx/lib/buttons.py",
line 442, in SetBitmapLabel
image = wx.ImageFromBitmap(bitmap)
File "/usr/lib64/python2.7/site-packages/wx-2.9.4-gtk2/wx/_core.py",
line 3750, in ImageFromBitmap
val = _core_.new_ImageFromBitmap(*args, **kwargs)
PyAssertionError: C++ assertion "IsOk()" failed at
/var/tmp/portage/x11-libs/wxGTK-2.9.4.1-r1/work/wxPython-src-2.9.4.0/src/gtk/bitmap.cpp(757)
in ConvertToImage(): invalid bitmap
======================================================================
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.
----------------------------------------------------------------------
relax> pipe.create(pipe_name='PDB reading test', pipe_type='mf',
bundle=None)
Traceback (most recent call last):
File
"/usr/lib64/python2.7/site-packages/relax/test_suite/gui_tests/test_user_functions.py",
line 62, in test_structure_pdb_read
uf.page.uf_args['read_model'].selection_win_show()
File
"/usr/lib64/python2.7/site-packages/relax/gui/input_elements/sequence.py",
line 380, 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, dim=self.dim)
File
"/usr/lib64/python2.7/site-packages/relax/gui/input_elements/sequence.py",
line 485, in __init__
self.add_buttons(sizer)
File
"/usr/lib64/python2.7/site-packages/relax/gui/input_elements/sequence.py",
line 568, in add_buttons
button.SetBitmapLabel(wx.Bitmap(fetch_icon('oxygen.actions.edit_delete',
"22x22"), wx.BITMAP_TYPE_ANY))
File
"/usr/lib64/python2.7/site-packages/wx-2.9.4-gtk2/wx/lib/buttons.py",
line 442, in SetBitmapLabel
image = wx.ImageFromBitmap(bitmap)
File "/usr/lib64/python2.7/site-packages/wx-2.9.4-gtk2/wx/_core.py",
line 3750, in ImageFromBitmap
val = _core_.new_ImageFromBitmap(*args, **kwargs)
PyAssertionError: C++ assertion "IsOk()" failed at
/var/tmp/portage/x11-libs/wxGTK-2.9.4.1-r1/work/wxPython-src-2.9.4.0/src/gtk/bitmap.cpp(757)
in ConvertToImage(): invalid bitmap
----------------------------------------------------------------------
Ran 62 tests in 110.216s
FAILED (failures=2)
===================================
= Summary of the relax test suite =
===================================
Optional packages/modules
=========================
Tests skipped due to missing packages/modules:
---------------------------------------------------------------------------------------------
Module System test count Unit test count
GUI test count
---------------------------------------------------------------------------------------------
wxPython 2.9.4.1 gtk2 bugs 0 0
1
---------------------------------------------------------------------------------------------
Synopsis
========
GUI tests
...............................................................................
[ Failed ]
_______________________________________________
relax (http://www.nmr-relax.com)
This is the relax-devel mailing list
relax-devel@xxxxxxx
To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-devel