mailRe: Temperature calibration & relax @ Mac OS X 10.7. 3 „Lion“


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

Header


Content

Posted by Edward d'Auvergne on April 03, 2012 - 22:32:
Hi,

After much, much pain (Macs are an incredibly tortuous development
environment!!!), I have created a new DMG file with the updated Xcode
3.2.6, wxPython 2.8.?.?, etc.  You can download it from
http://www.nmr-relax.com/download.html.  The new tools have created a
DMG file which is half the size of that created by Xcode 3.2.2.  I am
hoping that this version will be able to launch on Mac OS X Lion - if
not then 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, and the only
thing to do is wait for Apple to fix their Xcode, in the mean time
using a VM to run Snow Leopard on top of Lion (as it seems many people
are currently doing while waiting for their required software to be
ported to Lion).

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.

Regards,

Edward


On 3 April 2012 13:36, Edward d'Auvergne <edward@xxxxxxxxxxxxx> 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 <ballaschk@xxxxxxxxxxxxx> 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
ballaschk@xxxxxxxxxxxxx
Tel.: +49-30-94793-234/315
Büro: A 1.26
Labor: C 1.10




Related Messages


Powered by MHonArc, Updated Wed Apr 04 12:20:08 2012