Hi Venkat,

This is clearly a wxPython issue, as you can run relax in the
prompt/script modes but not GUI mode.  I remember you have previously
had wxPython issues:

http://thread.gmane.org/gmane.science.nmr.relax.user/1247

Have you changed anything since then?  The version appears to be
identical.  Your wxPython is horribly broken on Centos 5 and there is
not much I can do about that.  How was this installed?  Was it self
compiled on your Centos 6 machine?  It appears pretty obvious that
your current wxPython binaries are incompatible with the libraries
installed on your Centos 5 machine.  You may need to have separate
wxPython installations for Centos 5 and 6 (possibly then also separate
Python installations).  As I suggested in that old thread, maybe you
could try and see if the wx demos run on Centos 5.  Unfortunately as
this is not part of relax, there is not too much I can do to help you.

If your sys admin cannot solve this, there is a fix.  You can download
the Python, numpy, scipy, and wxPython sources and compile these into
your home directory using:

$ configure --prefix=~

Or place them into a special directory.  For example to test relax, I
have a special directory called /data/python/.  I have compiled Python
versions 1.0, 1.5, 1.6, 2.0, 2.1, 2.2, 2.3, 2.4, 2.5, 2.6, 2.7, 3.0,
3.1, 3.2, and 3.3 using the configure script option
'--prefix=/data/python/'.  Each of these have numpy, scipy, and
wxPython compiled for them, when possible.  This is using, for
example:

$ /data/python/python1.5 setup.py install

I can then test relax with the
'devel_scripts/python_multiversion_test_suite.py' script pointing to
all these Python versions.  Note that this is completely performed as
a user - at no point was root access required (though you many need
the admin to install some development packages if missing).  If your
home directory is shared, then maybe you can have separate directories
for a Centos 5 and Centos 6 build.  I hope some of this info helps.

Regards,

Edward



On 6 February 2013 18:20, Venkat V <[email protected]> wrote:
> Hi Martin,
>
> relax --info gives me this. So wx-Python is 2.8.12.1 version.
>
> We have the same central python setup running on both centos 5 and centos 6.
> relax GUI works on centos 6 but not on centos 5 (this is true whether the
> machine is x86 or x86_64).
>
>
>
> minfx              True         Unknown
> bmrblib            True         Unknown
> numpy              True         1.6.1
> scipy              True         0.10.0
> wxPython           True         2.8.12.1 (gtk2-unicode)
> mpi4py             False
> epydoc             False
> optparse           True         1.5.3
> readline           True
> profile            True
> bz2                True
> gzip               True
> io                 True
> os.devnull         True
> xml                True         0.8.4 (internal)
>
> Venkat
>
> On Wed, Feb 6, 2013 at 10:32 PM, Martin Ballaschk <[email protected]>
> wrote:
>>
>> Hi Venkat,
>>
>> did you try to update wxPython, the GUI framework that relax relies on?
>> This gave me a lot of headaches on the Mac when I first tried relax and is
>> still in heavy development, IIRC.
>>
>> Edward certainly can elaborate on that, but maybe it's a good idea to
>> check if your system meets all the dependencies that are listed on the relax
>> website, especially if you have a up-to-date wxPython version:
>>
>>         • Python >= 2.3: Python-2.7.3.tar.bz2
>>         • NumPy >= 1.0.4: NumPy downloads
>>         • SciPy (optional) >= 0.7.1: SciPy downloads
>>         • wxPython (optional) >= 2.8: wxPython stable downloads
>>
>> http://www.nmr-relax.com/download.html#Current_release
>>
>> Regards
>> Martin
>>
>>
>> On 06.02.2013, at 17:43, Venkat V <[email protected]> wrote:
>>
>> >
>> >
>> >
>> >
>> > Hi,
>> >
>> >  I had installed both relax 2.2.0 and 2.2.1 on i386 and x86_64 linux
>> >  machines.
>> >
>> >  The command line runs OK on all machines.
>> >
>> >  The GUI fails with seg fault on centos 5 machines (both i386 and
>> > x86_6).
>> >  The GUI works OK on centos 6 machines ( both i386 and x86_64).
>> >
>> >  The python version is 2.7.2.
>> >
>> >  Venkat
>> >
>> > _______________________________________________
>> > 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
>>
>> --
>> Martin Ballaschk
>> AG Schmieder
>> Leibniz-Institut für Molekulare Pharmakologie
>> Robert-Rössle-Str. 10
>> 13125 Berlin
>> [email protected]
>> Tel.: +49-30-94793-234/315
>> Büro: A 1.26
>> Labor: C 1.10
>>
>

_______________________________________________
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