Hi Edward,

did you test it on a „vanilla“ machine without wx installed? If I start the 
application by clicking the symbol it gives me the following error (that's 
different from 3.13 - now I get the actual error inside the relax window).

relax Error
An unexpected error has occurred during execution of the main script
AttributeError: 'module' object has no attribute 'TickCount'

If I start the costum relax binary inside Contents/MacOS/ I get 

$ ./relax
Please install the wx Python module to access the relax GUI.

So to me it seems that wxPython is not included in your bundle.

More below:

On 03.04.2012, at 22:31, Edward d'Auvergne wrote:

> (Macs are an incredibly tortuous development
> environment!!!)

Haha! 

Maybe an alternative is to do it with Homebrew or MacPorts. Here all the 
dependencies are matched with the repo that is independent from the default Mac 
OS stuff.

> I think it's safe to assume that the Lion is half baked and
> not compatible with Xcode+Python+Mac OS X 10.6.8 yet,

Not so fast: As I mentioned earlier it runs perfectly if I launch the py2app 
relax 3.13 binary via the command line. Just launching it via clicking the 
symbol fails. 

3.14 fails in both ways, though.

> This DMG file works perfectly fine on Snow Leopard, and is built with
> the Mac 10.5 'Framework' so will run on Leopard.  It is also compiled
> with support for the i386, ppc, and x86_64 CPUs.

If it's PPC 32 bit, I can test this with my old PPC G4 machine at home.


Cheers
Martin


> 
> 
> On 3 April 2012 13:36, Edward d'Auvergne <[email protected]> wrote:
>> Hi Martin,
>> 
>> What you have done is perfectly correct.  And this information is also
>> very important.  The fact that there is no file ~/real_gui.log is
>> quite interesting.  This says that the problem is not within relax!
>> Hence, I know that the problem lies directly in the Mac OS X framework
>> (the technical details are that this framework comes from Xcode 3.2.2
>> and is bundled into the DMG file via the py2app Python module
>> (http://wiki.python.org/moin/MacPython/py2app)).  As there is no log,
>> the crash has happened before relax can even start :)  What I might
>> try to do is create a new DMG file for relax 1.3.14 using Xcode 3.2.6
>> (I have recently upgraded).  However you might have to wait until
>> tonight or tomorrow for it to appear at
>> http://www.nmr-relax.com/download.html.  I am hoping that Apple may
>> have fixed this Mac framework failure on Lion with this Xcode version!
>> 
>> Cheers,
>> 
>> Edward
>> 
>> 
>> P. S.  To be 100% sure, if you type in a terminal:
>> 
>> $ ls ~/real_gui.log
>> 
>> or:
>> 
>> $ find relax.app/ -name real_gui.log
>> $ find ~ -name real_gui.log
>> 
>> do you see anything?
>> 
>> 
>> 
>> On 3 April 2012 11:50, Martin Ballaschk <[email protected]> wrote:
>>> Hi Edward,
>>> 
>>> 
>>> On 02.04.2012, at 15:56, Edward d'Auvergne wrote:
>>>> adding the line:
>>>> 
>>>>       self.tee_file = '~/real_gui.log'
>>>> 
>>>> to just after the run() method in the relax.py file (at line 148)
>>> 
>>> Just tried that, but for some reason it won't work.
>>> 
>>> I inserted the line with the same number of indents as for the rest of the 
>>> commands in the run():
>>> 
>>>   def run(self):
>>>       """Execute relax.
>>> 
>>>       This is the application callback method executed by the 
>>> multi-processor framework.
>>>       """
>>>        self.tee_file = '~/real_gui.log'
>>> 
>>>       # Set up the warning system.
>>>       relax_warnings.setup()
>>> 
>>>       # Show the version number and exit.
>>>       if self.mode == 'version':
>>>           print(('relax ' + version))
>>>           sys.exit()
>>> ...
>>> 
>>> Correct so far?
>>> 
>>> There is no log file appearing in my home directory.
>>> 
>>> Cheers
>>> Martin
>>> 
>>> --
>>> 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
>>> 

-- 
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