# Trouble sharing script with co-worker

**URL:** <https://forum.dynamobim.com/t/trouble-sharing-script-with-co-worker/17583>\
**Category:** Uncategorized\
**Created:** [December 20, 2017, 10:11pm UTC](https://forum.dynamobim.com/t/trouble-sharing-script-with-co-worker/17583 "2017-12-20T22:11:59Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jason\_Seck](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jason_seck/32/203743_2.png) [@Jason\_Seck](https://forum.dynamobim.com/u/Jason_Seck)\
**Post date:** [December 20, 2017, 10:11pm UTC](https://forum.dynamobim.com/t/trouble-sharing-script-with-co-worker/17583/1 "2017-12-20T22:11:59Z")

</div>

I have a very simple script which creates worksets and it works fine for me. I sent it to a co-worker to use and when he runs the script, nothing happens. He doesn’t get any error messages and no new worksets are created. I’ve ensured we are both using the same version of Dynamo and have the same packages installed. Has anybody experienced this before? What am I missing?

---

<div class="post-metadata">

**Author:** ![Tom\_Kunsman](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/tom_kunsman/32/133796_2.png) [@Tom\_Kunsman](https://forum.dynamobim.com/u/Tom_Kunsman)\
**Post date:** [December 20, 2017, 11:28pm UTC](https://forum.dynamobim.com/t/trouble-sharing-script-with-co-worker/17583/2 "2017-12-20T23:28:51Z")

</div>

Is this the same Revit project or are the two of you working in different models trying this?

---

<div class="post-metadata">

**Author:** ![Jason\_Seck](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jason_seck/32/203743_2.png) [@Jason\_Seck](https://forum.dynamobim.com/u/Jason_Seck)\
**Post date:** [December 20, 2017, 11:37pm UTC](https://forum.dynamobim.com/t/trouble-sharing-script-with-co-worker/17583/3 "2017-12-20T23:37:24Z")

</div>

We’ve tried both. Earlier we were in the same model. He ran it and it did nothing. I ran it and it worked.

---

<div class="post-metadata">

**Author:** ![jacob.small](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jacob.small/32/161030_2.png) [@jacob.small](https://forum.dynamobim.com/u/jacob.small)\
**Post date:** [December 21, 2017, 3:00am UTC](https://forum.dynamobim.com/t/trouble-sharing-script-with-co-worker/17583/4 "2017-12-21T03:00:27Z")

</div>

Have him send a screenshot of the file after he runs it. Also upload the DYN for troubleshooting reasons.

---

<div class="post-metadata">

**Author:** ![Marcel\_Rijsmus](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/marcel_rijsmus/32/8539_2.png) [@Marcel\_Rijsmus](https://forum.dynamobim.com/u/Marcel_Rijsmus)\
**Post date:** [December 21, 2017, 10:27am UTC](https://forum.dynamobim.com/t/trouble-sharing-script-with-co-worker/17583/5 "2017-12-21T10:27:41Z")

</div>

And check if he opened Dynamo after opening the project and not before

---

<div class="post-metadata">

**Author:** ![Tom\_Kunsman](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/tom_kunsman/32/133796_2.png) [@Tom\_Kunsman](https://forum.dynamobim.com/u/Tom_Kunsman)\
**Post date:** [December 21, 2017, 12:52pm UTC](https://forum.dynamobim.com/t/trouble-sharing-script-with-co-worker/17583/6 "2017-12-21T12:52:54Z")

</div>

A screenshot of the workset dialog would also be nice, after the successful run of course.

---

<div class="post-metadata">

**Author:** ![Jason\_Seck](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jason_seck/32/203743_2.png) [@Jason\_Seck](https://forum.dynamobim.com/u/Jason_Seck)\
**Post date:** [December 21, 2017, 4:19pm UTC](https://forum.dynamobim.com/t/trouble-sharing-script-with-co-worker/17583/7 "2017-12-21T16:19:38Z")

</div>

Here is the script.[Model Setup\_Worksets.dyn](https://forum.dynamobim.com/uploads/short-url/wIaHCYNysn13l7sXM4LVNmvQVMB.dyn) (8.0 KB)

---

<div class="post-metadata">

**Author:** ![Jason\_Seck](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jason_seck/32/203743_2.png) [@Jason\_Seck](https://forum.dynamobim.com/u/Jason_Seck)\
**Post date:** [December 21, 2017, 4:21pm UTC](https://forum.dynamobim.com/t/trouble-sharing-script-with-co-worker/17583/8 "2017-12-21T16:21:12Z")

</div>

Here is my Worksets window, before and after running the script.

 ![worksets_before](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/c/d/cdba53548f6ab094b6e368319cd49928c5fb3571.PNG) ![worksets_after](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/a/e/aeb0789df5b1642e2fb32035cd105325d1dd80c8.PNG)

---

<div class="post-metadata">

**Author:** ![Jason\_Seck](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jason_seck/32/203743_2.png) [@Jason\_Seck](https://forum.dynamobim.com/u/Jason_Seck)\
**Post date:** [December 21, 2017, 5:33pm UTC](https://forum.dynamobim.com/t/trouble-sharing-script-with-co-worker/17583/9 "2017-12-21T17:33:26Z")

</div>

Mystery solved! It turns out we had different versions of Iron Python installed. I had 2.7.3 and he had 2.7.6.3. We both uninstalled Dynamo and Iron Python and then reinstalled Dynamo. Doing that installed Iron Python 2.7.3. The script works for both of us now.
