Hi Justin,

Welcome to the relax mailing lists!  This problem is from wxPython
itself, it is not present in the 2.8 wxPython series, and may not be
solvable until the phoenix flies
(http://wiki.wxpython.org/ProjectPhoenix).  Would you however be able
to copy and paste the output of "relax --info" for reference?  I'm
guessing this is wxPython 2.9.4.0 with the patch applied to bring it
up to 2.9.4.1 (this was to fix a GTK compilation bug).  Are you a
relax user, or are you part of the Gentoo project
(http://www.gentoo.org/proj/en/science/)?  If the later, note that
I'll be releasing a new version of relax (3.1.0) in the next ~24 hours
with some important new features.  But this version will probably
experience the same bug.  I have tested this on a custom Python
install with the wxPython version "2.9.4.1 gtk2 (classic)" and can
reproduce the problem, so I will try to fix this for the 3.1.0
release.

Cheers,

Edward



On 27 November 2013 09:36, justin <[email protected]> wrote:
> 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
> [email protected]
>
> 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
>

_______________________________________________
relax (http://www.nmr-relax.com)

This is the relax-devel mailing list
[email protected]

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

Reply via email to