[google-appengine] Not able to run dev_appserver with Python 3 only environment

2020-08-12 Thread Ritesh Nadhani
Hello I am getting back to GAE after many years. Things have definitely changed. As a new project, I got started with Python 37 runtime. My virtualenv is created using: python3 -m venv ENV and thus does not have python2. When I try to run my app in local mode using dev_appserver.py (i am just

Re: [google-appengine] One problem in GAE but NOT in local host.

2011-04-09 Thread Ritesh Nadhani
The admin logs should have a traceback giving you more information. On Sat, Apr 9, 2011 at 7:38 AM, Jimmy jimmylin...@gmail.com wrote: I run my program on GAE, but one error show up which is IndexError: list index out of range. But I try to run it on local host. It's totally okay. I want to

Re: [google-appengine] Re: seeking guidance in application development

2011-02-24 Thread Ritesh Nadhani
Hmm, maybe ask your TA or your professor? On Thu, Feb 24, 2011 at 12:19 AM, SARANSH GUPTA r13r...@gmail.com wrote: ok i got ur point.. can u help me out on what shud i do now.. shud i make my own cloud server..?? to include networking in my project... ?? plzz help me i hav one week left..!!

Re: [google-appengine] Incremental backups

2011-02-21 Thread Ritesh Nadhani
64 entities, 0 previously transferred Feels like the tool is using some previous records. Though, I could not find any docs on this subject. On Fri, Feb 11, 2011 at 1:25 PM, Ritesh Nadhani rite...@gmail.com wrote: Hello Barry Well, I have nothing fancy. I just use the http://code.google.com

[google-appengine] Dynamic creation of zip/tar from series of Blobs

2011-02-21 Thread Ritesh Nadhani
So in our site, we allow musicians to create Albums and they upload tracks which we are saving as Blob. Now if the artist allows, we wanted users to download the whole album as one .zip file. Is it possible to create a zip dynamically? In that case, I could save the resulting zip as another Blog

Re: [google-appengine] Re: Incremental backups

2011-02-11 Thread Ritesh Nadhani
you briefly explain how you perform backups using cron jobs? I've been wondering how I could backup the data in the datastore and restore it if needs be. Thanks! On Feb 11, 7:29 am, Ritesh Nadhani rite...@gmail.com wrote: So currently, I run a cron every day and take a complete backup

Re: [google-appengine] Incremental backups

2011-02-11 Thread Ritesh Nadhani
February 2011 07:29, Ritesh Nadhani rite...@gmail.com wrote: So currently, I run a cron every day and take a complete backup of the data. Is there anyway - we can do incremental backup? -- Ritesh -- You received this message because you are subscribed to the Google Groups Google App

[google-appengine] Incremental backups

2011-02-10 Thread Ritesh Nadhani
So currently, I run a cron every day and take a complete backup of the data. Is there anyway - we can do incremental backup? -- Ritesh -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to

Re: [google-appengine] Video streaming - possible, or not?

2010-10-19 Thread Ritesh Nadhani
the rights to the video. Thanks, Mark On Mon, Oct 18, 2010 at 11:54 PM, Ritesh Nadhani rite...@gmail.com wrote: Hello Mark AFAIK, the 30sec limit is only for request time. Uploading/storing to Blobstore does not have this limit. Neither does serving a Blobstore data has this issue. http

Re: [google-appengine] Video streaming - possible, or not?

2010-10-18 Thread Ritesh Nadhani
Hello Mark AFAIK, the 30sec limit is only for request time. Uploading/storing to Blobstore does not have this limit. Neither does serving a Blobstore data has this issue. http://code.google.com/appengine/docs/python/blobstore/overview.html#Serving_a_Blob I currently run a music site to which

[google-appengine] Developing Also viewing or Recently viewed feature

2010-08-11 Thread Ritesh Nadhani
Hello So I am trying to develop a very common feature like: Also viewing/Recently Viewed user1, user2, user3 ... I had couple of questions: * Is developing a middleware that reads all the request and stores data. Something like appstats. Is there some documentation on writing a middleware? *

[google-appengine] Re: App Engine for existing PHP5 applications

2009-08-25 Thread Ritesh Nadhani
Hello ramanathan Google App Engine does not support PHP (yet). Hopefully soon. If you have your legacy code in one of the supported Java or Python frameworks, than you can use it. But keep in mind, there is no MySQL (and probably will never be). You have to use Google's datastore. On Mon, Aug

[google-appengine] Re: deserialize xml

2009-08-22 Thread Ritesh Nadhani
Hi I dont think you need the serializer of django. From what I see, it is more for translating Django objects. What you need is a XML parser. http://groups.google.com/group/google-appengine/browse_thread/thread/85b7d03ff0d4ff2b/9fdfec112a4c051a?pli=1 On Wed, Aug 19, 2009 at 2:30 PM,

[google-appengine] Re: wtforms with appengine

2009-07-01 Thread Ritesh Nadhani
From my code. Feel free if you want to make a reciepe out of it. class UserForm(Form): title = TextField(u'Title', [validators.required(), validators.length(max=150)]) description = TextAreaField(u'Content', [validators.required()]) genre = SelectField(u'Genre',

[google-appengine] Re: Login using Google Accounts-- modifying login screent.

2009-07-01 Thread Ritesh Nadhani
There is: redirect_url parameter to: create_login_url(). You can provide your own URL and redirect depending upon the registered user. You will need to have a way to find out if the user is an admin or student etc. On Wed, Jul 1, 2009 at 1:50 PM, Varun Saravagivarunsarav...@gmail.com wrote:

[google-appengine] Model with key_name not have key().id

2009-06-24 Thread Ritesh Nadhani
Hi When I save a model with (key_name=...) value, the key does not seem to have an id. Eg. Mode1(key_name='xxx').put() obj.key().id() - None Model2() obj2.key().id() - 1 Is this intented? Can I have both key_name and id in a mode? -- Ritesh http://www.riteshn.com

[google-appengine] Re: Model with key_name not have key().id

2009-06-24 Thread Ritesh Nadhani
().name() Incedentally you can also use obj.key().id_or_name() to get either the id or the name depending on which you are using. On Wed, Jun 24, 2009 at 3:08 PM, Ritesh Nadhani rite...@gmail.com wrote: Hi When I save a model with (key_name=...) value, the key does not seem to have an id. Eg

[google-appengine] Re: Model with key_name not have key().id

2009-06-24 Thread Ritesh Nadhani
Thanks. That is what I was confirming. 2009/6/24 Ian Lewis ianmle...@gmail.com: Yes, that is correct. 2009/6/24 Ritesh Nadhani rite...@gmail.com Actually, what I meant was: I cannot have an entity with both key_name and id. They seem to be mutually exclusive for an entity. 2009/6/23

[google-appengine] Re: Urllib.urlfetch with HTTPS giving IOError error

2009-06-22 Thread Ritesh Nadhani
Anybody? On Fri, Jun 19, 2009 at 12:53 PM, Ritesh Nadhanirite...@gmail.com wrote: Hi Hi, I am trying to access an https url specifically: https://api-3t.sandbox.paypal.com/nvp and I get the traceback: http://paste.pocoo.org/show/124055/ If I access the same thing from shell using urllib,

[google-appengine] Re: Large file support

2009-06-19 Thread Ritesh Nadhani
for large files sometime this month, but the date will likely slip, so it will be a bit later. Thank you, Jeff On Wed, Jun 17, 2009 at 10:56 AM, Ritesh Nadhani rite...@gmail.com wrote: Hello We are in the process of developing a music website and we will need user  to upload their high

[google-appengine] Urllib.urlfetch with HTTPS giving IOError error

2009-06-19 Thread Ritesh Nadhani
Hi Hi, I am trying to access an https url specifically: https://api-3t.sandbox.paypal.com/nvp and I get the traceback: http://paste.pocoo.org/show/124055/ If I access the same thing from shell using urllib, everything works and I get the correct response. http://paste.pocoo.org/show/124067/

[google-appengine] Re: [ANN] Kay - Another web framework on app engine - beta version

2009-06-17 Thread Ritesh Nadhani
Hi Have you looked into Glashammer? http://glashammer.org/ It uses the same idea that is werkzeug, wtforms and jinja2. On Wed, Jun 17, 2009 at 2:00 AM, Takashi Matsuomatsuo.taka...@gmail.com wrote: Hi list, I'd like to let you know about my web framework. It is named 'Kay'. Kay is a web

[google-appengine] Large file support

2009-06-17 Thread Ritesh Nadhani
Hello We are in the process of developing a music website and we will need user to upload their high-quality version of songs. Looking at http://code.google.com/appengine/docs/roadmap.html and http://stackoverflow.com/questions/842426/google-app-engine-large-file-upload, it looks like the

[google-appengine] Re: Kay - Another web framework on app engine - beta version

2009-06-17 Thread Ritesh Nadhani
On Wed, Jun 17, 2009 at 10:49 AM, NealWaltersnealwalt...@nealwalters.com wrote: Can you please tell us the features and benefits of your framework? I don't Jinja2 or Werkzeug - so what's in it for developers? Nothing as such. They are just another option instead of Django and Django

[google-appengine] Re: [ANN] Kay - Another web framework on app engine - beta version

2009-06-17 Thread Ritesh Nadhani
On Wed, Jun 17, 2009 at 11:02 AM, Takashi Matsuomatsuo.taka...@gmail.com wrote: Hi Ritesh, Thanks for your comment. Yes I have looked into Glashammer, it seems that it is a neat and nice project. I know Kay is a very similar to Glashammer for now. Having said that, Glashammer is

[google-appengine] garutilities Session objects in Django app

2009-03-11 Thread Ritesh Nadhani
Hi So I was reading the session utility at http://code.google.com/p/gaeutilities/wiki/Session. I am using Django instead of web.py. The sample shows code: self.session = Session() In django, we dont get an object, rather a method is called, how can I store the session object similar to

[google-appengine] Re: garutilities Session objects in Django app

2009-03-11 Thread Ritesh Nadhani
the session to the datastore backed solution. ie: user = auth.authenticate() request.session.save() auth.login(request, user) On Mar 11, 12:40 pm, Ritesh Nadhani rite...@gmail.com wrote: Hi So I was reading the session utility athttp://code.google.com/p/gaeutilities/wiki/Session. I am using

[google-appengine] Re: Model not saving correct user information

2009-03-10 Thread Ritesh Nadhani
know. Running some other tests to see where the issue might be. Thank you, Jeff On Mar 9, 7:38 pm, Ritesh Nadhani rite...@gmail.com wrote: Hi http://paste.pocoo.org/show/107208/ So here is my code sample. Is there any reason why user property would be None if the user is logged out

[google-appengine] Programmitcally doing authentication with Google Account

2009-03-10 Thread Ritesh Nadhani
Hi Can I dynamically authenticate a user with Google Accounts? Then I can use users.get_current_user(). -- Ritesh http://www.riteshn.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google App Engine group.

[google-appengine] Re: Programmitcally doing authentication with Google Account

2009-03-10 Thread Ritesh Nadhani
Hello On Tue, Mar 10, 2009 at 1:04 PM, Wooble geoffsp...@gmail.com wrote: On Mar 10, 3:13 pm, Ritesh Nadhani rite...@gmail.com wrote: Hi Can I dynamically authenticate a user with Google Accounts? Then I can use users.get_current_user(). If by programmatically you mean you know

[google-appengine] Re: Programmitcally doing authentication with Google Account

2009-03-10 Thread Ritesh Nadhani
-authentication-on-google-app-engine/ Lenza blog.lenza.org On Mar 10, 12:13 pm, Ritesh Nadhani rite...@gmail.com wrote: Hi Can I dynamically authenticate a user with Google Accounts? Then I can use users.get_current_user(). -- Riteshhttp://www.riteshn.com -- Ritesh http

[google-appengine] Re: jQuery while doing Ajax call

2009-03-09 Thread Ritesh Nadhani
as XML. http://docs.jquery.com/Ajax/jQuery.ajax#options cheers Michael On Mar 9, 2:07 am, Ritesh Nadhani rite...@gmail.com wrote: Hmm. I am not sure how JSON would be simpler then XML. Also, some other system use the same XMLRPC without any problem. The problem seems to be that jquery

[google-appengine] jQuery while doing Ajax call

2009-03-08 Thread Ritesh Nadhani
Hi Any idea what might be wrong with this AJAX AJAX call: http://paste.pocoo.org/show/106941/ - its always returning me XMLParse error but when done thru my Python client, it works. When I just do: response.write(request.raw_post_data) - i get var1=value1var2=value2 etc. Rather then the actual

[google-appengine] Re: jQuery while doing Ajax call

2009-03-08 Thread Ritesh Nadhani
, Let Delete My Apps davide.rogn...@gmail.com wrote: Hi Ritesh Nadhani, I think your code is complex. Can you try another more simple way, for example using the JSON/JSON-P technique? View the source code of my last app: http://pyoohtml.appspot.com/let-delete-my-apps/home . . On Mar 8