# Clockwork pkg

**URL:** <https://forum.dynamobim.com/t/clockwork-pkg/18495>\
**Category:** Packages\
**Created:** [January 25, 2018, 12:03pm UTC](https://forum.dynamobim.com/t/clockwork-pkg/18495 "2018-01-25T12:03:13Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mohammad\_Nawar](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/mohammad_nawar/32/45287_2.png) [@Mohammad\_Nawar](https://forum.dynamobim.com/u/Mohammad_Nawar)\
**Post date:** [January 25, 2018, 12:03pm UTC](https://forum.dynamobim.com/t/clockwork-pkg/18495/1 "2018-01-25T12:03:13Z")

</div>

Hi guys,

for some reason every time I open Revit the clockwork package deleted by itself and I should install it again, anybody knows why this is happen !.

thank you

---

<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:** [January 25, 2018, 1:52pm UTC](https://forum.dynamobim.com/t/clockwork-pkg/18495/2 "2018-01-25T13:52:10Z")

</div>

Post a screenshot of your node and package paths, and a second screenshot of the contents of those directories.

---

<div class="post-metadata">

**Author:** ![Mohammad\_Nawar](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/mohammad_nawar/32/45287_2.png) [@Mohammad\_Nawar](https://forum.dynamobim.com/u/Mohammad_Nawar)\
**Post date:** [January 28, 2018, 10:38am UTC](https://forum.dynamobim.com/t/clockwork-pkg/18495/3 "2018-01-28T10:38:27Z")

</div>

As requested

 ![1](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/b/b/bb1c7b244adc82b0689a4a802ab068705225ce76.JPG)

 ![2](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/4/1/41f905348f075a3626c4408f3c2da3ddeb806cdd.JPG)

---

<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:** [January 28, 2018, 3:20pm UTC](https://forum.dynamobim.com/t/clockwork-pkg/18495/4 "2018-01-28T15:20:56Z")

</div>

Try uninstalling and reinstalling. Backup your package directory first though.

---

<div class="post-metadata">

**Author:** ![Thomas\_Vogt](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/thomas_vogt/32/40849_2.png) [@Thomas\_Vogt](https://forum.dynamobim.com/u/Thomas_Vogt)\
**Post date:** [January 28, 2018, 10:06pm UTC](https://forum.dynamobim.com/t/clockwork-pkg/18495/5 "2018-01-28T22:06:10Z")

</div>

U can drop one dyf file from the clockwork package into Dynamo and it will pop up again maybe. I think there is a Problem of u have installed a old clockwork package in the Dynamo 1.2 folder. I Have deleted all my old Dynamo folders and downloaded all package again. It seems I have solved my Problem

---

<div class="post-metadata">

**Author:** ![Mohammad\_Nawar](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/mohammad_nawar/32/45287_2.png) [@Mohammad\_Nawar](https://forum.dynamobim.com/u/Mohammad_Nawar)\
**Post date:** [January 29, 2018, 6:17am UTC](https://forum.dynamobim.com/t/clockwork-pkg/18495/6 "2018-01-29T06:17:07Z")

</div>

Hi @jacob.small i tried to do as you said but still the same issue, and i added another directory please check the picture below.

 ![Capture](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/c/1/c1d29b19b4f3f144071ae0cbbce065eca37d9f12.JPG)

the thing is when i open any revit template the package automatically deleted from both directory 😖

---

<div class="post-metadata">

**Author:** ![Mohammad\_Nawar](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/mohammad_nawar/32/45287_2.png) [@Mohammad\_Nawar](https://forum.dynamobim.com/u/Mohammad_Nawar)\
**Post date:** [January 29, 2018, 6:17am UTC](https://forum.dynamobim.com/t/clockwork-pkg/18495/7 "2018-01-29T06:17:59Z")

</div>

I removed all 1.2 folders but still the package deleted upon revit opining

---

<div class="post-metadata">

**Author:** ![Mohammad\_Nawar](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/mohammad_nawar/32/45287_2.png) [@Mohammad\_Nawar](https://forum.dynamobim.com/u/Mohammad_Nawar)\
**Post date:** [February 1, 2018, 6:20am UTC](https://forum.dynamobim.com/t/clockwork-pkg/18495/8 "2018-02-01T06:20:35Z")

</div>

Guys Still Need help with that anybody can help !!!

---

<div class="post-metadata">

**Author:** ![Dimitar\_Venkov](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/dimitar_venkov/32/2068_2.png) [@Dimitar\_Venkov](https://forum.dynamobim.com/u/Dimitar_Venkov)\
**Post date:** [February 1, 2018, 6:31am UTC](https://forum.dynamobim.com/t/clockwork-pkg/18495/9 "2018-02-01T06:31:39Z")

</div>

Could you share your “DynamoSettings.xml” file found in:  
`%appdata%\Dynamo\Dynamo Revit\1.3\`

---

<div class="post-metadata">

**Author:** ![Mohammad\_Nawar](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/mohammad_nawar/32/45287_2.png) [@Mohammad\_Nawar](https://forum.dynamobim.com/u/Mohammad_Nawar)\
**Post date:** [February 1, 2018, 6:45am UTC](https://forum.dynamobim.com/t/clockwork-pkg/18495/10 "2018-02-01T06:45:30Z")

</div>

Please find the link below for the xml file

[https://we.tl/lNemUvA3CM](https://we.tl/lNemUvA3CM)

---

<div class="post-metadata">

**Author:** ![Dimitar\_Venkov](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/dimitar_venkov/32/2068_2.png) [@Dimitar\_Venkov](https://forum.dynamobim.com/u/Dimitar_Venkov)\
**Post date:** [February 1, 2018, 6:54am UTC](https://forum.dynamobim.com/t/clockwork-pkg/18495/11 "2018-02-01T06:54:03Z")

</div>

Close Dynamo & Revit, replace the file with the below:  
[DynamoSettings.txt](https://forum.dynamobim.com/uploads/short-url/1BahQd0TjAr8Rv6LPwVZRxWSo7W.txt) (2.9 KB)

(I had to change the extension to upload it here, be sure to rename it back to .xml)

Start up Dynamo and re-install the missing packages

---

<div class="post-metadata">

**Author:** ![Mohammad\_Nawar](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/mohammad_nawar/32/45287_2.png) [@Mohammad\_Nawar](https://forum.dynamobim.com/u/Mohammad_Nawar)\
**Post date:** [February 1, 2018, 7:41am UTC](https://forum.dynamobim.com/t/clockwork-pkg/18495/12 "2018-02-01T07:41:02Z")

</div>

Thank you so much it’s working now, can you teach me what you did ?

---

<div class="post-metadata">

**Author:** ![Dimitar\_Venkov](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/dimitar_venkov/32/2068_2.png) [@Dimitar\_Venkov](https://forum.dynamobim.com/u/Dimitar_Venkov)\
**Post date:** [February 1, 2018, 8:22am UTC](https://forum.dynamobim.com/t/clockwork-pkg/18495/13 "2018-02-01T08:22:03Z")

</div>

That’s the file that keeps track of package folders that need to be deleted under the `<PackageDirectoriesToUninstall>` element. I simply removed all references.

Due to the way in which c# libraries work and the way dynamo is launched, you can only delete packages with c# dlls before they’ve been loaded. As a work around, whenever you “uninstall” such a package, its path will be stored in the settings xml and the next time you’re about to start Dynamo, the package  
s directory will be deleted and ideally removed from the xml file. It seems that in your case something is breaking at that point.
