# Running another OkPy tool while OkPy editor is open causes "\> Test\_" mode to run the wrong tool

**URL:** <https://forum.orkestra.online/t/running-another-okpy-tool-while-okpy-editor-is-open-causes-test-mode-to-run-the-wrong-tool/270>\
**Category:** OkPy\
**Created:** [August 12, 2026, 10:13am UTC](https://forum.orkestra.online/t/running-another-okpy-tool-while-okpy-editor-is-open-causes-test-mode-to-run-the-wrong-tool/270 "2026-08-12T10:13:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![FilipeFinco](https://avatars.discourse-cdn.com/v4/letter/f/f0a364/32.png) [@FilipeFinco](https://forum.orkestra.online/u/FilipeFinco)\
**Post date:** [August 12, 2026, 10:13am UTC](https://forum.orkestra.online/t/running-another-okpy-tool-while-okpy-editor-is-open-causes-test-mode-to-run-the-wrong-tool/270/1 "2026-08-12T10:13:58Z")

</div>

While working on a OkPy tool I had to run another OkPy tool to setup my model for testing the tool I am currently working on in the editor. The other tool ran normally and I continued to work on the tool open in the editor.

However when using the \> Test\_ mode instead of running the current tool which is open in the editor it ran the other tool I had used before.

When I use the regular Run button instead this does not happen (my currently in editor tool is run), this only happens in the \> Test\_ mode.

Something like this:

I have tool A open in the editor. While tool A is open in the editor I ran tool B outside of the editor. When I try to \> Test\_ run tool A, tool B runs in test mode instead. Using the regular Run button opens tool A as expected, not tool B.

---

<div class="post-metadata">

**Author:** ![FilipeFinco](https://avatars.discourse-cdn.com/v4/letter/f/f0a364/32.png) [@FilipeFinco](https://forum.orkestra.online/u/FilipeFinco)\
**Post date:** [August 12, 2026, 10:20am UTC](https://forum.orkestra.online/t/running-another-okpy-tool-while-okpy-editor-is-open-causes-test-mode-to-run-the-wrong-tool/270/2 "2026-08-12T10:20:59Z")

</div>

It also causes the Save button to not save the currently open tool (A), but to save the tool run outside (B), basically duplicate saving only the other tool (B) and loosing changes to the in editor tool (A).

---

<div class="post-metadata">

**Author:** ![m.elayoubi](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.orkestra.online/m.elayoubi/32/12_2.png) [@m.elayoubi](https://forum.orkestra.online/u/m.elayoubi)\
**Post date:** [August 12, 2026, 3:16pm UTC](https://forum.orkestra.online/t/running-another-okpy-tool-while-okpy-editor-is-open-causes-test-mode-to-run-the-wrong-tool/270/3 "2026-08-12T15:16:05Z")

</div>

hey @FilipeFinco . Thanks for reporting this. It should normally not be possible to run tool B with tool A opened in the editor. It looks like one of our guards is not functioning propperly.

we’ll look closer at it!

---

<div class="post-metadata">

**Author:** ![m.elayoubi](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.orkestra.online/m.elayoubi/32/12_2.png) [@m.elayoubi](https://forum.orkestra.online/u/m.elayoubi)\
**Post date:** [September 22, 2026, 9:27pm UTC](https://forum.orkestra.online/t/running-another-okpy-tool-while-okpy-editor-is-open-causes-test-mode-to-run-the-wrong-tool/270/4 "2026-09-22T21:27:55Z")

</div>

update : this has been resolved in Orkestra 2.4.0.13 or more recent
