mailRe: [task #6847] The Bieri graphical user interface.


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by Sébastien Morin on November 30, 2009 - 04:14:
Hi Ed,

Thanks...


Séb  :)



Edward d'Auvergne wrote:
2009/11/20 Sébastien Morin <sebastien.morin.1@xxxxxxxxx>:
  
Hi again,

Just an additional comment...

I opened the GUI and got an error when pressing the 'Settings' button...


=========================
Traceback (most recent call last):
 File
"/home/semor/pse-4/collaborations/relax/relax-1.3--bieri_gui_2/gui_bieri/relax_gui.py",
line 3350, in settings
   relax_settings()
 File
"/home/semor/pse-4/collaborations/relax/relax-1.3--bieri_gui_2/gui_bieri/res/settings.py",
line 169, in relax_settings
   start = Settings(None, -1, "")
 File
"/home/semor/pse-4/collaborations/relax/relax-1.3--bieri_gui_2/gui_bieri/res/settings.py",
line 31, in __init__
   kwds["style"] = wxDEFAULT_FRAME_STYLE|wx.STAY_ON_TOP
NameError: global name 'wxDEFAULT_FRAME_STYLE' is not defined
=========================
    

This is simply a typo bug.  It should be 'wx.DEFAULT_FRAME_STYLE' and
not 'wxDEFAULT_FRAME_STYLE'.


  
Maybe this is related to the error message I get when simply calling
'relax' :

=========================
/home/semor/pse-4/collaborations/relax/relax-1.3--bieri_gui/gui_bieri/res/settings.py:24:
DeprecationWarning: The wxPython compatibility package is no longer
automatically generated or actively maintained.  Please switch to the wx
package as soon as possible.
 from wxPython.wx import wxFrame

=========================
    

This is another problem that needs to be addressed.  wxPython is old
and must be replaced with wx.  Also here I have removed the "from x
import *" notation as this should not be used.  All individual imports
should be written out, one by one, despite how painful this is.  The
import * notation is dangerous.  Therefore there will be a series of
missing objects in this module.

Regards,

Edward
  


-- 
Sébastien Morin
PhD Student
S. Gagné NMR Laboratory
Université Laval & PROTEO
Québec, Canada





Related Messages


Powered by MHonArc, Updated Mon Nov 30 04:20:22 2009