# G4P can´t continue with saved work

**URL:** <https://discourse.processing.org/t/g4p-can-t-continue-with-saved-work/5267>\
**Category:** Libraries\
**Created:** [November 6, 2018, 5:53pm UTC](https://discourse.processing.org/t/g4p-can-t-continue-with-saved-work/5267 "2018-11-06T17:53:36Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tomas](https://avatars.discourse-cdn.com/v4/letter/t/439d5e/32.png) [@Tomas](https://discourse.processing.org/u/Tomas)\
**Post date:** [November 6, 2018, 5:53pm UTC](https://discourse.processing.org/t/g4p-can-t-continue-with-saved-work/5267/1 "2018-11-06T17:53:36Z")

</div>

Hello, I created a GUI with G4P tool, I saved it and after I opened it again I had the code in the GUI tab, but when I opened the G4P tool it overwrited the GUI tab to the default/blank template. How can I run the tool with the existing code?  
Thank you for any help.

---

<div class="post-metadata">

**Author:** ![clankill3r](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/clankill3r/32/1098_2.png) [@clankill3r](https://discourse.processing.org/u/clankill3r)\
**Post date:** [November 6, 2018, 6:09pm UTC](https://discourse.processing.org/t/g4p-can-t-continue-with-saved-work/5267/2 "2018-11-06T18:09:22Z")

</div>

Can you make a small runable example of your problem?

---

<div class="post-metadata">

**Author:** ![Tomas](https://avatars.discourse-cdn.com/v4/letter/t/439d5e/32.png) [@Tomas](https://discourse.processing.org/u/Tomas)\
**Post date:** [November 6, 2018, 6:23pm UTC](https://discourse.processing.org/t/g4p-can-t-continue-with-saved-work/5267/3 "2018-11-06T18:23:50Z")

</div>

I don´t know how could I make an example of this. The thing is that I saved my work in processing after using G4P tool. When I open it again, I can run the app and it´s working correctly. But when I want to edit the gui tab/code using G4P tool again (so after I open the tool again), it rewrites whole code (actually delete everything), so I can´t edit it. So I would like to know, if is it possible to continue with already made GUI with G4P tool.

---

<div class="post-metadata">

**Author:** ![quark](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/quark/32/26_2.png) [@quark](https://discourse.processing.org/u/quark)\
**Post date:** [November 6, 2018, 6:37pm UTC](https://discourse.processing.org/t/g4p-can-t-continue-with-saved-work/5267/4 "2018-11-06T18:37:08Z")

</div>

What versions of Processing, G4P and GUI Builder are you using?

The only time I have had this happen is when a user updates GUI Builder part way through creating the sketch.

---

<div class="post-metadata">

**Author:** ![Tomas](https://avatars.discourse-cdn.com/v4/letter/t/439d5e/32.png) [@Tomas](https://discourse.processing.org/u/Tomas)\
**Post date:** [November 7, 2018, 6:47pm UTC](https://discourse.processing.org/t/g4p-can-t-continue-with-saved-work/5267/5 "2018-11-07T18:47:39Z")

</div>

Processing 3.6 x64 and G4P gui builder 4.2.1. I just installed everything, created my app, saved, opened, and got this issue.

---

<div class="post-metadata">

**Author:** ![quark](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/quark/32/26_2.png) [@quark](https://discourse.processing.org/u/quark)\
**Post date:** [November 7, 2018, 9:17pm UTC](https://discourse.processing.org/t/g4p-can-t-continue-with-saved-work/5267/6 "2018-11-07T21:17:29Z")

</div>

Did you follow the instructions IN GUI tab comments.

---

<div class="post-metadata">

**Author:** ![Tomas](https://avatars.discourse-cdn.com/v4/letter/t/439d5e/32.png) [@Tomas](https://discourse.processing.org/u/Tomas)\
**Post date:** [November 8, 2018, 11:23am UTC](https://discourse.processing.org/t/g4p-can-t-continue-with-saved-work/5267/7 "2018-11-08T11:23:36Z")

</div>

yes, I didn´t change anything in the gui tab. I just saved the work and now I would like to continue, using the G4P tool. For you guys it´s working correctly even after reopening the saved work?

---

<div class="post-metadata">

**Author:** ![quark](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/quark/32/26_2.png) [@quark](https://discourse.processing.org/u/quark)\
**Post date:** [November 8, 2018, 5:00pm UTC](https://discourse.processing.org/t/g4p-can-t-continue-with-saved-work/5267/8 "2018-11-08T17:00:49Z")

</div>

BEFORE you do anything else make sure you are using the latest software versions

- Processing 3.4
- G4P 4.1.5
- GUI Builder 4.2.1

I don’t know where you got Processing 3.6 x64 from 🤔 did you mean 3.3.6?

Follow these instructions exactly:

1. Launch Processing
2. Start GUI Builder
3. Add a button
4. Save sketch as GUIBuilderTest
5. Exit / close Processing

OK so next  
6) Launch Processing  
7) Open recent file GUIBuilderTest  
8) Look in the GUI tab. Is there code for the button?  
9) Run the sketch. Did the button appear?  
10) Open GUI Builder does the button appear in the designer window?

---

<div class="post-metadata">

**Author:** ![Tomas](https://avatars.discourse-cdn.com/v4/letter/t/439d5e/32.png) [@Tomas](https://discourse.processing.org/u/Tomas)\
**Post date:** [November 8, 2018, 5:26pm UTC](https://discourse.processing.org/t/g4p-can-t-continue-with-saved-work/5267/9 "2018-11-08T17:26:33Z")

</div>

oh, sorry, you are right. I have version 3.4.

I did everything as you wrote and it´s working as it should be. But when I tried to save again my project to a different folder with different name, it´s still not working (the step 10, it´s blank).

---

<div class="post-metadata">

**Author:** ![quark](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/quark/32/26_2.png) [@quark](https://discourse.processing.org/u/quark)\
**Post date:** [November 8, 2018, 5:37pm UTC](https://discourse.processing.org/t/g4p-can-t-continue-with-saved-work/5267/10 "2018-11-08T17:37:05Z")

</div>

> [@Tomas](#):
>
> But when I tried to save again my project to a different folder with different name,

Did you use Processing menu option `File > Save As` or something else to copy the sketch?

---

<div class="post-metadata">

**Author:** ![Tomas](https://avatars.discourse-cdn.com/v4/letter/t/439d5e/32.png) [@Tomas](https://discourse.processing.org/u/Tomas)\
**Post date:** [November 8, 2018, 5:48pm UTC](https://discourse.processing.org/t/g4p-can-t-continue-with-saved-work/5267/11 "2018-11-08T17:48:33Z")

</div>

Save As. But I meant that I tried it with my “old” project. I think I will just create it again.

---

<div class="post-metadata">

**Author:** ![quark](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/quark/32/26_2.png) [@quark](https://discourse.processing.org/u/quark)\
**Post date:** [November 8, 2018, 5:53pm UTC](https://discourse.processing.org/t/g4p-can-t-continue-with-saved-work/5267/12 "2018-11-08T17:53:43Z")

</div>

Use Windows explorer to locate the sketch folder inside that you will find another folder called GUI\_BUILDER\_DATA look inside that folder and there should be a file `ger.ser.?.?` where `?.?` represents part of the version number. What is it?

---

<div class="post-metadata">

**Author:** ![Tomas](https://avatars.discourse-cdn.com/v4/letter/t/439d5e/32.png) [@Tomas](https://discourse.processing.org/u/Tomas)\
**Post date:** [November 8, 2018, 5:55pm UTC](https://discourse.processing.org/t/g4p-can-t-continue-with-saved-work/5267/13 "2018-11-08T17:55:15Z")

</div>

the file name is gui.ser.4.2

---

<div class="post-metadata">

**Author:** ![quark](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/quark/32/26_2.png) [@quark](https://discourse.processing.org/u/quark)\
**Post date:** [November 8, 2018, 5:57pm UTC](https://discourse.processing.org/t/g4p-can-t-continue-with-saved-work/5267/14 "2018-11-08T17:57:31Z")

</div>

Was that for the ‘OLD’ project?

---

<div class="post-metadata">

**Author:** ![Tomas](https://avatars.discourse-cdn.com/v4/letter/t/439d5e/32.png) [@Tomas](https://discourse.processing.org/u/Tomas)\
**Post date:** [November 8, 2018, 5:59pm UTC](https://discourse.processing.org/t/g4p-can-t-continue-with-saved-work/5267/15 "2018-11-08T17:59:36Z")

</div>

Yes, if you want I can send you the code, or the files.

---

<div class="post-metadata">

**Author:** ![quark](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/quark/32/26_2.png) [@quark](https://discourse.processing.org/u/quark)\
**Post date:** [November 8, 2018, 6:08pm UTC](https://discourse.processing.org/t/g4p-can-t-continue-with-saved-work/5267/16 "2018-11-08T18:08:49Z")

</div>

I tried the steps I outlined above, including using `File > Save as` to change the folder and filename and still managed to used GUI Builder successfully afterwards.

There is only one reason why it _might_ happen and that is if the original GUI was created with V4.1 or earlier version of GUI Builder.

If you have been using GUI Builder 4.2.1 throughout then there should be no problem.

Since I cannot reproduce the problem and no one else has reported the problem then there is nothing to be done about it.

---

<div class="post-metadata">

**Author:** ![Tomas](https://avatars.discourse-cdn.com/v4/letter/t/439d5e/32.png) [@Tomas](https://discourse.processing.org/u/Tomas)\
**Post date:** [November 8, 2018, 6:12pm UTC](https://discourse.processing.org/t/g4p-can-t-continue-with-saved-work/5267/17 "2018-11-08T18:12:32Z")

</div>

I understand. Thank you for your help anyway!
