Re: [appengine-java] Re: Local datastore is empty after migrating to 1.3.1

2010-02-25 Thread Scott Hernandez
I'm pretty sure the your datastore is empty message on the admin
data viewer pages doesn't mean that his query, in his application
code, returned no results.

While I don't disagree with you that the data is still in there I'm
pretty what you just described is documented in the behavior of
indexes in the data-store pretty thoroughly. If you don't index a
property (or don't store it) you can not sort or search for it.

As an example of your data is there, but completely invisible, try
changing your app-id in your appengine-web.xml and looking at the
admin page data viewer after a restart.

On Thu, Feb 25, 2010 at 12:14 AM, Valters Vingolds valt...@gmail.com wrote:
 I suspect the data is still there, but somehow not visible to your
 queries.
 For example, following happened in my case: I had a query that
 retrieves my (root) entities, but they are ordered by sequence_id . In
 1.3.0., this query worked fine even if sequence_id is un-initialized
 (is null). With 1.3.1., somehow entities with null sequence_id do not
 show up in query results - and in development I had neglected to set
 this field at all. So, getting empty results back: and this may lead
 you to think that data has been lost.

 Though I found out that if I remove order by from the query, all
 results show up - the data is still there.

 Now, from correctness standpoint, excluding null entities from
 order by query is ok - as you can't compare against null (per SQL
 rules) - so such rows may be dropped. Anyway, what I did, I wrote a
 small migration script to load all my entities, initialize sequence_id
 = 0 and save them. And it's now working fine with 1.3.1.

 On Feb 17, 9:06 pm, mcrady mcr...@gmail.com wrote:
 Same here.  If I switch back to 1.3.0 the local data is still there.

 Any workarounds to get to 1.3.1 with the local data?

 On Feb 13, 10:45 am, Brian bwa...@gmail.com wrote:

  My remote datastore kept the data, mylocalone was wiped. Pretty easy
  to make a script to load a DB with test data, not really a good idea
  to rely on yourlocaldatastore...

  On Feb 12, 6:32 pm, mably fm2...@mably.com wrote:

   Same thing happened to me.

   Got an emptylocaldatastore after updating to 1.3.1.

   Hopefully I didn't have much data in it.  But it might not be the case
   for everybody.

   On 12 fév, 09:35, Al Murauski a.murau...@gmail.com wrote:

The Development Console tells The datastore is empty after updating
to 1.3.1.

Any ideas why? I need mylocaldata back.

The local_db file is not emoty and contain sthe data it contained
before 1.3.1 migration.

 --
 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 is empty after migrating to 1.3.1

2010-02-24 Thread Itzik Yatom
Same problem

On Feb 23, 10:21 pm, Scott Hernandez scotthernan...@gmail.com wrote:
 I got a read error when I tried running with my existing (v1.3.0)
 data-store file; I created a new one (by renaming the old one) and
 restarting. I suspect the internal format is different and the old
 format cannot be read. Whether this is by design or a bug is another
 question.



 On Tue, Feb 23, 2010 at 10:26 AM, David turntwo...@gmail.com wrote:
  I just upgraded to1.3.1and also hit this issue.  I hope someone from
  the GAE team will soon comment on this behavior.  I'm also curious how
  common a problem this is. Have other people upgraded to1.3.1and
  maintained their local data store?

  On Feb 17, 3:06 pm, mcrady mcr...@gmail.com wrote:
  Same here.  If I switch back to 1.3.0 the local data is still there.

  Any workarounds to get to1.3.1with the local data?

  On Feb 13, 10:45 am, Brian bwa...@gmail.com wrote:

   My remotedatastorekept the data, mylocalone was wiped. Pretty easy
   to make a script to load a DB with test data, not really a good idea
   to rely on yourlocaldatastore...

   On Feb 12, 6:32 pm, mably fm2...@mably.com wrote:

Same thing happened to me.

Got an emptylocaldatastoreafterupdating to1.3.1.

Hopefully I didn't have much data in it.  But it might not be the case
for everybody.

On 12 fév, 09:35, Al Murauski a.murau...@gmail.com wrote:

 The Development Console tells Thedatastoreisemptyafterupdating
 to1.3.1.

 Any ideas why? I need mylocaldata back.

 The local_db file is not emoty and contain sthe data it contained
 before1.3.1migration.- Hide quoted text -

 - Show quoted text -

-- 
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 is empty after migrating to 1.3.1

