# GPates overwrites wrong rotation file

**URL:** <https://discourse.gplates.org/t/gpates-overwrites-wrong-rotation-file/161>\
**Category:** Q&A\
**Created:** [11 August 2020 04:57 UTC](https://discourse.gplates.org/t/gpates-overwrites-wrong-rotation-file/161 "2020-08-11T04:57:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![thomas.schaap](https://discourse.gplates.org/letter_avatar_proxy/v4/letter/t/e19adc/32.png) [@thomas.schaap](https://discourse.gplates.org/u/thomas.schaap)\
**Post date:** [11 August 2020 04:57 UTC](https://discourse.gplates.org/t/gpates-overwrites-wrong-rotation-file/161/1 "2020-08-11T04:57:36Z")

</div>

Hi all,

Weird bug I’ve encountered a couple of times now using GPlates 2.2. I typically use two rotation files which I link to each other using the interface. What has happened is that I saved the modifications in one of the rotation files via the Manage Feature Collections window and it not only overwrote the correct file, it also overwrote the linked rotation file with the same data. Now I have two rotation files which are exactly the same… This has happened twice now and it’s a real pain to recover without constant backups. I can’t see any error messages associated with this. Any idea what’s happening?

Cheers,  
Tom

---

<div class="post-metadata">

**Author:** ![john.cannon](https://discourse.gplates.org/letter_avatar_proxy/v4/letter/j/3e96dc/32.png) [@john.cannon](https://discourse.gplates.org/u/john.cannon)\
**Post date:** [11 August 2020 05:19 UTC](https://discourse.gplates.org/t/gpates-overwrites-wrong-rotation-file/161/2 "2020-08-11T05:19:04Z")

</div>

Hi Tom,

> [@thomas.schaap](#):
>
> I typically use two rotation files which I link to each other using the interface

I’m not quite sure what you mean here. Can you show what you have in terms of the yellow rotation layers and your connections inside them?

![image](https://discourse.gplates.org/uploads/default/original/1X/f0cf3a15a968b85ea04e6008a0bf7e8d8c6d1e9e.png)

Regards,  
John

---

<div class="post-metadata">

**Author:** ![thomas.schaap](https://discourse.gplates.org/letter_avatar_proxy/v4/letter/t/e19adc/32.png) [@thomas.schaap](https://discourse.gplates.org/u/thomas.schaap)\
**Post date:** [11 August 2020 05:34 UTC](https://discourse.gplates.org/t/gpates-overwrites-wrong-rotation-file/161/3 "2020-08-11T05:34:29Z")

</div>

Hi John,

Sorry I should have been more specific. Here’s a screenshot to show what I’m talking about - the model I do most of my work on is the “orocline” model, while the modified EarthByte model runs the continents in the background. The overwrite bug has happened when saving either of these files, and has occurred on both .rot and .grot file extensions.

![Capture](https://discourse.gplates.org/uploads/default/original/1X/be57561e9bab3e4d7660611af8fa9aa96c20e5af.png)

Tom

---

<div class="post-metadata">

**Author:** ![john.cannon](https://discourse.gplates.org/letter_avatar_proxy/v4/letter/j/3e96dc/32.png) [@john.cannon](https://discourse.gplates.org/u/john.cannon)\
**Post date:** [11 August 2020 12:28 UTC](https://discourse.gplates.org/t/gpates-overwrites-wrong-rotation-file/161/4 "2020-08-11T12:28:01Z")

</div>

Hi Tom,

Thanks for reporting that. Turned out to be a long-standing bug in the `.grot` reader. I’ve just fixed that now, so it will be in the next public release.

It didn’t affect regular `.rot` rotation files though. I only noticed the problem with `.grot` files.

Regards,  
John
