# Intake 'UserWarning: Shell command'

**URL:** https://forum.access-hive.org.au/t/intake-userwarning-shell-command/6382
**Category:** Technical
**Tags:** help, cosima
**Created:** [6 May 2026 04:04 UTC](https://forum.access-hive.org.au/t/intake-userwarning-shell-command/6382 "2026-05-06T04:04:25Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![adele-morrison](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/adele-morrison/32/90_2.png) [@adele-morrison](https://forum.access-hive.org.au/u/adele-morrison)
#### Post date: [6 May 2026 04:04 UTC](https://forum.access-hive.org.au/t/intake-userwarning-shell-command/6382/1 "2026-05-06T04:04:26Z")

</div>

Since analysis3-26.02 I’ve been getting this warning:

```auto
/g/data/xp65/public/apps/med_conda/envs/analysis3-26.02/lib/python3.11/site-packages/intake/catalog/utils.py:173: UserWarning: Shell command not executed due to getshell=False
  warnings.warn("Shell command not executed due to getshell=False")

```

when running:

```auto
import intake
cat = intake.cat.access_nri

```

Can we suppress this? It’s annoying to have it appearing in all the COSIMA Recipes etc.

---

<div class="post-metadata">

### Author: ![edoyango](https://avatars.discourse-cdn.com/v4/letter/e/bbe5ce/32.png) [@edoyango](https://forum.access-hive.org.au/u/edoyango)
#### Post date: [6 May 2026 04:21 UTC](https://forum.access-hive.org.au/t/intake-userwarning-shell-command/6382/2 "2026-05-06T04:21:45Z")

</div>

Hi Adele, thanks for posting your question!

Just wondering if you were after a user-side solution (i.e. something _you_ can do to suppress the warnings e.g. in a notebook) or you’re after a fix in the analysis3 environment/packages?

---

<div class="post-metadata">

### Author: ![adele-morrison](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/adele-morrison/32/90_2.png) [@adele-morrison](https://forum.access-hive.org.au/u/adele-morrison)
#### Post date: [6 May 2026 04:49 UTC](https://forum.access-hive.org.au/t/intake-userwarning-shell-command/6382/3 "2026-05-06T04:49:15Z")

</div>

If appropriate/possible, a fix in the analysis3 environment/packages would be great!

---

<div class="post-metadata">

### Author: ![CharlesTurner](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/charlesturner/32/2518_2.png) [@CharlesTurner](https://forum.access-hive.org.au/u/CharlesTurner)
#### Post date: [6 May 2026 07:18 UTC](https://forum.access-hive.org.au/t/intake-userwarning-shell-command/6382/4 "2026-05-06T07:18:16Z")

</div>

Okay, looks like this should be relatively straightforward to resolve: it was changed in March following this issue: [[Security] Private reporting channel for critical vulnerability · Issue #883 · intake/intake · GitHub](https://github.com/intake/intake/issues/883)

I’ve had a poke and it seems like there might be some issues surrounding it in intake, since I configured getshell and I’m still getting warnings.

Doing a bit more digging now…

---

<div class="post-metadata">

### Author: ![CharlesTurner](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/charlesturner/32/2518_2.png) [@CharlesTurner](https://forum.access-hive.org.au/u/CharlesTurner)
#### Post date: [7 May 2026 02:39 UTC](https://forum.access-hive.org.au/t/intake-userwarning-shell-command/6382/5 "2026-05-07T02:39:12Z")

</div>



---

<div class="post-metadata">

### Author: ![CharlesTurner](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/charlesturner/32/2518_2.png) [@CharlesTurner](https://forum.access-hive.org.au/u/CharlesTurner)
#### Post date: [7 May 2026 03:10 UTC](https://forum.access-hive.org.au/t/intake-userwarning-shell-command/6382/6 "2026-05-07T03:10:33Z")

</div>

> <https://github.com/intake/intake/pull/888/files>
>
> Should fail - fix coming in a secondary commit.
> 
> This is a super minimal test …failure & fix - the rest of the function is ~8 years old so I'd like to keep the behaviour as close to how it was as possible. 
> 
> @martindurant this could easily be cleaned up - happy to improve the code if you think this is the right way to go here.
> 
> Closes #887

Fingers crossed this gets merged soon. I’ll roll back intake to the version prior to these changes in analysis3 shortly.

---

<div class="post-metadata">

### Author: ![CharlesTurner](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/charlesturner/32/2518_2.png) [@CharlesTurner](https://forum.access-hive.org.au/u/CharlesTurner)
#### Post date: [7 May 2026 06:19 UTC](https://forum.access-hive.org.au/t/intake-userwarning-shell-command/6382/7 "2026-05-07T06:19:17Z")

</div>

Intake is now pinned to v2.0.8 in analysis3-26.05. That should resolve the warnings.

When the patch gets merged, I’ll relax the pin again.

---

<div class="post-metadata">

### Author: ![adele-morrison](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/adele-morrison/32/90_2.png) [@adele-morrison](https://forum.access-hive.org.au/u/adele-morrison)
#### Post date: [7 May 2026 09:56 UTC](https://forum.access-hive.org.au/t/intake-userwarning-shell-command/6382/8 "2026-05-07T09:56:35Z")

</div>

Thanks @CharlesTurner - you’re amazing!
