LSSTDESC / obs_lsstSim

Configuration and tasks for the simulated LSST camera (lsstSim) for the LSST Data Management Stack
2 stars 0 forks source link

makeFpSummary.py is broken for lsst_distrib tags after w_2018_13 #13

Open jchiang87 opened 6 years ago

jchiang87 commented 6 years ago

The subsequent tag corresponds to the advent of v15 in the weeklies. Johann noted the failure in the #desc-dc2-eyeballs channel on Slack. Here is the error message from his posting:

Traceback (most recent call last):
  File "/sps/lsst/software/lsst_distrib/w_2018_18/stack/miniconda3-4.3.21-10a4fa6/Linux64/pipe_base/15.0-4-g654b129+15/python/lsst/pipe/base/cmdLineTask.py", line 413, in __call__
    result = task.run(dataRef, **kwargs)
  File "/pbs/throng/lsst/software/desc/DC2/Run1.2p/obs_lsstSim/bin/makeFpSummary.py", line 58, in run
    im = cgu.showCamera(butler.get('camera'), imageSource=sbi, binSize=self.config.binSize)
  File "/sps/lsst/software/lsst_distrib/w_2018_18/stack/miniconda3-4.3.21-10a4fa6/Linux64/afw/15.0-24-g02ed2a30c+1/python/lsst/afw/cameraGeom/utils.py", line 990, in showCamera
    **kwargs)
  File "/sps/lsst/software/lsst_distrib/w_2018_18/stack/miniconda3-4.3.21-10a4fa6/Linux64/afw/15.0-24-g02ed2a30c+1/python/lsst/afw/cameraGeom/utils.py", line 912, in makeImageFromCamera
    im = imageSource.getCcdImage(det, imageFactory, binSize)[0]
TypeError: 'NoneType' object is not subscriptable
SimonKrughoff commented 6 years ago

Can I get a how to repeat? I can look at this on NERSC. Also, what does the mention of v15 mean here? It looks like he is using the _18 weekly.

jchiang87 commented 6 years ago

I seem to recall this working with w_2018_13. From our weeklies at NERSC this looks like the last v14 tag:

[cori11] eups list lsst_distrib
   14.0-5-gdba0111+15   w_2018_10
   14.0-5-gdba0111+21   w_2018_11
   14.0-6-gc6e3b6b+1    w_2018_12
   14.0-7-gda316d8+3    w_2018_13 setup
   15.0-2-gda316d8      w_2018_14
   15.0-2-gda316d8+16   w_2018_16
   15.0-2-gda316d8+18   w_2018_17
   15.0-2-gda316d8+25   w_2018_18
   15.0-2-gda316d8+30   w_2018_19
   15.0-2-gda316d8+37   w_2018_20
   15.0-2-gda316d8+43   current w_2018_21
   15.0-2-gda316d8+9    w_2018_15
johannct commented 6 years ago

The mention weekly v15 is just to say that you can test makeFpSummary command successfully on w_2018_14, and it will fail when you switch to w_2018_18. Indeed we have recently used 18 at CC.