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

Error installing sims_catalog

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      I get the following error installing sims_catalog on current master:

      [2017-03-05T22:58:05.422745Z] Failed test output:
      [2017-03-05T22:58:05.435037Z] tests/testCompoundCatalogDBObject.py
      [2017-03-05T22:58:05.435053Z]
      [2017-03-05T22:58:05.435183Z] /Volumes/PS1/lsstsw/build/sims_catalogs/python/lsst/sims/catalogs/db/dbConnection.py:455: UserWarning: duplicate object identifier class4 specified. This will override previous definition on line 48 of tests/testCompoundCatalogDBObject.py
      [2017-03-05T22:58:05.435207Z]   (srcline, srcfile))
      [2017-03-05T22:58:05.435324Z] ../Volumes/PS1/lsstsw/build/sims_catalogs/python/lsst/sims/catalogs/db/dbConnection.py:455: UserWarning: duplicate object identifier dummy specified. This will override previous definition on line 206 of tests/testCompoundCatalogDBObject.py
      [2017-03-05T22:58:05.435339Z]   (srcline, srcfile))
      [2017-03-05T22:58:05.435483Z] ..../Users/wmwv/lsstsw/stack/DarwinX86/sqlalchemy/1.0.8.lsst3+3/lib/python/SQLAlchemy-1.0.8-py2.7-macosx-10.10-x86_64.egg/sqlalchemy/sql/elements.py:3779: SAWarning: Textual SQL expression 'mag<11.0' should be explicitly declared as text('mag<11.0') (this warning may be suppressed after 10 occurrences)
      [2017-03-05T22:58:05.435511Z]   {"expr": util.ellipses_string(element)})
      [2017-03-05T22:58:05.435687Z] E/Users/wmwv/lsstsw/stack/DarwinX86/sqlalchemy/1.0.8.lsst3+3/lib/python/SQLAlchemy-1.0.8-py2.7-macosx-10.10-x86_64.egg/sqlalchemy/sql/elements.py:3779: SAWarning: Textual SQL expression 'ra between 100.000000 and...' should be explicitly declared as text('ra between 100.000000 and...') (this warning may be suppressed after 10 occurrences)
      [2017-03-05T22:58:05.435724Z]   {"expr": util.ellipses_string(element)})
      [2017-03-05T22:58:05.435732Z] EE..
      [2017-03-05T22:58:05.435770Z] ======================================================================
      [2017-03-05T22:58:05.435801Z] ERROR: testContraint (__main__.CompoundWithObsMetaData)
      [2017-03-05T22:58:05.435839Z] ----------------------------------------------------------------------
      [2017-03-05T22:58:05.435860Z] Traceback (most recent call last):
      [2017-03-05T22:58:05.435899Z]   File "tests/testCompoundCatalogDBObject.py", line 675, in testContraint
      [2017-03-05T22:58:05.435946Z]     self.assertAlmostEqual(line['%s_raJ2000' % db1.objid], self.controlArray['ra'][ix], 10)
      [2017-03-05T22:58:05.436018Z] IndexError: only integers, slices (`:`), ellipsis (`...`), numpy.newaxis (`None`) and integer or boolean arrays are valid indices
      [2017-03-05T22:58:05.436026Z]
      [2017-03-05T22:58:05.436064Z] ======================================================================
      [2017-03-05T22:58:05.436095Z] ERROR: testObsMetaData (__main__.CompoundWithObsMetaData)
      [2017-03-05T22:58:05.436133Z] ----------------------------------------------------------------------
      [2017-03-05T22:58:05.436154Z] Traceback (most recent call last):
      [2017-03-05T22:58:05.436194Z]   File "tests/testCompoundCatalogDBObject.py", line 622, in testObsMetaData
      [2017-03-05T22:58:05.436240Z]     self.assertAlmostEqual(line['%s_raJ2000' % db1.objid], self.controlArray['ra'][ix], 10)
      [2017-03-05T22:58:05.436305Z] IndexError: only integers, slices (`:`), ellipsis (`...`), numpy.newaxis (`None`) and integer or boolean arrays are valid indices
      [2017-03-05T22:58:05.436310Z]
      [2017-03-05T22:58:05.436347Z] ======================================================================
      [2017-03-05T22:58:05.436384Z] ERROR: testObsMetadataAndConstraint (__main__.CompoundWithObsMetaData)
      [2017-03-05T22:58:05.436421Z] ----------------------------------------------------------------------
      [2017-03-05T22:58:05.436442Z] Traceback (most recent call last):
      [2017-03-05T22:58:05.436488Z]   File "tests/testCompoundCatalogDBObject.py", line 731, in testObsMetadataAndConstraint
      [2017-03-05T22:58:05.436535Z]     self.assertAlmostEqual(line['%s_raJ2000' % db1.objid], self.controlArray['ra'][ix], 10)
      [2017-03-05T22:58:05.436598Z] IndexError: only integers, slices (`:`), ellipsis (`...`), numpy.newaxis (`None`) and integer or boolean arrays are valid indices
      [2017-03-05T22:58:05.436623Z]
      [2017-03-05T22:58:05.436661Z] ----------------------------------------------------------------------
      [2017-03-05T22:58:05.436677Z] Ran 11 tests in 0.754s
      [2017-03-05T22:58:05.436682Z]
      [2017-03-05T22:58:05.436695Z] FAILED (errors=3)
      [2017-03-05T22:58:05.436713Z] The following tests failed:
      [2017-03-05T22:58:05.441293Z] /Volumes/PS1/lsstsw/build/sims_catalogs/tests/.tests/testCompoundCatalogDBObject.py.failed
      [2017-03-05T22:58:05.441535Z] 1 tests failed
      [2017-03-05T22:58:05.442545Z] scons: *** [checkTestStatus] Error 1
      [2017-03-05T22:58:05.445721Z] scons: building terminated because of errors.
      

        Attachments

          Issue Links

            Activity

            wmwood-vasey Michael Wood-Vasey created issue -
            wmwood-vasey Michael Wood-Vasey made changes -
            Field Original Value New Value
            Issue Type Story [ 10001 ] Bug [ 1 ]
            wmwood-vasey Michael Wood-Vasey made changes -
            Watchers John Swinbank, Michael Wood-Vasey [ John Swinbank, Michael Wood-Vasey ] John Swinbank, Michael Wood-Vasey, Scott Daniel [ John Swinbank, Michael Wood-Vasey, Scott Daniel ]
            tjenness Tim Jenness made changes -
            Link This issue relates to DM-9316 [ DM-9316 ]
            wmwood-vasey Michael Wood-Vasey made changes -
            Story Points 0.25
            Team SQuaRE [ 10302 ]
            Assignee Michael Wood-Vasey [ wmwood-vasey ]
            wmwood-vasey Michael Wood-Vasey made changes -
            Resolution Done [ 10000 ]
            Status To Do [ 10001 ] Done [ 10002 ]
            wmwood-vasey Michael Wood-Vasey made changes -
            Epic Link DM-5510 [ 23343 ]

              People

              Assignee:
              wmwood-vasey Michael Wood-Vasey
              Reporter:
              wmwood-vasey Michael Wood-Vasey
              Watchers:
              John Swinbank, Michael Wood-Vasey, Scott Daniel
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: