Hi Rafe, Thanks again. The problem is fixed. We have a need to override db.Model.__init__() mostly because we want to automatically set the parent of each model instance. This may be a common need among other GAE apps. Hope this msg is helpful to other developers on this list.
Regards, Alan On Tue, Oct 13, 2009 at 6:36 PM, Rafe <[email protected]> wrote: > > Alan, > > I think we might have determined what was causing the problem with > your application. I think you are having this problem because you > overrode the __init__ method of your PolyModel in a way that we were > not expecting. Please see this thread: > > > http://groups.google.com/group/google-appengine/browse_thread/thread/c67228d9a1fc6859 > > We are working to fix the problem, but if you please, could you > check to see if this is what is causing the problem for your > application? > > Here's how it's related to PolyModel. If you have attempted to copy > _app and _from_entity as positional parameters through your overridden > constructor, you would have been one positional parameter short. This > parameter is '_from_entity' which is used to tell the Model > constructor that it is loading from the datastore and can ignore > errors that occur when assigning to derived (read-only) properties. > > Thanks for bringing this issue to our attention. Let me know if > there is anything else I can do to help. > > - Rafe Kaplan > > On Oct 13, 1:19 am, Alan Xing <[email protected]> wrote: > > We nailed down the problem to a third party package called > 'appenginepatch' > > we use. This 'appenginepatch' seems not compatible with some GAE backend > > updates deployed on yesterday(Monday) afternoon. > > If any one of you has good patch solution on 'appenginepatch', could you > > please help share? > > > > Note: We actually resolved the 'Class-key is a derived property and > cannot > > be set.' problem by some hack. But there are more problems with > > 'appenginepatch' after that. > > > > Thanks, > > Alan > > > > > > > > On Mon, Oct 12, 2009 at 11:15 PM, Alan Xing <[email protected]> wrote: > > > It is very clear this problem is with GAE poly model. All my > > > functionalities that touch any poly model objects are breaking. > Anything > > > that don't touch is working fine. > > > We have been using poly model since day one. We haven't changed any > poly > > > model class for a few weeks. We never had this problem before. > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---
