Details
-
Type:
Bug
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: obs_base
-
Labels:
-
Story Points:0.25
-
Epic Link:
-
Sprint:DB_S22_12
-
Team:Data Access and Database
-
Urgent?:No
Description
DM-33600 causes DataIdValueError to be thrown instead of LookupError. The except clause in https://github.com/lsst/obs_base/blob/main/python/lsst/obs/base/gen2to3/convertRepo.py#L566 fails as a result. This causes ci_hsc_gen2 to fail:
::::: [2022-02-28T07:08:34.853089Z] convertRepoTask.run(
|
::::: [2022-02-28T07:08:34.854223Z] File "/j/ws/scipipe/ci_hsc/centos-7-conda/lsstsw/stack/lsst-scipipe-2.0.0/Linux64/obs_base/g3ddc52a869+3d529bba34/python/lsst/obs/base/gen2to3/convertRepo.py", line 746, in run
|
::::: [2022-02-28T07:08:34.854554Z] self.registerUsedSkyMaps(rootConverter.subset)
|
::::: [2022-02-28T07:08:34.855790Z] File "/j/ws/scipipe/ci_hsc/centos-7-conda/lsstsw/stack/lsst-scipipe-2.0.0/Linux64/obs_base/g3ddc52a869+3d529bba34/python/lsst/obs/base/gen2to3/convertRepo.py", line 565, in registerUsedSkyMaps
|
::::: [2022-02-28T07:08:34.856165Z] self.butler3.registry.expandDataId(skymap=struct.name)
|
::::: [2022-02-28T07:08:34.857347Z] File "/j/ws/scipipe/ci_hsc/centos-7-conda/lsstsw/stack/lsst-scipipe-2.0.0/Linux64/daf_butler/ge5b471c7cb+06320d0d81/python/lsst/daf/butler/registries/sql.py", line 746, in expandDataId
|
::::: [2022-02-28T07:08:34.857526Z] raise DataIdValueError(
|
::::: [2022-02-28T07:08:34.858465Z] lsst.daf.butler.registry._exceptions.DataIdValueError: Could not fetch record for required dimension skymap via keys {'skymap': 'discrete/ci_hsc'}.
|
Attachments
Issue Links
- is triggered by
-
DM-33600 Inconsistencies in queryDimensionRecords
- Done
Activity
Field | Original Value | New Value |
---|---|---|
Watchers | Andy Salnikov, Kian-Tat Lim [ Andy Salnikov, Kian-Tat Lim ] | Andy Salnikov, Jim Bosch, Kian-Tat Lim [ Andy Salnikov, Jim Bosch, Kian-Tat Lim ] |
Assignee | Andy Salnikov [ salnikov ] |
Status | To Do [ 10001 ] | In Progress [ 3 ] |
Resolution | Done [ 10000 ] | |
Status | In Progress [ 3 ] | Done [ 10002 ] |
Epic Link |
|
|
Sprint | DB_S22_12 [ 1136 ] | |
Story Points | 0.25 | |
Team | Ops Middleware [ 15600 ] | Data Access and Database [ 10204 ] |
Labels | gen3-middleware |
My fault, forgot to test ci_hsc_gen2. I'll fix it ASAP.