# Dynamo script crashes Revit

**URL:** <https://forum.dynamobim.com/t/dynamo-script-crashes-revit/35297>\
**Category:** Revit\
**Created:** [April 27, 2019, 11:46am UTC](https://forum.dynamobim.com/t/dynamo-script-crashes-revit/35297 "2019-04-27T11:46:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mironov.boris](https://avatars.discourse-cdn.com/v4/letter/m/97f17d/32.png) [@mironov.boris](https://forum.dynamobim.com/u/mironov.boris)\
**Post date:** [April 27, 2019, 11:46am UTC](https://forum.dynamobim.com/t/dynamo-script-crashes-revit/35297/1 "2019-04-27T11:46:06Z")

</div>

Can someone tell me why this script crashes my Revit 2017.2 when I’m trying to open it? (BE CAREFULL!) It worked totally fine when I created it. Does it work with Revit 2018?  
[Lighting height (all devices).dyn](https://forum.dynamobim.com/uploads/short-url/xuZReWTkp4Mpmox7dBseRnwlHQN.dyn) (40.0 KB)

---

<div class="post-metadata">

**Author:** ![Kulkul](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/kulkul/32/49801_2.png) [@Kulkul](https://forum.dynamobim.com/u/Kulkul)\
**Post date:** [April 27, 2019, 3:39pm UTC](https://forum.dynamobim.com/t/dynamo-script-crashes-revit/35297/2 "2019-04-27T15:39:46Z")

</div>

Hi @mironov.boris

Try Freezing all the nodes -\> Unfreeze each operation as you go -\> Run your graph. This way you will know which node is culprit. Cheers!

---

<div class="post-metadata">

**Author:** ![mironov.boris](https://avatars.discourse-cdn.com/v4/letter/m/97f17d/32.png) [@mironov.boris](https://forum.dynamobim.com/u/mironov.boris)\
**Post date:** [April 27, 2019, 5:40pm UTC](https://forum.dynamobim.com/t/dynamo-script-crashes-revit/35297/3 "2019-04-27T17:40:00Z")

</div>

“Trying to open” means when I click open in dynamo, not “run”. Anyway, it seems working on my home pc, so the issue appears only on my working one which is pretty weird.

---

<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:** [April 27, 2019, 8:44pm UTC](https://forum.dynamobim.com/t/dynamo-script-crashes-revit/35297/4 "2019-04-27T20:44:32Z")

</div>

Sounds like the library race issue. Try the daily build of 2.0.3 from the Dynamo builds site. Moving packages onto the C drive and removing any with dependencies also helps that case.
