# Tutorial 04b DP0.2 giving error in cell 2

**URL:** <https://www.rubin.community/t/tutorial-04b-dp0-2-giving-error-in-cell-2/10964>\
**Category:** Support\
**Created:** [September 15, 2025, 3:58pm UTC](https://www.rubin.community/t/tutorial-04b-dp0-2-giving-error-in-cell-2/10964 "2025-09-15T15:58:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![JonLoveday](https://sea2.discourse-cdn.com/flex002/user_avatar/www.rubin.community/jonloveday/32/3634_2.png) [@JonLoveday](https://www.rubin.community/u/JonLoveday)\
**Post date:** [September 15, 2025, 3:58pm UTC](https://www.rubin.community/t/tutorial-04b-dp0-2-giving-error-in-cell-2/10964/1 "2025-09-15T15:58:08Z")

</div>

Running tutorial 04b in DP0.2, LSST Science Pipelines version: Weekly 2025\_17, I get the following error in cell 2:  
butler = dafButler.Butler(‘dp02’, collections=‘2.2i/runs/DP0.2’)  
--------------------------------------------------------------------------- FileNotFoundError Traceback (most recent call last) File [/opt/lsst/software/stack/conda/envs/lsst-scipipe-10.1.0/share/eups/Linux64/daf\_butler/g6dd59efbe6](https://usdf-rsp.slac.stanford.edu/opt/lsst/software/stack/conda/envs/lsst-scipipe-10.1.0/share/eups/Linux64/daf_butler/g6dd59efbe6)+ec144cf465[/python/lsst/daf/butler/\_butler\_config.py:138](https://usdf-rsp.slac.stanford.edu/python/lsst/daf/butler/_butler_config.py#line=137), in ButlerConfig. **init** (self, other, searchPaths, without\_datastore) 137 try: → 138 butlerConfig = Config(other) 139 except FileNotFoundError as e: 140 # No reason to talk about aliases unless we were given a 141 # string and the alias was not resolved. File [/opt/lsst/software/stack/conda/envs/lsst-scipipe-10.1.0/share/eups/Linux64/daf\_butler/g6dd59efbe6](https://usdf-rsp.slac.stanford.edu/opt/lsst/software/stack/conda/envs/lsst-scipipe-10.1.0/share/eups/Linux64/daf_butler/g6dd59efbe6)+ec144cf465[/python/lsst/daf/butler/\_config.py:287](https://usdf-rsp.slac.stanford.edu/python/lsst/daf/butler/_config.py#line=286), in Config. **init** (self, other) 285 elif isinstance(other, str | ResourcePath | Path): 286 # if other is a string, assume it is a file path[/URI](https://usdf-rsp.slac.stanford.edu/URI) → 287 self.\_\_initFromUri(other) 288 self.\_processExplicitIncludes() File [/opt/lsst/software/stack/conda/envs/lsst-scipipe-10.1.0/share/eups/Linux64/daf\_butler/g6dd59efbe6](https://usdf-rsp.slac.stanford.edu/opt/lsst/software/stack/conda/envs/lsst-scipipe-10.1.0/share/eups/Linux64/daf_butler/g6dd59efbe6)+ec144cf465[/python/lsst/daf/butler/\_config.py:393](https://usdf-rsp.slac.stanford.edu/python/lsst/daf/butler/_config.py#line=392), in Config.\_\_initFromUri(self, path) 392 if not uri.exists(): → 393 raise FileNotFoundError(f"Config location {uri} does not exist.") 394 raise RuntimeError(f"The Config URI does not have a supported extension: {uri}") FileNotFoundError: Config location file:///home/l/loveday/notebooks/tutorial-notebooks/DP0.2/dp02 does not exist. The above exception was the direct cause of the following exception: FileNotFoundError Traceback (most recent call last) Cell In[2], line 1 ----\> 1 butler = dafButler.Butler(‘dp02’, collections=‘2.2i[/runs/DP0.2](https://usdf-rsp.slac.stanford.edu/runs/DP0.2)’) File [/opt/lsst/software/stack/conda/envs/lsst-scipipe-10.1.0/share/eups/Linux64/daf\_butler/g6dd59efbe6](https://usdf-rsp.slac.stanford.edu/opt/lsst/software/stack/conda/envs/lsst-scipipe-10.1.0/share/eups/Linux64/daf_butler/g6dd59efbe6)+ec144cf465[/python/lsst/daf/butler/\_butler.py:166](https://usdf-rsp.slac.stanford.edu/python/lsst/daf/butler/_butler.py#line=165), in Butler. **new** (cls, config, collections, run, searchPaths, writeable, inferDefaults, without\_datastore, metrics, \*\*kwargs) 152 def **new** ( 153 cls, 154 config: Config | ResourcePathExpression | None = None, (…) 163 \*\*kwargs: Any, 164 ) → Butler: 165 if cls is Butler: → 166 return Butler.from\_config( 167 config=config, 168 collections=collections, 169 run=run, 170 searchPaths=searchPaths, 171 writeable=writeable, 172 inferDefaults=inferDefaults, 173 without\_datastore=without\_datastore, 174 metrics=metrics, 175 \*\*kwargs, 176 ) 178 # Note: we do not pass any parameters to **new** , Python will pass them 179 # to **init** after **new** returns sub-class instance. 180 return super(). **new** (cls) File [/opt/lsst/software/stack/conda/envs/lsst-scipipe-10.1.0/share/eups/Linux64/daf\_butler/g6dd59efbe6](https://usdf-rsp.slac.stanford.edu/opt/lsst/software/stack/conda/envs/lsst-scipipe-10.1.0/share/eups/Linux64/daf_butler/g6dd59efbe6)+ec144cf465[/python/lsst/daf/butler/\_butler.py:336](https://usdf-rsp.slac.stanford.edu/python/lsst/daf/butler/_butler.py#line=335), in Butler.from\_config(cls, config, collections, run, searchPaths, writeable, inferDefaults, without\_datastore, metrics, \*\*kwargs) 325 options = ButlerInstanceOptions( 326 collections=collections, 327 run=run, (…) 331 kwargs=kwargs, 332 ) 334 # Load the Butler configuration. This may involve searching the 335 # environment to locate a configuration file. → 336 butler\_config = ButlerConfig(config, searchPaths=searchPaths, without\_datastore=without\_datastore) 337 butler\_type = butler\_config.get\_butler\_type() 339 # Make DirectButler if class is not specified. File [/opt/lsst/software/stack/conda/envs/lsst-scipipe-10.1.0/share/eups/Linux64/daf\_butler/g6dd59efbe6](https://usdf-rsp.slac.stanford.edu/opt/lsst/software/stack/conda/envs/lsst-scipipe-10.1.0/share/eups/Linux64/daf_butler/g6dd59efbe6)+ec144cf465[/python/lsst/daf/butler/\_butler\_config.py:159](https://usdf-rsp.slac.stanford.edu/python/lsst/daf/butler/_butler_config.py#line=158), in ButlerConfig. **init** (self, other, searchPaths, without\_datastore) 157 else: 158 errmsg = str(e) → 159 raise FileNotFoundError(errmsg) from e 161 configFile = butlerConfig.configFile 162 if configFile is not None: FileNotFoundError: Config location file:///home/l/loveday/notebooks/tutorial-notebooks/DP0.2/dp02 does not exist. (given ‘dp02’ and known aliases: [/repo/tts](https://usdf-rsp.slac.stanford.edu/repo/tts), embargo, [/repo/embargo\_new](https://usdf-rsp.slac.stanford.edu/repo/embargo_new)+sasquatch\_dev, embargo\_session, embargo\_old+sasquatch\_dev, [/repo/embargo\_old](https://usdf-rsp.slac.stanford.edu/repo/embargo_old), ops-rehearsal-3-prep, prompt, [/repo/embargo\_old](https://usdf-rsp.slac.stanford.edu/repo/embargo_old)+sasquatch\_dev, [/repo/dc2](https://usdf-rsp.slac.stanford.edu/repo/dc2), [/repo/embargo.sasquatch\_dev](https://usdf-rsp.slac.stanford.edu/repo/embargo.sasquatch_dev), embargo.sasquatch\_dev, embargo\_or5.sasquatch\_dev, [/repo/hsc-temp](https://usdf-rsp.slac.stanford.edu/repo/hsc-temp), LSSTCam, [/repo/dp1\_prep](https://usdf-rsp.slac.stanford.edu/repo/dp1_prep), [/repo/ops-rehearsal-3-prep.sasquatch\_dev](https://usdf-rsp.slac.stanford.edu/repo/ops-rehearsal-3-prep.sasquatch_dev), dp1\_prep, [/repo/embargo](https://usdf-rsp.slac.stanford.edu/repo/embargo), solarsystem\_embargo, [/repo/main](https://usdf-rsp.slac.stanford.edu/repo/main)+sasquatch\_dev, embargo\_or4+sasquatch\_dev, [/repo/embargo\_old.sasquatch\_dev](https://usdf-rsp.slac.stanford.edu/repo/embargo_old.sasquatch_dev), embargo\_new.sasquatch\_dev, embargo\_or4.sasquatch\_dev, embargo\_readonly, embargo\_old, [/repo/ucd](https://usdf-rsp.slac.stanford.edu/repo/ucd), embargo\_new, [/repo/dp1](https://usdf-rsp.slac.stanford.edu/repo/dp1), solarsystem, [/repo/aos\_imsim](https://usdf-rsp.slac.stanford.edu/repo/aos_imsim), [/repo/main](https://usdf-rsp.slac.stanford.edu/repo/main), dp1, embargo\_or5, LATISS, [/repo/embargo](https://usdf-rsp.slac.stanford.edu/repo/embargo)+sasquatch\_dev, [/repo/bts](https://usdf-rsp.slac.stanford.edu/repo/bts), LSSTComCam, [/repo/ir2](https://usdf-rsp.slac.stanford.edu/repo/ir2), embargo\_or4, [/repo/embargo\_new](https://usdf-rsp.slac.stanford.edu/repo/embargo_new), embargo\_old.sasquatch\_dev, [/repo/main.sasquatch\_dev](https://usdf-rsp.slac.stanford.edu/repo/main.sasquatch_dev), [/repo/ops-rehearsal-3-prep](https://usdf-rsp.slac.stanford.edu/repo/ops-rehearsal-3-prep)+sasquatch\_dev, embargo\_or5+sasquatch\_dev, embargo+sasquatch\_dev, [/repo/oga](https://usdf-rsp.slac.stanford.edu/repo/oga), embargo\_new+sasquatch\_dev, [/repo/prompt](https://usdf-rsp.slac.stanford.edu/repo/prompt), [/repo/embargo\_new.sasquatch\_dev](https://usdf-rsp.slac.stanford.edu/repo/embargo_new.sasquatch_dev), [/repo/dc2](https://usdf-rsp.slac.stanford.edu/repo/dc2)+sasquatch\_dev, [/repo/ops-rehearsal-3-prep](https://usdf-rsp.slac.stanford.edu/repo/ops-rehearsal-3-prep))

Am I supposed to obtain a config file from somewhere?

---

<div class="post-metadata">

**Author:** ![jeffcarlin](https://sea2.discourse-cdn.com/flex002/user_avatar/www.rubin.community/jeffcarlin/32/491_2.png) [@jeffcarlin](https://www.rubin.community/u/jeffcarlin)\
**Post date:** [September 15, 2025, 4:13pm UTC](https://www.rubin.community/t/tutorial-04b-dp0-2-giving-error-in-cell-2/10964/2 "2025-09-15T16:13:59Z")

</div>

Hi Jon-

You didn’t specify in your message, but it looks like you’re trying to run this at the USDF? The tutorial notebooks are written assuming users are accessing data products released via the “public” RSP at [data.lsst.cloud](https://data.lsst.cloud/). The “dp02” alias for the Data Preview 0.2 Butler is defined specifically in the cloud instance of the RSP, and is likely not defined at the USDF.

In general you would need to edit paths, repositories, and collection names if you wanted to run the tutorial notebooks at the USDF. I recommend sticking to data.lsst.cloud when running the tutorials.

---

<div class="post-metadata">

**Author:** ![JonLoveday](https://sea2.discourse-cdn.com/flex002/user_avatar/www.rubin.community/jonloveday/32/3634_2.png) [@JonLoveday](https://www.rubin.community/u/JonLoveday)\
**Post date:** [September 16, 2025, 3:25pm UTC](https://www.rubin.community/t/tutorial-04b-dp0-2-giving-error-in-cell-2/10964/3 "2025-09-16T15:25:23Z")

</div>

Hi Jeff

Yes, I was trying to run this on USDF. Thanks for the clarification.

Cheers, Jon
