# Building obs\_decam

**URL:** <https://www.rubin.community/t/building-obs-decam/854>\
**Category:** Support\
**Created:** [June 14, 2016, 6:51pm UTC](https://www.rubin.community/t/building-obs-decam/854 "2016-06-14T18:51:33Z")\
**Posts on this page:** 8\
**Page:** 2

<div class="post-metadata">

**Author:** ![timj](https://sea2.discourse-cdn.com/flex002/user_avatar/www.rubin.community/timj/32/10_2.png) [@timj](https://www.rubin.community/u/timj)\
**Post date:** [June 16, 2016, 6:26pm UTC](https://www.rubin.community/t/building-obs-decam/854/22 "2016-06-16T18:26:10Z")

</div>

> [@mbl](#):
>
> When I tried building obs\_decam I received the following

That’s because `obs_decam` is newer than the 12.0 release. You need to checkout the git version that matches the 12.0 `ip_isr`. I don’t think `obs_decam` got a tag because it wasn’t part of the release. @frossie can confirm.

---

<div class="post-metadata">

**Author:** ![swinbank](https://sea2.discourse-cdn.com/flex002/user_avatar/www.rubin.community/swinbank/32/24_2.png) [@swinbank](https://www.rubin.community/u/swinbank)\
**Post date:** [June 16, 2016, 11:04pm UTC](https://www.rubin.community/t/building-obs-decam/854/23 "2016-06-16T23:04:23Z")

</div>

So it looks like we’ve overcome the earlier problem (probably caused by an old version of sconsUtils): this new error is different, and @timj has given you the correct diagnosis: you need to find a version of obs\_decam corresponding to the stack v12 release. Based on the dates, I’m guessing [737bd0d](https://github.com/lsst/obs_decam/commit/737bd0d9fc827f56c3c723929202ed495a55fb04) might do the trick.

---

<div class="post-metadata">

**Author:** ![mbl](https://avatars.discourse-cdn.com/v4/letter/m/7feea3/32.png) [@mbl](https://www.rubin.community/u/mbl)\
**Post date:** [June 17, 2016, 7:33pm UTC](https://www.rubin.community/t/building-obs-decam/854/24 "2016-06-17T19:33:34Z")

</div>

Hello jdswinbank,

Thanks for your reply. Yes the earlier problem seems to be solved. Thank you!  
To search for a compatible version of obs\_decam that matches stack 12.0, I have been trying most of the packages under the branches but none of them actually worked. I received the same error message for all of them.

I have also tried the one you suggested tickes/DM-6147, but unfortunately, it did not work either. Please help.

Thanks

---

<div class="post-metadata">

**Author:** ![price](https://sea2.discourse-cdn.com/flex002/user_avatar/www.rubin.community/price/32/488_2.png) [@price](https://www.rubin.community/u/price)\
**Post date:** [June 17, 2016, 8:42pm UTC](https://www.rubin.community/t/building-obs-decam/854/25 "2016-06-17T20:42:21Z")

</div>

> [@mbl](#):
>
> To search for a compatible version of obs\_decam that matches stack 12.0, I have been trying most of the packages under the branches but none of them actually worked.

Use the mainline (not the branches) at different points in time. The 12.0 snapshot appears to be about 4 weeks ago between May 23 and May 30 (@frossie will know). Maybe try `7bf2411`?

When you say that “none of them actually worked”, what is the actual error that shows it’s not working?

---

<div class="post-metadata">

**Author:** ![ctslater](https://sea2.discourse-cdn.com/flex002/user_avatar/www.rubin.community/ctslater/32/28_2.png) [@ctslater](https://www.rubin.community/u/ctslater)\
**Post date:** [June 17, 2016, 9:26pm UTC](https://www.rubin.community/t/building-obs-decam/854/26 "2016-06-17T21:26:52Z")

</div>

I got obs\_decam to work with v12 by checking out `2c2dc43`. Not sure if that’s precisely the right one or not.

More broadly, I think it’s a problem that obs\_decam is not “in the release” (I don’t know what criteria sets that). I put a note that in what I think is the relevant ticket, [DM-5661](https://jira.lsstcorp.org/browse/DM-5661).

---

<div class="post-metadata">

**Author:** ![mbl](https://avatars.discourse-cdn.com/v4/letter/m/7feea3/32.png) [@mbl](https://www.rubin.community/u/mbl)\
**Post date:** [June 17, 2016, 9:47pm UTC](https://www.rubin.community/t/building-obs-decam/854/27 "2016-06-17T21:47:46Z")

</div>

Hello price,

Thank you for your reply. What I meant was that it showed the same error message as before: ImportError: cannot import name LinearizeLookupTable.

---

<div class="post-metadata">

**Author:** ![mbl](https://avatars.discourse-cdn.com/v4/letter/m/7feea3/32.png) [@mbl](https://www.rubin.community/u/mbl)\
**Post date:** [June 17, 2016, 9:48pm UTC](https://www.rubin.community/t/building-obs-decam/854/28 "2016-06-17T21:48:48Z")

</div>

Thank you so much ctslater, as you suggested I found 2c2dc43 is working properly.

Thank you guys for all you helps!

Warm regards,

Leng

---

<div class="post-metadata">

**Author:** ![price](https://sea2.discourse-cdn.com/flex002/user_avatar/www.rubin.community/price/32/488_2.png) [@price](https://www.rubin.community/u/price)\
**Post date:** [June 18, 2016, 12:15am UTC](https://www.rubin.community/t/building-obs-decam/854/29 "2016-06-18T00:15:35Z")

</div>

> [@ctslater](#):
>
> More broadly, I think it’s a problem that obs\_decam is not “in the release” (I don’t know what criteria sets that).

For obs\_subaru, we simply put obs\_subaru into lsst\_distrib (all it takes is an RFC). The problem with obs\_decam is that there’s no package owner — no-one overseeing its development, no-one ensuring that it’s always working, no-one making it easy to use for users, no-one to write the RFC.

Is obs\_decam important for LSST or not? If so, it needs to be regularly CI-ed and it needs an owner who is regularly using it himself.

[Previous page](https://www.rubin.community/t/building-obs-decam/854.md?page=1)
