Re: [appengine-java] Re: Local datastore empty after updating to SDK 1.4.0
Hey guys. There are issues going between versions with local data. From what I remember, there was an issue with the local SDK going between 1.3.7 and 1.3.8. Long term solutions we are considering include better support for using SQLite as a backend (similar to what Nick did with the Python SDK). In the meantime, it is probably a best practice to create fixtures from which you can create test data. If you're running any kind of automated testing (say Selenium), this is a practice you're already familiar with. Would it be helpful if the SDK provided an easier mechanism for loading data? If I get some time, maybe I'll blog about how to do this ... -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter: http://twitter.com/app_engine On Mon, Dec 6, 2010 at 5:45 AM, Ian Marshall wrote: > I have just found that my local datastore test data seems to be > unaffected so far by my upgrading my GAE/J SDK this morning from 1.3.8 > to 1.4.0. Of course, even if my test data should prove unaffected by > the latest change in SDK, there is no guarantee of such an outcome for > any future release. > > That being said, I produce my test data when conducting test scripts > for my web app, so generating a fresh set of test datastore data by > going through these tests for a new SDK is no bad thing anyway! > > > On Dec 6, 9:21 am, Ian Marshall wrote: >> Hi Fabrizio, >> >> Yes, I do delete the local datastore and create it again. I delete the >> local datastore by following the instructions given in: >> >> http://code.google.com/intl/en/appengine/docs/java/tools/devserver.ht... >> >> I then create it again by launching the development application server >> and then populating my local datastore using my web application. >> >> Cheers, >> >> Ian >> >> On Dec 6, 7:07 am, Fabrizio Accatino wrote: >> >> > Sorry Ian, >> >> > I don't understand. Do you delete the local datastore and create it again? >> > If yes, how? >> >> > Fabrizio >> >> > On Sun, Dec 5, 2010 at 5:16 PM, Ian Marshall >> > wrote: >> >> > > I have a test local datastore. I also have a procedure now to delete >> > > this whenever I install a new GAE/J SDK. This solved my problem of >> > > disappearing test data. >> >> > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine for Java" group. > To post to this group, send email to google-appengine-j...@googlegroups.com. > To unsubscribe from this group, send email to > google-appengine-java+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/google-appengine-java?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Local datastore empty after updating to SDK 1.4.0
I have just found that my local datastore test data seems to be unaffected so far by my upgrading my GAE/J SDK this morning from 1.3.8 to 1.4.0. Of course, even if my test data should prove unaffected by the latest change in SDK, there is no guarantee of such an outcome for any future release. That being said, I produce my test data when conducting test scripts for my web app, so generating a fresh set of test datastore data by going through these tests for a new SDK is no bad thing anyway! On Dec 6, 9:21 am, Ian Marshall wrote: > Hi Fabrizio, > > Yes, I do delete the local datastore and create it again. I delete the > local datastore by following the instructions given in: > > http://code.google.com/intl/en/appengine/docs/java/tools/devserver.ht... > > I then create it again by launching the development application server > and then populating my local datastore using my web application. > > Cheers, > > Ian > > On Dec 6, 7:07 am, Fabrizio Accatino wrote: > > > Sorry Ian, > > > I don't understand. Do you delete the local datastore and create it again? > > If yes, how? > > > Fabrizio > > > On Sun, Dec 5, 2010 at 5:16 PM, Ian Marshall > > wrote: > > > > I have a test local datastore. I also have a procedure now to delete > > > this whenever I install a new GAE/J SDK. This solved my problem of > > > disappearing test data. > > -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Local datastore empty after updating to SDK 1.4.0
Hi Fabrizio, Yes, I do delete the local datastore and create it again. I delete the local datastore by following the instructions given in: http://code.google.com/intl/en/appengine/docs/java/tools/devserver.html#Using_the_Datastore I then create it again by launching the development application server and then populating my local datastore using my web application. Cheers, Ian On Dec 6, 7:07 am, Fabrizio Accatino wrote: > Sorry Ian, > > I don't understand. Do you delete the local datastore and create it again? > If yes, how? > > Fabrizio > > On Sun, Dec 5, 2010 at 5:16 PM, Ian Marshall wrote: > > > I have a test local datastore. I also have a procedure now to delete > > this whenever I install a new GAE/J SDK. This solved my problem of > > disappearing test data. > > -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Local datastore empty after updating to SDK 1.4.0
I've seen this in the past. As far as I can see it's par for the course. The GAE developers have very little respect for our test data. I'm still worried about taking any of this to production because it is so obviously in permanent beta. On Dec 5, 1:40 am, Fabrizio wrote: > I have a project with a local datastore. There was many entities in > it. > > I have update the sdk from 1.3.7 to 1.4.0. Now the local datastore is > empty. My app does not show data and local management tell datastore > is empty (http://localhost:/_ah/admin/datastore). > > I've also tried to "revert" the local_db.bin file to my previous > version from my local subversion. But it does not work. :( > > Any idea? > > Fabrizio -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Re: Local datastore empty after updating to SDK 1.4.0
Sorry Ian, I don't understand. Do you delete the local datastore and create it again? If yes, how? Fabrizio On Sun, Dec 5, 2010 at 5:16 PM, Ian Marshall wrote: > I have a test local datastore. I also have a procedure now to delete > this whenever I install a new GAE/J SDK. This solved my problem of > disappearing test data. > > -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Local datastore empty after updating to SDK 1.4.0
I have a test local datastore. I also have a procedure now to delete this whenever I install a new GAE/J SDK. This solved my problem of disappearing test data. On Dec 5, 1:00 pm, Fabrizio Accatino wrote: > Ian, > > I had read your previous post (2010-04-15). As you wrote, I'd also like to > find a more "authoritatively" response. But I haven't found it. :( > > fabrizio > > On Sun, Dec 5, 2010 at 11:47 AM, Ian Marshall wrote: > > > Does this post help? > > >http://www.google.com/url?url=http://groups.google.com/g/f907f736/t/2... > > > On Dec 4, 2:40 pm, Fabrizio wrote: > > > I have a project with a local datastore. There was many entities in > > > it. > > > > I have update the sdk from 1.3.7 to 1.4.0. Now the local datastore is > > > empty. My app does not show data and local management tell datastore > > > is empty (http://localhost:/_ah/admin/datastore). > > > > I've also tried to "revert" the local_db.bin file to my previous > > > version from my local subversion. But it does not work. :( > > > > Any idea? > > > > Fabrizio > > > -- > > You received this message because you are subscribed to the Google Groups > > "Google App Engine for Java" group. > > To post to this group, send email to > > google-appengine-j...@googlegroups.com. > > To unsubscribe from this group, send email to > > google-appengine-java+unsubscr...@googlegroups.com > > . > > For more options, visit this group at > >http://groups.google.com/group/google-appengine-java?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Re: Local datastore empty after updating to SDK 1.4.0
Ian, I had read your previous post (2010-04-15). As you wrote, I'd also like to find a more "authoritatively" response. But I haven't found it. :( fabrizio On Sun, Dec 5, 2010 at 11:47 AM, Ian Marshall wrote: > Does this post help? > > > http://www.google.com/url?url=http://groups.google.com/g/f907f736/t/27097b9831aff32a/d/c16b898dcaad10ef%3Fq%3D%23c16b898dcaad10ef&ei=aG37TNXvFoHA_Abn1qTaAg&sa=t&ct=res&cd=10&source=groups&usg=AFQjCNGa_5Wk3KqMn7czeKwR0zocC07gOw > > On Dec 4, 2:40 pm, Fabrizio wrote: > > I have a project with a local datastore. There was many entities in > > it. > > > > I have update the sdk from 1.3.7 to 1.4.0. Now the local datastore is > > empty. My app does not show data and local management tell datastore > > is empty (http://localhost:/_ah/admin/datastore). > > > > I've also tried to "revert" the local_db.bin file to my previous > > version from my local subversion. But it does not work. :( > > > > Any idea? > > > > Fabrizio > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine for Java" group. > To post to this group, send email to > google-appengine-j...@googlegroups.com. > To unsubscribe from this group, send email to > google-appengine-java+unsubscr...@googlegroups.com > . > For more options, visit this group at > http://groups.google.com/group/google-appengine-java?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Local datastore empty after updating to SDK 1.4.0
Does this post help? http://www.google.com/url?url=http://groups.google.com/g/f907f736/t/27097b9831aff32a/d/c16b898dcaad10ef%3Fq%3D%23c16b898dcaad10ef&ei=aG37TNXvFoHA_Abn1qTaAg&sa=t&ct=res&cd=10&source=groups&usg=AFQjCNGa_5Wk3KqMn7czeKwR0zocC07gOw On Dec 4, 2:40 pm, Fabrizio wrote: > I have a project with a local datastore. There was many entities in > it. > > I have update the sdk from 1.3.7 to 1.4.0. Now the local datastore is > empty. My app does not show data and local management tell datastore > is empty (http://localhost:/_ah/admin/datastore). > > I've also tried to "revert" the local_db.bin file to my previous > version from my local subversion. But it does not work. :( > > Any idea? > > Fabrizio -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.