[google-appengine] InvalidObjectException deserializing session

2010-10-22 Thread notcourage
I'm setting up a dev environment w/ Eclipse helios, google Eclipse plugin, myfaces 2.0.2, facelets 1.1.14. When I open a .jsf page, a stack trace appears in the appengine log when deployed--but it works in Eclipse. A snippet of the stack trace: Caused by: java.lang.RuntimeException: java.io.Invali

[google-appengine] Re: InvalidObjectException deserializing session

2010-10-23 Thread notcourage
at org.apache.myfaces.view.facelets.FaceletViewDeclarationLanguage.restoreView(FaceletViewDeclarationLanguage.java: 1277) This occurs for either option of tree state saving: client or server. notcourage wrote: > I'm setting up a dev environment w/ Eclipse helios, google Eclipse > plugin, myfaces 2.0.2,

[google-appengine] myfaces' ViewExpiredException

2010-11-04 Thread notcourage
When I use my test app shortly after deploying or when dormant for awhile, myfaces throws javax.faces.application.ViewExpiredException. Specifically, this happens when I use the browser's Back button. After awhile, it stops happening. It happens with both client & server state saving. Sessions are

[google-appengine] wish: nestable/embeddable entities

2010-02-19 Thread notcourage
Nestable/embeddable entities would be used to build graphs of entities which are serialized inside a single entity. Protocol buffers support nesting & repeating but not arbitrary graphs. Possible API additions: * constructor: new Model(nest=parent) * property type: NestedReferenceProperty; support

[google-appengine] wish: declare properties to exclude from indexing

2010-02-20 Thread notcourage
Apps often have properties which don't need indexing but the datastore creates two rows in the single property index tables per property value per entity--effectively the entity is stored three times. If the API allowed a property to be excluded from indexing, this overhead would be reduced. -- Y

[google-appengine] Re: Odd problem with urlfetch from picasa servers

2009-03-23 Thread notcourage
Did you ever find the solution? Is photo.media.thumbnail[1].url the URL for the actual image? Or a page containing it? I don't understand how to upload an image to picasa since gd_client.InsertPhotoSimple requires a filename and an appengine app doesn't have access to the file system, does it?

[google-appengine] Re: Odd problem with urlfetch from picasa servers

2009-04-12 Thread notcourage
25, 11:29 am, Jeff S wrote: > On Mar 22, 4:10 pm, notcourage wrote: > > > Did you ever find the solution? > > > Is photo.media.thumbnail[1].url the URL for the actual image? Or a > > page containing it? > > Great question, it would help if we could see URL being re

[google-appengine] Re: Odd problem with urlfetch from picasa servers

2009-04-14 Thread notcourage
pp Engine or not. > It seems like this should be doable, the thumbnail size may need to be > specified in the img URL. > > Happy coding, > > Jeff > > On Sun, Apr 12, 2009 at 9:26 AM, notcourage wrote: > > > Jeff, thx for answering. > > > I can resear

[google-appengine] Re: Odd problem with urlfetch from picasa servers

2009-04-16 Thread notcourage
/picasaweb/faq.html#embed_image > > (You also might get better assistance in the Picasa data API discussion > group:http://groups.google.com/group/Google-Picasa-Data-APIsince these > questions are generally applicable to all apps that use the Picasa web API) > > Cheers, > > Jeff &

[google-appengine] Re: Timeout: datastore timeout: operation took too long.

2009-04-17 Thread notcourage
Good for you that your company has good prospects. As somebody who has built high traffic sites (co-founder of IGN.com), I offer some advice: Don't even think about driving traffic to it unless it has been stable for weeks. If you are having problems w/ minute traffic, you can't imagine how bad it

[google-appengine] django loaddata fails

2009-04-29 Thread notcourage
manage.py loaddata fixtures/period.yaml which yields this stk trace: WARNING:root:Could not read datastore data from /tmp/ django_collectrium-splash.datastore WARNING:root:Could not read datastore data from /tmp/ django_collectrium-splash.datastore.history INFO:root:zipimporter('/home

[google-appengine] Re: django loaddata fails

2009-04-30 Thread notcourage
ie module name variable > etc..) > with '-'  . The parser won't be able distinguish between - operator / > expression and your name. > > That might be it > > T > > On Apr 30, 11:07 am, notcourage wrote: > > > I confess I haven't used fixtu

[google-appengine] timeouts even after chunking datastore calls

2009-05-20 Thread notcourage
def clearDatastore(request): ti = time.clock() all = Thing.all() for x in all: x.delete() if time.clock() - ti >= 8: return HttpResponseRedirect("/clearDatastore") Any ideas on why the above times out? Thx. --~--~-~--~~~---~--~--