Dear CCP4 users,

One user on our network got many error messages (attached) when creating ccp4i 
directories (CCP4_DATABASE) in the recently installed 6.3.0 however the 
directories is getting created and jobs can be run in them as well!
The unfortunate user have a very old configure.def in /home/.CCP4/unix and also 
a configure.def.LOCK file in /home/.CCP4/unix
How can I help him get rid of this error messages when creating directories in 
ccp4i-6.3.0?

Maybe I should simply delete the home/.CCP4/unix/configure.def.LOCK file? or 
should I rename it into configure.def that currently is six months old and in 
edit by some other software due to error messages below...?

Thanks,
Martin

#######################################################################
#
# More extensive problem description below
#
#######################################################################

I installed ccp4-6.3.0 using my regular user (not root) using a fedora 10 
client where the ccp4 files are stored at a redhat server (fileserver) 
accessible from all fedora 10 client computers.

One of my users got the following message when first starting ccp4-6.3.0

########## Error message first time start  ####################
Running auto-configure for configure
You are the first person to run this version of CCP4i and
it is trying to automatically configure and save information
to the file:
/net/fileserver/xtal/ccp4-6.3.0/ccp4-6.3.0/share/ccp4i/etc/unix/configure.def
but you do not have write permission for this directory.
Please get the person who installed CCP4i to run it and
do the configure.
It is OK to continue running CCP4i.

############ problem 1 #################
The problem user get a lot of error messages when creating new CCP4 directories
When pressing "Apply&Exit the attached error message appear

Despite this the new directory (CCP4_DATABASE) was created at the correct 
position and jobs can be run in this directory as well!

############# ccp4i startup error message - start ####################
Now when starting ccp4i the problem user got this message:
There is a lock on the file
/net/fileserver/users/quises/.CCP4/unix/directories.def
You may be editing this file in another program
Delete the lock and continue?
If I continue Problem 1 remains
Myself installing ccp4-6.3.0 and other recently created users does not have the 
directory creation problem...
Questions:
Q1: How should I configure ccp4i for the problem user or on the server and 
client computers to avoid the attached error message when creating directories 
in ccp4i?
Q2: Why do the problem user want to write in 
/net/fileserver/xtal/ccp4-6.3.0/ccp4-6.3.0/share/ccp4i/etc/unix/ when my own 
user prefer home/.CCP4/unix?
My guess would be that each user would have all configure.def settings in 
home/.CCP4/unix and NOT in 
/net/fileserver/xtal/ccp4-6.3.0/ccp4-6.3.0/share/ccp4i/etc/unix/
I tried to change permissions
chmod 777 /net/fileserver/xtal/ccp4-6.3.0/ccp4-6.3.0/share/ccp4i/etc/unix/
and the problem user now got a configure.def in 
/net/fileserver/xtal/ccp4-6.3.0/ccp4-6.3.0/share/ccp4i/etc/unix/
howewer this is not required for other users?
so I set permissions of 
/net/fileserver/xtal/ccp4-6.3.0/ccp4-6.3.0/share/ccp4i/etc/unix/
back to 755 ...

The problem user have a quite old configure.def in home/.CCP4/unix...that is in 
use by another program according to error messages???
The problem user also have a configure.def.LOCK file there that I do not have 
in my own .CCP4/unix

Should I delete configure.def.LOCK that is up to date of should I rename 
configure.def.LOCK into configure.def in home/.CCP4/unix/?
I do not want to corrupt the user database...problem 1 remain...
Thanks,
Martin


What to do about this?

Best regards,
Martin

Martin Moche, Ph.D.
Head of Protein Crystallography
Karolinska Institutet
MBB/PSF
Scheeles väg 2
171 77 Stockholm
Sweden
phone: +46-8-524 868 43
mobile: +46-73-322 93 27
fax:        +46-8-524 868 68
email:    [email protected]<mailto:[email protected]>

can't read "array(/CCP4_DATABASE)": no such element in array
can't read "array(/CCP4_DATABASE)": no such element in array
    while executing
"set value $array($var)"
    ("default" arm line 2)
    invoked from within
"switch -regexp -- $type  menu {
        set value [GetMenuValue $arrayname $var ]
      } default {
        set value $array($var)
      }"
    (procedure "SaveArray" line 104)
    invoked from within
"SaveArray $taskname $filename $arrayname -save_types"
    (procedure "SavePreferences" line 29)
    invoked from within
"SavePreferences directories directories -lock"
    ("eval" body line 1)
    invoked from within
"eval SavePreferences directories directories $args"
    (procedure "SaveDirectories" line 16)
    invoked from within
"SaveDirectories -lock"
    (procedure "SwitchProject" line 11)
    invoked from within
"SwitchProject $project $system(SWITCH_MENU)"
    (procedure "apply_directories" line 261)
    invoked from within
"apply_directories save edit_directories .edit_directories "
    invoked from within
".edit_directories.buttons.save invoke"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 [list $w invoke]"
    (procedure "tk::ButtonUp" line 22)
    invoked from within
"tk::ButtonUp .edit_directories.buttons.save"
    (command bound to event)

Reply via email to