# Undefined method cacheable

**URL:** <https://discourse.openondemand.org/t/undefined-method-cacheable/1186>\
**Category:** Get Help\
**Created:** [October 29, 2020, 12:31am UTC](https://discourse.openondemand.org/t/undefined-method-cacheable/1186 "2020-10-29T00:31:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![KMuriki](https://avatars.discourse-cdn.com/v4/letter/k/838e76/32.png) [@KMuriki](https://discourse.openondemand.org/u/KMuriki)\
**Post date:** [October 29, 2020, 12:31am UTC](https://discourse.openondemand.org/t/undefined-method-cacheable/1186/1 "2020-10-29T00:31:51Z")

</div>

Trying the interactive Jupyter Server App based on bc\_osc\_jupyter example

> **[OSC/bc\_osc\_jupyter](https://github.com/OSC/bc_osc_jupyter/tree/7f8c5c6242927d50fe1aa010ab6db4124bbdea3e)**
>
> Batch Connect - OSC Jupyter Notebook Server. Contribute to OSC/bc\_osc\_jupyter development by creating an account on GitHub.

When I open my Jupyter server launch form I keep seeing this warning on the top

"Unable to use previously cached values, using defaults instead. (undefined method `cacheable?’ for nil:NilClass)

I tried adding and removing ‘cacheable: false’ under my cluster variable inside form.yml but either dint help. It still gives undefined method warning in both cases. What am I missing ? Thanks for your time.

–Krishna.

---

<div class="post-metadata">

**Author:** ![jeff.ohrstrom](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/jeff.ohrstrom/32/136_2.png) [@jeff.ohrstrom](https://discourse.openondemand.org/u/jeff.ohrstrom)\
**Post date:** [October 29, 2020, 1:52pm UTC](https://discourse.openondemand.org/t/undefined-method-cacheable/1186/2 "2020-10-29T13:52:51Z")

</div>

I think we fixed this bug in 1.8.x upgrades. There was a bug where when you had a field called `X` then removed it, now it’s been cached but can’t be applied to the form anymore. In any case you can can upgrade and you won’t see the error anymore.

Or you can remove your context file from

```auto
~/ondemand/data/sys/dashboard/batch_connect/sys/jupyter/context.json

```

if it’s a system app (sys) named jupyter. Or maybe here if it’s a `dev` app by the same name.

```auto
~/ondemand/data/sys/dashboard/batch_connect/dev/jupyter/context.json

```

---

<div class="post-metadata">

**Author:** ![westburg.2](https://avatars.discourse-cdn.com/v4/letter/w/0ea827/32.png) [@westburg.2](https://discourse.openondemand.org/u/westburg.2)\
**Post date:** [May 26, 2022, 3:43pm UTC](https://discourse.openondemand.org/t/undefined-method-cacheable/1186/3 "2022-05-26T15:43:04Z")

</div>


