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 March 23, 2012 - 14:36:
Hi,

Here is the answer for your second question (the first answer is at
https://mail.gna.org/public/relax-users/2012-03/msg00047.html).  This
appears to be a problem with the Lion version of Mac OS X.

For this issue, would you be able to create a bug report?  That would
help in sorting out the problem as it is a place to attach files/logs
to and to keep track of everything.  It also will be useful in the
future for other relax users who encounter the same or a similar bug,
or if the bug returns.  The bug submission page is
http://gna.org/bugs/?func=additem&group=relax.  It would be useful to
include all the error messages you see in this report.  The more
information, the better.  Other useful information would be the output
of 'relax --info' and 'relax -g', especially if these give errors.
You can capture all of the output by using the commands:

$ ./relax --info --tee info_log
$ ./relax --gui --tee gui_log

and then attach the 'info_log' and 'gui_log' files to the bug report.  Cheers!

As for the DMG (disk image) file at
http://www.nmr-relax.com/download.html, this is fully self contained.
This disk image includes the following:
  - Python
  - numpy
  - readline
  - scipy
  - wxPython
  - relax
  - minfx (http://gna.org/projects/minfx, but bundled with all relax
distribution packages)
  - bmrblib (http://gna.org/projects/bmrblib, but bundled with all
relax distribution packages)

It also contains the full Mac application framework.  And it is a
universal binary compiled for the fat3 targets (i386, x86-64 and
ppc64).  That's why the file is so large (currently ~120 Mb).  It will
not use anything you have installed on your system - it already comes
with everything it will ever need and so has zero dependencies.  It
will never touch anything you have installed.

If you use the source distributions though, then you will require to
have Python, numpy, wxPython, etc. installed on the system.  When you
run relax in a terminal on your Mac as:

$ ./relax

Then relax will fall back to using your Python, numpy, etc. that you
have installed.  Therefore the errors you get running relax in this
way should be unrelated to those you see from the DMG file.  Hence I
would assume that the error is in the Mac application framework!  I
will have to check my Mac setup to see what software, and which
version, goes into the DMG file and also do some Google searching for
this.  I will get back to you once I know more about this Mac problem.
 The additional information in the bug report would be of significant
help too.

Cheers,

Edward



On 23 March 2012 11:09, Martin Ballaschk <ballaschk@xxxxxxxxxxxxx> wrote:
Dear relax-users,

I am just beginning to record and analyze relaxation data for MF analysis. 
So far we collected data at 600 MHz, and a second data set at 750MHz is 
planned.

I have two questions I hope you can help me with:

1) Temperature calibration

We use single-scan interleaving to account for a constant temperature 
during the whole experimental series. We also use methanol to calibrate the 
spectrometer's temperature sensors. As we found out, every magnet is 
different and the on-screen parameters cannot be trusted. We have tables 
where  This procedure is not done with the T2 measurements in mind, however.

Isn't it also important that R1 and R2 measurements have the same 
temperature – how do you check for that?

How can I check differences in sample heating between different magnets due 
to different air-flow etc? How to compensate for these temperature 
differences? Do I need different pulse programs that account for 
temperature differences for every spectrometer? Or is the difference 
insignificant once the spectrometers have been calibrated?


2)
In Mac OS X ("Lion", 10.7.3), the self-contained relax Application bundle 
is crashing and is giving just an "relax error" and the option to 
"terminate" or "open the Console".

I can run the “relax” script which is sitting inside 
relax.app/Contents/Resources/ and I get a prompt, but only after installing 
numpy via Macports. If I don't, relax complains that numpy is not installed.

After installing wxPython 2.9 via the official installer "./relax" -g is 
attempting to start (I can see the splash screen), but then halts with the 
errors.

Interestingly, I found out today that it seems to run just fine if I run 
the relax binary in Contents/MacOS by dropping it onto Terminal.app!
(I did not test this without numpy and wXPython seperately installed.)

What's your experience? What do you think is broken – my system (10.7) or 
something inside the application bundle?



Cheers
Martin

***

RELAX ERROR MESSAGES FROM THE CONSOLE

15.03.12 15:19:15,538 relax: relax Error
15.03.12 15:19:17,667 com.apple.launchd.peruser.501:
([0x0-0x14e14e].com.nmr-relax.relax[70595]) Exited with code: 255
15.03.12 15:19:22,227 [0x0-0x14f14f].com.nmr-relax.relax: <_FuncPtr object 
at
0x101b0dc80>
15.03.12 15:19:22,227 [0x0-0x14f14f].com.nmr-relax.relax: Traceback (most
recent call last):
15.03.12 15:19:22,227 [0x0-0x14f14f].com.nmr-relax.relax:   File
"/Applications/relax.app/Contents/Resources/__boot__.py", line 179, in
<module>
15.03.12 15:19:22,227 [0x0-0x14f14f].com.nmr-relax.relax:
_argv_emulation()
15.03.12 15:19:22,227 [0x0-0x14f14f].com.nmr-relax.relax:   File
"/Applications/relax.app/Contents/Resources/__boot__.py", line 177, in
_argv_emulation
15.03.12 15:19:22,227 [0x0-0x14f14f].com.nmr-relax.relax:
_get_argvemulator().mainloop()
15.03.12 15:19:22,227 [0x0-0x14f14f].com.nmr-relax.relax:   File
"/Applications/relax.app/Contents/Resources/__boot__.py", line 101, in
mainloop
15.03.12 15:19:22,227 [0x0-0x14f14f].com.nmr-relax.relax:     stoptime =
Evt.TickCount() + timeout
15.03.12 15:19:22,227 [0x0-0x14f14f].com.nmr-relax.relax: AttributeError:
'module' object has no attribute 'TickCount'

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


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

This is the relax-users mailing list
relax-users@xxxxxxx

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



Related Messages


Powered by MHonArc, Updated Fri Mar 23 15:00:06 2012