2010-02-23 Thread David
I just upgraded to 1.3.1 and also hit this issue.  I hope someone from
the GAE team will soon comment on this behavior.  I'm also curious how
common a problem this is. Have other people upgraded to 1.3.1 and
maintained their local data store?

On Feb 17, 3:06 pm, mcrady mcr...@gmail.com wrote:
 Same here.  If I switch back to 1.3.0 the local data is still there.

 Any workarounds to get to1.3.1with the local data?

 On Feb 13, 10:45 am, Brian bwa...@gmail.com wrote:

  My remotedatastorekept the data, mylocalone was wiped. Pretty easy
  to make a script to load a DB with test data, not really a good idea
  to rely on yourlocaldatastore...

  On Feb 12, 6:32 pm, mably fm2...@mably.com wrote:

   Same thing happened to me.

   Got an emptylocaldatastoreafterupdating to1.3.1.

   Hopefully I didn't have much data in it.  But it might not be the case
   for everybody.

   On 12 fév, 09:35, Al Murauski a.murau...@gmail.com wrote:

The Development Console tells Thedatastoreisemptyafterupdating
to1.3.1.

Any ideas why? I need mylocaldata back.

The local_db file is not emoty and contain sthe data it contained
before1.3.1migration.



-- 
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 is empty after migrating to 1.3.1

2010-02-23 Thread Scott Hernandez
I got a read error when I tried running with my existing (v1.3.0)
data-store file; I created a new one (by renaming the old one) and
restarting. I suspect the internal format is different and the old
format cannot be read. Whether this is by design or a bug is another
question.

On Tue, Feb 23, 2010 at 10:26 AM, David turntwo...@gmail.com wrote:
 I just upgraded to 1.3.1 and also hit this issue.  I hope someone from
 the GAE team will soon comment on this behavior.  I'm also curious how
 common a problem this is. Have other people upgraded to 1.3.1 and
 maintained their local data store?

 On Feb 17, 3:06 pm, mcrady mcr...@gmail.com wrote:
 Same here.  If I switch back to 1.3.0 the local data is still there.

 Any workarounds to get to1.3.1with the local data?

 On Feb 13, 10:45 am, Brian bwa...@gmail.com wrote:

  My remotedatastorekept the data, mylocalone was wiped. Pretty easy
  to make a script to load a DB with test data, not really a good idea
  to rely on yourlocaldatastore...

  On Feb 12, 6:32 pm, mably fm2...@mably.com wrote:

   Same thing happened to me.

   Got an emptylocaldatastoreafterupdating to1.3.1.

   Hopefully I didn't have much data in it.  But it might not be the case
   for everybody.

   On 12 fév, 09:35, Al Murauski a.murau...@gmail.com wrote:

The Development Console tells Thedatastoreisemptyafterupdating
to1.3.1.

Any ideas why? I need mylocaldata back.

The local_db file is not emoty and contain sthe data it contained
before1.3.1migration.


-- 
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 is empty after migrating to 1.3.1

2010-02-17 Thread mcrady
Same here.  If I switch back to 1.3.0 the local data is still there.

Any workarounds to get to 1.3.1 with the local data?


On Feb 13, 10:45 am, Brian bwa...@gmail.com wrote:
 My remote datastore kept the data, mylocalone was wiped. Pretty easy
 to make a script to load a DB with test data, not really a good idea
 to rely on yourlocaldatastore...

 On Feb 12, 6:32 pm, mably fm2...@mably.com wrote:

  Same thing happened to me.

  Got an emptylocaldatastore after updating to 1.3.1.

  Hopefully I didn't have much data in it.  But it might not be the case
  for everybody.

  On 12 fév, 09:35, Al Murauski a.murau...@gmail.com wrote:

   The Development Console tells The datastore is empty after updating
   to 1.3.1.

   Any ideas why? I need mylocaldata back.

   The local_db file is not emoty and contain sthe data it contained
   before 1.3.1 migration.

-- 
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 is empty after migrating to 1.3.1

2010-02-12 Thread mably
Same thing happened to me.

Got an empty local datastore after updating to 1.3.1.

Hopefully I didn't have much data in it.  But it might not be the case
for everybody.

On 12 fév, 09:35, Al Murauski a.murau...@gmail.com wrote:
 The Development Console tells The datastore is empty after updating
 to 1.3.1.

 Any ideas why? I need my local data back.

 The local_db file is not emoty and contain sthe data it contained
 before 1.3.1 migration.

-- 
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.