Hi all,
Sorry for the long e-mail... I have a number of issues because I'm trying to get CCPN 2.2.2 and ARIA 2.3 working together on a windows machine. I have CNS 1.21 and ARIA 2.3 compiled and functioning in cygwin. I haven't been able to successfully compile CCPN 2.2.2 in cygwin so I have been using the precompiled windows version. However, the directory structure of the precompiled windows version seems to be different than the linux version such that I'm not sure how to set the environment variables in my cshrc file for cygwin. I currently have them set to:
setenv CCPNMR_TOP_DIR '/cygdrive/c/Program\ Files\ \(x86\)/CCPN/ccpn'
setenv PYTHONPATH '$CCPNMR_TOP_DIR/python:$PYTHONPATH'
but have also tried
setenv CCPNMR_TOP_DIR '/cygdrive/c/Program\ Files\ \(x86\)/CCPN/'
setenv PYTHONPATH '$CCPNMR_TOP_DIR/ccpn/python:$PYTHONPATH'
in either case ARIA 2.3 can't find ccpn when I run the check.py script.
On the other side I have set the environment variable for ARIA2 in windows and CCPN recognizes it (at least it doesn't give the no local aria error) but I get a number of errors when trying to use the ARIA module. In the window when I click on the Run Settings tab I get:
>>> ERROR in ccp.nmr.NmrCalc.RunParameter.__init__
WARNING Error in clean-up of incorrectly created object.
Data may be left in an illegal state
Exception in Tkinter callback
Traceback (most recent call last):
File "Tkinter.pyo", line 1410, in __call__
File "C:\Program Files (x86)\CCPN\ccpn\python\paris\aria\AriaRunFrame.py", line 152, in updateEntryParams
File "C:\Program Files (x86)\CCPN\ccpn\python\ccp\util\NmrCalc.py", line 81, in setRunParameter
File "C:\Program Files (x86)\CCPN\ccpn\python\ccp\api\nmr\NmrCalc.py", line 5499, in newRunParameter
File "C:\Program Files (x86)\CCPN\ccpn\python\ccp\api\nmr\NmrCalc.py", line 6652, in __init__
ApiError: <ccp.nmr.NmrCalc.RunParameter ['AT3', 'ARIA', 1, None]>: error setting
groupId - not a modeled attribute
when I press the Launch ARIA GUI button I get:
>>> Exception in Tkinter callback
Traceback (most recent call last):
File "Tkinter.pyo", line 1410, in __call__
File "C:\Program Files (x86)\CCPN\ccpn\python\paris\aria\AriaExtendNmrFrame.py", line 244, in runAriaGui
File "C:\Program Files (x86)\CCPN\ccpn\python\paris\aria\AriaExtendNmrFrame.py", line 221, in checkProjectPath
File "genericpath.pyo", line 18, in exists
TypeError: coercing to Unicode: need string or buffer, NoneType found
and when I press the Setup Project button I get:
>>> Exception in Tkinter callback
Traceback (most recent call last):
File "Tkinter.pyo", line 1410, in __call__
File "C:\Program Files (x86)\CCPN\ccpn\python\paris\aria\AriaExtendNmrFrame.py", line 250, in setupAriaProject
File "C:\Program Files (x86)\CCPN\ccpn\python\paris\aria\AriaExtendNmrFrame.py", line 221, in checkProjectPath
File "genericpath.pyo", line 18, in exists
TypeError: coercing to Unicode: need string or buffer, NoneType found
Any help/suggestions/comments would be welcome.
Thanks
Craig
|