[google-appengine] Channel API Under the hoods and OpenSocial/Facebook development

2011-01-14 Thread Pranav Prakash
d the base domain is their domain itself. They provide APIs for doing calls. This gives rise to one more questions? 5. How do we do channel API calls inside a container of a portal? Thanks in advance, -- Pranav Prakash "temet nosce" (http://blog.myblive.com) -- You received this mess

[google-appengine] wait_any() returned None

2010-12-08 Thread Pranav Prakash
In one of my most expensive (in terms of calculations and datastore access) calls, I regularly get DeadlineExceededError. I am okay with it. Just now, I noticed the following in the error log. This same log was there for like 100 times and then DeadlineExceededError. I am pretty sure there is no su

[google-appengine] Re: store files to datastore in a folder like structure?

2009-05-07 Thread Pranav Prakash
wrote: > > > A blob with a key pointing back to the folder > > > -Brian > > > On May 6, 8:00 am, Shedokan wrote: > > > > Tim: > > > I don't quite understand most of what you said because I kinda really > > > new to python programming I

[google-appengine] Re: store files to datastore in a folder like structure?

2009-05-06 Thread Pranav Prakash
perty(Folder) is syntactically wrong. A ListProperty can not refer to a Model. Cheers, -- Pranav Prakash "This life is more than ordinary" > > 2009/5/6 Pranav Prakash > > > > > class Folder(db.Model): > >  name = db.StringProperty() > >  subfolders = d

[google-appengine] Re: passing a variable value from html file to views.py

2009-05-06 Thread Pranav Prakash
same concept can be applied to your ads. Instead of displaying the actual links, you can use a script that will gather all information and later redirect to the ad url. Cheers -- Pranav Prakash "This life is more than ordinary" On May 6, 4:57 am, Aaron wrote: > HI, I need help

[google-appengine] Re: How to iterate a json string using dictionary

2009-05-05 Thread Pranav Prakash
e.com/p/google-app-engine-samples/source/browse/trunk/geochat/ Cheers, -- Pranav Prakash "This life is more than ordinary" On May 5, 9:30 pm, arnie wrote: > I am getting a json string from an iphone application that is > consuming a google app engine application. > Can an

[google-appengine] Re: structure of appengine application

2009-05-05 Thread Pranav Prakash
mples/ * AppEngine cookbook http://appengine-cookbook.appspot.com -- Regards, Pranav Prakash "This life is more than ordinary" On May 6, 2:48 am, Rishtal wrote: > Hi, > > First of all, I'd like to say i've learned a lot in this group. Thanks > for all the great i

[google-appengine] Re: store files to datastore in a folder like structure?

2009-05-05 Thread Pranav Prakash
class Folder(db.Model): name = db.StringProperty() subfolders = db.ListProperty(File) parent = db.SelfReferenceProperty() This is how folder can be implemented. A folder must know what all files are child. Also a folder must know the parent folder (folders in case of cyclic dir structure)

[google-appengine] Re: [How To] - Get a global error handler

2009-05-05 Thread Pranav Prakash
Oh, Thats good. I was unaware of this. Thanks a lot. I will work on this. Cheers :-) Pranav On May 5, 6:15 pm, "Nick Johnson (Google)" wrote: > Hi Pranny, > > google.appengine.ext.webapp.RequestHandler defines a > 'handle_exception' method, which gets called for any uncaught > exceptions. You c

[google-appengine] Re: Image Resize Without Forcing Aspect Ratio

2009-05-04 Thread Pranav Prakash
nitly not > cropping. > > You could also crop to 20x50 but would be throwing parts of the image > away - somthing very different to resizing. > > On 04/05/2009, Pranav Prakash wrote: > > > > >  Image resizing without aspect ratio is just like cropping. May be i am > >

[google-appengine] Re: - Get a global error handler

2009-05-04 Thread Pranav Prakash
scripts except: # Error handler based on the type of error application = webapp.WSGIApplication([('/.*', MainAppHandler),], debug=True) This is just a vague thought. I believe, discussions will help us in getting something fruitful. Cheers, Pranav Prakash On May 4, 1:28 pm, Pra

[google-appengine] Re: Image Resize Without Forcing Aspect Ratio

2009-05-04 Thread Pranav Prakash
Image resizing without aspect ratio is just like cropping. May be i am wrong. But it looks this to me.. On May 3, 8:02 am, ecognium wrote: > Hello Everyone, >      It looks like the images.resize() always honors the aspect ratio. > Is there a way to force a certain dimension? For example, in > I

[google-appengine] Re: [appengine-java] Re: Some design Issues in appengine datastore

2009-04-30 Thread Pranav Prakash
think this Model is best suited for you. For searching, you can do whatever you feel like. Now you have just one Model, one attribute (name). Use judiciously. There is no SMS API. Cheers, -- Pranav Prakash http://codecontrol.bogspot.com On May 1, 10:08 am, 风笑雪 wrote: > Why don't you let

[google-appengine] Re: subdomain - www is not able to add for google appengine

2009-04-28 Thread Pranav Prakash
Did you purchased domain using Google Apps? On Apr 26, 12:12 am, VIJI wrote: > Hello, > >      I tried to point towww.mydoman.comto google appengine > application.But the subdomain www is not getting added in the google > application service settings page. > >               If i try to add 'www'

[google-appengine] Re: App.Yaml seems to be malfunctioning

2008-09-21 Thread Pranav Prakash
uot;GET /favicon.ico > HTTP/1.1" 404 - > INFO 2008-09-21 08:09:46,530 dev_appserver.py] "GET /newuser HTTP/ > 1.1" 405 - > INFO 2008-09-21 08:09:46,608 dev_appserver.py] "GET /favicon.ico > HTTP/1.1" 404 - > > > Any help is highly appreciated.