[google-appengine] Re: Is class Body(db.Model): ok?

2009-06-25 Thread Jesse Grosjean

  It sometimes takes a while for new entity types to be reflected in the Admin
  Console. Are the entities showing up now?

 No, I'm still seeing the same errors in the console. My app ID is
 hogbaytaskpaper.

I'm doing a migration, extracting a big TextProperty from my Document
model into a separate Body model. I'd like to complete this (and
delete the existing TextProperty attribute from my Document model),
but I'm worried since Body still isn't showing up in my console. And
console still reports an error when I try to query for Body objects.

Any other ideas for getting the console to recognize this new Body
model?

Jesse
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: Is class Body(db.Model): ok?

2009-06-25 Thread Nick Johnson (Google)

Hi Jesse,

Sorry, I misread your original post. The issue here is that the only
property the Body entity has is a TextProperty, which is not indexed.
It's a known bug (we're working on it!) that entities with no indexed
properties do not show up in the production Admin Console. Your data
is there, it's just that the admin console can't see it. If it's
important that it show up in the admin console, you can add a dummy
indexed property to the Model and re-put existing entities to add it.

-Nick Johnson

On Thu, Jun 25, 2009 at 11:24 AM, Jesse
Grosjeanje...@hogbaysoftware.com wrote:

  It sometimes takes a while for new entity types to be reflected in the 
  Admin
  Console. Are the entities showing up now?

 No, I'm still seeing the same errors in the console. My app ID is
 hogbaytaskpaper.

 I'm doing a migration, extracting a big TextProperty from my Document
 model into a separate Body model. I'd like to complete this (and
 delete the existing TextProperty attribute from my Document model),
 but I'm worried since Body still isn't showing up in my console. And
 console still reports an error when I try to query for Body objects.

 Any other ideas for getting the console to recognize this new Body
 model?

 Jesse
 




-- 
Nick Johnson, App Engine Developer Programs Engineer
Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration
Number: 368047

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: Is class Body(db.Model): ok?

2009-06-25 Thread Jesse Grosjean

 Sorry, I misread your original post. The issue here is that the only
 property theBodyentity has is a TextProperty, which is not indexed.
 It's a known bug (we're working on it!) that entities with no indexed
 properties do not show up in the production Admin Console. Your data
 is there, it's just that the admin console can't see it. If it's
 important that it show up in the admin console, you can add a dummy
 indexed property to the Model and re-put existing entities to add it.

Nick,

Ahhh thanks for your response. I'll go ahead with things, I don't
really care about it showing up in the console app, I was just worried
that there might be something wrong elsewhere. Glad to know there
isn't.

Thanks,
Jesse
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: Is class Body(db.Model): ok?

2009-06-24 Thread Nick Johnson (Google)
Hi Jesse,

It sometimes takes a while for new entity types to be reflected in the Admin
Console. Are the entities showing up now?

-Nick Johnson

On Tue, Jun 23, 2009 at 8:51 PM, Jesse Grosjean je...@hogbaysoftware.comwrote:


  Have you added any Body entities to your datastore?  Sometimes I get
  HTTP 500 errors in the console viewer for models with no existing
  entities.

 Yes I've added a lot, and they seem to be working, I just don't see
 them in the console. I also have an Includes ancestors index that's
 serving Body entities.

 Jesse
 



-- 
Nick Johnson, App Engine Developer Programs Engineer
Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number:
368047

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: Is class Body(db.Model): ok?

2009-06-24 Thread Jesse Grosjean

 It sometimes takes a while for new entity types to be reflected in the Admin
 Console. Are the entities showing up now?

No, I'm still seeing the same errors in the console. My app ID is
hogbaytaskpaper.

Jesse
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: Is class Body(db.Model): ok?

2009-06-23 Thread Tony

Have you added any Body entities to your datastore?  Sometimes I get
HTTP 500 errors in the console viewer for models with no existing
entities.

On Jun 23, 1:09 pm, Jesse Grosjean je...@hogbaysoftware.com wrote:
 I've just added a new model class to my app that's defined like this:

 class Body(db.Model):
         content = db.TextProperty()

 It seems to be working fine in my server code, but for some reason it
 doesn't show up in the list of entities shown by the App Engine
 Console Data Viewer. Also when I run a direct query in the console
 for:

 SELECT * FROM Body

 I get a page that reports:

 Server Error
 A server error has occurred.

 Can someone help me figure out what is going on?

 Thanks,
 Jesse
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: Is class Body(db.Model): ok?

2009-06-23 Thread Jesse Grosjean

 Have you added any Body entities to your datastore?  Sometimes I get
 HTTP 500 errors in the console viewer for models with no existing
 entities.

Yes I've added a lot, and they seem to be working, I just don't see
them in the console. I also have an Includes ancestors index that's
serving Body entities.

Jesse
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---