Right, this is part of the horrible hack to try and upgrade an old
installation. Fortunately it's the last thing that is done in
installCode.py (except for the test run) so it doesn't matter too much
that it failed. But what it is trying to do is the following (so you can
do it by hand), assuming you are starting in the top-level ccpnmr
directory:
(1) cd ccpnmr1.0/data/ccp/chemComp
(2) If the "nonpolymer" directory exists: rm -r nonpolymer
(3) ln -s other nonpolymer
This is so that old XML files can be successfully read (the alternative
would have been lots of horrid Python code).
I can now see a couple of problems with the way installCode.py is trying
to do this so I will try and fix that. (It's a bit of a nightmare
because it has three different situations to worry about.) For now
the above manual method should work.
Wayne
On Wed, 1 Sep 2004, PT Robinson wrote:
> > on ccpnmr's toes by putting some lines in .cshrc. installation is now
> > complete.
>
> disregard. on compiling & installing analysis code:
>
> Traceback (most recent call last):
> File "/usr/my_progs/ccpnmr/installCode.py", line 736, in ?
> main()
> File "/usr/my_progs/ccpnmr/installCode.py", line 705, in main
> doUpgrade()
> File "/usr/my_progs/ccpnmr/installCode.py", line 582, in doUpgrade
> files = os.listdir(old_dir)
> OSError: [Errno 2] No such file or directory:
> 'ccpnmr1.0/data/ccp/chemComp/nonpolymer'
>
> phil
>
|