<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Brief status update on the v10_1_rc3 build issues I was encountering, specifically during the “base” package update step.<div class=""><br class=""></div><div class="">Simon was kind enough to have a screen share session and work past this road block with me (plus threw in some eups philosophy lessons for free). While we didn’t track down exactly what the problem was we did find two workable solutions:<br class=""><div class=""><br class=""></div><div class="">1) Build base with `eups distrib install base --force`, then `eups distrib install -t v10_1_rc3 lsst_apps`</div><div class="">2) or just do a clean install in a new directory. </div><div class=""><div class=""><br class=""></div><div class="">Thank you Simon et al.,</div><div class="">Will</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On May 7, 2015, at 5:44 PM, Simon Krughoff <<a href="mailto:simon.krughoff@gmail.com" class="">simon.krughoff@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">That's what it's supposed to look like. Maybe we can set something up tomorrow. Just ping me when you are free and we can set something up.<div class=""><br class=""></div><div class="">Simon</div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Thu, May 7, 2015 at 5:07 PM, Will Dawson <span dir="ltr" class=""><<a href="mailto:will@dawsonresearch.com" target="_blank" class="">will@dawsonresearch.com</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class="">Simon,<div class=""><br class=""></div><div class="">I am happy to do a screen share session sometime, although I am about to sign-off for a few hours. </div><div class=""><br class=""></div><div class="">I do have the lsst64defs.py file (see attached). Looks pretty simple to me.</div><div class=""><br class=""></div><div class="">Thanks,</div><div class="">Will</div><div class=""><br class=""></div><div class=""></div></div><br class=""><div style="word-wrap:break-word" class=""><div class=""></div><div class=""><br class=""><div class=""><div class=""><blockquote type="cite" class=""><div class="">On May 7, 2015, at 5:03 PM, Simon Krughoff <<a href="mailto:simon.krughoff@gmail.com" target="_blank" class="">simon.krughoff@gmail.com</a>> wrote:</div><br class=""><div class=""><div dir="ltr" class="">Very strange. It looks like the lsst64def module was not built. It may work better to solve this in a session where we can share screens, but let me know what you see with the following.<div class=""><br class=""></div><div class="">Do you have a file called lsst64defs.py in /Users/dawson/lsst/EupsBuildDir/DarwinX86/base-10.0-5-g766159b/base-10.0-5-g766159b/python? If so, what is in it?</div><div class=""><br class=""></div><div class="">If not, what does the following give you if you run it in the python directory?<div class="">m4 -Dm4_RTLD_GLOBAL=8 -Dm4_RTLD_NOW=2 < lsst64defs.py.m4 > /Users/dawson/lsst/EupsBuildDir/DarwinX86/base-10.0-5-g766159b/base-10.0-5-g766159b/python/lsst64defs.py<br class=""></div></div><div class=""><br class=""></div><div class="">Simon</div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Thu, May 7, 2015 at 4:49 PM, Will Dawson <span dir="ltr" class=""><<a href="mailto:will@dawsonresearch.com" target="_blank" class="">will@dawsonresearch.com</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class="">Simon,<div class=""><br class=""></div><div class="">Here is the .failed file.</div><div class=""><br class=""></div><div class="">Thanks for your time,</div><div class="">Will<br class=""><div class=""><br class=""></div><div class=""></div></div></div><br class=""><div style="word-wrap:break-word" class=""><div class=""><div class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On May 7, 2015, at 4:43 PM, Simon Krughoff <<a href="mailto:simon.krughoff@gmail.com" target="_blank" class="">simon.krughoff@gmail.com</a>> wrote:</div><br class=""><div class=""><div dir="ltr" class="">Will,<div class=""><br class=""></div><div class="">Actually, it looks like a test failed when you were building. The failed test log should be in:</div>/Users/dawson/lsst/EupsBuildDir/DarwinX86/base-10.0-5-g766159b/base-10.0-5-g766159b/tests/.tests<div class=""><br class=""></div><div class="">There will be a file with the .failed suffix. In there will be the messages about why that test failed.</div><div class=""><br class=""></div><div class="">Can you send that along?</div><div class=""><br class="">Simon</div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Thu, May 7, 2015 at 4:37 PM, Will Dawson <span dir="ltr" class=""><<a href="mailto:will@dawsonresearch.com" target="_blank" class="">will@dawsonresearch.com</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class="">Simon,<div class=""><br class=""></div><div class="">I’ve attached the build.log. apparently the error is related to the CC compiler (note I am running Yosemite).</div><div class=""><br class=""></div><div class="">Thanks,</div><div class="">Will</div><div class=""><br class=""></div><div class=""></div></div><br class=""><div style="word-wrap:break-word" class=""><div class=""></div><div class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On May 7, 2015, at 4:29 PM, Simon Krughoff <<a href="mailto:simon.krughoff@gmail.com" target="_blank" class="">simon.krughoff@gmail.com</a>> wrote:</div><br class=""><div class=""><div dir="ltr" class="">Hi Will,<div class=""><br class=""></div><div class="">If you can attach the contents of <span style="color:rgb(243,243,243);font-family:Menlo;font-size:11px;background-color:rgb(4,11,91)" class="">/Users/dawson/lsst/</span><span style="color:rgb(243,243,243);font-family:Menlo;font-size:11px;background-color:rgb(4,11,91)" class="">EupsBuildDir/DarwinX86/base-</span><span style="color:rgb(243,243,243);font-family:Menlo;font-size:11px;background-color:rgb(4,11,91)" class="">10.0-5-g766159b/build.log</span>. We might be able to diagnose.</div><div class=""><br class=""></div><div class="">Simon</div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Thu, May 7, 2015 at 4:11 PM, Will Dawson <span dir="ltr" class=""><<a href="mailto:will@dawsonresearch.com" target="_blank" class="">will@dawsonresearch.com</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class="">Jim / Dominique,<div class=""><br class=""></div><div class="">Thank you for the suggestions. Apparently the SingleFrameMeasurementConfig/Task are not in v10.0, as I get the following error when instantiating it</div><div class=""><br class=""></div><div class=""> <span style="font-size:14px;line-height:17.000059127807617px;white-space:pre-wrap;color:rgb(139,0,0)" class="">AttributeError</span><span style="color:rgb(0,100,0);font-size:14px;line-height:17.000059127807617px;white-space:pre-wrap" class="">: 'module' object has no attribute 'SingleFrameMeasurementConfig'</span></div><div class=""><br class=""></div><div class="">I tried installing 10_1_rc3 and got through 23/55 programs before encountering the following error:</div><div class=""><br class=""></div><div class=""><div style="margin:0px;font-size:11px;font-family:Menlo;color:rgb(243,243,243);background-color:rgb(4,11,91)" class="">eups distrib: Failed to build base-10.0-5-g766159b.eupspkg: Command:</div><div style="margin:0px;font-size:11px;font-family:Menlo;color:rgb(243,243,243);background-color:rgb(4,11,91)" class=""><span style="white-space:pre-wrap" class=""> </span>source /Users/dawson/lsst/eups/bin/setups.sh; export EUPS_PATH=/Users/dawson/lsst; (/Users/dawson/lsst/EupsBuildDir/DarwinX86/base-10.0-5-g766159b/build.sh) >> /Users/dawson/lsst/EupsBuildDir/DarwinX86/base-10.0-5-g766159b/build.log 2>&1 4>/Users/dawson/lsst/EupsBuildDir/DarwinX86/base-10.0-5-g766159b/build.msg </div><div style="margin:0px;font-size:11px;font-family:Menlo;color:rgb(243,243,243);background-color:rgb(4,11,91)" class="">exited with code 252</div></div><div class=""><br class=""></div><div class="">I am burnt out on switching between different distributions (in part motivated by dm stack and galsim I recently switched from macports to homebrew and canopy to anaconda) and fixing the things that will inevitably break so I don’t feel like trying the CernVMFS distribution. I will just wait for v10_1. </div><span class=""><font color="#888888" class=""><div class=""><br class=""></div><div class="">Will</div></font></span><div class=""><div class=""><div class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On May 7, 2015, at 2:33 PM, Dominique Boutigny <<a href="mailto:boutigny@in2p3.fr" target="_blank" class="">boutigny@in2p3.fr</a>> wrote:</div><br class=""><div class="">
<div bgcolor="#FFFFFF" text="#000000" class="">
Hi Will,<br class="">
<br class="">
As far as I know, v10_1 will be released in a couple of days so I
don't think that you should invest too much time in v10_0. In the
mean time you can use v10_1_rc3 which is very close to v10_1, either
by installing it directly
(<a href="https://confluence.lsstcorp.org/display/LSWUG/LSST+Software+User+Guide" target="_blank" class="">https://confluence.lsstcorp.org/display/LSWUG/LSST+Software+User+Guide</a>)
or even simpler using the CernVMFS distrib : see
<a href="https://github.com/airnandez/lsst-cvmfs" target="_blank" class="">https://github.com/airnandez/lsst-cvmfs</a> <br class="">
With the later, once CernVMFS is installed you have nothing to
build, the packages are loaded on demand from the network, so this
takes a little bit of time the first time, but then it is cached on
your local disk and it is as fast as a local install. <br class="">
<br class="">
Dominique<br class="">
<br class="">
<div class="">On 05/07/2015 01:35 PM, Will Dawson
wrote:<br class="">
</div>
<blockquote type="cite" class="">
Dominique,
<div class=""><br class="">
</div>
<div class="">Thank you for translating the error. The problem
then seems to be with an inconsistent DM functions default
parameter settings. From the notebook the schema and measurement
configuration is set by</div>
<div class=""><br class="">
</div>
<div class="">schema =
lsst.afw.table.SourceTable.makeMinimalSchema()</div>
<div class="">measureSourcesConfig =
lsst.meas.algorithms.SourceMeasurementConfig()</div>
<div class=""><br class="">
</div>
<div class="">So it appears that makeMinimialSchema() and
SourceMeasurementConfig() need to be made compatible (perhaps is
has been in v10_1). Should I be using v10_1 instead of v10_0?</div>
<div class=""><br class="">
</div>
<div class="">Thank you for the very helpful CFHTLS references.</div>
<div class=""><br class="">
</div>
<div class="">Regards,</div>
<div class="">Will</div>
<div class=""><br class="">
<div class="">
<blockquote type="cite" class="">
<div class="">On May 7, 2015, at 12:09 PM, Dominique
Boutigny <<a href="mailto:boutigny@in2p3.fr" target="_blank" class="">boutigny@in2p3.fr</a>>
wrote:</div>
<br class="">
<div class="">
<div bgcolor="#FFFFFF" text="#000000" class=""> Hi Will,<br class="">
<br class="">
Yes, the schema has changed in the latest stack versions
and "flux.sinc_flux" is not any more in the source table
schema. Something directly replacing sinc_flux was
present in the v10_0 but this has been completely
replaced in the latest stack_v10_1. There are now 10
Aperture flux corresponding to 10 different radii. <br class="">
<br class="">
You can have a look to <a href="http://nbviewer.ipython.org/github/DarkEnergyScienceCollaboration/CFHTLS-Reprocess/tree/master/notebooks/" target="_blank" class="">http://nbviewer.ipython.org/github/DarkEnergyScienceCollaboration/CFHTLS-Reprocess/tree/master/notebooks/</a>
to get notebook examples with the most recent stack.<br class="">
<br class="">
I can have a look to Chris' notebooks if you wish.<br class="">
<br class="">
Best,<br class="">
<br class="">
Dominique<br class="">
<br class="">
<div class="">On 05/07/2015 11:52 AM,
Will Dawson wrote:<br class="">
</div>
<blockquote type="cite" class="">
I encountered an error when running Chris Walter’s <a href="http://nbviewer.ipython.org/github/DarkEnergyScienceCollaboration/DataManagementWorkbook/blob/master/Basic%20DM%20AFW%20Introduction.ipynb" target="_blank" class="">Introduction to the DM AFW packages</a> ipython
notebook. In the second to last step when I run the
command:
<div class=""><br class="">
</div>
<div class="">
<div class=""># Apply the measurement routines to
the exposure using the sources as input</div>
<div class="">measure.run(exposure, sources)</div>
</div>
<div class=""><br class="">
</div>
<div class="">I get the following error:</div>
<div class=""><br class="">
</div>
<div class="">
<pre style="overflow:auto;font-size:14px;padding:0px;margin-top:0px;margin-bottom:0px;line-height:17.000059127807617px;word-break:break-all;word-wrap:break-word;border:0px;border-top-left-radius:0px;border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:0px;white-space:pre-wrap;vertical-align:baseline" class=""><span style="color:rgb(139,0,0)" class="">---------------------------------------------------------------------------</span>
<span style="color:rgb(139,0,0)" class="">NotFoundError</span> Traceback (most recent call last)
<span style="color:rgb(0,100,0)" class=""><ipython-input-19-77c6eca8bda0></span> in <span style="color:rgb(70,130,180)" class=""><module><span style="color:rgb(0,0,139)" class="">()</span>
<span style="color:rgb(0,100,0)" class=""> 16</span> <span style="color:rgb(0,0,139)" class=""></span>
<span style="color:rgb(0,100,0)" class=""> 17</span> <span style="color:rgb(139,0,0)" class=""># Apply the measurement routines to the exposure using the sources as input</span><span style="color:rgb(0,0,139)" class=""></span><span style="color:rgb(0,0,139)" class=""></span>
<span style="color:rgb(0,100,0)" class="">---> 18<span style="color:rgb(139,0,0)" class=""> </span>measure<span style="color:rgb(0,0,139)" class="">.</span>run<span style="color:rgb(0,0,139)" class="">(</span>exposure<span style="color:rgb(0,0,139)" class="">,</span> sources<span style="color:rgb(0,0,139)" class="">)</span><span style="color:rgb(0,0,139)" class=""></span>
<span class=""> 19</span> <span style="color:rgb(0,0,139)" class=""></span>
<span class=""> 20</span> <span style="color:rgb(139,0,0)" class=""># Now let's look at the output from some of the measurment algorithms.</span><span style="color:rgb(0,0,139)" class=""></span><span style="color:rgb(0,0,139)" class=""></span>
<span class="">/Users/dawson/lsst/DarwinX86/pipe_base/10.0+2/python/lsst/pipe/base/timer.pyc</span> in <span style="color:rgb(70,130,180)" class="">wrapper<span style="color:rgb(0,0,139)" class="">(self, *args, **keyArgs)</span>
<span style="color:rgb(0,100,0)" class=""> 116</span> logInfo<span style="color:rgb(0,0,139)" class="">(</span>obj <span style="color:rgb(0,0,139)" class="">=</span> self<span style="color:rgb(0,0,139)" class="">,</span> prefix <span style="color:rgb(0,0,139)" class="">=</span> func<span style="color:rgb(0,0,139)" class="">.</span>__name__ <span style="color:rgb(0,0,139)" class="">+</span> <span style="color:rgb(0,0,139)" class="">"Start"</span><span style="color:rgb(0,0,139)" class="">)</span><span style="color:rgb(0,0,139)" class=""></span>
<span style="color:rgb(0,100,0)" class=""> 117</span> <span style="color:rgb(0,100,0)" class="">try</span><span style="color:rgb(0,0,139)" class="">:</span><span style="color:rgb(0,0,139)" class=""></span>
<span style="color:rgb(0,100,0)" class="">--> 118<span style="color:rgb(139,0,0)" class=""> </span>res <span style="color:rgb(0,0,139)" class="">=</span> func<span style="color:rgb(0,0,139)" class="">(</span>self<span style="color:rgb(0,0,139)" class="">,</span> <span style="color:rgb(0,0,139)" class="">*</span>args<span style="color:rgb(0,0,139)" class="">,</span> <span style="color:rgb(0,0,139)" class="">**</span>keyArgs<span style="color:rgb(0,0,139)" class="">)</span><span style="color:rgb(0,0,139)" class=""></span>
<span class=""> 119</span> <span class="">finally</span><span style="color:rgb(0,0,139)" class="">:</span><span style="color:rgb(0,0,139)" class=""></span>
<span class=""> 120</span> logInfo<span style="color:rgb(0,0,139)" class="">(</span>obj <span style="color:rgb(0,0,139)" class="">=</span> self<span style="color:rgb(0,0,139)" class="">,</span> prefix <span style="color:rgb(0,0,139)" class="">=</span> func<span style="color:rgb(0,0,139)" class="">.</span>__name__ <span style="color:rgb(0,0,139)" class="">+</span> <span style="color:rgb(0,0,139)" class="">"End"</span><span style="color:rgb(0,0,139)" class="">)</span><span style="color:rgb(0,0,139)" class=""></span>
<span class="">/Users/dawson/lsst/DarwinX86/meas_algorithms/10.0+2/python/lsst/meas/algorithms/measurement.pyc</span> in <span style="color:rgb(70,130,180)" class="">measure<span style="color:rgb(0,0,139)" class="">(self, exposure, sources, noiseImage, noiseMeanVar, references, refWcs)</span>
<span style="color:rgb(0,100,0)" class=""> 422</span> <span style="color:rgb(0,0,139)" class=""></span>
<span style="color:rgb(0,100,0)" class=""> 423</span> self<span style="color:rgb(0,0,139)" class="">.</span>log<span style="color:rgb(0,0,139)" class="">.</span>info<span style="color:rgb(0,0,139)" class="">(</span><span style="color:rgb(0,0,139)" class="">"Measuring %d sources"</span> <span style="color:rgb(0,0,139)" class="">%</span> len<span style="color:rgb(0,0,139)" class="">(</span>sources<span style="color:rgb(0,0,139)" class="">)</span><span style="color:rgb(0,0,139)" class="">)</span><span style="color:rgb(0,0,139)" class=""></span>
<span style="color:rgb(0,100,0)" class="">--> 424<span style="color:rgb(139,0,0)" class=""> </span>self<span style="color:rgb(0,0,139)" class="">.</span>config<span style="color:rgb(0,0,139)" class="">.</span>slots<span style="color:rgb(0,0,139)" class="">.</span>setupTable<span style="color:rgb(0,0,139)" class="">(</span>sources<span style="color:rgb(0,0,139)" class="">.</span>table<span style="color:rgb(0,0,139)" class="">,</span> prefix<span style="color:rgb(0,0,139)" class="">=</span>self<span style="color:rgb(0,0,139)" class="">.</span>config<span style="color:rgb(0,0,139)" class="">.</span>prefix<span style="color:rgb(0,0,139)" class="">)</span><span style="color:rgb(0,0,139)" class=""></span>
<span class=""> 425</span> <span style="color:rgb(0,0,139)" class=""></span>
<span class=""> 426</span> self<span style="color:rgb(0,0,139)" class="">.</span>preMeasureHook<span style="color:rgb(0,0,139)" class="">(</span>exposure<span style="color:rgb(0,0,139)" class="">,</span> sources<span style="color:rgb(0,0,139)" class="">)</span><span style="color:rgb(0,0,139)" class=""></span>
<span class="">/Users/dawson/lsst/DarwinX86/meas_algorithms/10.0+2/python/lsst/meas/algorithms/measurement.pyc</span> in <span style="color:rgb(70,130,180)" class="">setupTable<span style="color:rgb(0,0,139)" class="">(self, table, prefix)</span>
<span style="color:rgb(0,100,0)" class=""> 57</span> <span style="color:rgb(0,100,0)" class="">if</span> self<span style="color:rgb(0,0,139)" class="">.</span>centroid <span style="color:rgb(0,100,0)" class="">is</span> <span style="color:rgb(0,100,0)" class="">not</span> None<span style="color:rgb(0,0,139)" class="">:</span> table<span style="color:rgb(0,0,139)" class="">.</span>defineCentroid<span style="color:rgb(0,0,139)" class="">(</span>prefix <span style="color:rgb(0,0,139)" class="">+</span> self<span style="color:rgb(0,0,139)" class="">.</span>centroid<span class="">)</span><span style="color:rgb(0,0,139)" class=""></span>
<span style="color:rgb(0,100,0)" class=""> 58</span> <span style="color:rgb(0,100,0)" class="">if</span> self<span style="color:rgb(0,0,139)" class="">.</span>shape <span style="color:rgb(0,100,0)" class="">is</span> <span style="color:rgb(0,100,0)" class="">not</span> None<span style="color:rgb(0,0,139)" class="">:</span> table<span style="color:rgb(0,0,139)" class="">.</span>defineShape<span style="color:rgb(0,0,139)" class="">(</span>prefix <span style="color:rgb(0,0,139)" class="">+</span> self<span style="color:rgb(0,0,139)" class="">.</span>shape<span style="color:rgb(0,0,139)" class="">)</span><span style="color:rgb(0,0,139)" class=""></span>
<span style="color:rgb(0,100,0)" class="">---> 59<span style="color:rgb(139,0,0)" class=""> <span style="color:rgb(0,100,0)" class="">if</span> self<span style="color:rgb(0,0,139)" class="">.</span>apFlux <span style="color:rgb(0,100,0)" class="">is</span> <span style="color:rgb(0,100,0)" class="">not</span> None<span style="color:rgb(0,0,139)" class="">:</span> table<span style="color:rgb(0,0,139)" class="">.</span>defineApFlux<span style="color:rgb(0,0,139)" class="">(</span>prefix <span style="color:rgb(0,0,139)" class="">+</span> self<span style="color:rgb(0,0,139)" class="">.apFlux<span style="color:rgb(0,0,139)" class="">)</span><span style="color:rgb(0,0,139)" class=""></span>
<span style="color:rgb(0,100,0)" class=""> 60</span> <span style="color:rgb(0,100,0)" class="">if</span> self<span style="color:rgb(0,0,139)" class="">.</span>modelFlux <span style="color:rgb(0,100,0)" class="">is</span> <span style="color:rgb(0,100,0)" class="">not</span> None<span style="color:rgb(0,0,139)" class="">:</span> table<span style="color:rgb(0,0,139)" class="">.</span>defineModelFlux<span style="color:rgb(0,0,139)" class="">(</span>prefix <span style="color:rgb(0,0,139)" class="">+</span> self<span style="color:rgb(0,0,139)" class="">.</span>modelFlux<span style="color:rgb(0,0,139)" class="">)</span><span style="color:rgb(0,0,139)" class=""></span>
<span style="color:rgb(0,100,0)" class=""> 61</span> <span style="color:rgb(0,100,0)" class="">if</span> self<span style="color:rgb(0,0,139)" class="">.</span>psfFlux <span style="color:rgb(0,100,0)" class="">is</span> <span style="color:rgb(0,100,0)" class="">not</span> None<span style="color:rgb(0,0,139)" class="">:</span> table<span style="color:rgb(0,0,139)" class="">.</span>definePsfFlux<span style="color:rgb(0,0,139)" class="">(</span>prefix <span style="color:rgb(0,0,139)" class="">+</span> self<span style="color:rgb(0,0,139)" class="">.</span>psfFlux<span style="color:rgb(0,0,139)" class="">)</span><span style="color:rgb(0,0,139)" class=""></span>
<span style="color:rgb(0,100,0)" class="">/Users/dawson/lsst/DarwinX86/afw/10.0+3/python/lsst/afw/table/tableLib.pyc</span> in <span style="color:rgb(70,130,180)" class="">defineApFlux<span style="color:rgb(0,0,139)" class="">(self, *args)</span>
<span style="color:rgb(0,100,0)" class=""> 9869</span> <span style="color:rgb(0,100,0)" class="">def</span> defineApFlux<span style="color:rgb(0,0,139)" class="">(</span>self<span style="color:rgb(0,0,139)" class="">,</span> <span style="color:rgb(0,0,139)" class="">*</span>args<span style="color:rgb(0,0,139)" class="">)</span><span style="color:rgb(0,0,139)" class="">:</span><span style="color:rgb(0,0,139)" class=""></span>
<span style="color:rgb(0,100,0)" class=""> 9870</span> <span style="color:rgb(0,0,139)" class="">"""defineApFlux(SourceTable self, std::string const & name)"""</span><span style="color:rgb(0,0,139)" class=""></span>
<span style="color:rgb(0,100,0)" class="">-> 9871<span style="color:rgb(139,0,0)" class=""> <span style="color:rgb(0,100,0)" class="">return</span> _tableLib<span style="color:rgb(0,0,139)" class="">.</span>SourceTable_defineApFlux<span style="color:rgb(0,0,139)" class="">(</span>self<span style="color:rgb(0,0,139)" class="">,</span> <span style="color:rgb(0,0,139)" class="">*</span>args<span style="color:rgb(0,0,139)" class="">)</span><span style="color:rgb(0,0,139)" class=""></span>
<span style="color:rgb(0,100,0)" class=""> 9872</span> <span style="color:rgb(0,0,139)" class=""></span>
<span style="color:rgb(0,100,0)" class=""> 9873</span> <span style="color:rgb(0,100,0)" class="">def</span> getApFluxDefinition<span style="color:rgb(0,0,139)" class="">(</span>self<span style="color:rgb(0,0,139)" class="">)</span><span style="color:rgb(0,0,139)" class="">:</span><span style="color:rgb(0,0,139)" class=""></span>
<span class="">NotFoundError</span>:
File "src/table/<a href="http://schema.cc/" target="_blank" class="">Schema.cc</a>", line 239, in SchemaItem<T> lsst::afw::table::detail::SchemaImpl::find(const std::string &) const [T = double]
Field or subfield withname 'flux.sinc_flux' not found with type 'D'. {0}
lsst::pex::exceptions::NotFoundError: 'Field or subfield withname 'flux.sinc_flux' not found with type 'D'.'</span></span></span></span></span></span></span></span></span></span></span></span></span></pre>
<div class=""><br class="">
</div>
</div>
<div class="">Perhaps this is related to the fact that
the notebook was written in 2013 and I am using
v10.0 of the stack. As I am new to the stack, and
given the surprisingly complex error message for
such a seemingly simple command, I am hoping that
the experts can shed some light on the matter.</div>
<div class=""><br class="">
</div>
<div class="">Thanks,</div>
<div class="">Will Dawson</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<br class="">
<fieldset class=""></fieldset>
<br class="">
<pre class="">_______________________________________________
dm-users mailing list
<a href="mailto:dm-users@lists.lsst.org" target="_blank" class="">dm-users@lists.lsst.org</a>
<a href="https://lists.lsst.org/mailman/listinfo/dm-users" target="_blank" class="">https://lists.lsst.org/mailman/listinfo/dm-users</a></pre>
</blockquote>
<br class="">
<pre cols="72" class="">--
Dominique Boutigny - CNRS / CC-IN2P3
Now at SLAC National Accelerator Laboratory
Kavli Building - Room 221
Mail : <a href="mailto:boutigny@in2p3.fr" target="_blank" class="">boutigny@in2p3.fr</a> - <a href="mailto:boutigny@slac.stanford.edu" target="_blank" class="">boutigny@slac.stanford.edu</a>
Office : <a href="tel:%2B1%20650-926-5759" value="+16509265759" target="_blank" class="">+1 650-926-5759</a> - Cellular : <a href="tel:%2B1%20774-232-0912" value="+17742320912" target="_blank" class="">+1 774-232-0912</a>
</pre>
</div>
_______________________________________________<br class="">
dm-users mailing list<br class="">
<a href="mailto:dm-users@lists.lsst.org" target="_blank" class="">dm-users@lists.lsst.org</a><br class="">
<a href="https://lists.lsst.org/mailman/listinfo/dm-users" target="_blank" class="">https://lists.lsst.org/mailman/listinfo/dm-users</a></div>
</blockquote>
</div>
<br class="">
</div>
</blockquote>
<br class="">
<pre cols="72" class="">--
Dominique Boutigny - CNRS / CC-IN2P3
Now at SLAC National Accelerator Laboratory
Kavli Building - Room 221
Mail : <a href="mailto:boutigny@in2p3.fr" target="_blank" class="">boutigny@in2p3.fr</a> - <a href="mailto:boutigny@slac.stanford.edu" target="_blank" class="">boutigny@slac.stanford.edu</a>
Office : <a href="tel:%2B1%20650-926-5759" value="+16509265759" target="_blank" class="">+1 650-926-5759</a> - Cellular : <a href="tel:%2B1%20774-232-0912" value="+17742320912" target="_blank" class="">+1 774-232-0912</a>
</pre>
</div>
_______________________________________________<br class="">dm-users mailing list<br class=""><a href="mailto:dm-users@lists.lsst.org" target="_blank" class="">dm-users@lists.lsst.org</a><br class=""><a href="https://lists.lsst.org/mailman/listinfo/dm-users" target="_blank" class="">https://lists.lsst.org/mailman/listinfo/dm-users</a></div></blockquote></div><br class=""></div></div></div></div><br class="">_______________________________________________<br class="">
dm-users mailing list<br class="">
<a href="mailto:dm-users@lists.lsst.org" target="_blank" class="">dm-users@lists.lsst.org</a><br class="">
<a href="https://lists.lsst.org/mailman/listinfo/dm-users" target="_blank" class="">https://lists.lsst.org/mailman/listinfo/dm-users</a><br class=""></blockquote></div><br class=""><br clear="all" class=""><div class=""><br class=""></div>-- <br class=""><div class="">K. Simon Krughoff<br class="">University of Washington<br class="">Department of Astronomy<br class=""><br class="">Physics-Astronomy Bldg.<br class="">3910 15th Ave NE<br class="">Room C319<br class="">Seattle WA 98195-0002 <br class="">USA<br class=""><br class=""><a href="tel:%28206%29543-9487" value="+12065439487" target="_blank" class="">(206)543-9487</a></div>
</div>
</div></blockquote></div><br class=""></div></div><br class=""></blockquote></div><br class=""><br clear="all" class=""><div class=""><br class=""></div>-- <br class=""><div class="">K. Simon Krughoff<br class="">University of Washington<br class="">Department of Astronomy<br class=""><br class="">Physics-Astronomy Bldg.<br class="">3910 15th Ave NE<br class="">Room C319<br class="">Seattle WA 98195-0002 <br class="">USA<br class=""><br class=""><a href="tel:%28206%29543-9487" value="+12065439487" target="_blank" class="">(206)543-9487</a></div>
</div>
</div></blockquote></div><br class=""></div></div></div><br class=""></blockquote></div><br class=""><br clear="all" class=""><div class=""><br class=""></div>-- <br class=""><div class="">K. Simon Krughoff<br class="">University of Washington<br class="">Department of Astronomy<br class=""><br class="">Physics-Astronomy Bldg.<br class="">3910 15th Ave NE<br class="">Room C319<br class="">Seattle WA 98195-0002 <br class="">USA<br class=""><br class=""><a href="tel:%28206%29543-9487" value="+12065439487" target="_blank" class="">(206)543-9487</a></div>
</div>
</div></blockquote></div><br class=""></div></div></div><br class=""></blockquote></div><br class=""><br clear="all" class=""><div class=""><br class=""></div>-- <br class=""><div class="gmail_signature">K. Simon Krughoff<br class="">University of Washington<br class="">Department of Astronomy<br class=""><br class="">Physics-Astronomy Bldg.<br class="">3910 15th Ave NE<br class="">Room C319<br class="">Seattle WA 98195-0002 <br class="">USA<br class=""><br class="">(206)543-9487</div>
</div>
</div></blockquote></div><br class=""></div></div></div></body></html>