# Losing saved parts of sketches (tabs)

**URL:** <https://discourse.processing.org/t/losing-saved-parts-of-sketches-tabs/14391>\
**Category:** Processing\
**Created:** [October 3, 2019, 8:51am UTC](https://discourse.processing.org/t/losing-saved-parts-of-sketches-tabs/14391 "2019-10-03T08:51:36Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![GvB](https://avatars.discourse-cdn.com/v4/letter/g/ecae2f/32.png) [@GvB](https://discourse.processing.org/u/GvB)\
**Post date:** [October 3, 2019, 8:51am UTC](https://discourse.processing.org/t/losing-saved-parts-of-sketches-tabs/14391/1 "2019-10-03T08:51:36Z")

</div>

Working on a larger project and having occasional reoccuring problems with saved sketches.  
They do not seem to save that well to files. My sketch exists of 7 different tabs. Every so often one of these tabs (x.pde) seems not to be saved. I can recover using the stored x.tmp file but still it does not feel really secure. I backup a lot so not yet real damage done.

I found people online that had the same problem but have not seen a solution. Do I do something wrong, or can I get this from corrupting each time?

---

<div class="post-metadata">

**Author:** ![kll](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kll/32/964_2.png) [@kll](https://discourse.processing.org/u/kll)\
**Post date:** [October 4, 2019, 2:53am UTC](https://discourse.processing.org/t/losing-saved-parts-of-sketches-tabs/14391/2 "2019-10-04T02:53:42Z")

</div>

> can you please add / confirm some info?

- processing 3.5.3
- what operating system ( and 32 / 64 bit )
- operation: do you save the project prior to run the sketch?  
( understand that that is actually something we not want to do,  
as we want to save new code lines only if we know they work well )
- you use the PDE / Tools / Archive Sketch / for backup?
- your wording is not clear, is the newly change in a tab missing after save project  
OR  
is a prior existing tab ( .pde file ) missing?

---

<div class="post-metadata">

**Author:** ![GvB](https://avatars.discourse-cdn.com/v4/letter/g/ecae2f/32.png) [@GvB](https://discourse.processing.org/u/GvB)\
**Post date:** [October 4, 2019, 9:34am UTC](https://discourse.processing.org/t/losing-saved-parts-of-sketches-tabs/14391/3 "2019-10-04T09:34:58Z")

</div>

-processing 3.5.3  
-win10 64bit  
-yes, I save (half of the times) before running. I do not want to lose any changes I make.  
-no, didn’t know of that option. Right now I step to a new version number when the project steps into a new programming goal.  
-a whole tab will be missing completely when starting up Processing. And sometimes Processing (while working on the sketch) alarms me that a tab (\*.pde) is missing in the folder and asks me if I want to save it again.

---

<div class="post-metadata">

**Author:** ![Chrisir](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/chrisir/32/45_2.png) [@Chrisir](https://discourse.processing.org/u/Chrisir)\
**Post date:** [October 4, 2019, 9:43am UTC](https://discourse.processing.org/t/losing-saved-parts-of-sketches-tabs/14391/4 "2019-10-04T09:43:16Z")

</div>

Maybe x as a name for the tab is too short.

I work with longer names like classCamera

(Would be a bug anyway)

---

<div class="post-metadata">

**Author:** ![GvB](https://avatars.discourse-cdn.com/v4/letter/g/ecae2f/32.png) [@GvB](https://discourse.processing.org/u/GvB)\
**Post date:** [October 4, 2019, 9:56am UTC](https://discourse.processing.org/t/losing-saved-parts-of-sketches-tabs/14391/5 "2019-10-04T09:56:07Z")

</div>

X.pde was not the real name. Actual name is longer.  
My fault.  
Should have typed \*.pde

---

<div class="post-metadata">

**Author:** ![kll](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kll/32/964_2.png) [@kll](https://discourse.processing.org/u/kll)\
**Post date:** [October 4, 2019, 10:47am UTC](https://discourse.processing.org/t/losing-saved-parts-of-sketches-tabs/14391/6 "2019-10-04T10:47:15Z")

</div>

can you share

- a project.zip

- a error log from  
c:\Users\ \< USER \> \AppData\Roaming\Processing\console  
like 191001\_015841.err

* * *

other question, is there something special with your sketch path?  
google drive or drop box?? while these apps are running? i would not use…

---

<div class="post-metadata">

**Author:** ![GvB](https://avatars.discourse-cdn.com/v4/letter/g/ecae2f/32.png) [@GvB](https://discourse.processing.org/u/GvB)\
**Post date:** [October 4, 2019, 12:23pm UTC](https://discourse.processing.org/t/losing-saved-parts-of-sketches-tabs/14391/7 "2019-10-04T12:23:36Z")

</div>

Could it be that the files get corrupted because of my Synology backing up everything continuously? Never had a problem with other programs with that.

---

<div class="post-metadata">

**Author:** ![kll](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kll/32/964_2.png) [@kll](https://discourse.processing.org/u/kll)\
**Post date:** [October 4, 2019, 12:47pm UTC](https://discourse.processing.org/t/losing-saved-parts-of-sketches-tabs/14391/8 "2019-10-04T12:47:36Z")

</div>

> [@GvB](#):
>
> Synology

working on a network drive should be ok,  
and if that has a auto backup also ( if no raid error )

but better try again on a local sketchbook.

also if the network drive with backup system would be responsible,  
the problems should be with every sketch ( single .pde too )

* * *

you found any error log?

---

<div class="post-metadata">

**Author:** ![GvB](https://avatars.discourse-cdn.com/v4/letter/g/ecae2f/32.png) [@GvB](https://discourse.processing.org/u/GvB)\
**Post date:** [October 4, 2019, 1:25pm UTC](https://discourse.processing.org/t/losing-saved-parts-of-sketches-tabs/14391/9 "2019-10-04T13:25:04Z")

</div>

Not yet, will be searching again on monday.  
It happens every now and then, so quite difficult to replicate.

---

<div class="post-metadata">

**Author:** ![GvB](https://avatars.discourse-cdn.com/v4/letter/g/ecae2f/32.png) [@GvB](https://discourse.processing.org/u/GvB)\
**Post date:** [October 10, 2019, 9:10am UTC](https://discourse.processing.org/t/losing-saved-parts-of-sketches-tabs/14391/10 "2019-10-10T09:10:52Z")

</div>

![tab%20problem](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/1/1bb08b4ceb60a60aa661a98b6fd08d451d8c61ba.jpeg)  
Well, apparently the tab gets deleted externally. As the title of the window says. Did not see that until I had a better look.  
So that is not something processing related but could be more of a Synology syncing thingy.
