# Tk-multi-publish2 - 'context' object is not callable

**URL:** <https://community.shotgridsoftware.com/t/tk-multi-publish2-context-object-is-not-callable/7994>\
**Category:** Pipeline Integrations\
**Created:** [April 2, 2020, 7:00pm UTC](https://community.shotgridsoftware.com/t/tk-multi-publish2-context-object-is-not-callable/7994 "2020-04-02T19:00:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ricardo\_Musch](https://sea1.discourse-cdn.com/shotgunsoftware/user_avatar/community.shotgridsoftware.com/ricardo_musch/32/405_2.png) [@Ricardo\_Musch](https://community.shotgridsoftware.com/u/Ricardo_Musch)\
**Post date:** [April 2, 2020, 7:00pm UTC](https://community.shotgridsoftware.com/t/tk-multi-publish2-context-object-is-not-callable/7994/1 "2020-04-02T19:00:02Z")

</div>

I’m getting a weird glitch in my collector script.

```
item.context_change_allowed = True

```

The parent item’s context widget shows and says “Loading…”, the item’s context widget never shows up.  
If I select the parent item again the widget is gone.

![image](https://global.discourse-cdn.com/shotgunsoftware/original/2X/3/3b0646e05c0df7cecce61d715f215d279abf7a8f.png)

I am correct to assume that above command will show the context change widget in the publisher2 ui?

tk-multi-publish2: v2.5.0 (also earlier version v2.3.8)  
Core: Latest 19.xx and previous 18.xx  
The Publisher runs in Nuke 11.3v6.

---

<div class="post-metadata">

**Author:** ![philip.scadding](https://sea1.discourse-cdn.com/shotgunsoftware/user_avatar/community.shotgridsoftware.com/philip.scadding/32/30_2.png) [@philip.scadding](https://community.shotgridsoftware.com/u/philip.scadding)\
**Post date:** [April 3, 2020, 9:11am UTC](https://community.shotgridsoftware.com/t/tk-multi-publish2-context-object-is-not-callable/7994/2 "2020-04-03T09:11:56Z")

</div>

Hey @Ricardo_Musch!  
Yeah that is correct, setting that should show the widget, in fact that was discussed [here](https://community.shotgridsoftware.com/t/tk-multi-publish2-different-styles-of-item-collection-in-standalone-vs-dcc/7883/5) recently.

However, have you got an item as a child of another item?  
Please could you show a screengrab of your hierarchy?  
Joe’s post in my link says that it doesn’t work for nested items, and he’s made a PR for that, which we have logged.

---

<div class="post-metadata">

**Author:** ![Ricardo\_Musch](https://sea1.discourse-cdn.com/shotgunsoftware/user_avatar/community.shotgridsoftware.com/ricardo_musch/32/405_2.png) [@Ricardo\_Musch](https://community.shotgridsoftware.com/u/Ricardo_Musch)\
**Post date:** [April 3, 2020, 12:27pm UTC](https://community.shotgridsoftware.com/t/tk-multi-publish2-context-object-is-not-callable/7994/3 "2020-04-03T12:27:27Z")

</div>

Ah!

Yes my items are children of a parent item indeed!

I’ll have a go at doing them without that!

---

<div class="post-metadata">

**Author:** ![philip.scadding](https://sea1.discourse-cdn.com/shotgunsoftware/user_avatar/community.shotgridsoftware.com/philip.scadding/32/30_2.png) [@philip.scadding](https://community.shotgridsoftware.com/u/philip.scadding)\
**Post date:** [April 3, 2020, 12:28pm UTC](https://community.shotgridsoftware.com/t/tk-multi-publish2-context-object-is-not-callable/7994/4 "2020-04-03T12:28:59Z")

</div>

OK I apologise for the inconvenience, hopefully we’ll get to that PR at somepoint.
