Hi,
I am trying to use processCcd.py with lsst-v12.0 stack stored on cvmfs (/cvmfs/lsst.in2p3.fr/software/linux-x86_64/lsst-v12.0).
I am using the obs_cfht package (git clone https://github.com/lsst/obs_cfht
) and I have executed the following command lines successfully:
source ${STACK_PATH}/loadLSST.bash
setup pipe_tasks
cd /processing/my_packages/obs_cfht/ && setup -k -r .
scons
eups declare --nolocks -r . obs_cfht cfhtprod
setup obs_cfht cfhtprod
cd /processing/input/CFHT-Deep/
eups declare -r /processing/input/CFHT-Deep -m none astrometry_net_data CFHT_Deep
setup -k astrometry_net_data CFHT_Deep
cd /processing
ingestImages.py input input/rawDownload/*.fz --mode link
However I get the following error message thereafter:
# > processCcd.py input --output ${OUTPUT_DIR} --id visit=803022 ccd=13 --configfile ${VOLUME_DIR}/input/processConfig.py
: Loading config overrride file '/processing/my_packages/obs_cfht/config/processCcd.py'
Traceback (most recent call last):
File "/cvmfs/lsst.in2p3.fr/software/linux-x86_64/lsst-v12.0/Linux64/pipe_tasks/12.0/bin/processCcd.py", line 25, in <module>
ProcessCcdTask.parseAndRun()
File "/cvmfs/lsst.in2p3.fr/software/linux-x86_64/lsst-v12.0/Linux64/pipe_base/12.0/python/lsst/pipe/base/cmdLineTask.py", line 450, in parseAndRun
parsedCmd = argumentParser.parse_args(config=config, args=args, log=log, override=cls.applyOverrides)
File "/cvmfs/lsst.in2p3.fr/software/linux-x86_64/lsst-v12.0/Linux64/pipe_base/12.0/python/lsst/pipe/base/argumentParser.py", line 436, in parse_args
self._applyInitialOverrides(namespace)
File "/cvmfs/lsst.in2p3.fr/software/linux-x86_64/lsst-v12.0/Linux64/pipe_base/12.0/python/lsst/pipe/base/argumentParser.py", line 599, in _applyInitialOverrides
namespace.config.load(filePath)
File "/cvmfs/lsst.in2p3.fr/software/linux-x86_64/lsst-v12.0/Linux64/pex_config/12.0/python/lsst/pex/config/config.py", line 532, in load
self.loadFromStream(stream=code, root=root)
File "/cvmfs/lsst.in2p3.fr/software/linux-x86_64/lsst-v12.0/Linux64/pex_config/12.0/python/lsst/pex/config/config.py", line 552, in loadFromStream
exec stream in {}, local
File "/processing/my_packages/obs_cfht/config/processCcd.py", line 43, in <module>
'i2': 'i',
File "/cvmfs/lsst.in2p3.fr/software/linux-x86_64/lsst-v12.0/Linux64/pex_config/12.0/python/lsst/pex/config/configurableField.py", line 103, in __getattr__
return getattr(self._value, name)
AttributeError: 'AstrometryConfig' object has no attribute 'solver'
I do not understand why processCcd.py is not working as expected. Any help would be appreciated
Thanks,
Yvan