# calibrateTask.py example not working on current stack

XMLWordPrintable

## Details

• Type: Bug
• Status: To Do
• Resolution: Unresolved
• Fix Version/s: None
• Component/s:
• Labels:
None
• Templates:
• Story Points:
1
• Team:

## Description

The calibrateTask.py example in the \$PIPE_TASKS_DIR/examples subdir, which exercises both charImg and calibrate, is not working on a current version of the stack, and exits with an error that ends as so:

 ...  File "/tigress/HSC/LSST/stack_20160915/Linux64/meas_astrom/12.1-7-gfd5edcb+2/python/lsst/meas/astrom/multiindex.py", line 53, in getConfigFromEnvironment  raise RuntimeError("Unable to find andConfig.py in astrometry_net_data directory %s" % (anDir,)) RuntimeError: Unable to find andConfig.py in astrometry_net_data directory /tigress/HSC/LSST/stack_20160915/Linux64/astrometry_net_data/8.0.0.0+17 

If one sets up an older version of the stack with e.g.

 setup pipe_tasks -t w_2016_51 

And then runs the example straight (i.e. "python calibrateTask.py"), it executes and exits just fine, so clearly something broke in the last few weeks (that seems to involve a_n_d).

(Btw, it needs afwdata also to be separately installed to run correctly.)

Of course, none of our current examples are guaranteed to be working (and that's part of what the docs team will make sure is right in the future), so i don't know what the prioritization should be here, just pointing it out.

## People

• Assignee:
Unassigned
Reporter:
Mandeep Gill [X] (Inactive)
Watchers:
John Swinbank, Joshua Meyers, Mandeep Gill [X] (Inactive), Simon Krughoff