Hi,

I mentioned a while back that upgrading to Python 2.7 would fix the
problem.  The C modules in the MS Windows relax distribution file are
compiled with Python 2.7.  They should theoretically work with earlier
Python versions.  I have tested it successfully with Python 2.6, but
obviously it does not work on your system.  Therefore I have added a
description of this to the download webpage at
http://www.nmr-relax.com/download.html#MS_Windows.

For the test suite error, this is very peculiar.  This specific error
has no been reported before, and I have never it.  From the messages,
it looks like the relax installation is not clean.  Can it be
reinstalled, or at least a second copy unzipped and then retested?
Alternatively, there is the main relax 1.3 line which may not show the
problem.

Do you have the subversion program installed on your system?  If so,
instructions for obtaining the most up to date copy of the main relax
1.3 development line is given at, for example,
https://mail.gna.org/public/relax-users/2012-03/msg00007.html.  The
newest version will give a more detailed information print out (from
'$ relax -i'), and has a number of GUI fixes.  I will soon release a
new version of relax (1.3.15) which fixes all the problems Mac OS X
users are seeing with the GUI, but it would be better if I can fix
these errors and have these problems solved for the 1.3.15 release.
As another test, does running:

$ relax -g

open the GUI?

Regards,

Edward





On 18 April 2012 09:51, James Nyirenda <[email protected]> wrote:
> Hi Edward,
> I bet after uninstalling python2.6 and installing 2.7 with the current relax
> program, iam a step forward except when i run the test-suite, i get the
> following
>
>
>
> #############################
> # System / functional tests #
> #############################
>
>
> .........................................................................................................................................................................................................................................
> ----------------------------------------------------------------------
> Ran 233 tests in 255.704s
>
> OK
>
>
>
>
> ##############
> # Unit tests #
> ##############
>
>
> .......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
> .........................................................................................................................................................................................................................................................................................................
> ----------------------------------------------------------------------
> Ran 1232 tests in 14.613s
>
> OK
>
>
>
>
> #############
> # GUI tests #
> #############
>
>
> EEEFRelaxError: The data pipe name argument 'None' must be a string.
>
> RelaxError: The data pipe name argument 'None' must be a string.
>
> RelaxError: The data pipe name argument 'None' must be a string.
>
> RelaxError: The data pipe name argument 'None' must be a string.
>
>
> ======================================================================
> ERROR: test_mf_auto_analysis (test_suite.gui_tests.model_free.Mf)
> Test the model-free auto-analysis.
> ----------------------------------------------------------------------
>
> relax> pipe.create(pipe_name='mf (Wed Apr 18 16:46:10 2012)',
> pipe_type='mf')
> Traceback (most recent call last):
>   File "C:\Program Files\relax-1.3.14\test_suite\gui_tests\model_free.py",
> line 61, in test_mf_auto_analysis
>     self.app.gui.analysis.new_analysis(analysis_type=analysis_type,
> analysis_name=analysis_name, pipe_name=pipe_name)
>   File "C:\Program Files\relax-1.3.14\gui\analyses\__init__.py", line 408,
> in new_analysis
>     analysis = classes[analysis_type](parent=self.notebook, id=-1,
> gui=self.gui, analysis_name=analysis_name, pipe_name=pipe_name,
> data_index=index)
>   File "C:\Program Files\relax-1.3.14\gui\analyses\auto_model_free.py", line
> 177, in __init__
>     data_index = ds.relax_gui.analyses.add('model-free')
> AttributeError: 'Relax_data_store' object has no attribute 'relax_gui'
>
> ======================================================================
> ERROR: test_noe_analysis (test_suite.gui_tests.noe.Noe)
> Test the NOE analysis.
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "C:\Program Files\relax-1.3.14\test_suite\gui_tests\noe.py", line 64,
> in test_noe_analysis
>     self.app.gui.analysis.new_analysis(analysis_type=analysis_type,
> analysis_name=analysis_name, pipe_name=pipe_name)
>   File "C:\Program Files\relax-1.3.14\gui\analyses\__init__.py", line 408,
> in new_analysis
>     analysis = classes[analysis_type](parent=self.notebook, id=-1,
> gui=self.gui, analysis_name=analysis_name, pipe_name=pipe_name,
> data_index=index)
>   File "C:\Program Files\relax-1.3.14\gui\analyses\auto_noe.py", line 104,
> in __init__
>     data_index = ds.relax_gui.analyses.add('NOE')
> AttributeError: 'Relax_data_store' object has no attribute 'relax_gui'
>
> ======================================================================
> ERROR: test_r1_analysis (test_suite.gui_tests.rx.Rx)
> Test the r1 analysis.
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "C:\Program Files\relax-1.3.14\test_suite\gui_tests\rx.py", line 103,
> in test_r1_analysis
>     self.app.gui.analysis.new_analysis(analysis_type=analysis_type,
> analysis_name=analysis_name, pipe_name=pipe_name)
>   File "C:\Program Files\relax-1.3.14\gui\analyses\__init__.py", line 408,
> in new_analysis
>     analysis = classes[analysis_type](parent=self.notebook, id=-1,
> gui=self.gui, analysis_name=analysis_name, pipe_name=pipe_name,
> data_index=index)
>   File "C:\Program Files\relax-1.3.14\gui\analyses\auto_rx_base.py", line
> 103, in __init__
>     data_index = ds.relax_gui.analyses.add(self.label)
> AttributeError: 'Relax_data_store' object has no attribute 'relax_gui'
>
> ======================================================================
> FAIL: test_load_state_no_gui (test_suite.gui_tests.state.State)
> Test the loading of a relax save state with no GUI data.
> ----------------------------------------------------------------------
> RelaxError: The data pipe name argument 'None' must be a string.
>
> Traceback (most recent call last):
>   File "C:\Program Files\relax-1.3.14\test_suite\gui_tests\state.py", line
> 72, in test_load_state_no_gui
>     self.assertEqual(ds.relax_gui.analyses[index].pipe_name, 'a')
> AssertionError: None != 'a'
>
> ----------------------------------------------------------------------
> Ran 4 tests in 4.233s
>
> FAILED (failures=1, errors=3)
>
>
>
>
> ###################################
> # Summary of the relax test suite #
> ###################################
>
>
> # Optional packages/modules
> ###########################
>
> No tests skipped due to missing modules.
>
> # Synopsis
> ##########
>
> System/functional tests ......................................... [ OK ]
> Unit tests ...................................................... [ OK ]
> GUI tests ....................................................... [ Failed ]
> Synopsis ........................................................ [ Failed ]
>
>
> Regards
> Jimmy
>
> _______________________________________________
> relax (http://www.nmr-relax.com)
>
> This is the relax-users 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-users
>

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

This is the relax-users 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-users

Reply via email to