Can Not Preview My Project

I have tried to find an answer to this problem for some time. You can see the entire thread at http://forums.coronalabs.com/topic/11077-disable-corona-simulator-cache/page-2#entry215250 where I posted this:

"Example: I open, in Phototshop/Kwik, any page to preview it, let’s say page 1. I make my changes to page 1 and, still in Kwik, click the Publish button as always. Here is what happens next: Kwik publishes and when done pops ups its usual “Your Project is Published” alert box. Click OK. This triggers and opens the Corona Simulator program but DOES NOT OPEN the Simulator screen itself (and sometimes, not always, I get an error, but not always; see attached).

 

Next, I have to Open the main.lua file for the project. This is where the ongoing problem occurs: page 1 does NOT preview. Rather, whatever other page I recently previewed shows up.

 

To recap, I preview page 1 however a different page, that was previously previewed, shows up in the Simulator.

 

Now, I find that, since there is navigation on the page, I can navigate to page 1 and, lo and behold, there are my changes. And, since the Simulator is now on page 1 because I navigated to it, I can successfully preview any more changes that I make from that point on. Simulator, from this point on, stays on page 1 where I wanted it to be in the first place.

 

At this point, if I decide to preview a different page than page 1, now the Simulator will only show page 1, not the current page I am working on, and I will have to go through the same thing again."

 

I do hope someone can offer a solution to this ongoing problem because I can not finish my project.

Have you contacted the guys at kwik about this? http://www.kwiksher.com/contact/

I saw Alex Souza online today Iirc.

Yes. He says it isn’t Kwik. His only idea was that I should check the “Enable auto-bookmark” checkbox in the Project Properties of my Kwik project. However, that has been checked all along so that can not be the problem.

If you read the thread at http://forums.coronalabs.com/topic/11077-disable-corona-simulator-cache/page-2#entry215250 you will see earlier conversations with Corona. Perhaps a fresh mind can think of a cause.

Nothing has worked, even deleting Corona completely from my Mac and then re-installing. I have checked every obvious thing there is to check and nothing works.

Is anyone looking into this?

Hi @zentemple,

As Danny (Corona staff) asked in the previous thread, please test the Hello World project. Run it, then go into the code and make one small change (if you aren’t familiar with coding, I can supply you with the code to change). If the Simulator refreshes and shows the change you made, then the issue you’re having points to something with Kwik. I’m not trying to “pass the ball”, simply stating that if making changes to Hello World behaves as expected, the Simulator is clearly working properly and not caching anything.

Best regards,

Brent

Brent, I feel like I must not be explaining the problem clearly. It isn’t that the pages are not updating. They are. The problem is that previewing doesn’t take me, in the Simulator, to the page I have just updated but any previous page that I managed to view in the Simulator.

So, let’s say I previewed page X. Then I want to preview page Y. I export page Y, open the Simulator, and page X is showing, not page Y. Now, IF there is navigation on page X that allows me to navigate to page Y then I can navigate to page Y and see that the changes HAVE been updated.

So, opening and updating Hello World works. If Hello World had a second page I wanted to preview, once Hello World page 1 is open then updating page 2 will not happen unless there is a way to navigate to Hello World page 2.

I hope this is clear.

Hi @zentemple,

OK, thanks for the clarification. To have Corona jump to a particular “page”, this needs to be done via code… or by something that Kwik inserts into the code to make it go there. When you refresh the Simulator, it’s as if you started the project clean, with no memory of where it was before unless there’s something in the code that “saves” where it was and goes there. Some developers do this by saving a local text or JSON file that keeps track of where the app was, and when it runs, the code sends it in that direction. I’m not sure if Kwik has this type of functionality built in or not.

Am I finally understanding the issue or not?

Brent

I think you are understanding and so this puts it back in Kwik’s court. Wish me luck with that.

Have you contacted the guys at kwik about this? http://www.kwiksher.com/contact/

I saw Alex Souza online today Iirc.

Yes. He says it isn’t Kwik. His only idea was that I should check the “Enable auto-bookmark” checkbox in the Project Properties of my Kwik project. However, that has been checked all along so that can not be the problem.

If you read the thread at http://forums.coronalabs.com/topic/11077-disable-corona-simulator-cache/page-2#entry215250 you will see earlier conversations with Corona. Perhaps a fresh mind can think of a cause.

Nothing has worked, even deleting Corona completely from my Mac and then re-installing. I have checked every obvious thing there is to check and nothing works.

Is anyone looking into this?

Hi @zentemple,

As Danny (Corona staff) asked in the previous thread, please test the Hello World project. Run it, then go into the code and make one small change (if you aren’t familiar with coding, I can supply you with the code to change). If the Simulator refreshes and shows the change you made, then the issue you’re having points to something with Kwik. I’m not trying to “pass the ball”, simply stating that if making changes to Hello World behaves as expected, the Simulator is clearly working properly and not caching anything.

Best regards,

Brent

Brent, I feel like I must not be explaining the problem clearly. It isn’t that the pages are not updating. They are. The problem is that previewing doesn’t take me, in the Simulator, to the page I have just updated but any previous page that I managed to view in the Simulator.

So, let’s say I previewed page X. Then I want to preview page Y. I export page Y, open the Simulator, and page X is showing, not page Y. Now, IF there is navigation on page X that allows me to navigate to page Y then I can navigate to page Y and see that the changes HAVE been updated.

So, opening and updating Hello World works. If Hello World had a second page I wanted to preview, once Hello World page 1 is open then updating page 2 will not happen unless there is a way to navigate to Hello World page 2.

I hope this is clear.

Hi @zentemple,

OK, thanks for the clarification. To have Corona jump to a particular “page”, this needs to be done via code… or by something that Kwik inserts into the code to make it go there. When you refresh the Simulator, it’s as if you started the project clean, with no memory of where it was before unless there’s something in the code that “saves” where it was and goes there. Some developers do this by saving a local text or JSON file that keeps track of where the app was, and when it runs, the code sends it in that direction. I’m not sure if Kwik has this type of functionality built in or not.

Am I finally understanding the issue or not?

Brent

I think you are understanding and so this puts it back in Kwik’s court. Wish me luck with that.