# Bug since 4.2.2 ( python node + extract context properties )

**URL:** <https://forum.knime.com/t/bug-since-4-2-2-python-node-extract-context-properties/27788>\
**Category:** KNIME Analytics Platform\
**Created:** [October 3, 2020, 2:39pm UTC](https://forum.knime.com/t/bug-since-4-2-2-python-node-extract-context-properties/27788 "2020-10-03T14:39:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sebversailles](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/s/48db29/32.png) [@sebversailles](https://forum.knime.com/u/sebversailles)\
**Post date:** [October 3, 2020, 2:39pm UTC](https://forum.knime.com/t/bug-since-4-2-2-python-node-extract-context-properties/27788/1 "2020-10-03T14:39:40Z")

</div>

Hello,  
Since I upgraded to 4.2.2 , when I run a python node after a “Extract Context Properties” node, it crashes.

I think this is because of the empty string variable “context.job.id”

I don’t know which of those two nodes need to be fixed, maybe both, or maybe Knime’s tolerance to empty variables should be adapted.

Please find hereby a minimal workflow showcasing the problem.  
[python\_bug.knwf](https://forum.knime.com/uploads/short-url/9et3MSkJFv9exWOfySj6A13XTF4.knwf) (11.0 KB)  
Br,  
Sébastien

---

<div class="post-metadata">

**Author:** ![AlexanderFillbrunn](https://forum-cdn.knime.com/user_avatar/forum.knime.com/alexanderfillbrunn/32/357_2.png) [@AlexanderFillbrunn](https://forum.knime.com/u/AlexanderFillbrunn)\
**Post date:** [October 5, 2020, 9:22am UTC](https://forum.knime.com/t/bug-since-4-2-2-python-node-extract-context-properties/27788/2 "2020-10-05T09:22:24Z")

</div>

Hi Sébastien,  
Thanks for reporting this! I can reproduce this issue and have created an internal ticket (number AP-15256). It is a problem with the Python serialization code but should not be too difficult to fix.  
Kind regards,  
Alexander

---

<div class="post-metadata">

**Author:** ![AlexanderFillbrunn](https://forum-cdn.knime.com/user_avatar/forum.knime.com/alexanderfillbrunn/32/357_2.png) [@AlexanderFillbrunn](https://forum.knime.com/u/AlexanderFillbrunn)\
**Post date:** [October 6, 2020, 4:09pm UTC](https://forum.knime.com/t/bug-since-4-2-2-python-node-extract-context-properties/27788/3 "2020-10-06T16:09:29Z")

</div>

Hi Sébastien,  
Our developers recommend the following quick short-term workaround: in the Extract Context Properties list, disable the setting for “Extract all available properties” but keep context.job.id in the “Include” list.  
Kind regards,  
Alexander

---

<div class="post-metadata">

**Author:** ![system](https://forum-cdn.knime.com/uploads/default/original/1X/ab3ccf34482a0329361734a18199390177204f15.png) [@system](https://forum.knime.com/u/system)\
**Post date:** [April 7, 2021, 4:10am UTC](https://forum.knime.com/t/bug-since-4-2-2-python-node-extract-context-properties/27788/4 "2021-04-07T04:10:26Z")

</div>

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.
