Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-3403

Fix parallel build in generating defects

    XMLWordPrintable

Details

    • Bug
    • Status: Done
    • Resolution: Done
    • None
    • obs_subaru
    • None
    • Data Release Production

    Description

      Building obs_subaru can fail with errors like the following:

      'import sitecustomize' failed; use -v for traceback
      'import sitecustomize' failed; use -v for traceback
      'import sitecustomize' failed; use -v for traceback
      Traceback (most recent call last):
        File "bin/genDefectFits.py", line 12, in <module>
      Traceback (most recent call last):
        File "bin/genDefectFits.py", line 12, in <module>
          from lsst.obs.hsc import HscMapper
        File "/nfs/home/price/LSST/obs/subaru/python/lsst/obs/hsc/__init__.py", line 2, in <module>
      Traceback (most recent call last):
        File "bin/genDefectFits.py", line 12, in <module>
          from lsst.obs.hsc import HscMapper
        File "/nfs/home/price/LSST/obs/subaru/python/lsst/obs/hsc/__init__.py", line 2, in <module>
          from lsst.obs.hsc import HscMapper
        File "/nfs/home/price/LSST/obs/subaru/python/lsst/obs/hsc/__init__.py", line 2, in <module>
              from .transformRegistry import *
      from .transformRegistry import *
        File "/nfs/home/price/LSST/obs/subaru/python/lsst/obs/hsc/transformRegistry.py", line 3, in <module>
        File "/nfs/home/price/LSST/obs/subaru/python/lsst/obs/hsc/transformRegistry.py", line 3, in <module>
          from .transformRegistry import *
        File "/nfs/home/price/LSST/obs/subaru/python/lsst/obs/hsc/transformRegistry.py", line 3, in <module>
          from lsst.obs.subaru.subaruLib import HscDistortion, DistortionPolynomial
      ImportError: No module named subaruLib
          from lsst.obs.subaru.subaruLib import HscDistortion, DistortionPolynomial
          from lsst.obs.subaru.subaruLib import HscDistortion, DistortionPolynomial
      ImportError: No module named subaruLib
      ImportError: No module named subaruLib
      scons: *** [hsc/defects/2013-01-31/defects.dat-fits] Error 1
      scons: *** [hsc/defects/2014-06-01/defects.dat-fits] Error 1
      scons: *** [hsc/defects/2014-04-03/defects.dat-fits] Error 1
      scons: building terminated because of errors.
      

      This is due to a missing dependency for building the defects FITS files.

      This is a pull request for a simple fix.

      Attachments

        Activity

          No work has yet been logged on this issue.

          People

            price Paul Price
            price Paul Price
            Lauren MacArthur
            Lauren MacArthur, Paul Price
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Jenkins

                No builds found.