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

Fix parallel build in generating defects

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: obs_subaru
    • Labels:
      None
    • Team:
      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

          price Paul Price created issue -
          price Paul Price made changes -
          Field Original Value New Value
          Status To Do [ 10001 ] In Review [ 10004 ]
          lauren Lauren MacArthur made changes -
          Status In Review [ 10004 ] Reviewed [ 10101 ]
          price Paul Price made changes -
          Resolution Done [ 10000 ]
          Status Reviewed [ 10101 ] Done [ 10002 ]

            People

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

              Dates

              Created:
              Updated:
              Resolved:

                Jenkins

                No builds found.