Content


Introduction

Under some circumstances there might be problems in getting autoPROC to run, complete successfully or giving the expected results. Here, we try to address those issues - if this is incomplete or doesn't cover the problem you are encountering, please contact us at proc-develop@globalphasing.com.


ERROR: licence key file ".licence" not found

An error message during installation with the test

ERROR: licence key file ".licence" not found (please note spelling!)

should be pretty self-explanatory and obvious - but if you are a total beginner in using a terminal/shell, this can be daunting. Furthermore, some operating systems make it a bit difficult to work with those "hidden" files (files starting with a dot). So what can you do?

Since you are already working in a terminal, you can first have a look what is present in the current directory:

ls -l -a

should show you all files (and directories) with details (that's what the "-l" argument does). The "-a" flag ensures that those "hidden" files are also shown. What you should see is something like this:

-rw-r--r--. 1 vonrhein gphl    10156 Jan 11 13:57 .licence
-rw-r--r--. 1 vonrhein gphl 71754752 Jul 26 14:45 GPhL_autoPROC_snapshot_20230726.darwin.tar
-rw-r--r--. 1 vonrhein gphl    32260 Jul 26 14:45 GPhL_autoPROC_snapshot_20230726_install.sh

or (if you are on a Linux system)

-rw-r--r--. 1 vonrhein gphl    10156 Jan 11 13:57 .licence
-rw-r--r--. 1 vonrhein gphl 82647040 Jul 26 14:45 GPhL_autoPROC_snapshot_20230726.linux64.tar
-rw-r--r--. 1 vonrhein gphl    32260 Jul 26 14:45 GPhL_autoPROC_snapshot_20230726_install.sh

Now back to the error message: you are probably missing the .licence file because

            mv my.licence .licence
            ls -la
            file .licence

We are aware that the above explanation is extremely detailed (for those that have some basic knowledge of shell/terminal) and most likely not detailed enough for everyone else (in that case we recommend some basic tutorials of which there are dozens - you could do worse than searching for e.g. "shell terminal intro 2023 youtube" or such).

See also general information about AutoProcLicensing.


The program doesn't run

To test if the program is correctly installed, run

% process -h

which should return the online help menu. Otherwise:


autoPROC doesn't work

The first thing to try: does it work with all defaults, ie.

% process -d 01 > 01.lis 2>&1      # sh/bash/ksh/zsh
  - or -
% process -d 01 >& 01.lis          # csh/tcsh

(make sure you don't have a ~/.autoPROC file with some specific settings: this will be read by every run).

A failure often manifests itself earlier on in the processing - so check the messages in standard output (01.lis in the example above) carefully: they try to give useful information.


Indexing is failing or wrong

Please first check the page about beamline-specific settings.

            % process beam="1234 5678" ...
            % process BeamCentreFrom=header:y,x ...
      % process wave=1.01234 dist=456.78 autoPROC_XdsKeyword_OSCILLATION_RANGE=1.50 ...

See also the page about beamline-settings.


I get the wrong spacegroup

Apart from the more philosophical question, what the 'correct' spacegroup is:


The scaling part crashes

Please first check the examples for scaling to see if the simplest scaling might work. It is also possible that some particularly poor data creates problems during scaling: one could try to limit the scaling initially to only a subset of images (known to show good diffraction patterns).


Results are worse than with program X

Not much we can help here - unless we get some details about


Debugging processing problems with HDF5 datasets (*_master.h5)

It can be very help compring the information given by

    imginfo /where/ever/your_master.h5

with the output of e.g.

    h5ls -rdv /where/ever/your_master.h5/entry/instrument

(yes: there is no space after the *.h5 filename). You will need to install hte HDF5 tools on your system though (usually provided by OS packages at least under Linux).

Sometimes running

    imginfo -v -v -v /where/ever/your_master.h5

might shed a light on any problems: it will report what data items "imginfo" is looking at (i.e. what it expects), what fallback/alternatives it tries and where it fails.