[google-appengine] Re: Issue with a new SSL Cert (You must verify ownership of this certificate's domain(s)in order to upload it)

2017-04-06 Thread Arun Shanker Prasad
Thanks Attila.

We also ended up doing the same, I removed the existing domain and added it 
back in again.

One important thing to note is that we need to be doing this from the same 
account that is linked to the domain in webmaster tools, that part is also 
confusing and not clearly mentioned anywhere.

On Tuesday, 28 March 2017 10:28:35 UTC+5:30, Attila-Mihaly Balazs wrote:
>
> Yep, the SSL interface is confusing (like, why do you have to verify the 
> subdomain when you already verified the root domain? In what universe do 
> you have control of the root domain but don't control the subdomain?).
>
> Anyway, when adding the domain to appengine, at the second step you *can* 
> remove the www one (I've done this Monday actually). So the workflow is 
> something like:
>
> - go to the setup page 
> https://console.cloud.google.com/appengine/settings/domains?project= project>
> - click "Add custom domain"
> - select "Verify new domain" from the dropdown
> - after completing verification in the webmaster tools, click the refresh 
> button
> - now it will display two text boxes (as you've said) one with "
> www.foo.com" and one with "foo.com" but you can use the X on "www.foo.com" 
> (on the right end) to remove it and leave only "foo.com" (or the other 
> way around).
>
> Ie. you don't have to add both domains suggested by Google.
>
> And a good point about having to be the verified of the domain in 
> Webmaster tools.
>
> Cheers,
> Attila
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/efcd9cc5-52d7-48fd-8814-3bc6d7cc2f10%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Issue with a new SSL Cert (You must verify ownership of this certificate's domain(s)in order to upload it)

2017-03-27 Thread Arun Shanker Prasad
Hi Attila,

Thanks for the response.

Yes, I ended up doing that, but the issue is that it does not let me adding 
the root domain as the www domain is already there, so we had to remove and 
add it again. The new interface automatically adds both the root domain and 
the www subdomain.

Also an important note, it looks like Google may have changed something 
recently, so we are not able to manage a domain even if you are an 
administrator of the application, we need to be the "verified" owner in 
webmaster tools.

Thanks,
Arun

On Friday, 24 March 2017 20:33:48 UTC+5:30, Attila-Mihaly Balazs wrote:
>
> I had similar issues. Try verifying your root domain (ie. "example.com") 
> even if you're not planning on using it with GAE. That should solve the 
> issue (although it's not at all intuitive).
>
> Attila
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/ce90dcee-e3a2-4f05-82b1-a5fc4a5d8721%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Issue with a new SSL Cert (You must verify ownership of this certificate's domain(s)in order to upload it)

2017-03-15 Thread Arun Shanker Prasad
I know this is an old post, but I am also having issues with an UCC 
certificate. Are there any workarounds?

On Wednesday, 12 October 2016 18:48:54 UTC+5:30, Adam Jones wrote:
>
> I"m having the exact same issue. Was previously working fine. I also 
> signed up with NameCheap.
>
>
>
>
> On Thursday, April 7, 2016 at 6:44:05 AM UTC-7, Raphael Savina wrote:
>>
>> Hi all,
>>
>> I'm trying to add HTTPS to an app but I'm stuck at the Upload cert page 
>> with the following:
>> You must verify ownership of this certificate's domain(s)in order to 
>> upload it.
>>
>> This is the message:
>>
>>
>>
>> 
>>
>>
>> Now, the domain (www) is already listed under Custom Domains:
>>
>>
>>
>> 
>>  and the HTTP version of the app is working just fine.
>> My cert and key passed all he text from this page (what I followed):
>>
>> https://cloud.google.com/appengine/docs/python/console/using-custom-domains-and-ssl#adding_ssl_to_your_custom_domain
>>
>> The only 2 things I'm not sure about are:
>> -the ownership was before part of my Google Apps, now moved to the cloud 
>> console but I still can see the warning message:
>> "The custom domain feature has been migrated here from Google Apps. To 
>> get started, verify ownership of your domains by completing step 1 here."
>> -the cert is for www and without www but I have just www verified, would 
>> that be the issue?
>>
>> Thank in advance for pointers or any advice!
>> Raphael
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/157f0218-be7d-4a28-93af-07744a8be60e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Google App Engine Datastore Admin Errors on Load

2014-01-06 Thread Arun Shanker Prasad

Hi All,

Whenever I try to access the datastore admin of my application it shows an 
500 error page inside the IFrame. Has anyone else seen this, any 
solutions/workarounds? Googling about this I saw some issues with federated 
login, but I use a custom domain and no federated login.

Thanks,
Arun.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [google-appengine] Re: Increasing number or Process terminated because the backend took too long to shutdown over the last week

2013-12-10 Thread Arun Shanker Prasad
HI Harisankar,

We had tried garbage collection but that did not work :( We currently check
if the script ran and rerun it in case of failure. Although the rate of
failure has gone down, it does still happen!

Thanks,
Arun Shanker Prasad



On Sun, Dec 1, 2013 at 10:02 PM, Harisankar Krishna Swamy 
harisankar.kris...@gmail.com wrote:

 I came across this problem today. I am running a B2 backend instance which
 does some work. It was getting pulled down randomly. sometime between 6-20
 mins of run. A call to garbace collection after n operations worked for me.
 Last run went through without a glitch. I am using python in GAE. you could
 give this a try.

 Best,
 Hari

 On Sunday, February 10, 2013 7:00:33 PM UTC+5:30, Arun Shanker Prasad
 wrote:

 Hi All,

 We have been getting a lot of Process terminated because the backend
 took too long to shutdown errors on our backend instances over the last
 week, once of our cron which runs daily has failed to run every single day.
 I tried manually kicking the run, but that also results in the same error,
 and sometimes even after running for like 3 minutes. Does anyone else have
 the same issue? Can someone please help me with this.

 Got the following from the logs

 2013-02-09 21:56:56.827  500 1616082ms 0kb instance=0 AppEngine-Google; (+
 http://code.google.com/appengine)

 2013-02-09 21:56:56.827 Process terminated because the backend took too
 long to shutdown.

 Thanks,
 Arun.

  --
 You received this message because you are subscribed to a topic in the
 Google Groups Google App Engine group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/google-appengine/ZuUYc13RadA/unsubscribe
 .
 To unsubscribe from this group and all its topics, send an email to
 google-appengine+unsubscr...@googlegroups.com.
 To post to this group, send email to google-appengine@googlegroups.com.
 Visit this group at http://groups.google.com/group/google-appengine.
 For more options, visit https://groups.google.com/groups/opt_out.


-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


[google-appengine] App Engine Endpoints No Longer Working in Production

2013-09-25 Thread Arun Shanker Prasad


The endpoints are no longer working! They are working on development server and 
the pre-release announcement does not even mention the deprecation of the 
endpoints API.
https://groups.google.com/forum/#!topic/google-appengine/0fq4FIVH55o

There are others affected by 
this;http://stackoverflow.com/questions/18985115/app-engine-endpoints-down

Please find an excerpt from the logs below;

2013-09-25 17:51:48.675
Importing endpoints from google.appengine.ext is deprecated and will be 
removed.  Add the endpoints library to app.yaml, then endpoints can be imported 
simply with import endpoints.
E 2013-09-25 17:51:48.682
type 'exceptions.RuntimeError': Endpoints library isn't available in python 
2.5 runtime. Use the python27 runtime instead.
Traceback (most recent call last):
  File /base/data/home/apps/app/2-9-8.370476200610089604/services.py, line 
3, in module
from google.appengine.ext import endpoints
  File 
/base/data/home/runtimes/python/python_lib/versions/1/google/appengine/ext/endpoints/__init__.py,
 line 51, in module
raise RuntimeError('Endpoints library isn\'t available in python 2.5 '

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


[google-appengine] Increasing number or Process terminated because the backend took too long to shutdown over the last week

2013-02-10 Thread Arun Shanker Prasad
Hi All,

We have been getting a lot of Process terminated because the backend took 
too long to shutdown errors on our backend instances over the last week, 
once of our cron which runs daily has failed to run every single day. I 
tried manually kicking the run, but that also results in the same error, 
and sometimes even after running for like 3 minutes. Does anyone else have 
the same issue? Can someone please help me with this.

Got the following from the logs

2013-02-09 21:56:56.827  500 1616082ms 0kb instance=0 AppEngine-Google; 
(+http://code.google.com/appengine)

2013-02-09 21:56:56.827 Process terminated because the backend took too 
long to shutdown.

Thanks,
Arun.

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




[google-appengine] Re: Memory issues in pages with relatively less load

2012-02-03 Thread Arun Shanker Prasad
Hi all,

Thank You for the response.

@Incure,

No I was not able to find out why/where the memory leak was happening.
I was unable to configure Apptrace for my application, it's missing
some dependencies, did not get a chance to figure out what!

I am guessing the issues might have been caused due to the 'string'
list properties in my model (although the number of items in the
string list were low) I have had to refactor the page to get the data
it needed differently, but this solution is not scalable, I am still
searching for a solution..

@Robert,

I am using Python. It truly is hard to find memory leaks in Python, I
tried using Apptrace but was not able to get it to work.

Functionally there is nothing much that my code does, it fetches all
items of a particular Model instance (around 500 records) serlializes
it into JSON and sends it back, the rest is done on the client.

http://code.google.com/p/apptrace/wiki/UsingApptrace

Thanks,
Arun.

On Feb 3, 11:18 am, Robert Kluin robert.kl...@gmail.com wrote:
 Hi Arun,
   You don't say if you're using Python or Java.  For Python debugging
 memory usage is hard at best;  I'm not sure about Java.

   In Python at least, every entity you load actually stores multiple
 copies of the data and it is decoded / encoded from protobufs many
 times.  So the end result is that your memory usage will be higher
 than what you expect.  Possibly by quite a bit depending on your data.

   It is also possible that you've got other issues in your code
 leading to memory leaks.  That's harder to make general comments about
 though.

 Robert

 On Tue, Dec 27, 2011 at 11:58, Arun Shanker Prasad







 arunshankerpra...@gmail.com wrote:
  Hi All,

  Hope you had a wonderful holiday :)

  I am experiencing an issue for the past couple of weeks, am getting
  soft memory exceeded errors and the instance is being terminated..
  This only started occuring recently.

  The pages experiencing this error are mostly reporting kind of pages,
  i.e pages that deal with a number of records that are fetched based on
  filters selected by the user and use django.core.paginator.Paginator
  to paginate over the result. I have a maximum of 700 records that are
  fetched for these reports, according to datastore statistics in the
  admin console the average size of the entities being fetched are 4KB.

  Average Size of Entity:
  4 KBytes

  Some of the properties are reference properties and I do use prefetch
  logic to load these references as well, but most of them are also
  small entities.

  By my caclulations 158MB should be enough to handle a list of ~40448
  records! I am not able to figure out why the request is using this
  much memory.

  I have tried eliminating most of the usual suspects (large string
  concatination and so on), even tried deleting the large list after
  they are processed and calling garbage collect, nothing seems to work.
  Next step is to try and setup Apptrace for app engine.

  Can anyone out there help me with this? Anyone else have any similar
  issues? How did you manage to sort it out?

  C 2011-12-27 10:03:54.089
  Exceeded soft private memory limit with 157.648 MB after servicing 4
  requests total
  W 2011-12-27 10:03:54.090
  While handling this request, the process that handled this request was
  found to be using too much memory and was terminated. This is likely
  to cause a new process to be used for the next request to your
  application. If you see this message frequently, you may have a memory
  leak in your application.

  --
  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 
  athttp://groups.google.com/group/google-appengine?hl=en.

-- 
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: Memory issues in pages with relatively less load

2012-01-04 Thread Arun Shanker Prasad
Bump..
Any one out there who had a similar issue?
Any suggestions on how to trace memory usage?

Thanks,
Arun.

-- 
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] Memory issues in pages with relatively less load

2011-12-27 Thread Arun Shanker Prasad
Hi All,

Hope you had a wonderful holiday :)

I am experiencing an issue for the past couple of weeks, am getting
soft memory exceeded errors and the instance is being terminated..
This only started occuring recently.

The pages experiencing this error are mostly reporting kind of pages,
i.e pages that deal with a number of records that are fetched based on
filters selected by the user and use django.core.paginator.Paginator
to paginate over the result. I have a maximum of 700 records that are
fetched for these reports, according to datastore statistics in the
admin console the average size of the entities being fetched are 4KB.

Average Size of Entity:
4 KBytes

Some of the properties are reference properties and I do use prefetch
logic to load these references as well, but most of them are also
small entities.

By my caclulations 158MB should be enough to handle a list of ~40448
records! I am not able to figure out why the request is using this
much memory.

I have tried eliminating most of the usual suspects (large string
concatination and so on), even tried deleting the large list after
they are processed and calling garbage collect, nothing seems to work.
Next step is to try and setup Apptrace for app engine.

Can anyone out there help me with this? Anyone else have any similar
issues? How did you manage to sort it out?

C 2011-12-27 10:03:54.089
Exceeded soft private memory limit with 157.648 MB after servicing 4
requests total
W 2011-12-27 10:03:54.090
While handling this request, the process that handled this request was
found to be using too much memory and was terminated. This is likely
to cause a new process to be used for the next request to your
application. If you see this message frequently, you may have a memory
leak in your application.

-- 
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.



[appengine-java] Re: For SSO

2011-10-04 Thread Arun Shanker Prasad
As far as I know this cannot be done. You have to lock your
application to a particular domain during registration.

On Oct 4, 3:35 pm, VIKASH PATEL vickyexpert...@gmail.com wrote:
 Hello Friends,

             I want to implement SSO in my application,
 Still i am able to make user log in with particular gmail account but i want
 user logs in with google apps account and the application should be display
 in universal navigation bar..

 so please help me if anyone has dem during registration  code for this 
 please

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



[google-appengine] Re: The whole instances pricing thing is too complicated for average brains like mine

2011-09-03 Thread Arun Shanker Prasad
+1

absolutely agree, may be Google can put up an an article detailing
what this means to normal users?

-- 
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: [INFO ] Authentication Failed when trying to download_data with appcfg.py

2011-06-01 Thread Arun Shanker Prasad
Hi Robert,

Thanks for the response, yes I tried with their whole email address,
it's just giving me authentication failed errors..

Thanks,
Arun.

On Jun 1, 9:31 am, Robert Kluin robert.kl...@gmail.com wrote:
 Sounds like a real bummer.  You tried using the full email address for the 
 user?

 On Tue, May 31, 2011 at 06:11, Arun Shanker Prasad







 arunshankerpra...@gmail.com wrote:
  Hi,

  I am getting an 'Authentication Failed' error message while
  downloading data from my application. The application is locked to a
  particular Google Apps domain. I have tried everything to get it to
  work. I have added another user from the Google Apps Domain as an
  Owner and tried downloading the data using that user and I have also
  tried adding another @gmail.com account as an Owner and that also does
  not work, but it does keep asking for my password multiple times
  saying 'Invalid username or password'..

  Can any one please help me with.

  Thanks,
  Arun Shanker Prasad.

  --
  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 
  athttp://groups.google.com/group/google-appengine?hl=en.

-- 
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: Authentication Failed when trying to download_data with appcfg.py

2011-06-01 Thread Arun Shanker Prasad
Hi,

I don't who did what.. But it magically started working today :D Thank
You VERY much for the person responsible :-)

Thanks,
Arun.

On Jun 1, 12:01 pm, Arun Shanker Prasad arunshankerpra...@gmail.com
wrote:
 Hi Robert,

 Thanks for the response, yes I tried with their whole email address,
 it's just giving me authentication failed errors..

 Thanks,
 Arun.

 On Jun 1, 9:31 am, Robert Kluin robert.kl...@gmail.com wrote:







  Sounds like a real bummer.  You tried using the full email address for the 
  user?

  On Tue, May 31, 2011 at 06:11, Arun Shanker Prasad

  arunshankerpra...@gmail.com wrote:
   Hi,

   I am getting an 'Authentication Failed' error message while
   downloading data from my application. The application is locked to a
   particular Google Apps domain. I have tried everything to get it to
   work. I have added another user from the Google Apps Domain as an
   Owner and tried downloading the data using that user and I have also
   tried adding another @gmail.com account as an Owner and that also does
   not work, but it does keep asking for my password multiple times
   saying 'Invalid username or password'..

   Can any one please help me with.

   Thanks,
   Arun Shanker Prasad.

   --
   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 
   athttp://groups.google.com/group/google-appengine?hl=en.

-- 
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] [INFO ] Authentication Failed when trying to download_data with appcfg.py

2011-05-31 Thread Arun Shanker Prasad
Hi,

I am getting an 'Authentication Failed' error message while
downloading data from my application. The application is locked to a
particular Google Apps domain. I have tried everything to get it to
work. I have added another user from the Google Apps Domain as an
Owner and tried downloading the data using that user and I have also
tried adding another @gmail.com account as an Owner and that also does
not work, but it does keep asking for my password multiple times
saying 'Invalid username or password'..

Can any one please help me with.

Thanks,
Arun Shanker Prasad.

-- 
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: Authentication Failed when trying to download_data with appcfg.py

2011-05-31 Thread Arun Shanker Prasad
Hi,

Anyone else facing this issue? I am stuck now :( no live data back
up

Thanks,
Arun Shanker Prasad.

On May 31, 3:11 pm, Arun Shanker Prasad arunshankerpra...@gmail.com
wrote:
 Hi,

 I am getting an 'Authentication Failed' error message while
 downloading data from my application. The application is locked to a
 particular Google Apps domain. I have tried everything to get it to
 work. I have added another user from the Google Apps Domain as an
 Owner and tried downloading the data using that user and I have also
 tried adding another @gmail.com account as an Owner and that also does
 not work, but it does keep asking for my password multiple times
 saying 'Invalid username or password'..

 Can any one please help me with.

 Thanks,
 Arun Shanker Prasad.

-- 
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] Application Over Quota - CPU limit

2011-03-16 Thread Arun Shanker Prasad
Hi All,

My application is inaccessible with message warning users that the app
is over quota. I had a look at the AppEngine dashboard and it is
mentioned that my application's CPU quota is over the limit. My
application has been online for years now, even at it's busiest times
it has never reached anywhere over 50% CPU quota, I had a look at the
logs and I cannot see any reason why my application could have been
over quota. It is night time in my country and it would be great if I
can get my application back up and running before start of business
tomorrow. Please have a look at my application quota and advice me as
to how to proceed.

Thanks,
Arun Shanker Prasad.

-- 
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: Application Over Quota - CPU limit

2011-03-16 Thread Arun Shanker Prasad

Issue has been raised

http://code.google.com/p/googleappengine/issues/detail?id=4745

On Mar 16, 10:28 pm, Arun Shanker Prasad arunshankerpra...@gmail.com
wrote:
 Hi All,

 My application is inaccessible with message warning users that the app
 is over quota. I had a look at the AppEngine dashboard and it is
 mentioned that my application's CPU quota is over the limit. My
 application has been online for years now, even at it's busiest times
 it has never reached anywhere over 50% CPU quota, I had a look at the
 logs and I cannot see any reason why my application could have been
 over quota. It is night time in my country and it would be great if I
 can get my application back up and running before start of business
 tomorrow. Please have a look at my application quota and advice me as
 to how to proceed.

 Thanks,
 Arun Shanker Prasad.

-- 
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: Google App Engine Buit-In OAuth failing when requesting for access token

2011-02-07 Thread Arun Shanker Prasad
Hi All,

Got everything working finally :-)

The final issue was with the Content-Type header i was setting..
changed that to 'text/plain' and everything was working smoothly.

Thanks,
Arun Shanker Prasad.

On Jan 31, 9:41 pm, Arun Shanker Prasad arunshankerpra...@gmail.com
wrote:
 Hi,

 @Takashi and @yuvi, Thank You for your responses :)

 I was able to complete the OAuth dance with my Google App Engine
 application :D

 But now I am faced with another issue when I try to access the API
 URL :'(

 I am sending the OAuth information via the Authorization header, but
 when I try to do a 'get_current_user()' I am getting an
 'InvalidOAuthParametersError'..

 I can't figure out which OAuth parameter is wrong :( I have looked at
 all the documentation I can find and I am sending all the parameters
 correctly..

 Have you guys been able to use the 'get_current_user()' successfully?
 If you can you please share what your header and request looks like?

 I have posted my header info below, if you can find what I am doing
 wrong then that would be great

 Request Header: OAuth oauth_consumer_key=site.com,
 oauth_nonce=80265015, oauth_signature=my_signature,
 oauth_signature_method=HMAC-SHA1, oauth_timestamp=1296411891,
 oauth_token=my_token, oauth_version=1.0

 On my server I get this in the error log

 raise e
 InvalidOAuthParametersError

 Any help would be greatly appreciated.

 Thanks,
 Arun Shanker Prasad.

 On Jan 29, 1:30 am, yuvi yuvalheft...@gmail.com wrote:







  Hi,

  I'm using it from an Opensocial Gadget and it seems to work OK. The
  only thing I have notice is that even
  when I use my Google account control panel to Revoke access the
  token is still working.

 https://www.google.com/accounts/b/0/IssuedAuthSubTokens

  On Jan 28, 6:40 pm, Takashi SASAKI takashi...@gmail.com wrote:

   Hi, Arun

   I also making an OAuth consumer with Google App Engine for Python.
   The consumer uses simplegeo oauth2 library.
   Here is my code snippet to get access token
   when called back just after authorization.

   
               user_info.authorized_request_token =
   self.request.get(oauth_token)
               user_info.verifier = self.request.get(oauth_verifier)
               assert(user_info.request_token ==
   user_info.authorized_request_token)
               request_token =
   oauth2.Token(user_info.request_token.__str__(),
   user_info.request_token_secret.__str__())
               request_token.set_verifier(user_info.verifier.__str__()) #
   may not needed
               request = oauth2.Request.from_consumer_and_token(consumer,
   token=request_token, http_url = SP_ACCESS_TOKEN_URL)
               signature_method = oauth2.SignatureMethod_HMAC_SHA1()
               request.sign_request(signature_method, consumer,
   request_token)
               #self.response.out.write(request.to_header())
               connection.request(request.method, SP_ACCESS_TOKEN_URL,
   headers=request.to_header())
               response = connection.getresponse()
               response_read = response.read()
               access_token = oauth2.Token.from_string(response_read)
               user_info.access_token = access_token.key
               user_info.access_token_secret = access_token.secret
               user_info.put()
   

   I hope it helps you somewhat.

   Takashi SASAKI (@TakashiSasaki on Twitter)

   On 1月29日, 午前1:28, Arun Shanker Prasad arunshankerpra...@gmail.com
   wrote:

Hi All,

Background:

I am trying to implement a web-service for my App Engine application
and authenticate the user using OAuth. For this I chose to use my App
Engine application as an OAuth service provider.

My issue:

I got the request token back from App Engine and I redirected my user
to authorize the token and user grants access, everything is working
fine up until this point. When I try to get the access token using the
token and verifier provided by posting info to 'https://app-
id.appspot.com/_ah/OAuthGetAccessToken', I am getting a 400 error back
and does not have any information regarding what went wrong :(

I had used GData OAuth before on my client application and had similar
issues during development, but the response from Google's GData
service had a bit more information as to what was wrong and I was able
to get it working pretty easily.

My question is has anyone tried using their App Engine application as
an OAuth service provider? (I tried googling for a sample and was not
able to find anything)

I am using Google App Engine for Python.

Thanks,
Arun Shanker Prasad.

-- 
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

[google-appengine] Re: Google App Engine Buit-In OAuth failing when requesting for access token

2011-01-31 Thread Arun Shanker Prasad
Hi,

@Takashi and @yuvi, Thank You for your responses :)

I was able to complete the OAuth dance with my Google App Engine
application :D

But now I am faced with another issue when I try to access the API
URL :'(

I am sending the OAuth information via the Authorization header, but
when I try to do a 'get_current_user()' I am getting an
'InvalidOAuthParametersError'..

I can't figure out which OAuth parameter is wrong :( I have looked at
all the documentation I can find and I am sending all the parameters
correctly..

Have you guys been able to use the 'get_current_user()' successfully?
If you can you please share what your header and request looks like?

I have posted my header info below, if you can find what I am doing
wrong then that would be great

Request Header: OAuth oauth_consumer_key=site.com,
oauth_nonce=80265015, oauth_signature=my_signature,
oauth_signature_method=HMAC-SHA1, oauth_timestamp=1296411891,
oauth_token=my_token, oauth_version=1.0

On my server I get this in the error log

raise e
InvalidOAuthParametersError

Any help would be greatly appreciated.

Thanks,
Arun Shanker Prasad.

On Jan 29, 1:30 am, yuvi yuvalheft...@gmail.com wrote:
 Hi,

 I'm using it from an Opensocial Gadget and it seems to work OK. The
 only thing I have notice is that even
 when I use my Google account control panel to Revoke access the
 token is still working.

 https://www.google.com/accounts/b/0/IssuedAuthSubTokens

 On Jan 28, 6:40 pm, Takashi SASAKI takashi...@gmail.com wrote:







  Hi, Arun

  I also making an OAuth consumer with Google App Engine for Python.
  The consumer uses simplegeo oauth2 library.
  Here is my code snippet to get access token
  when called back just after authorization.

  
              user_info.authorized_request_token =
  self.request.get(oauth_token)
              user_info.verifier = self.request.get(oauth_verifier)
              assert(user_info.request_token ==
  user_info.authorized_request_token)
              request_token =
  oauth2.Token(user_info.request_token.__str__(),
  user_info.request_token_secret.__str__())
              request_token.set_verifier(user_info.verifier.__str__()) #
  may not needed
              request = oauth2.Request.from_consumer_and_token(consumer,
  token=request_token, http_url = SP_ACCESS_TOKEN_URL)
              signature_method = oauth2.SignatureMethod_HMAC_SHA1()
              request.sign_request(signature_method, consumer,
  request_token)
              #self.response.out.write(request.to_header())
              connection.request(request.method, SP_ACCESS_TOKEN_URL,
  headers=request.to_header())
              response = connection.getresponse()
              response_read = response.read()
              access_token = oauth2.Token.from_string(response_read)
              user_info.access_token = access_token.key
              user_info.access_token_secret = access_token.secret
              user_info.put()
  

  I hope it helps you somewhat.

  Takashi SASAKI (@TakashiSasaki on Twitter)

  On 1月29日, 午前1:28, Arun Shanker Prasad arunshankerpra...@gmail.com
  wrote:

   Hi All,

   Background:

   I am trying to implement a web-service for my App Engine application
   and authenticate the user using OAuth. For this I chose to use my App
   Engine application as an OAuth service provider.

   My issue:

   I got the request token back from App Engine and I redirected my user
   to authorize the token and user grants access, everything is working
   fine up until this point. When I try to get the access token using the
   token and verifier provided by posting info to 'https://app-
   id.appspot.com/_ah/OAuthGetAccessToken', I am getting a 400 error back
   and does not have any information regarding what went wrong :(

   I had used GData OAuth before on my client application and had similar
   issues during development, but the response from Google's GData
   service had a bit more information as to what was wrong and I was able
   to get it working pretty easily.

   My question is has anyone tried using their App Engine application as
   an OAuth service provider? (I tried googling for a sample and was not
   able to find anything)

   I am using Google App Engine for Python.

   Thanks,
   Arun Shanker Prasad.

-- 
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] Unable to see logging output in server logs

2011-01-29 Thread Arun Shanker Prasad
Hi All,

From yesterday evening I am not able to see any debug/error/info logs
on my server logs :(

I tried adding in some new logging.info() and it does not seem to
appear in live logs

Also when my application gets a 500 error I am not able to see
anything about the error in my logs, I am able to see the 500 error
when I choose 'All Request' from the admin control. I tried
downloading the logs, the same thing there also.. I am able to see the
500 response code but nothing about the error or any of my debug or
info.

I need to figure out a solution for this soon My app is breaking
and I can't figure out the cause since there are no logs

Thanks,
Arun Shanker Prasad.

-- 
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: Unable to see logging output in server logs

2011-01-29 Thread Arun Shanker Prasad
And... just as I posted this I got my logs back

This is weired and worrying that I can loose access to my server logs
like this, even if it was just for almost 2days :(

On Jan 29, 4:31 pm, Arun Shanker Prasad arunshankerpra...@gmail.com
wrote:
 Hi All,

 From yesterday evening I am not able to see any debug/error/info logs
 on my server logs :(

 I tried adding in some new logging.info() and it does not seem to
 appear in live logs

 Also when my application gets a 500 error I am not able to see
 anything about the error in my logs, I am able to see the 500 error
 when I choose 'All Request' from the admin control. I tried
 downloading the logs, the same thing there also.. I am able to see the
 500 response code but nothing about the error or any of my debug or
 info.

 I need to figure out a solution for this soon My app is breaking
 and I can't figure out the cause since there are no logs

 Thanks,
 Arun Shanker Prasad.

-- 
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] Google App Engine Buit-In OAuth failing when requesting for access token

2011-01-28 Thread Arun Shanker Prasad
Hi All,

Background:

I am trying to implement a web-service for my App Engine application
and authenticate the user using OAuth. For this I chose to use my App
Engine application as an OAuth service provider.

My issue:

I got the request token back from App Engine and I redirected my user
to authorize the token and user grants access, everything is working
fine up until this point. When I try to get the access token using the
token and verifier provided by posting info to 'https://app-
id.appspot.com/_ah/OAuthGetAccessToken', I am getting a 400 error back
and does not have any information regarding what went wrong :(

I had used GData OAuth before on my client application and had similar
issues during development, but the response from Google's GData
service had a bit more information as to what was wrong and I was able
to get it working pretty easily.

My question is has anyone tried using their App Engine application as
an OAuth service provider? (I tried googling for a sample and was not
able to find anything)

I am using Google App Engine for Python.

Thanks,
Arun Shanker Prasad.

-- 
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: GAE vs. Google Wave Discontinue

2010-08-11 Thread Arun Shanker Prasad
Thank You Ikai.. That put a smile on face :-) :-)

On Aug 11, 3:22 am, nickmilon nickmi...@gmail.com wrote:
 Nice, open and very convincing  talk  from Ikai.  !

-- 
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-appeng...@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: Unable to access applications from certain IPs - Redirected to sorry.google.com

2010-08-03 Thread Arun Shanker Prasad
Hi All,

Any updates on this please?

It would be very helpful if I could identify the cause and try to find
a solution/work around for this.

Thanks,
Arun Shanker Prasad.

On Aug 2, 2:47 pm, Arun Shanker Prasad arunshankerpra...@gmail.com
wrote:
 Hi,

 The issue seems to be resolved now. But since I was not able to see
 any errors in my logs, could someone please investigate this and
 provide me with some info so that I can avoid this in future. Since
 almost all our IPs were blocked except only a couple, which means a
 majority of our users were not able to access the application.

 Thanks,
 Arun Shanker Prasad.

 On Aug 2, 12:34 pm, Arun Shanker Prasad arunshankerpra...@gmail.com
 wrote:



  We are unable to access our application from certain IPs. Our
  application is an internal application that we use only from within
  our organisation. Since all of our networks have public static IPs, I
  expect most of the request to originate from the same set of IP
  addresses. Since today morning we are not able to access our
  application from some of these IPs. I am not able to see any errors in
  the logs and the website is redirected to 'sorry.google.com'. Please
  have a look and hoping resolve this as soon as possible.

  I have also raised this as a production issue in the issue 
  tracker;http://code.google.com/p/googleappengine/issues/detail?id=3536

  Screen shots also attached to the issue.

-- 
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-appeng...@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.



Re: [google-appengine] Re: Unable to access applications from certain IPs - Redirected to sorry.google.com

2010-08-03 Thread Arun Shanker Prasad
Hi Ikai,

Thank You for your response. It seemed strange to me too, as most of the
users from my organisation were blocked, but the same users were able to
access from a different IP.

I was not able to find any HTTP header information from the logs, since at
the time this happened I was not able to find any details from the server
logs. Or do you mean request headers from our internal gateway servers?

 It looks like certain users were blocked around the time reported. They
should not be blocked anymore, as this has been resolved.

Yes, most of the users were blocked for a couple of hours when I reported
this issue. They were able to access our application after that.

I was wondering if you had any information from your side as to why this
could have happened, if it's something from within my organisation's
networks we need to be able to fix that to avoid such incidents in future.

Thanks,
Arun Shanker Prasad.

On Wed, Aug 4, 2010 at 5:28 AM, Ikai L (Google) ika...@google.com wrote:

 Looks like this comes from automated search queries:


 http://www.google.com/#hl=ensource=hpq=sorry.google.comaq=faqi=aql=oq=gs_rfai=fp=50c9746d5062f48d

 Which is strange since this is an App Engine application. Any chance you
 have any more lower level details like HTTP headers?

 On Tue, Aug 3, 2010 at 11:10 AM, Arun Shanker Prasad 
 arunshankerpra...@gmail.com wrote:

 Hi All,

 Any updates on this please?

 It would be very helpful if I could identify the cause and try to find
 a solution/work around for this.

 Thanks,
 Arun Shanker Prasad.

 On Aug 2, 2:47 pm, Arun Shanker Prasad arunshankerpra...@gmail.com
 wrote:
  Hi,
 
  The issue seems to be resolved now. But since I was not able to see
  any errors in my logs, could someone please investigate this and
  provide me with some info so that I can avoid this in future. Since
  almost all our IPs were blocked except only a couple, which means a
  majority of our users were not able to access the application.
 
  Thanks,
  Arun Shanker Prasad.
 
  On Aug 2, 12:34 pm, Arun Shanker Prasad arunshankerpra...@gmail.com
  wrote:
 
 
 
   We are unable to access our application from certain IPs. Our
   application is an internal application that we use only from within
   our organisation. Since all of our networks have public static IPs, I
   expect most of the request to originate from the same set of IP
   addresses. Since today morning we are not able to access our
   application from some of these IPs. I am not able to see any errors in
   the logs and the website is redirected to 'sorry.google.com'. Please
   have a look and hoping resolve this as soon as possible.
 
   I have also raised this as a production issue in the issue tracker;
 http://code.google.com/p/googleappengine/issues/detail?id=3536
 
   Screen shots also attached to the issue.

 --
 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-appeng...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine?hl=en.




 --
 Ikai Lan
 Developer Programs Engineer, Google App Engine
 Blog: http://googleappengine.blogspot.com
 Twitter: http://twitter.com/app_engine
 Reddit: http://www.reddit.com/r/appengine

  --
 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-appeng...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine?hl=en.


-- 
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-appeng...@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] Unable to access applications from certain IPs - Redirected to sorry.google.com

2010-08-02 Thread Arun Shanker Prasad
We are unable to access our application from certain IPs. Our
application is an internal application that we use only from within
our organisation. Since all of our networks have public static IPs, I
expect most of the request to originate from the same set of IP
addresses. Since today morning we are not able to access our
application from some of these IPs. I am not able to see any errors in
the logs and the website is redirected to 'sorry.google.com'. Please
have a look and hoping resolve this as soon as possible.

I have also raised this as a production issue in the issue tracker;
http://code.google.com/p/googleappengine/issues/detail?id=3536

Screen shots also attached to the issue.

-- 
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-appeng...@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: Unable to access applications from certain IPs - Redirected to sorry.google.com

2010-08-02 Thread Arun Shanker Prasad

Hi,

The issue seems to be resolved now. But since I was not able to see
any errors in my logs, could someone please investigate this and
provide me with some info so that I can avoid this in future. Since
almost all our IPs were blocked except only a couple, which means a
majority of our users were not able to access the application.

Thanks,
Arun Shanker Prasad.

On Aug 2, 12:34 pm, Arun Shanker Prasad arunshankerpra...@gmail.com
wrote:
 We are unable to access our application from certain IPs. Our
 application is an internal application that we use only from within
 our organisation. Since all of our networks have public static IPs, I
 expect most of the request to originate from the same set of IP
 addresses. Since today morning we are not able to access our
 application from some of these IPs. I am not able to see any errors in
 the logs and the website is redirected to 'sorry.google.com'. Please
 have a look and hoping resolve this as soon as possible.

 I have also raised this as a production issue in the issue 
 tracker;http://code.google.com/p/googleappengine/issues/detail?id=3536

 Screen shots also attached to the issue.

-- 
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-appeng...@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: AppEngine importError with Reportlab

2010-07-31 Thread Arun Shanker Prasad
Hi,

As mentioned above you need to put the Report lab module in the root
of your application, just under the folder src.

Also most of the issue mentioned in that issue tracker deals with the
issue of using ReportLab with ZipImport, please note that issue is
still not resolved. The best option right now is to use ReportLab
without zipping it.

Thanks,
Arun Shanker Prasad

On Jul 27, 4:32 am, Tim Hoffman zutes...@gmail.com wrote:
 Hi

 For starters if your a newbie  please use python2.5, that is what is
 supported by the production environment.
 Secondly reportlab will need to be in your project not in your python
 install (not sure if you have done this or not).

 I would get those 2 things sorted before you go any further.

 Rgds

 T

 On Jul 27, 5:26 am, xerife martinhoaran...@gmail.com wrote:



  I´m a newbie, started using App engine about a mounth and am
  developing a project.
  This project makes use of a library reportlab
  I´ve googled a lot and I am desperate because I can not import the
  module successfully.
  Settings:
  Python 2.7
  Helios Eclipse
  Appengine SDK version 1.3.5
  Windows 7 x64

  Errors:
  Traceback (most recent call last):
    File C: \ Users \ HP \ Documents \ Teaching cv \ src \
  principal.py, line 4, in module
      import canvas from reportlab.pdfgen
  ImportError: No module named reportlab.pdfgen

  Question:
  Where to put ReportLab?
  within the Python lib / site-packages? or within the application?
  You need to edit any file? If yes, what and how?

  Note: I've seen this 
  trackerhttp://code.google.com/p/googleappengine/issues/detail?id=1085.

  Please help, i´m stucked with this

-- 
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-appeng...@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: Upcoming maintenance notification

2010-06-30 Thread Arun Shanker Prasad
Yup, the downtime notification mail was in my inbox.

On Jul 1, 12:55 am, Ikai L (Google) ika...@google.com wrote:
 Was this message correctly directed into anyone's inbox?

 On Wed, Jun 30, 2010 at 12:48 PM, Robert Kluin robert.kl...@gmail.comwrote:





  Went to my spam folder as well.

  On Wed, Jun 30, 2010 at 2:19 PM, johntray john.tur...@gmail.com wrote:
   I can confirm that the email from the downtime-notify group was indeed
   routed to my Gmail spam folder. It includes a red-overlay message:
   Warning: This message may not be from whom it claims to be. Beware of
   following any links in it or of providing the sender with any personal
   information. There is also a link to Learn more  which points to
  http://mail.google.com/support/bin/answer.py?hl=enctx=mailanswer=8253.

   Thanks for posting here, as I would have completely missed it

   On Jun 30, 2:51 pm, Ikai L (Google) ika...@google.com wrote:
   Hey guys,

   I just wanted to point out there are upcoming maintenance periods
  scheduled
   for July 7th and July 14th at 5pm Pacific. More details here:

  http://groups.google.com/group/google-appengine-downtime-notify/brows.
  ..

   Normally, I wouldn't post these notifications to this group, as they
  belong
   in the downtime notify group, however, users are reporting that this
   message went into their spam folder. Can anyone verify this, or let me
  know
   in this thread if this message was correctly delivered?

   If you want to be notified of upcoming maintenance periods, make sure to
   join this group:

  http://groups.google.com/group/google-appengine-downtime-notify

   We're doing our best to minimize these periods in the future, but there
  are
   times when these periods will be absolutely necessary.

   --
   Ikai Lan
   Developer Programs Engineer, Google App Engine
   Blog:http://googleappengine.blogspot.com
   Twitter:http://twitter.com/app_engine
   Reddit:http://www.reddit.com/r/appengine

   --
   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-appeng...@googlegroups.com.
   To unsubscribe from this group, send email to
  google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2Bunsubscrib 
  e...@googlegroups.com
  .
   For more options, visit this group at
 http://groups.google.com/group/google-appengine?hl=en.

  --
  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-appeng...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2Bunsubscrib 
  e...@googlegroups.com
  .
  For more options, visit this group at
 http://groups.google.com/group/google-appengine?hl=en.

 --
 Ikai Lan
 Developer Programs Engineer, Google App Engine
 Blog:http://googleappengine.blogspot.com
 Twitter:http://twitter.com/app_engine
 Reddit:http://www.reddit.com/r/appengine

-- 
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-appeng...@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: Memcache Size limitation

2010-05-24 Thread Arun Shanker Prasad
Hi All,

I am still stuck at this, any help would be greatly appreciated.

Thanks,
Arun Shanker Prasad.

On May 22, 2:41 pm, Arun Shanker Prasad arunshankerpra...@gmail.com
wrote:
 Hi all,

 I think many of you may have had this issue, I am talking about the
 issue with the Memcache size limitation. I have an application which
 this limit some time back, I have had to disable memcaching of certain
 Model objects, this is causing considerable overhead in my app. I am
 trying to find a solution to this, I tried the way that Nick Johnson
 had mention in the 
 blog;http://blog.notdot.net/2009/9/Efficient-model-memcaching

 But most of my models are search.SearchableEntity so can't use that
 also :(

 I tried to split up the objects in to multiple items in memcache, but
 that will increase my RPC calls, since I can't use get_multi since
 there is a 1MB limit on that also.

 Any help or suggestions will be greatly appreciated.

 Thanks,
 Arun Shanker Prasad.

 --
 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-appeng...@googlegroups.com.
 To unsubscribe from this group, send email to 
 google-appengine+unsubscr...@googlegroups.com.
 For more options, visit this group 
 athttp://groups.google.com/group/google-appengine?hl=en.

-- 
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-appeng...@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] Memcache Size limitation

2010-05-22 Thread Arun Shanker Prasad
Hi all,

I think many of you may have had this issue, I am talking about the
issue with the Memcache size limitation. I have an application which
this limit some time back, I have had to disable memcaching of certain
Model objects, this is causing considerable overhead in my app. I am
trying to find a solution to this, I tried the way that Nick Johnson
had mention in the blog;
http://blog.notdot.net/2009/9/Efficient-model-memcaching

But most of my models are search.SearchableEntity so can't use that
also :(

I tried to split up the objects in to multiple items in memcache, but
that will increase my RPC calls, since I can't use get_multi since
there is a 1MB limit on that also.

Any help or suggestions will be greatly appreciated.

Thanks,
Arun Shanker Prasad.

-- 
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-appeng...@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.



[appengine-java] Spring 3.0 + Tiles 2.1.4 + GAE

2010-02-04 Thread Arun Shanker Prasad
(ContextHandler.java:
500)
at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:
448)
at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:
40)
at
org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:
117)
at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:
40)
at
org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:
117)
at org.mortbay.jetty.Server.doStart(Server.java:217)
at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:
40)
at
com.google.appengine.tools.development.JettyContainerService.startContainer(JettyContainerService.java:
188)
at
com.google.appengine.tools.development.AbstractContainerService.startup(AbstractContainerService.java:
120)
at
com.google.appengine.tools.development.DevAppServerImpl.start(DevAppServerImpl.java:
217)
at com.google.appengine.tools.development.DevAppServerMain
$StartAction.apply(DevAppServerMain.java:162)
at com.google.appengine.tools.util.Parser
$ParseResult.applyArgs(Parser.java:48)
at
com.google.appengine.tools.development.DevAppServerMain.init(DevAppServerMain.java:
113)
at
com.google.appengine.tools.development.DevAppServerMain.main(DevAppServerMain.java:
89)

Thanks,
Arun Shanker Prasad.

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



[google-appengine] Re: Random Deadline Exceeded exceptions

2010-01-12 Thread Arun Shanker Prasad
Hi,

I am still getting these at random intervals. Can anyone give any
details about this?

Thanks,
Arun Shanker Prasad.

On Jan 10, 8:38 pm, Arun Shanker Prasad arunshankerpra...@gmail.com
wrote:
 Hi,

 Thank You osrdg, that seems to be a good suggestion. But my initial
 post was because these errors should not have happened in the first
 place.. Since the application was working fine a couple of days ago
 and these errors only happen at random and not during any specific
 requests (I mean any specific functionality in my app).

 Could anyone please help me find a cause for this?

 Thanks,
 Arun Shanker Prasad.

 On Jan 9, 10:31 am, osrdg osrdg.informat...@gmail.com wrote:



  Here is a useful discussion on this in  Issue 1409; suggested solution
  is this

  def main():
    ...
  try:
    django.dispatch.dispatcher.connect(...)
    if __name__ == '__main__':
      main()
  except BaseException, err:
    logging.exception('Aargh!')

  Refer :http://code.google.com/p/googleappengine/issues/detail?id=1409

  On Jan 9, 12:04 am, ekampf eka...@gmail.com wrote:

   Happens to me too...
   Even worse is that it's thrown during django's loading... doesn't even
   reach my code...

   On Jan 8, 8:32 am, Arun Shanker Prasad arunshankerpra...@gmail.com
   wrote:

Hi,

Starting yesterday, I am getting random Deadline Exceeded exceptions
in my application. This creeps at random intervals and I was not able
to trace a single cause for this. The operations that took very small
time to complete until a couple of days ago seems to be exceeding the
deadline..

Please any help would be greatly appreciated.

Thanks  Regards,
Arun Shanker Prasad.
-- 
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-appeng...@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: Random Deadline Exceeded exceptions

2010-01-10 Thread Arun Shanker Prasad
Hi,

Thank You osrdg, that seems to be a good suggestion. But my initial
post was because these errors should not have happened in the first
place.. Since the application was working fine a couple of days ago
and these errors only happen at random and not during any specific
requests (I mean any specific functionality in my app).

Could anyone please help me find a cause for this?

Thanks,
Arun Shanker Prasad.

On Jan 9, 10:31 am, osrdg osrdg.informat...@gmail.com wrote:
 Here is a useful discussion on this in  Issue 1409; suggested solution
 is this

 def main():
   ...
 try:
   django.dispatch.dispatcher.connect(...)
   if __name__ == '__main__':
     main()
 except BaseException, err:
   logging.exception('Aargh!')

 Refer :http://code.google.com/p/googleappengine/issues/detail?id=1409

 On Jan 9, 12:04 am, ekampf eka...@gmail.com wrote:



  Happens to me too...
  Even worse is that it's thrown during django's loading... doesn't even
  reach my code...

  On Jan 8, 8:32 am, Arun Shanker Prasad arunshankerpra...@gmail.com
  wrote:

   Hi,

   Starting yesterday, I am getting random Deadline Exceeded exceptions
   in my application. This creeps at random intervals and I was not able
   to trace a single cause for this. The operations that took very small
   time to complete until a couple of days ago seems to be exceeding the
   deadline..

   Please any help would be greatly appreciated.

   Thanks  Regards,
   Arun Shanker Prasad.
-- 
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-appeng...@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] Random Deadline Exceeded exceptions

2010-01-07 Thread Arun Shanker Prasad
Hi,

Starting yesterday, I am getting random Deadline Exceeded exceptions
in my application. This creeps at random intervals and I was not able
to trace a single cause for this. The operations that took very small
time to complete until a couple of days ago seems to be exceeding the
deadline..

Please any help would be greatly appreciated.

Thanks  Regards,
Arun Shanker Prasad.
-- 
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-appeng...@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: 500 Server Error

2010-01-07 Thread Arun Shanker Prasad
Hi,

Same thing started happening to me too.. Has your problem been
resolved?

Thanks  Regards,
Arun Shanker Prasad.

On Jan 7, 9:49 pm, fochiller maxlamb...@gmail.com wrote:
 Starting yesterday I keep getting a 500 server error on most attempts
 to reach my app. I had not deployed new code in over a week, and I
 have never gotten so many 500 error since first deploying my app back
 in November.  Anybody else getting an unusual number of 500 server
 errors?   I changed to Debug mode and traceback errors only shows a
 runtime deadline exceeded. Given that for the last two months requests
 averaged 2 seconds it seems unlikely that all requests now take more
 than 30 seconds.. If anybody has any advice i'd greatly appreciate
 it!  thanks

 class 'google.appengine.runtime.DeadlineExceededError':
 Traceback (most recent call last):
   File /base/data/home/apps/funniestlinks/1.338990142589910139/
 main.py, line 55, in module
     main()
   File /base/data/home/apps/funniestlinks/1.338990142589910139/
 main.py, line 52, in main
     util.run_wsgi_app(application())
   File /base/python_lib/versions/1/google/appengine/ext/webapp/
 util.py, line 97, in run_wsgi_app
     run_bare_wsgi_app(add_wsgi_middleware(application))
   File /base/python_lib/versions/1/google/appengine/ext/webapp/
 util.py, line 115, in run_bare_wsgi_app
     result = application(env, _start_response)
   File /base/python_lib/versions/third_party/django-0.96/django/core/
 handlers/wsgi.py, line 189, in __call__
     response = self.get_response(request)
   File /base/python_lib/versions/third_party/django-0.96/django/core/
 handlers/base.py, line 110, in get_response
     from django.views import debug
   File /base/python_dist/lib/python2.5/py_zipimport.py, line 105, in
 __init__
     if not os.path.isfile(archive):
   File /base/python_dist/lib/python2.5/posixpath.py, line 208, in
 isfile
     st = os.stat(path)
-- 
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-appeng...@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: Application Timeouts - More than usual

2009-11-17 Thread Arun Shanker Prasad
Hi Ikai,

I was getting these error in a lot of places, mostly reads or memcache
hits some time. Mail API also was having some timeouts :-(

Most of the time what got me worried was my users (I tested it myself)
were getting the stack trace for the deadline exceeded error on their
browser. I am using Django 0.96 for dev, so even if there was an error
the user should be sent to my default 500 page. What I can gather from
this is that the process of sending the response was also deadlining.
Also since this keeps happening in random I was also not able to trace
it out.

I have sent a stack trace of the errors that occurred today as a mail
to you. Thank You for the response and sorry for my delay.

Thanks,
Arun Shanker Prasad.

On Nov 17, 3:19 am, Ikai L (Google) ika...@google.com wrote:
 Arun,

 Which actions are triggering the DeadlineExceededError? What are you trying
 to do in these actions?

 On Fri, Nov 13, 2009 at 5:43 AM, Arun Shanker Prasad 





 arunshankerpra...@gmail.com wrote:
  Hi Ikai,

  I had replied with the application id.

  I am still getting these errors at random, were you able to have a
  look.

  class 'google.appengine.runtime.DeadlineExceededError'

  Thanks,
  Arun Shanker Prasad.

  On Nov 11, 3:52 am, Ikai L (Google) ika...@google.com wrote:
   Arun,

   Are you still seeing these issues? Please let us know your application ID
  if
   you are.

   On Mon, Nov 9, 2009 at 7:30 AM, Arun Shanker Prasad 

   arunshankerpra...@gmail.com wrote:

Hi,

My application seems to be throwing a lot of DeadLine exceeded errors
this morning. There was no changes uploaded. This seems to have
cropped up suddenly this morning. Anyone else facing this? Or is it
just me?

Thanks,
Arun Shanker Prasad.

   --
   Ikai Lan
   Developer Programs Engineer, Google App Engine

  --

  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-appeng...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2Bunsubscrib 
  e...@googlegroups.com
  .
  For more options, visit this group at
 http://groups.google.com/group/google-appengine?hl=.

 --
 Ikai Lan
 Developer Programs Engineer, Google App Engine

--

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-appeng...@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=.




[google-appengine] Re: Application Timeouts - More than usual

2009-11-13 Thread Arun Shanker Prasad
Hi,

I had replied with my application Id, I am still getting these errors
at random intervals
class 'google.appengine.runtime.DeadlineExceededError'

Thanks,
Arun Shanker Prasad.

On Nov 11, 3:52 am, Ikai L (Google) ika...@google.com wrote:
 Arun,

 Are you still seeing these issues? Please let us know your application ID if
 you are.

 On Mon, Nov 9, 2009 at 7:30 AM, Arun Shanker Prasad 

 arunshankerpra...@gmail.com wrote:

  Hi,

  My application seems to be throwing a lot of DeadLine exceeded errors
  this morning. There was no changes uploaded. This seems to have
  cropped up suddenly this morning. Anyone else facing this? Or is it
  just me?

  Thanks,
  Arun Shanker Prasad.

 --
 Ikai Lan
 Developer Programs Engineer, Google App Engine

--

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-appeng...@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=.




[google-appengine] Re: Application Timeouts - More than usual

2009-11-13 Thread Arun Shanker Prasad
Hi Ikai,

I had replied with the application id.

I am still getting these errors at random, were you able to have a
look.

class 'google.appengine.runtime.DeadlineExceededError'

Thanks,
Arun Shanker Prasad.

On Nov 11, 3:52 am, Ikai L (Google) ika...@google.com wrote:
 Arun,

 Are you still seeing these issues? Please let us know your application ID if
 you are.

 On Mon, Nov 9, 2009 at 7:30 AM, Arun Shanker Prasad 

 arunshankerpra...@gmail.com wrote:

  Hi,

  My application seems to be throwing a lot of DeadLine exceeded errors
  this morning. There was no changes uploaded. This seems to have
  cropped up suddenly this morning. Anyone else facing this? Or is it
  just me?

  Thanks,
  Arun Shanker Prasad.

 --
 Ikai Lan
 Developer Programs Engineer, Google App Engine

--

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-appeng...@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=.




[google-appengine] Application Timeouts - More than usual

2009-11-08 Thread Arun Shanker Prasad

Hi,

My application seems to be throwing a lot of DeadLine exceeded errors
this morning. There was no changes uploaded. This seems to have
cropped up suddenly this morning. Anyone else facing this? Or is it
just me?

Thanks,
Arun Shanker Prasad.
--~--~-~--~~~---~--~~
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: 'ReferenceProperty' query filtering?

2009-09-15 Thread Arun Shanker Prasad

Hi,

I think you are trying to filter the ReferenceProperty as a string,
this won't work. You need to;

query.filter('owner = ', PetOwner.all().filter('name =', 'johndoe'))

Doc on the Datastore ReferenceProperty;

http://code.google.com/appengine/docs/python/datastore/entitiesandmodels.html#References

Thanks,
Arun Shanker Prasad.

On Sep 15, 8:54 am, PatHaugen pathau...@gmail.com wrote:
 Jumping into GAE, I found the ReferenceProperty interesting but still
 don't fully understand it.

 My question can expand on the example 
 from:http://code.google.com/appengine/docs/python/datastore/creatinggettin...

 class PetOwner(db.Model):
   name = db.StringProperty()
 class Pet(db.Model):
   name = db.StringProperty()
   type = db.StringProperty() # cat, dog, etc.
   owner = db.ReferenceProperty(PetOwner)

 Let's do a query to select all cats with a specific owner.

 query = db.Query(Pet)
 query = Pet.all()
 query.filter('type = ', 'Cat')
 results = query.fetch(limit=10)
 for result in results:
   output = result.name
 return output

 What can I add to this to filter only those where 'owner' is
 'johndoe'?

 I tried:
 query.filter('owner = ', 'johndoe')

 However it fails to return me a result, and I know you can pull the
 owner name via 'pet.owner.name' however trying:
 query.filter('owner.name = ', 'johndoe')

 Also fails, though it made sense for what should work. Does anyone
 know the proper method?
--~--~-~--~~~---~--~~
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: Server Error (500) Indexes stuck in building

2009-09-15 Thread Arun Shanker Prasad

Hi,

Sounds similar to a problem I had sometime back;

http://groups.google.com/group/google-appengine/browse_thread/thread/ed380a3d752133ae

Thanks,
Arun Shanker Prasad.

On Sep 15, 5:21 am, Ben bhym...@gmail.com wrote:
 Thanks Nick, but i am still having some problems.  After your changes
 the problem items were in error state, i removed them from my
 index.yaml file and then updated the indexes which caused them to go
 into a deleting state as expected.  after a few minutes they all
 disappeared from indexes page of the dashboard.  However, when i try
 to deploy a new version with new indexes or if i run update_indexes i
 still am getting the Server Error (500) error and my new indexes are
 not implemented.  Help!

 On Sep 14, 5:43 am, Nick Johnson (Google) nick.john...@google.com
 wrote:



  Hi Ben,
  I've reset your indexes - you should be able to vacuum and rebuild them now.

  -Nick Johnson

  On Sun, Sep 13, 2009 at 6:07 PM, Ben bhym...@gmail.com wrote:

   Hi I added a bunch of new indexes and deleted a bunch of old ones.
   The old ones seem to have been properly deleted, but the new ones are
   stuck in building.  I have less than 100 total indexes.  can i get a
   reset?  my appID is orangevsblack

  --
  Nick Johnson, Developer Programs Engineer, App Engine
  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: 'ReferenceProperty' query filtering?

2009-09-15 Thread Arun Shanker Prasad
Hi,
I am sorry I replied to the thread when I was not at my dev machine, did not
test the code. I am not sure if putting the query inside the query.filter()
will break it.

owner = PetOwner.all().filter('name =', 'johndoe'),get()
query.filter('owner = ', owner)

This should work.

Thanks,
Arun Shanker Prasad.


On Wed, Sep 16, 2009 at 12:50 AM, PatHaugen pathau...@gmail.com wrote:


 I tested the filter you provided:
 query.filter('owner = ', PetOwner.all().filter('name =', 'johndoe'))

 However it didn't work.

 I visited the doc you referenced, but the page does not mention
 anything about the style of query filters or any information on
 construction of queries with ReferenceProperty that I could find.

 Does the query filter you wrote work on your side?

 I broke our your query:
 PetOwner.all().filter('name =', 'johndoe')

 Which worked fine, however it was in placing it inside the
 query.filter that I get an error.

 Do you not get an error structured like this?

 On Sep 15, 4:36 am, Arun Shanker Prasad arunshankerpra...@gmail.com
 wrote:
  Hi,
 
  I think you are trying to filter the ReferenceProperty as a string,
  this won't work. You need to;
 
  query.filter('owner = ', PetOwner.all().filter('name =', 'johndoe'))
 
  Doc on the Datastore ReferenceProperty;
 
  http://code.google.com/appengine/docs/python/datastore/entitiesandmod...
 
  Thanks,
  Arun Shanker Prasad.
 
  On Sep 15, 8:54 am, PatHaugen pathau...@gmail.com wrote:
 
   Jumping into GAE, I found the ReferenceProperty interesting but still
   don't fully understand it.
 
   My question can expand on the example from:
 http://code.google.com/appengine/docs/python/datastore/creatinggettin...
 
   class PetOwner(db.Model):
 name = db.StringProperty()
   class Pet(db.Model):
 name = db.StringProperty()
 type = db.StringProperty() # cat, dog, etc.
 owner = db.ReferenceProperty(PetOwner)
 
   Let's do a query to select all cats with a specific owner.
 
   query = db.Query(Pet)
   query = Pet.all()
   query.filter('type = ', 'Cat')
   results = query.fetch(limit=10)
   for result in results:
 output = result.name
   return output
 
   What can I add to this to filter only those where 'owner' is
   'johndoe'?
 
   I tried:
   query.filter('owner = ', 'johndoe')
 
   However it fails to return me a result, and I know you can pull the
   owner name via 'pet.owner.name' however trying:
   query.filter('owner.name = ', 'johndoe')
 
   Also fails, though it made sense for what should work. Does anyone
   know the proper method?
 


--~--~-~--~~~---~--~~
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: 'ReferenceProperty' query filtering?

2009-09-15 Thread Arun Shanker Prasad

Hi,

I am sorry I replied to the thread when I was not at my dev machine,
did not test the code. I am not sure if putting the query inside the
query.filter() will break it.

owner = PetOwner.all().filter('name =', 'johndoe'),get()
query.filter('owner = ', owner)

This should work.

Thanks,
Arun Shanker Prasad.

On Sep 16, 12:20 am, PatHaugen pathau...@gmail.com wrote:
 I tested the filter you provided:
 query.filter('owner = ', PetOwner.all().filter('name =', 'johndoe'))

 However it didn't work.

 I visited the doc you referenced, but the page does not mention
 anything about the style of query filters or any information on
 construction of queries with ReferenceProperty that I could find.

 Does the query filter you wrote work on your side?

 I broke our your query:
 PetOwner.all().filter('name =', 'johndoe')

 Which worked fine, however it was in placing it inside the
 query.filter that I get an error.

 Do you not get an error structured like this?

 On Sep 15, 4:36 am, Arun Shanker Prasad arunshankerpra...@gmail.com
 wrote:



  Hi,

  I think you are trying to filter the ReferenceProperty as a string,
  this won't work. You need to;

  query.filter('owner = ', PetOwner.all().filter('name =', 'johndoe'))

  Doc on the Datastore ReferenceProperty;

 http://code.google.com/appengine/docs/python/datastore/entitiesandmod...

  Thanks,
  Arun Shanker Prasad.

  On Sep 15, 8:54 am, PatHaugen pathau...@gmail.com wrote:

   Jumping into GAE, I found the ReferenceProperty interesting but still
   don't fully understand it.

   My question can expand on the example 
   from:http://code.google.com/appengine/docs/python/datastore/creatinggettin...

   class PetOwner(db.Model):
     name = db.StringProperty()
   class Pet(db.Model):
     name = db.StringProperty()
     type = db.StringProperty() # cat, dog, etc.
     owner = db.ReferenceProperty(PetOwner)

   Let's do a query to select all cats with a specific owner.

   query = db.Query(Pet)
   query = Pet.all()
   query.filter('type = ', 'Cat')
   results = query.fetch(limit=10)
   for result in results:
     output = result.name
   return output

   What can I add to this to filter only those where 'owner' is
   'johndoe'?

   I tried:
   query.filter('owner = ', 'johndoe')

   However it fails to return me a result, and I know you can pull the
   owner name via 'pet.owner.name' however trying:
   query.filter('owner.name = ', 'johndoe')

   Also fails, though it made sense for what should work. Does anyone
   know the proper method?
--~--~-~--~~~---~--~~
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: 'ReferenceProperty' query filtering?

2009-09-15 Thread Arun Shanker Prasad
Hi,
I am almost certain that there is no way to perform a JOIN in GQL :(

The another way you can try is to use the Entity Groups;
http://code.google.com/appengine/docs/python/datastore/keysandentitygroups.html#Entity_Groups_Ancestors_and_Paths

This seems to be faster that two hits to the DB.

The 'query' function work similar to the GQL query.

Thanks,
Arun Shanker Prasad.


On Wed, Sep 16, 2009 at 3:47 AM, PatHaugen pathau...@gmail.com wrote:


 Thanks for the response, works nice, however coming from PHP/MySQL
 this seems strange to me.

 We have two 'tables' and are trying to perform a query to link them,
 however this solution causes two queries on the 'database' to be
 performed, which are logged against you for your quotas.

 I'm used to joins:
 http://dev.mysql.com/doc/refman/5.0/en/join.html

 One query linking two or more tables for the data you need.

 Is Google App Engine's 'query' function not able to do anything like
 this? Is GQL better than GAE's 'Query'?

 On Sep 15, 12:41 pm, Arun Shanker Prasad arunshankerpra...@gmail.com
 wrote:
  Hi,
 
  I am sorry I replied to the thread when I was not at my dev machine,
  did not test the code. I am not sure if putting the query inside the
  query.filter() will break it.
 
  owner = PetOwner.all().filter('name =', 'johndoe'),get()
  query.filter('owner = ', owner)
 
  This should work.
 
  Thanks,
  Arun Shanker Prasad.
 
  On Sep 16, 12:20 am, PatHaugen pathau...@gmail.com wrote:
 
   I tested the filter you provided:
   query.filter('owner = ', PetOwner.all().filter('name =', 'johndoe'))
 
   However it didn't work.
 
   I visited the doc you referenced, but the page does not mention
   anything about the style of query filters or any information on
   construction of queries with ReferenceProperty that I could find.
 
   Does the query filter you wrote work on your side?
 
   I broke our your query:
   PetOwner.all().filter('name =', 'johndoe')
 
   Which worked fine, however it was in placing it inside the
   query.filter that I get an error.
 
   Do you not get an error structured like this?
 
   On Sep 15, 4:36 am, Arun Shanker Prasad arunshankerpra...@gmail.com
   wrote:
 
Hi,
 
I think you are trying to filter the ReferenceProperty as a string,
this won't work. You need to;
 
query.filter('owner = ', PetOwner.all().filter('name =', 'johndoe'))
 
Doc on the Datastore ReferenceProperty;
 
   
 http://code.google.com/appengine/docs/python/datastore/entitiesandmod...
 
Thanks,
Arun Shanker Prasad.
 
On Sep 15, 8:54 am, PatHaugen pathau...@gmail.com wrote:
 
 Jumping into GAE, I found the ReferenceProperty interesting but
 still
 don't fully understand it.
 
 My question can expand on the example from:
 http://code.google.com/appengine/docs/python/datastore/creatinggettin...
 
 class PetOwner(db.Model):
   name = db.StringProperty()
 class Pet(db.Model):
   name = db.StringProperty()
   type = db.StringProperty() # cat, dog, etc.
   owner = db.ReferenceProperty(PetOwner)
 
 Let's do a query to select all cats with a specific owner.
 
 query = db.Query(Pet)
 query = Pet.all()
 query.filter('type = ', 'Cat')
 results = query.fetch(limit=10)
 for result in results:
   output = result.name
 return output
 
 What can I add to this to filter only those where 'owner' is
 'johndoe'?
 
 I tried:
 query.filter('owner = ', 'johndoe')
 
 However it fails to return me a result, and I know you can pull the
 owner name via 'pet.owner.name' however trying:
 query.filter('owner.name = ', 'johndoe')
 
 Also fails, though it made sense for what should work. Does anyone
 know the proper method?
 


--~--~-~--~~~---~--~~
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: Accidentally Deleted all my INDEXES :(

2009-08-31 Thread Arun Shanker Prasad

Hi Jeff,

Thank you Jeff for reseting the limit and also for the update, I will
try to upload the indexes once again this time maybe four at a time :)
Will keep you updated.

Thanks,
Arun Shanker Prasad.

On Aug 31, 10:25 pm, Jeff S (Google) j...@google.com wrote:
 Hi Arun,

 Your app was over quota for datastore index count. I've reset this so you
 should be able to proceed.

 Thank you,

 Jeff

 On Sun, Aug 30, 2009 at 6:43 PM, Arun Shanker Prasad 



 arunshankerpra...@gmail.com wrote:

  Hi,

  I am still getting the server 500 error.

  Uploading index definitions.
  Error 500: --- begin server output ---

  Server Error (500)
  A server error has occurred.
  --- end server output ---

  Was the issue shown in the App engine status fixed? The status there
  has not been updated.

  Thanks,
  Arun Shanker Prasad.

  On Aug 29, 2:17 pm, Arun Shanker Prasad arunshankerpra...@gmail.com
  wrote:
   Hi Jeff,

   Thank you Jeff for the update.
   I just now tried to update the indexes and i am still getting the 500
   server error.

   Thanks,
   Arun Shanker Prasad.

   On Aug 29, 3:53 am, Jeff S (Google) j...@google.com wrote:

Jeff

On Aug 28, 1:16 pm, Arun Shanker Prasad arunshankerpra...@gmail.com
wrote:

 Hi,

 Thank You Jeff for the quick response.
 I will wait for the status to return to normal before I try to upload
 again.

 Thanks a bunch to You and Nick for the help :D :D

 Thanks,
 Arun Shanker Prasad.

 On Aug 29, 1:04 am, Jeff S (Google) j...@google.com wrote:

  Index creation and deletion is slow at the moment, so uploading new
  indexes may not currently be possible. We've posted a notice on the
  status site, apologies:

 http://code.google.com/status/appengine

  -Jeff

  On Aug 28, 12:14 pm, Arun Shanker Prasad 
  arunshankerpra...@gmail.com
  wrote:

   Hi Jeff,

   Thank You for removing the indexes.

   I tried to upload the old indexes one at a time, but I get the
   following error after I run the appcfg.py

   Uploading index definitions.
   Error 500: --- begin server output ---

   Server Error (500)
   A server error has occurred.
   --- end server output ---

   Last time I uploaded a whole bunch which seemed to get stuck.

   Thanks,
   Arun Shanker Prasad.

   On Aug 29, 12:09 am, Jeff S (Google) j...@google.com wrote:

The indexes have now been deleted for this app.

Thank you,

Jeff

On Fri, Aug 28, 2009 at 9:56 AM, Jeff S (Google) 
  j...@google.com wrote:

 It looks like your indexes are all in the deleting state,
  I'll keep you
 posted.

 On Fri, Aug 28, 2009 at 7:57 AM, Arun Shanker Prasad 
 arunshankerpra...@gmail.com wrote:

 Hi,

 Bump, any one to help me?

 Thanks,
 Arun Shanker Prasad.

 On Aug 28, 5:37 pm, Arun Shanker Prasad 
  arunshankerpra...@gmail.com
 wrote:
  Hi,

  Any updates? Almost 24 hours now :( and the indexes are
  still stuck in
  the building state.

  Please have a look.

  Thanks,
  Arun Shanker Prasad.

  On Aug 28, 6:42 am, Arun Shanker Prasad 
  arunshankerpra...@gmail.com
  wrote:

   Hi Jeff,

   Still no updates? My indexes are still stuck building.

   Thanks,
   Arun Shanker Prasad.

   On Aug 28, 2:27 am, Arun Shanker Prasad 
  arunshankerpra...@gmail.com
   wrote:

Hi,

I have sent the app id as a mail, please let me know
  when you have
tracked anything down.

Thanks,
Arun Shanker Prasad.

On Aug 28, 2:07 am, Jeff S (Google) 
  j...@google.com wrote:

 Hello, I'd be happy to help but I'm having a tough
  time tracking
 down the
 app ID that this is for. What is your app ID?

 Thank you,

 Jeff

 On Thu, Aug 27, 2009 at 11:56 AM, Arun Shanker
  Prasad 

 arunshankerpra...@gmail.com wrote:

  Hi,

  I tried to upload indexes I deleted but they seem
  to be stuck in
 the
  Building state.
  I think this is similar to the problem I had
  earlier, since I
 think I
  uploaded the same indexes again, my mistake :(

 http://groups.google.com/group/google-appengine/browse_thread/thread/...

  A day full of mistakes

  Any help will be GREATLY appreciated.

  Thanks,
  Arun Shanker Prasad.

  On Aug 27, 7:54 pm, Arun Shanker Prasad 
 arunshankerpra...@gmail.com
  wrote:
   Hi,

   Oh I was afraid that would be the answer :(

   By the time I saw your reply all my indexes were
  already
 deleted.
   Trying to track down all the past backups

[google-appengine] Re: Accidentally Deleted all my INDEXES :(

2009-08-31 Thread Arun Shanker Prasad

Hi All,

A very big hand to Jeff and Nick for their support in helping me
resolve this problem.
Almost a week after my accidental deletion of all the indexes, I was
able to bring up most of my application as I was able to successfully
re-upload most of them today :)
Have to keep an eye on the log to get the rest ;)

Thanks,
Arun Shanker Prasad.

On Sep 1, 1:20 am, Arun Shanker Prasad arunshankerpra...@gmail.com
wrote:
 Hi Jeff,

 Thank you Jeff for reseting the limit and also for the update, I will
 try to upload the indexes once again this time maybe four at a time :)
 Will keep you updated.

 Thanks,
 Arun Shanker Prasad.

 On Aug 31, 10:25 pm, Jeff S (Google) j...@google.com wrote:



  Hi Arun,

  Your app was over quota for datastore index count. I've reset this so you
  should be able to proceed.

  Thank you,

  Jeff

  On Sun, Aug 30, 2009 at 6:43 PM, Arun Shanker Prasad 

  arunshankerpra...@gmail.com wrote:

   Hi,

   I am still getting the server 500 error.

   Uploading index definitions.
   Error 500: --- begin server output ---

   Server Error (500)
   A server error has occurred.
   --- end server output ---

   Was the issue shown in the App engine status fixed? The status there
   has not been updated.

   Thanks,
   Arun Shanker Prasad.

   On Aug 29, 2:17 pm, Arun Shanker Prasad arunshankerpra...@gmail.com
   wrote:
Hi Jeff,

Thank you Jeff for the update.
I just now tried to update the indexes and i am still getting the 500
server error.

Thanks,
Arun Shanker Prasad.

On Aug 29, 3:53 am, Jeff S (Google) j...@google.com wrote:

 Jeff

 On Aug 28, 1:16 pm, Arun Shanker Prasad arunshankerpra...@gmail.com
 wrote:

  Hi,

  Thank You Jeff for the quick response.
  I will wait for the status to return to normal before I try to 
  upload
  again.

  Thanks a bunch to You and Nick for the help :D :D

  Thanks,
  Arun Shanker Prasad.

  On Aug 29, 1:04 am, Jeff S (Google) j...@google.com wrote:

   Index creation and deletion is slow at the moment, so uploading 
   new
   indexes may not currently be possible. We've posted a notice on 
   the
   status site, apologies:

  http://code.google.com/status/appengine

   -Jeff

   On Aug 28, 12:14 pm, Arun Shanker Prasad 
   arunshankerpra...@gmail.com
   wrote:

Hi Jeff,

Thank You for removing the indexes.

I tried to upload the old indexes one at a time, but I get the
following error after I run the appcfg.py

Uploading index definitions.
Error 500: --- begin server output ---

Server Error (500)
A server error has occurred.
--- end server output ---

Last time I uploaded a whole bunch which seemed to get stuck.

Thanks,
Arun Shanker Prasad.

On Aug 29, 12:09 am, Jeff S (Google) j...@google.com wrote:

 The indexes have now been deleted for this app.

 Thank you,

 Jeff

 On Fri, Aug 28, 2009 at 9:56 AM, Jeff S (Google) 
   j...@google.com wrote:

  It looks like your indexes are all in the deleting state,
   I'll keep you
  posted.

  On Fri, Aug 28, 2009 at 7:57 AM, Arun Shanker Prasad 
  arunshankerpra...@gmail.com wrote:

  Hi,

  Bump, any one to help me?

  Thanks,
  Arun Shanker Prasad.

  On Aug 28, 5:37 pm, Arun Shanker Prasad 
   arunshankerpra...@gmail.com
  wrote:
   Hi,

   Any updates? Almost 24 hours now :( and the indexes are
   still stuck in
   the building state.

   Please have a look.

   Thanks,
   Arun Shanker Prasad.

   On Aug 28, 6:42 am, Arun Shanker Prasad 
   arunshankerpra...@gmail.com
   wrote:

Hi Jeff,

Still no updates? My indexes are still stuck building.

Thanks,
Arun Shanker Prasad.

On Aug 28, 2:27 am, Arun Shanker Prasad 
   arunshankerpra...@gmail.com
wrote:

 Hi,

 I have sent the app id as a mail, please let me know
   when you have
 tracked anything down.

 Thanks,
 Arun Shanker Prasad.

 On Aug 28, 2:07 am, Jeff S (Google) 
   j...@google.com wrote:

  Hello, I'd be happy to help but I'm having a tough
   time tracking
  down the
  app ID that this is for. What is your app ID?

  Thank you,

  Jeff

  On Thu, Aug 27, 2009 at 11:56 AM, Arun Shanker
   Prasad 

  arunshankerpra...@gmail.com wrote:

   Hi,

   I tried to upload indexes I deleted but they seem
   to be stuck in
  the
   Building state.
   I think this is similar to the problem I had
   earlier, since I
  think I
   uploaded the same indexes again, my mistake

[google-appengine] Re: Accidentally Deleted all my INDEXES :(

2009-08-30 Thread Arun Shanker Prasad

Hi,

I am still getting the server 500 error.

Uploading index definitions.
Error 500: --- begin server output ---

Server Error (500)
A server error has occurred.
--- end server output ---

Was the issue shown in the App engine status fixed? The status there
has not been updated.

Thanks,
Arun Shanker Prasad.

On Aug 29, 2:17 pm, Arun Shanker Prasad arunshankerpra...@gmail.com
wrote:
 Hi Jeff,

 Thank you Jeff for the update.
 I just now tried to update the indexes and i am still getting the 500
 server error.

 Thanks,
 Arun Shanker Prasad.

 On Aug 29, 3:53 am, Jeff S (Google) j...@google.com wrote:



  Jeff

  On Aug 28, 1:16 pm, Arun Shanker Prasad arunshankerpra...@gmail.com
  wrote:

   Hi,

   Thank You Jeff for the quick response.
   I will wait for the status to return to normal before I try to upload
   again.

   Thanks a bunch to You and Nick for the help :D :D

   Thanks,
   Arun Shanker Prasad.

   On Aug 29, 1:04 am, Jeff S (Google) j...@google.com wrote:

Index creation and deletion is slow at the moment, so uploading new
indexes may not currently be possible. We've posted a notice on the
status site, apologies:

   http://code.google.com/status/appengine

-Jeff

On Aug 28, 12:14 pm, Arun Shanker Prasad arunshankerpra...@gmail.com
wrote:

 Hi Jeff,

 Thank You for removing the indexes.

 I tried to upload the old indexes one at a time, but I get the
 following error after I run the appcfg.py

 Uploading index definitions.
 Error 500: --- begin server output ---

 Server Error (500)
 A server error has occurred.
 --- end server output ---

 Last time I uploaded a whole bunch which seemed to get stuck.

 Thanks,
 Arun Shanker Prasad.

 On Aug 29, 12:09 am, Jeff S (Google) j...@google.com wrote:

  The indexes have now been deleted for this app.

  Thank you,

  Jeff

  On Fri, Aug 28, 2009 at 9:56 AM, Jeff S (Google) j...@google.com 
  wrote:

   It looks like your indexes are all in the deleting state, I'll 
   keep you
   posted.

   On Fri, Aug 28, 2009 at 7:57 AM, Arun Shanker Prasad 
   arunshankerpra...@gmail.com wrote:

   Hi,

   Bump, any one to help me?

   Thanks,
   Arun Shanker Prasad.

   On Aug 28, 5:37 pm, Arun Shanker Prasad 
   arunshankerpra...@gmail.com
   wrote:
Hi,

Any updates? Almost 24 hours now :( and the indexes are still 
stuck in
the building state.

Please have a look.

Thanks,
Arun Shanker Prasad.

On Aug 28, 6:42 am, Arun Shanker Prasad 
arunshankerpra...@gmail.com
wrote:

 Hi Jeff,

 Still no updates? My indexes are still stuck building.

 Thanks,
 Arun Shanker Prasad.

 On Aug 28, 2:27 am, Arun Shanker Prasad 
 arunshankerpra...@gmail.com
 wrote:

  Hi,

  I have sent the app id as a mail, please let me know when 
  you have
  tracked anything down.

  Thanks,
  Arun Shanker Prasad.

  On Aug 28, 2:07 am, Jeff S (Google) j...@google.com 
  wrote:

   Hello, I'd be happy to help but I'm having a tough time 
   tracking
   down the
   app ID that this is for. What is your app ID?

   Thank you,

   Jeff

   On Thu, Aug 27, 2009 at 11:56 AM, Arun Shanker Prasad 

   arunshankerpra...@gmail.com wrote:

Hi,

I tried to upload indexes I deleted but they seem to 
be stuck in
   the
Building state.
I think this is similar to the problem I had earlier, 
since I
   think I
uploaded the same indexes again, my mistake :(

  http://groups.google.com/group/google-appengine/browse_thread/thread/...

A day full of mistakes

Any help will be GREATLY appreciated.

Thanks,
Arun Shanker Prasad.

On Aug 27, 7:54 pm, Arun Shanker Prasad 
   arunshankerpra...@gmail.com
wrote:
 Hi,

 Oh I was afraid that would be the answer :(

 By the time I saw your reply all my indexes were 
 already
   deleted.
 Trying to track down all the past backups to get the 
 indexes
   :(

 The 'a' option SHOULD really be REMOVED :( :(

 Thanks,
 Arun Shanker Prasad.

 On Aug 27, 7:41 pm, Nick Johnson (Google) 
   nick.john...@google.com
 wrote:

  Hi Arun,
  I'm afraid your only option is to recreate the 
  indexes once
   they've
finished
  deleting. If you no longer have your index.yaml, 
  you can
   copy down the
index
  definitions from the App Engine console index page

[google-appengine] Re: Accidentally Deleted all my INDEXES :(

2009-08-29 Thread Arun Shanker Prasad

Hi Jeff,

Thank you Jeff for the update.
I just now tried to update the indexes and i am still getting the 500
server error.

Thanks,
Arun Shanker Prasad.

On Aug 29, 3:53 am, Jeff S (Google) j...@google.com wrote:
 Jeff

 On Aug 28, 1:16 pm, Arun Shanker Prasad arunshankerpra...@gmail.com
 wrote:



  Hi,

  Thank You Jeff for the quick response.
  I will wait for the status to return to normal before I try to upload
  again.

  Thanks a bunch to You and Nick for the help :D :D

  Thanks,
  Arun Shanker Prasad.

  On Aug 29, 1:04 am, Jeff S (Google) j...@google.com wrote:

   Index creation and deletion is slow at the moment, so uploading new
   indexes may not currently be possible. We've posted a notice on the
   status site, apologies:

  http://code.google.com/status/appengine

   -Jeff

   On Aug 28, 12:14 pm, Arun Shanker Prasad arunshankerpra...@gmail.com
   wrote:

Hi Jeff,

Thank You for removing the indexes.

I tried to upload the old indexes one at a time, but I get the
following error after I run the appcfg.py

Uploading index definitions.
Error 500: --- begin server output ---

Server Error (500)
A server error has occurred.
--- end server output ---

Last time I uploaded a whole bunch which seemed to get stuck.

Thanks,
Arun Shanker Prasad.

On Aug 29, 12:09 am, Jeff S (Google) j...@google.com wrote:

 The indexes have now been deleted for this app.

 Thank you,

 Jeff

 On Fri, Aug 28, 2009 at 9:56 AM, Jeff S (Google) j...@google.com 
 wrote:

  It looks like your indexes are all in the deleting state, I'll keep 
  you
  posted.

  On Fri, Aug 28, 2009 at 7:57 AM, Arun Shanker Prasad 
  arunshankerpra...@gmail.com wrote:

  Hi,

  Bump, any one to help me?

  Thanks,
  Arun Shanker Prasad.

  On Aug 28, 5:37 pm, Arun Shanker Prasad 
  arunshankerpra...@gmail.com
  wrote:
   Hi,

   Any updates? Almost 24 hours now :( and the indexes are still 
   stuck in
   the building state.

   Please have a look.

   Thanks,
   Arun Shanker Prasad.

   On Aug 28, 6:42 am, Arun Shanker Prasad 
   arunshankerpra...@gmail.com
   wrote:

Hi Jeff,

Still no updates? My indexes are still stuck building.

Thanks,
Arun Shanker Prasad.

On Aug 28, 2:27 am, Arun Shanker Prasad 
arunshankerpra...@gmail.com
wrote:

 Hi,

 I have sent the app id as a mail, please let me know when 
 you have
 tracked anything down.

 Thanks,
 Arun Shanker Prasad.

 On Aug 28, 2:07 am, Jeff S (Google) j...@google.com 
 wrote:

  Hello, I'd be happy to help but I'm having a tough time 
  tracking
  down the
  app ID that this is for. What is your app ID?

  Thank you,

  Jeff

  On Thu, Aug 27, 2009 at 11:56 AM, Arun Shanker Prasad 

  arunshankerpra...@gmail.com wrote:

   Hi,

   I tried to upload indexes I deleted but they seem to be 
   stuck in
  the
   Building state.
   I think this is similar to the problem I had earlier, 
   since I
  think I
   uploaded the same indexes again, my mistake :(

 http://groups.google.com/group/google-appengine/browse_thread/thread/...

   A day full of mistakes

   Any help will be GREATLY appreciated.

   Thanks,
   Arun Shanker Prasad.

   On Aug 27, 7:54 pm, Arun Shanker Prasad 
  arunshankerpra...@gmail.com
   wrote:
Hi,

Oh I was afraid that would be the answer :(

By the time I saw your reply all my indexes were 
already
  deleted.
Trying to track down all the past backups to get the 
indexes
  :(

The 'a' option SHOULD really be REMOVED :( :(

Thanks,
Arun Shanker Prasad.

On Aug 27, 7:41 pm, Nick Johnson (Google) 
  nick.john...@google.com
wrote:

 Hi Arun,
 I'm afraid your only option is to recreate the 
 indexes once
  they've
   finished
 deleting. If you no longer have your index.yaml, you 
 can
  copy down the
   index
 definitions from the App Engine console index page 
 in order
  to recreate
   it.

 -Nick Johnson

 On Thu, Aug 27, 2009 at 3:34 PM, Arun Shanker Prasad 
 

 arunshankerpra...@gmail.com wrote:

  Hi All,

  I tried to vacuum out some indexes that were in 
  the error
  state, I
  gave
  appcfg.py vacuum_indexes My_application

  During the process I missed a couple of them, I 
  tried to
  give

[google-appengine] Re: Accidentally Deleted all my INDEXES :(

2009-08-28 Thread Arun Shanker Prasad

Hi,

Any updates? Almost 24 hours now :( and the indexes are still stuck in
the building state.

Please have a look.

Thanks,
Arun Shanker Prasad.

On Aug 28, 6:42 am, Arun Shanker Prasad arunshankerpra...@gmail.com
wrote:
 Hi Jeff,

 Still no updates? My indexes are still stuck building.

 Thanks,
 Arun Shanker Prasad.

 On Aug 28, 2:27 am, Arun Shanker Prasad arunshankerpra...@gmail.com
 wrote:



  Hi,

  I have sent the app id as a mail, please let me know when you have
  tracked anything down.

  Thanks,
  Arun Shanker Prasad.

  On Aug 28, 2:07 am, Jeff S (Google) j...@google.com wrote:

   Hello, I'd be happy to help but I'm having a tough time tracking down the
   app ID that this is for. What is your app ID?

   Thank you,

   Jeff

   On Thu, Aug 27, 2009 at 11:56 AM, Arun Shanker Prasad 

   arunshankerpra...@gmail.com wrote:

Hi,

I tried to upload indexes I deleted but they seem to be stuck in the
Building state.
I think this is similar to the problem I had earlier, since I think I
uploaded the same indexes again, my mistake :(

   http://groups.google.com/group/google-appengine/browse_thread/thread/...

A day full of mistakes

Any help will be GREATLY appreciated.

Thanks,
Arun Shanker Prasad.

On Aug 27, 7:54 pm, Arun Shanker Prasad arunshankerpra...@gmail.com
wrote:
 Hi,

 Oh I was afraid that would be the answer :(

 By the time I saw your reply all my indexes were already deleted.
 Trying to track down all the past backups to get the indexes :(

 The 'a' option SHOULD really be REMOVED :( :(

 Thanks,
 Arun Shanker Prasad.

 On Aug 27, 7:41 pm, Nick Johnson (Google) nick.john...@google.com
 wrote:

  Hi Arun,
  I'm afraid your only option is to recreate the indexes once they've
finished
  deleting. If you no longer have your index.yaml, you can copy down 
  the
index
  definitions from the App Engine console index page in order to 
  recreate
it.

  -Nick Johnson

  On Thu, Aug 27, 2009 at 3:34 PM, Arun Shanker Prasad 

  arunshankerpra...@gmail.com wrote:

   Hi All,

   I tried to vacuum out some indexes that were in the error state, I
   gave
   appcfg.py vacuum_indexes My_application

   During the process I missed a couple of them, I tried to give the 
   'a'
   option thinking that it was the Abort option :( :(

   Now all my indexes are in deleting state, its very late in my dev
   stage to track down all the previous indexes and upload them 
   again.

   Can anyone please help me to get the indexes back, my app is down 
   at
   the moment due to the missing indexes :( :(

   Thanks,
   Arun Shanker Prasad.

  --
  Nick Johnson, Developer Programs Engineer, App Engine
--~--~-~--~~~---~--~~
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: Accidentally Deleted all my INDEXES :(

2009-08-28 Thread Arun Shanker Prasad

Hi,

Bump, any one to help me?

Thanks,
Arun Shanker Prasad.

On Aug 28, 5:37 pm, Arun Shanker Prasad arunshankerpra...@gmail.com
wrote:
 Hi,

 Any updates? Almost 24 hours now :( and the indexes are still stuck in
 the building state.

 Please have a look.

 Thanks,
 Arun Shanker Prasad.

 On Aug 28, 6:42 am, Arun Shanker Prasad arunshankerpra...@gmail.com
 wrote:



  Hi Jeff,

  Still no updates? My indexes are still stuck building.

  Thanks,
  Arun Shanker Prasad.

  On Aug 28, 2:27 am, Arun Shanker Prasad arunshankerpra...@gmail.com
  wrote:

   Hi,

   I have sent the app id as a mail, please let me know when you have
   tracked anything down.

   Thanks,
   Arun Shanker Prasad.

   On Aug 28, 2:07 am, Jeff S (Google) j...@google.com wrote:

Hello, I'd be happy to help but I'm having a tough time tracking down 
the
app ID that this is for. What is your app ID?

Thank you,

Jeff

On Thu, Aug 27, 2009 at 11:56 AM, Arun Shanker Prasad 

arunshankerpra...@gmail.com wrote:

 Hi,

 I tried to upload indexes I deleted but they seem to be stuck in the
 Building state.
 I think this is similar to the problem I had earlier, since I think I
 uploaded the same indexes again, my mistake :(

http://groups.google.com/group/google-appengine/browse_thread/thread/...

 A day full of mistakes

 Any help will be GREATLY appreciated.

 Thanks,
 Arun Shanker Prasad.

 On Aug 27, 7:54 pm, Arun Shanker Prasad arunshankerpra...@gmail.com
 wrote:
  Hi,

  Oh I was afraid that would be the answer :(

  By the time I saw your reply all my indexes were already deleted.
  Trying to track down all the past backups to get the indexes :(

  The 'a' option SHOULD really be REMOVED :( :(

  Thanks,
  Arun Shanker Prasad.

  On Aug 27, 7:41 pm, Nick Johnson (Google) 
  nick.john...@google.com
  wrote:

   Hi Arun,
   I'm afraid your only option is to recreate the indexes once 
   they've
 finished
   deleting. If you no longer have your index.yaml, you can copy 
   down the
 index
   definitions from the App Engine console index page in order to 
   recreate
 it.

   -Nick Johnson

   On Thu, Aug 27, 2009 at 3:34 PM, Arun Shanker Prasad 

   arunshankerpra...@gmail.com wrote:

Hi All,

I tried to vacuum out some indexes that were in the error 
state, I
gave
appcfg.py vacuum_indexes My_application

During the process I missed a couple of them, I tried to give 
the 'a'
option thinking that it was the Abort option :( :(

Now all my indexes are in deleting state, its very late in my 
dev
stage to track down all the previous indexes and upload them 
again.

Can anyone please help me to get the indexes back, my app is 
down at
the moment due to the missing indexes :( :(

Thanks,
Arun Shanker Prasad.

   --
   Nick Johnson, Developer Programs Engineer, App Engine
--~--~-~--~~~---~--~~
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: Accidentally Deleted all my INDEXES :(

2009-08-28 Thread Arun Shanker Prasad

Hi Jeff,

Thank You for removing the indexes.

I tried to upload the old indexes one at a time, but I get the
following error after I run the appcfg.py

Uploading index definitions.
Error 500: --- begin server output ---

Server Error (500)
A server error has occurred.
--- end server output ---

Last time I uploaded a whole bunch which seemed to get stuck.

Thanks,
Arun Shanker Prasad.

On Aug 29, 12:09 am, Jeff S (Google) j...@google.com wrote:
 The indexes have now been deleted for this app.

 Thank you,

 Jeff

 On Fri, Aug 28, 2009 at 9:56 AM, Jeff S (Google) j...@google.com wrote:



  It looks like your indexes are all in the deleting state, I'll keep you
  posted.

  On Fri, Aug 28, 2009 at 7:57 AM, Arun Shanker Prasad 
  arunshankerpra...@gmail.com wrote:

  Hi,

  Bump, any one to help me?

  Thanks,
  Arun Shanker Prasad.

  On Aug 28, 5:37 pm, Arun Shanker Prasad arunshankerpra...@gmail.com
  wrote:
   Hi,

   Any updates? Almost 24 hours now :( and the indexes are still stuck in
   the building state.

   Please have a look.

   Thanks,
   Arun Shanker Prasad.

   On Aug 28, 6:42 am, Arun Shanker Prasad arunshankerpra...@gmail.com
   wrote:

Hi Jeff,

Still no updates? My indexes are still stuck building.

Thanks,
Arun Shanker Prasad.

On Aug 28, 2:27 am, Arun Shanker Prasad arunshankerpra...@gmail.com
wrote:

 Hi,

 I have sent the app id as a mail, please let me know when you have
 tracked anything down.

 Thanks,
 Arun Shanker Prasad.

 On Aug 28, 2:07 am, Jeff S (Google) j...@google.com wrote:

  Hello, I'd be happy to help but I'm having a tough time tracking
  down the
  app ID that this is for. What is your app ID?

  Thank you,

  Jeff

  On Thu, Aug 27, 2009 at 11:56 AM, Arun Shanker Prasad 

  arunshankerpra...@gmail.com wrote:

   Hi,

   I tried to upload indexes I deleted but they seem to be stuck in
  the
   Building state.
   I think this is similar to the problem I had earlier, since I
  think I
   uploaded the same indexes again, my mistake :(

 http://groups.google.com/group/google-appengine/browse_thread/thread/...

   A day full of mistakes

   Any help will be GREATLY appreciated.

   Thanks,
   Arun Shanker Prasad.

   On Aug 27, 7:54 pm, Arun Shanker Prasad 
  arunshankerpra...@gmail.com
   wrote:
Hi,

Oh I was afraid that would be the answer :(

By the time I saw your reply all my indexes were already
  deleted.
Trying to track down all the past backups to get the indexes
  :(

The 'a' option SHOULD really be REMOVED :( :(

Thanks,
Arun Shanker Prasad.

On Aug 27, 7:41 pm, Nick Johnson (Google) 
  nick.john...@google.com
wrote:

 Hi Arun,
 I'm afraid your only option is to recreate the indexes once
  they've
   finished
 deleting. If you no longer have your index.yaml, you can
  copy down the
   index
 definitions from the App Engine console index page in order
  to recreate
   it.

 -Nick Johnson

 On Thu, Aug 27, 2009 at 3:34 PM, Arun Shanker Prasad 

 arunshankerpra...@gmail.com wrote:

  Hi All,

  I tried to vacuum out some indexes that were in the error
  state, I
  gave
  appcfg.py vacuum_indexes My_application

  During the process I missed a couple of them, I tried to
  give the 'a'
  option thinking that it was the Abort option :( :(

  Now all my indexes are in deleting state, its very late in
  my dev
  stage to track down all the previous indexes and upload
  them again.

  Can anyone please help me to get the indexes back, my app
  is down at
  the moment due to the missing indexes :( :(

  Thanks,
  Arun Shanker Prasad.

 --
 Nick Johnson, Developer Programs Engineer, App Engine
--~--~-~--~~~---~--~~
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: Accidentally Deleted all my INDEXES :(

2009-08-28 Thread Arun Shanker Prasad

Hi,

Thank You Jeff for the quick response.
I will wait for the status to return to normal before I try to upload
again.

Thanks a bunch to You and Nick for the help :D :D

Thanks,
Arun Shanker Prasad.

On Aug 29, 1:04 am, Jeff S (Google) j...@google.com wrote:
 Index creation and deletion is slow at the moment, so uploading new
 indexes may not currently be possible. We've posted a notice on the
 status site, apologies:

 http://code.google.com/status/appengine

 -Jeff

 On Aug 28, 12:14 pm, Arun Shanker Prasad arunshankerpra...@gmail.com
 wrote:



  Hi Jeff,

  Thank You for removing the indexes.

  I tried to upload the old indexes one at a time, but I get the
  following error after I run the appcfg.py

  Uploading index definitions.
  Error 500: --- begin server output ---

  Server Error (500)
  A server error has occurred.
  --- end server output ---

  Last time I uploaded a whole bunch which seemed to get stuck.

  Thanks,
  Arun Shanker Prasad.

  On Aug 29, 12:09 am, Jeff S (Google) j...@google.com wrote:

   The indexes have now been deleted for this app.

   Thank you,

   Jeff

   On Fri, Aug 28, 2009 at 9:56 AM, Jeff S (Google) j...@google.com wrote:

It looks like your indexes are all in the deleting state, I'll keep you
posted.

On Fri, Aug 28, 2009 at 7:57 AM, Arun Shanker Prasad 
arunshankerpra...@gmail.com wrote:

Hi,

Bump, any one to help me?

Thanks,
Arun Shanker Prasad.

On Aug 28, 5:37 pm, Arun Shanker Prasad arunshankerpra...@gmail.com
wrote:
 Hi,

 Any updates? Almost 24 hours now :( and the indexes are still stuck 
 in
 the building state.

 Please have a look.

 Thanks,
 Arun Shanker Prasad.

 On Aug 28, 6:42 am, Arun Shanker Prasad arunshankerpra...@gmail.com
 wrote:

  Hi Jeff,

  Still no updates? My indexes are still stuck building.

  Thanks,
  Arun Shanker Prasad.

  On Aug 28, 2:27 am, Arun Shanker Prasad 
  arunshankerpra...@gmail.com
  wrote:

   Hi,

   I have sent the app id as a mail, please let me know when you 
   have
   tracked anything down.

   Thanks,
   Arun Shanker Prasad.

   On Aug 28, 2:07 am, Jeff S (Google) j...@google.com wrote:

Hello, I'd be happy to help but I'm having a tough time 
tracking
down the
app ID that this is for. What is your app ID?

Thank you,

Jeff

On Thu, Aug 27, 2009 at 11:56 AM, Arun Shanker Prasad 

arunshankerpra...@gmail.com wrote:

 Hi,

 I tried to upload indexes I deleted but they seem to be 
 stuck in
the
 Building state.
 I think this is similar to the problem I had earlier, since I
think I
 uploaded the same indexes again, my mistake :(

   http://groups.google.com/group/google-appengine/browse_thread/thread/...

 A day full of mistakes

 Any help will be GREATLY appreciated.

 Thanks,
 Arun Shanker Prasad.

 On Aug 27, 7:54 pm, Arun Shanker Prasad 
arunshankerpra...@gmail.com
 wrote:
  Hi,

  Oh I was afraid that would be the answer :(

  By the time I saw your reply all my indexes were already
deleted.
  Trying to track down all the past backups to get the 
  indexes
:(

  The 'a' option SHOULD really be REMOVED :( :(

  Thanks,
  Arun Shanker Prasad.

  On Aug 27, 7:41 pm, Nick Johnson (Google) 
nick.john...@google.com
  wrote:

   Hi Arun,
   I'm afraid your only option is to recreate the indexes 
   once
they've
 finished
   deleting. If you no longer have your index.yaml, you can
copy down the
 index
   definitions from the App Engine console index page in 
   order
to recreate
 it.

   -Nick Johnson

   On Thu, Aug 27, 2009 at 3:34 PM, Arun Shanker Prasad 

   arunshankerpra...@gmail.com wrote:

Hi All,

I tried to vacuum out some indexes that were in the 
error
state, I
gave
appcfg.py vacuum_indexes My_application

During the process I missed a couple of them, I tried 
to
give the 'a'
option thinking that it was the Abort option :( :(

Now all my indexes are in deleting state, its very 
late in
my dev
stage to track down all the previous indexes and upload
them again.

Can anyone please help me to get the indexes back, my 
app
is down at
the moment due to the missing indexes :( :(

Thanks,
Arun Shanker Prasad.

   --
   Nick Johnson, Developer Programs Engineer, App Engine
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google

[google-appengine] Re: Accidentally Deleted all my INDEXES :(

2009-08-28 Thread Arun Shanker Prasad

Hi,

Thank you Jeff.
Thanks to Nick for moving those indexes to the ERROR state, so I could
delete them.

I had deleted them almost 3 hours ago, they are still shown as
deleting in the dashboard, I also got a 500 error while running the
appcfg.py initially to vacuum the indexes. Could this have caused the
indexes to be stuck in the Deleting state?

Thanks,
Arun Shanker Prasad.

On Aug 28, 9:56 pm, Jeff S (Google) j...@google.com wrote:
 It looks like your indexes are all in the deleting state, I'll keep you
 posted.

 On Fri, Aug 28, 2009 at 7:57 AM, Arun Shanker Prasad 



 arunshankerpra...@gmail.com wrote:

  Hi,

  Bump, any one to help me?

  Thanks,
  Arun Shanker Prasad.

  On Aug 28, 5:37 pm, Arun Shanker Prasad arunshankerpra...@gmail.com
  wrote:
   Hi,

   Any updates? Almost 24 hours now :( and the indexes are still stuck in
   the building state.

   Please have a look.

   Thanks,
   Arun Shanker Prasad.

   On Aug 28, 6:42 am, Arun Shanker Prasad arunshankerpra...@gmail.com
   wrote:

Hi Jeff,

Still no updates? My indexes are still stuck building.

Thanks,
Arun Shanker Prasad.

On Aug 28, 2:27 am, Arun Shanker Prasad arunshankerpra...@gmail.com
wrote:

 Hi,

 I have sent the app id as a mail, please let me know when you have
 tracked anything down.

 Thanks,
 Arun Shanker Prasad.

 On Aug 28, 2:07 am, Jeff S (Google) j...@google.com wrote:

  Hello, I'd be happy to help but I'm having a tough time tracking
  down the
  app ID that this is for. What is your app ID?

  Thank you,

  Jeff

  On Thu, Aug 27, 2009 at 11:56 AM, Arun Shanker Prasad 

  arunshankerpra...@gmail.com wrote:

   Hi,

   I tried to upload indexes I deleted but they seem to be stuck in
  the
   Building state.
   I think this is similar to the problem I had earlier, since I
  think I
   uploaded the same indexes again, my mistake :(

 http://groups.google.com/group/google-appengine/browse_thread/thread/...

   A day full of mistakes

   Any help will be GREATLY appreciated.

   Thanks,
   Arun Shanker Prasad.

   On Aug 27, 7:54 pm, Arun Shanker Prasad 
  arunshankerpra...@gmail.com
   wrote:
Hi,

Oh I was afraid that would be the answer :(

By the time I saw your reply all my indexes were already
  deleted.
Trying to track down all the past backups to get the indexes :(

The 'a' option SHOULD really be REMOVED :( :(

Thanks,
Arun Shanker Prasad.

On Aug 27, 7:41 pm, Nick Johnson (Google) 
  nick.john...@google.com
wrote:

 Hi Arun,
 I'm afraid your only option is to recreate the indexes once
  they've
   finished
 deleting. If you no longer have your index.yaml, you can copy
  down the
   index
 definitions from the App Engine console index page in order
  to recreate
   it.

 -Nick Johnson

 On Thu, Aug 27, 2009 at 3:34 PM, Arun Shanker Prasad 

 arunshankerpra...@gmail.com wrote:

  Hi All,

  I tried to vacuum out some indexes that were in the error
  state, I
  gave
  appcfg.py vacuum_indexes My_application

  During the process I missed a couple of them, I tried to
  give the 'a'
  option thinking that it was the Abort option :( :(

  Now all my indexes are in deleting state, its very late in
  my dev
  stage to track down all the previous indexes and upload
  them again.

  Can anyone please help me to get the indexes back, my app
  is down at
  the moment due to the missing indexes :( :(

  Thanks,
  Arun Shanker Prasad.

 --
 Nick Johnson, Developer Programs Engineer, App Engine
--~--~-~--~~~---~--~~
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: Accidentally Deleted all my INDEXES :(

2009-08-28 Thread Arun Shanker Prasad

Hi,

Thanks Jeff, I think they are all removed now.. Great now to start
uploading all the old ones back one by one..

Thanks,
Arun Shanker Prasad.

On Aug 28, 11:31 pm, Arun Shanker Prasad arunshankerpra...@gmail.com
wrote:
 Hi,

 Thank you Jeff.
 Thanks to Nick for moving those indexes to the ERROR state, so I could
 delete them.

 I had deleted them almost 3 hours ago, they are still shown as
 deleting in the dashboard, I also got a 500 error while running the
 appcfg.py initially to vacuum the indexes. Could this have caused the
 indexes to be stuck in the Deleting state?

 Thanks,
 Arun Shanker Prasad.

 On Aug 28, 9:56 pm, Jeff S (Google) j...@google.com wrote:



  It looks like your indexes are all in the deleting state, I'll keep you
  posted.

  On Fri, Aug 28, 2009 at 7:57 AM, Arun Shanker Prasad 

  arunshankerpra...@gmail.com wrote:

   Hi,

   Bump, any one to help me?

   Thanks,
   Arun Shanker Prasad.

   On Aug 28, 5:37 pm, Arun Shanker Prasad arunshankerpra...@gmail.com
   wrote:
Hi,

Any updates? Almost 24 hours now :( and the indexes are still stuck in
the building state.

Please have a look.

Thanks,
Arun Shanker Prasad.

On Aug 28, 6:42 am, Arun Shanker Prasad arunshankerpra...@gmail.com
wrote:

 Hi Jeff,

 Still no updates? My indexes are still stuck building.

 Thanks,
 Arun Shanker Prasad.

 On Aug 28, 2:27 am, Arun Shanker Prasad arunshankerpra...@gmail.com
 wrote:

  Hi,

  I have sent the app id as a mail, please let me know when you have
  tracked anything down.

  Thanks,
  Arun Shanker Prasad.

  On Aug 28, 2:07 am, Jeff S (Google) j...@google.com wrote:

   Hello, I'd be happy to help but I'm having a tough time tracking
   down the
   app ID that this is for. What is your app ID?

   Thank you,

   Jeff

   On Thu, Aug 27, 2009 at 11:56 AM, Arun Shanker Prasad 

   arunshankerpra...@gmail.com wrote:

Hi,

I tried to upload indexes I deleted but they seem to be stuck in
   the
Building state.
I think this is similar to the problem I had earlier, since I
   think I
uploaded the same indexes again, my mistake :(

  http://groups.google.com/group/google-appengine/browse_thread/thread/...

A day full of mistakes

Any help will be GREATLY appreciated.

Thanks,
Arun Shanker Prasad.

On Aug 27, 7:54 pm, Arun Shanker Prasad 
   arunshankerpra...@gmail.com
wrote:
 Hi,

 Oh I was afraid that would be the answer :(

 By the time I saw your reply all my indexes were already
   deleted.
 Trying to track down all the past backups to get the indexes 
 :(

 The 'a' option SHOULD really be REMOVED :( :(

 Thanks,
 Arun Shanker Prasad.

 On Aug 27, 7:41 pm, Nick Johnson (Google) 
   nick.john...@google.com
 wrote:

  Hi Arun,
  I'm afraid your only option is to recreate the indexes once
   they've
finished
  deleting. If you no longer have your index.yaml, you can 
  copy
   down the
index
  definitions from the App Engine console index page in order
   to recreate
it.

  -Nick Johnson

  On Thu, Aug 27, 2009 at 3:34 PM, Arun Shanker Prasad 

  arunshankerpra...@gmail.com wrote:

   Hi All,

   I tried to vacuum out some indexes that were in the error
   state, I
   gave
   appcfg.py vacuum_indexes My_application

   During the process I missed a couple of them, I tried to
   give the 'a'
   option thinking that it was the Abort option :( :(

   Now all my indexes are in deleting state, its very late in
   my dev
   stage to track down all the previous indexes and upload
   them again.

   Can anyone please help me to get the indexes back, my app
   is down at
   the moment due to the missing indexes :( :(

   Thanks,
   Arun Shanker Prasad.

  --
  Nick Johnson, Developer Programs Engineer, App Engine
--~--~-~--~~~---~--~~
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] Accidentally Deleted all my INDEXES :(

2009-08-27 Thread Arun Shanker Prasad

Hi All,

I tried to vacuum out some indexes that were in the error state, I
gave
appcfg.py vacuum_indexes My_application

During the process I missed a couple of them, I tried to give the 'a'
option thinking that it was the Abort option :( :(

Now all my indexes are in deleting state, its very late in my dev
stage to track down all the previous indexes and upload them again.

Can anyone please help me to get the indexes back, my app is down at
the moment due to the missing indexes :( :(

Thanks,
Arun Shanker Prasad.
--~--~-~--~~~---~--~~
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: Accidentally Deleted all my INDEXES :(

2009-08-27 Thread Arun Shanker Prasad

Hi,

Oh I was afraid that would be the answer :(

By the time I saw your reply all my indexes were already deleted.
Trying to track down all the past backups to get the indexes :(

The 'a' option SHOULD really be REMOVED :( :(

Thanks,
Arun Shanker Prasad.

On Aug 27, 7:41 pm, Nick Johnson (Google) nick.john...@google.com
wrote:
 Hi Arun,
 I'm afraid your only option is to recreate the indexes once they've finished
 deleting. If you no longer have your index.yaml, you can copy down the index
 definitions from the App Engine console index page in order to recreate it.

 -Nick Johnson

 On Thu, Aug 27, 2009 at 3:34 PM, Arun Shanker Prasad 





 arunshankerpra...@gmail.com wrote:

  Hi All,

  I tried to vacuum out some indexes that were in the error state, I
  gave
  appcfg.py vacuum_indexes My_application

  During the process I missed a couple of them, I tried to give the 'a'
  option thinking that it was the Abort option :( :(

  Now all my indexes are in deleting state, its very late in my dev
  stage to track down all the previous indexes and upload them again.

  Can anyone please help me to get the indexes back, my app is down at
  the moment due to the missing indexes :( :(

  Thanks,
  Arun Shanker Prasad.

 --
 Nick Johnson, Developer Programs Engineer, App Engine
--~--~-~--~~~---~--~~
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: Accidentally Deleted all my INDEXES :(

2009-08-27 Thread Arun Shanker Prasad

Hi,

I tried to upload indexes I deleted but they seem to be stuck in the
Building state.
I think this is similar to the problem I had earlier, since I think I
uploaded the same indexes again, my mistake :(

http://groups.google.com/group/google-appengine/browse_thread/thread/ed380a3d752133ae

A day full of mistakes

Any help will be GREATLY appreciated.

Thanks,
Arun Shanker Prasad.

On Aug 27, 7:54 pm, Arun Shanker Prasad arunshankerpra...@gmail.com
wrote:
 Hi,

 Oh I was afraid that would be the answer :(

 By the time I saw your reply all my indexes were already deleted.
 Trying to track down all the past backups to get the indexes :(

 The 'a' option SHOULD really be REMOVED :( :(

 Thanks,
 Arun Shanker Prasad.

 On Aug 27, 7:41 pm, Nick Johnson (Google) nick.john...@google.com
 wrote:



  Hi Arun,
  I'm afraid your only option is to recreate the indexes once they've finished
  deleting. If you no longer have your index.yaml, you can copy down the index
  definitions from the App Engine console index page in order to recreate it.

  -Nick Johnson

  On Thu, Aug 27, 2009 at 3:34 PM, Arun Shanker Prasad 

  arunshankerpra...@gmail.com wrote:

   Hi All,

   I tried to vacuum out some indexes that were in the error state, I
   gave
   appcfg.py vacuum_indexes My_application

   During the process I missed a couple of them, I tried to give the 'a'
   option thinking that it was the Abort option :( :(

   Now all my indexes are in deleting state, its very late in my dev
   stage to track down all the previous indexes and upload them again.

   Can anyone please help me to get the indexes back, my app is down at
   the moment due to the missing indexes :( :(

   Thanks,
   Arun Shanker Prasad.

  --
  Nick Johnson, Developer Programs Engineer, App Engine
--~--~-~--~~~---~--~~
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: Accidentally Deleted all my INDEXES :(

2009-08-27 Thread Arun Shanker Prasad

Hi,

I have sent the app id as a mail, please let me know when you have
tracked anything down.

Thanks,
Arun Shanker Prasad.

On Aug 28, 2:07 am, Jeff S (Google) j...@google.com wrote:
 Hello, I'd be happy to help but I'm having a tough time tracking down the
 app ID that this is for. What is your app ID?

 Thank you,

 Jeff

 On Thu, Aug 27, 2009 at 11:56 AM, Arun Shanker Prasad 



 arunshankerpra...@gmail.com wrote:

  Hi,

  I tried to upload indexes I deleted but they seem to be stuck in the
  Building state.
  I think this is similar to the problem I had earlier, since I think I
  uploaded the same indexes again, my mistake :(

 http://groups.google.com/group/google-appengine/browse_thread/thread/...

  A day full of mistakes

  Any help will be GREATLY appreciated.

  Thanks,
  Arun Shanker Prasad.

  On Aug 27, 7:54 pm, Arun Shanker Prasad arunshankerpra...@gmail.com
  wrote:
   Hi,

   Oh I was afraid that would be the answer :(

   By the time I saw your reply all my indexes were already deleted.
   Trying to track down all the past backups to get the indexes :(

   The 'a' option SHOULD really be REMOVED :( :(

   Thanks,
   Arun Shanker Prasad.

   On Aug 27, 7:41 pm, Nick Johnson (Google) nick.john...@google.com
   wrote:

Hi Arun,
I'm afraid your only option is to recreate the indexes once they've
  finished
deleting. If you no longer have your index.yaml, you can copy down the
  index
definitions from the App Engine console index page in order to recreate
  it.

-Nick Johnson

On Thu, Aug 27, 2009 at 3:34 PM, Arun Shanker Prasad 

arunshankerpra...@gmail.com wrote:

 Hi All,

 I tried to vacuum out some indexes that were in the error state, I
 gave
 appcfg.py vacuum_indexes My_application

 During the process I missed a couple of them, I tried to give the 'a'
 option thinking that it was the Abort option :( :(

 Now all my indexes are in deleting state, its very late in my dev
 stage to track down all the previous indexes and upload them again.

 Can anyone please help me to get the indexes back, my app is down at
 the moment due to the missing indexes :( :(

 Thanks,
 Arun Shanker Prasad.

--
Nick Johnson, Developer Programs Engineer, App Engine
--~--~-~--~~~---~--~~
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: Accidentally Deleted all my INDEXES :(

2009-08-27 Thread Arun Shanker Prasad

Hi Jeff,

Still no updates? My indexes are still stuck building.

Thanks,
Arun Shanker Prasad.

On Aug 28, 2:27 am, Arun Shanker Prasad arunshankerpra...@gmail.com
wrote:
 Hi,

 I have sent the app id as a mail, please let me know when you have
 tracked anything down.

 Thanks,
 Arun Shanker Prasad.

 On Aug 28, 2:07 am, Jeff S (Google) j...@google.com wrote:



  Hello, I'd be happy to help but I'm having a tough time tracking down the
  app ID that this is for. What is your app ID?

  Thank you,

  Jeff

  On Thu, Aug 27, 2009 at 11:56 AM, Arun Shanker Prasad 

  arunshankerpra...@gmail.com wrote:

   Hi,

   I tried to upload indexes I deleted but they seem to be stuck in the
   Building state.
   I think this is similar to the problem I had earlier, since I think I
   uploaded the same indexes again, my mistake :(

  http://groups.google.com/group/google-appengine/browse_thread/thread/...

   A day full of mistakes

   Any help will be GREATLY appreciated.

   Thanks,
   Arun Shanker Prasad.

   On Aug 27, 7:54 pm, Arun Shanker Prasad arunshankerpra...@gmail.com
   wrote:
Hi,

Oh I was afraid that would be the answer :(

By the time I saw your reply all my indexes were already deleted.
Trying to track down all the past backups to get the indexes :(

The 'a' option SHOULD really be REMOVED :( :(

Thanks,
Arun Shanker Prasad.

On Aug 27, 7:41 pm, Nick Johnson (Google) nick.john...@google.com
wrote:

 Hi Arun,
 I'm afraid your only option is to recreate the indexes once they've
   finished
 deleting. If you no longer have your index.yaml, you can copy down the
   index
 definitions from the App Engine console index page in order to 
 recreate
   it.

 -Nick Johnson

 On Thu, Aug 27, 2009 at 3:34 PM, Arun Shanker Prasad 

 arunshankerpra...@gmail.com wrote:

  Hi All,

  I tried to vacuum out some indexes that were in the error state, I
  gave
  appcfg.py vacuum_indexes My_application

  During the process I missed a couple of them, I tried to give the 
  'a'
  option thinking that it was the Abort option :( :(

  Now all my indexes are in deleting state, its very late in my dev
  stage to track down all the previous indexes and upload them again.

  Can anyone please help me to get the indexes back, my app is down at
  the moment due to the missing indexes :( :(

  Thanks,
  Arun Shanker Prasad.

 --
 Nick Johnson, Developer Programs Engineer, App Engine
--~--~-~--~~~---~--~~
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: AppEngine + Eclipse ?= auto complete

2009-06-01 Thread Arun Shanker Prasad

Hi,

This guide http://code.google.com/appengine/articles/eclipse.html
really helps, I use this in both my Linux and Windows boxes and works
great..

This part is really important, don't forget to keep the file order in
the image shown there in the above URL.

Click on Add source folder to add the following folders from your
google appengine folder:

http://code.google.com/appengine/articles/eclipse_img/external_sources.png

Thanks,
Arun Shanker Prasad.

On May 31, 11:40 pm, Brandon Watson blwat...@gmail.com wrote:
 I can see that there is a PyDev - PYTHONPATH option under my File -
 Properties for my project.  What needs to be in there?  Where are the
 AppEngine SDK files?  I know where I put the GAE Launcher, but I don't
 know what I need to tell Eclipse about the location of the SDK or how
 to do it.  This is frustrating.  Thanks for all the help so far.  I
 used to fancy myself somewhat competent.

 On May 31, 11:13 am, Brandon Watson blwat...@gmail.com wrote:



  Thanks for that pointer, but it's a reprint of the article I pointed
  to.

  On May 31, 10:07 am, tabularasa elliott.valent...@gmail.com wrote:

   This might help 
   you:http://daily.profeth.de/2008/04/google-app-engine-eclipse-pydev.html

   On May 31, 8:31 am, Brandon Watson blwat...@gmail.com wrote:

Further followup:

I read this:

   http://code.google.com/appengine/articles/eclipse.html

but that's for Windows.  I see the step about the PYTHONPATH, but I'm
not sure what to do on Mac.

On May 31, 8:11 am, Brandon Watson blwat...@gmail.com wrote:

 We appear to be on the right path, but I have tried for the alst hour
 of searching to figure this one out, and I am at a loss.  From the
 shell, I typed:

 echo $PYTHONPATH

 and it comes back empty.  Trying:

 echo $PATH

 results in:

 /Library/Frameworks/Python.framework/Versions/2.6/bin:/Library/
 Frameworks/Python.framework/Versions/Current/bin:/Library/Frameworks/
 Python.framework/Versions/Current/bin:/opt/local/bin:/opt/local/sbin:/
 usr/local/bin:/Users/bwatson/django-trunk/django/bin:/usr/bin:/bin:/
 usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin

 I am running Python 2.6.  So, the question:

 1) which file am I editing?
 2) what exactly am I adding?

 I looked in .bashrc, and .bash_profile, but don't know what I need to
 add for App Engine.  I search and cannot determine the default
 location for the App Engine libraries.

 Thanks, and sorry for the seemingly lame question.

 -B

 On May 31, 7:03 am, Wooble geoffsp...@gmail.com wrote:

  I don't use Eclipse so I could be way off, but I'd guess this is
  because the google modules aren't in the default PYTHONPATH so 
  Eclipse
  won't know where to find them.

  On May 30, 11:51 pm, Brandon Watson blwat...@gmail.com wrote:

   Just to add to this:

   the line:

   import cgi

   appears to give me what I need.  When I type cgi. I get all of 
   the
   auto complete.  However, the lines:

   from google.appengine.api import users
   from google.appengine.ext import webapp
   from google.appengine.ext.webapp.util import run_wsgi_app
   from google.appengine.ext import db

   don't give me any auto complete.  If I type users. there is no 
   auto
   complete.

   On May 30, 8:44 pm, Brandon blwat...@gmail.com wrote:

I was doing some beginner AppEngine dev on a Windows box and 
installed
Eclipse for that. I liked the autocompletion I got with the 
objects
and functions.  Very helpful.

Last night, I moved my dev environment over to my Macbook, and
installed Eclipse Ganymede. I installed the AppEngine SDK and 
Eclipse
plug in. However, when I am typing out code on my Mac, the
autocomplete isn't functioning. Did I miss a step?  Call me a 
lazy
programmer, but having the functions available in that dropdown 
list
is missed.

Any help?
--~--~-~--~~~---~--~~
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: AppEngine + Eclipse ?= auto complete

2009-06-01 Thread Arun Shanker Prasad

Hi,

This tutorial explains how to install Google App Engine in Mac.

http://www.alishabdar.com/2009/05/06/develop-google-appengine-with-aptana-studio/

I have not used Mac, shouldn't there be some sort of source folder for
the SDK libs to be contained in?

Couldn't you try to run a system wide file scan to find out where the
SDK libs are, like in the above tutorial.

http://www.alishabdar.com/wp-content/uploads/2009/05/01.png

Thanks,
Arun Shanker Prasad.

On Jun 2, 1:12 am, Brandon Watson blwat...@gmail.com wrote:
 Thanks for this pointer, again.  I am running OS X.  There is no
 folder location except for the Google App Engine Launcher, and I tried
 adding that to the external sources (as a single entity), and it did
 not work.

 On Jun 1, 12:26 pm, Arun Shanker Prasad arunshankerpra...@gmail.com
 wrote:



  Hi,

  This guidehttp://code.google.com/appengine/articles/eclipse.html
  really helps, I use this in both my Linux and Windows boxes and works
  great..

  This part is really important, don't forget to keep the file order in
  the image shown there in the above URL.

  Click on Add source folder to add the following folders from your
  google appengine folder:

 http://code.google.com/appengine/articles/eclipse_img/external_source...

  Thanks,
  Arun Shanker Prasad.

  On May 31, 11:40 pm, Brandon Watson blwat...@gmail.com wrote:

   I can see that there is a PyDev - PYTHONPATH option under my File -
   Properties for my project.  What needs to be in there?  Where are the
   AppEngine SDK files?  I know where I put the GAE Launcher, but I don't
   know what I need to tell Eclipse about the location of the SDK or how
   to do it.  This is frustrating.  Thanks for all the help so far.  I
   used to fancy myself somewhat competent.

   On May 31, 11:13 am, Brandon Watson blwat...@gmail.com wrote:

Thanks for that pointer, but it's a reprint of the article I pointed
to.

On May 31, 10:07 am, tabularasa elliott.valent...@gmail.com wrote:

 This might help 
 you:http://daily.profeth.de/2008/04/google-app-engine-eclipse-pydev.html

 On May 31, 8:31 am, Brandon Watson blwat...@gmail.com wrote:

  Further followup:

  I read this:

 http://code.google.com/appengine/articles/eclipse.html

  but that's for Windows.  I see the step about the PYTHONPATH, but 
  I'm
  not sure what to do on Mac.

  On May 31, 8:11 am, Brandon Watson blwat...@gmail.com wrote:

   We appear to be on the right path, but I have tried for the alst 
   hour
   of searching to figure this one out, and I am at a loss.  From the
   shell, I typed:

   echo $PYTHONPATH

   and it comes back empty.  Trying:

   echo $PATH

   results in:

   /Library/Frameworks/Python.framework/Versions/2.6/bin:/Library/
   Frameworks/Python.framework/Versions/Current/bin:/Library/Frameworks/
   Python.framework/Versions/Current/bin:/opt/local/bin:/opt/local/sbin:/
   usr/local/bin:/Users/bwatson/django-trunk/django/bin:/usr/bin:/bin:/
   usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin

   I am running Python 2.6.  So, the question:

   1) which file am I editing?
   2) what exactly am I adding?

   I looked in .bashrc, and .bash_profile, but don't know what I 
   need to
   add for App Engine.  I search and cannot determine the default
   location for the App Engine libraries.

   Thanks, and sorry for the seemingly lame question.

   -B

   On May 31, 7:03 am, Wooble geoffsp...@gmail.com wrote:

I don't use Eclipse so I could be way off, but I'd guess this is
because the google modules aren't in the default PYTHONPATH so 
Eclipse
won't know where to find them.

On May 30, 11:51 pm, Brandon Watson blwat...@gmail.com wrote:

 Just to add to this:

 the line:

 import cgi

 appears to give me what I need.  When I type cgi. I get all 
 of the
 auto complete.  However, the lines:

 from google.appengine.api import users
 from google.appengine.ext import webapp
 from google.appengine.ext.webapp.util import run_wsgi_app
 from google.appengine.ext import db

 don't give me any auto complete.  If I type users. there is 
 no auto
 complete.

 On May 30, 8:44 pm, Brandon blwat...@gmail.com wrote:

  I was doing some beginner AppEngine dev on a Windows box 
  and installed
  Eclipse for that. I liked the autocompletion I got with the 
  objects
  and functions.  Very helpful.

  Last night, I moved my dev environment over to my Macbook, 
  and
  installed Eclipse Ganymede. I installed the AppEngine SDK 
  and Eclipse
  plug in. However, when I am typing out code on my Mac, the
  autocomplete isn't functioning. Did I miss a step?  Call me 
  a lazy
  programmer, but having

[google-appengine] Re: Using ReportLab with ZipImport

2009-04-30 Thread Arun Shanker Prasad

Hi Ruud,

Thanks for the reply. I did notice the timestamp now :)

I think using the PYTHONPATH and setting .pth is a no go in GAE, as
far as I know..
I was afraid of that, might have to get started in the Pisa code..

Thanks again for the solution, I saw some people using ReportLab in
GAE, will help them a lot.

Thanks,
Arun Shanker Prasad.

On Apr 30, 11:16 pm, Ruud Helderman liping...@hotmail.com wrote:
 Hi Arun,
 Sorry for my earlier post arriving 'a day after the fair', it got
 delayed by moderator policy (check its timestamp).

 This is a generic problem - not something specific to either ReportLab
 or Pisa. Zipping a library is a matter of choice during deployment -
 why should that affect the source code of each module depending on the
 library?

 In Python documentation, I noticed 2 ways to globally expand sys.path,
 without having to adjust individual .py files:
 1. PYTHONPATH environment variable
 2. .pth files

 However, I doubt if either one is available to GAE application
 developers. If not, then adjusting the Pisa sources is your only
 option, sorry.

 IMHO, zipimporter is nice, but immature - I would rather have a more
 transparent approach. An API layer on top of the filesystem that hides
 the difference between ZIP files and 'real' folders (much like
 'compressed folders' in Windows), not only for import statements but
 for regular file access as well.

 On Apr 28, 6:31 am, Arun Shanker Prasad arunshankerpra...@gmail.com
 wrote:



  Hi Ruud,

  Thanks for the patch, I mentioned your patch comment #5. It is great
  and works fine when used with the ReportLab package alone.

  My problem is that I use ReportLab as a requirement for the Pisa
  package,
  (http://www.xhtml2pdf.com/doc/pisa-en.html,http://pypi.python.org/pypi...)

  Since reportlab is called from inside these packages, they are not
  able to find the reportlab package. Do you know of any work around for
  this?

  Thanks,
  Arun Shanker Prasad.

  On Apr 25, 7:07 pm, Ruud Helderman liping...@hotmail.com wrote:

   I patched the ReportLab library, works fine for me.

   For a simple demo and full source code, look 
   here:http://ruudhelderman.appspot.com/testpdf

   I added a comment with detailed explanation to issue 
   1085:http://code.google.com/p/googleappengine/issues/detail?id=1085
--~--~-~--~~~---~--~~
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: Using ReportLab with ZipImport

2009-04-27 Thread Arun Shanker Prasad

Hi,

Update: Thanks to the solution from liping... (Name not written in
full), I was able to solve the problem with ZipImport and ReportLab.
You can find more details about it from,

Sample hosted in GAE, also contains the source :-
http://ruudhelderman.appspot.com/testpdf
Explanation in issue tracker :-
http://code.google.com/p/googleappengine/issues/detail?id=1085

Thanks,
Arun Shanker Prasad.

On Apr 8, 9:21 pm, Arun Shanker Prasad arunshankerpra...@gmail.com
wrote:
 Thank you Jeff for the help.

 I was actually using ReportLab along with Pisa, I had posted a similar
 question on their forum as the demo for this (http://www.xhtml2pdf.com/
 demo) seems to be hosted in Google App Engine.

 I will try the ReportLab developers also and hope they have a
 solution.

 Meanwhile can I go ahead and upload the libraries to Google App Engine
 and convert it to Zip and reduce the number of files later?

 Thanks,
 Arun Shanker Prasad.

 On Apr 8, 2:09 am, Jeff S j...@google.com wrote:

  Hello Arun Shanker Prasad,

  I'm not familiar with ReportLab, but from reading a tiny bit of their
  documentation it seems like they are interested in making their
  software usable from within App Engine.

  (They mention App Engine on this 
  pagehttp://www.reportlab.org/downloads.html#reportlab
  )

  Have you tried contacting the ReportLab developers? It looks this the
  issue is related to secure runtime restrictions and are triggered by
  the module loader during the import. It would be great if this library
  worked on App Engine, so I'm hoping that we collectively will figure
  this out. I'm not sure if I'll have time to dig in to this issue, as
  much as I'd like to.

  Thank you,

  Jeff

  On Apr 6, 10:23 pm, Arun Shanker Prasad arunshankerpra...@gmail.com
  wrote:

   Hi,

   Anyone got any work-around for my situation? I am stuck at this
   point...

   Thanks,
   Arun Shanker Prasad.

   On Apr 6, 5:12 pm, Arun Shanker Prasad arunshankerpra...@gmail.com
   wrote:

Hi,

I have a requirement to generate dynamic PDFs from HTML source. I
included the Pisa, html5lib and the reportlab packages for this.
Everything works fine in the local environment as long I keep all the
packages in the initial source ie I do not zip it.

Keeping the whole ReportLab package (204 files) might take me way
close to the allowed file limit. I tried to convert the ReportLab
package into a zip and use zipimport to use it. This causes the
following error,

AttributeError: 'HardenedModulesHook' object has no attribute '_files'

My source where the imports are called,
import sys
sys.path.insert(0, 'ho.zip')
sys.path.insert(0, 'html5lib.zip')
sys.path.insert(0, 'sx.zip')
sys.path.insert(0, 'reportlab.zip')
import ho.pisa as pisa

Googled a bit for the solution found another mention of this in issue
tracker,http://code.google.com/p/googleappengine/issues/detail?id=1085.

Can anyone help me get around this problem? I have seen many use
reportlab in Google App Engine how do you guys get around this issue??

Any help will be greatly appreciated.

Thanks,
Arun Shanker Prasad.
--~--~-~--~~~---~--~~
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: Using ReportLab with ZipImport

2009-04-27 Thread Arun Shanker Prasad

Hi,

Spoke too soon. Although this works in the case of importing ReportLab
alone, when used along with Pisa this will fail as the pisa modules
look for the ReportLab package as well and they do not find them from
the zip file.

May need to modify all the pisa packages as well to include,
sys.path.insert(0, 'reportlab.zip')

Thanks,
Arun Shanker Prasad.

On Apr 27, 12:09 pm, Arun Shanker Prasad arunshankerpra...@gmail.com
wrote:
 Hi,

 Update: Thanks to the solution from liping... (Name not written in
 full), I was able to solve the problem with ZipImport andReportLab.
 You can find more details about it from,

 Sample hosted in GAE, also contains the source 
 :-http://ruudhelderman.appspot.com/testpdf
 Explanation in issue tracker :-    
 http://code.google.com/p/googleappengine/issues/detail?id=1085

 Thanks,
 Arun Shanker Prasad.

 On Apr 8, 9:21 pm, Arun Shanker Prasad arunshankerpra...@gmail.com
 wrote:

  Thank you Jeff for the help.

  I was actually usingReportLabalong with Pisa, I had posted a similar
  question on their forum as the demo for this (http://www.xhtml2pdf.com/
  demo) seems to be hosted in Google App Engine.

  I will try theReportLabdevelopers also and hope they have a
  solution.

  Meanwhile can I go ahead and upload the libraries to Google App Engine
  and convert it to Zip and reduce the number of files later?

  Thanks,
  Arun Shanker Prasad.

  On Apr 8, 2:09 am, Jeff S j...@google.com wrote:

   Hello Arun Shanker Prasad,

   I'm not familiar withReportLab, but from reading a tiny bit of their
   documentation it seems like they are interested in making their
   software usable from within App Engine.

   (They mention App Engine on this 
   pagehttp://www.reportlab.org/downloads.html#reportlab
   )

   Have you tried contacting theReportLabdevelopers? It looks this the
   issue is related to secure runtime restrictions and are triggered by
   the module loader during the import. It would be great if this library
   worked on App Engine, so I'm hoping that we collectively will figure
   this out. I'm not sure if I'll have time to dig in to this issue, as
   much as I'd like to.

   Thank you,

   Jeff

   On Apr 6, 10:23 pm, Arun Shanker Prasad arunshankerpra...@gmail.com
   wrote:

Hi,

Anyone got any work-around for my situation? I am stuck at this
point...

Thanks,
Arun Shanker Prasad.

On Apr 6, 5:12 pm, Arun Shanker Prasad arunshankerpra...@gmail.com
wrote:

 Hi,

 I have a requirement to generate dynamic PDFs from HTML source. I
 included the Pisa, html5lib and thereportlabpackages for this.
 Everything works fine in the local environment as long I keep all the
 packages in the initial source ie I do not zip it.

 Keeping the wholeReportLabpackage (204 files) might take me way
 close to the allowed file limit. I tried to convert theReportLab
 package into a zip and use zipimport to use it. This causes the
 following error,

 AttributeError: 'HardenedModulesHook' object has no attribute '_files'

 My source where the imports are called,
 import sys
 sys.path.insert(0, 'ho.zip')
 sys.path.insert(0, 'html5lib.zip')
 sys.path.insert(0, 'sx.zip')
 sys.path.insert(0, 'reportlab.zip')
 import ho.pisa as pisa

 Googled a bit for the solution found another mention of this in issue
 tracker,http://code.google.com/p/googleappengine/issues/detail?id=1085.

 Can anyone help me get around this problem? I have seen many use
reportlabin Google App Engine how do you guys get around this issue??

 Any help will be greatly appreciated.

 Thanks,
 Arun Shanker Prasad.
--~--~-~--~~~---~--~~
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: Using ReportLab with ZipImport

2009-04-27 Thread Arun Shanker Prasad

Hi Ruud,

Thanks for the patch, I mentioned your patch comment #5. It is great
and works fine when used with the ReportLab package alone.

My problem is that I use ReportLab as a requirement for the Pisa
package,
(http://www.xhtml2pdf.com/doc/pisa-en.html,
http://pypi.python.org/pypi/pisa/)

Since reportlab is called from inside these packages, they are not
able to find the reportlab package. Do you know of any work around for
this?

Thanks,
Arun Shanker Prasad.

On Apr 25, 7:07 pm, Ruud Helderman liping...@hotmail.com wrote:
 I patched the ReportLab library, works fine for me.

 For a simple demo and full source code, look 
 here:http://ruudhelderman.appspot.com/testpdf

 I added a comment with detailed explanation to issue 
 1085:http://code.google.com/p/googleappengine/issues/detail?id=1085
--~--~-~--~~~---~--~~
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: Using ReportLab with ZipImport

2009-04-08 Thread Arun Shanker Prasad

Thank you Jeff for the help.

I was actually using ReportLab along with Pisa, I had posted a similar
question on their forum as the demo for this (http://www.xhtml2pdf.com/
demo) seems to be hosted in Google App Engine.

I will try the ReportLab developers also and hope they have a
solution.

Meanwhile can I go ahead and upload the libraries to Google App Engine
and convert it to Zip and reduce the number of files later?

Thanks,
Arun Shanker Prasad.

On Apr 8, 2:09 am, Jeff S j...@google.com wrote:
 Hello Arun Shanker Prasad,

 I'm not familiar with ReportLab, but from reading a tiny bit of their
 documentation it seems like they are interested in making their
 software usable from within App Engine.

 (They mention App Engine on this 
 pagehttp://www.reportlab.org/downloads.html#reportlab
 )

 Have you tried contacting the ReportLab developers? It looks this the
 issue is related to secure runtime restrictions and are triggered by
 the module loader during the import. It would be great if this library
 worked on App Engine, so I'm hoping that we collectively will figure
 this out. I'm not sure if I'll have time to dig in to this issue, as
 much as I'd like to.

 Thank you,

 Jeff

 On Apr 6, 10:23 pm, Arun Shanker Prasad arunshankerpra...@gmail.com
 wrote:

  Hi,

  Anyone got any work-around for my situation? I am stuck at this
  point...

  Thanks,
  Arun Shanker Prasad.

  On Apr 6, 5:12 pm, Arun Shanker Prasad arunshankerpra...@gmail.com
  wrote:

   Hi,

   I have a requirement to generate dynamic PDFs from HTML source. I
   included the Pisa, html5lib and the reportlab packages for this.
   Everything works fine in the local environment as long I keep all the
   packages in the initial source ie I do not zip it.

   Keeping the whole ReportLab package (204 files) might take me way
   close to the allowed file limit. I tried to convert the ReportLab
   package into a zip and use zipimport to use it. This causes the
   following error,

   AttributeError: 'HardenedModulesHook' object has no attribute '_files'

   My source where the imports are called,
   import sys
   sys.path.insert(0, 'ho.zip')
   sys.path.insert(0, 'html5lib.zip')
   sys.path.insert(0, 'sx.zip')
   sys.path.insert(0, 'reportlab.zip')
   import ho.pisa as pisa

   Googled a bit for the solution found another mention of this in issue
   tracker,http://code.google.com/p/googleappengine/issues/detail?id=1085.

   Can anyone help me get around this problem? I have seen many use
   reportlab in Google App Engine how do you guys get around this issue??

   Any help will be greatly appreciated.

   Thanks,
   Arun Shanker Prasad.
--~--~-~--~~~---~--~~
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] Using ReportLab with ZipImport

2009-04-06 Thread Arun Shanker Prasad

Hi,

I have a requirement to generate dynamic PDFs from HTML source. I
included the Pisa, html5lib and the reportlab packages for this.
Everything works fine in the local environment as long I keep all the
packages in the initial source ie I do not zip it.

Keeping the whole ReportLab package (204 files) might take me way
close to the allowed file limit. I tried to convert the ReportLab
package into a zip and use zipimport to use it. This causes the
following error,

AttributeError: 'HardenedModulesHook' object has no attribute '_files'

My source where the imports are called,
import sys
sys.path.insert(0, 'ho.zip')
sys.path.insert(0, 'html5lib.zip')
sys.path.insert(0, 'sx.zip')
sys.path.insert(0, 'reportlab.zip')
import ho.pisa as pisa

Googled a bit for the solution found another mention of this in issue
tracker,
http://code.google.com/p/googleappengine/issues/detail?id=1085.

Can anyone help me get around this problem? I have seen many use
reportlab in Google App Engine how do you guys get around this issue??

Any help will be greatly appreciated.

Thanks,
Arun Shanker Prasad.
--~--~-~--~~~---~--~~
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: Using ReportLab with ZipImport

2009-04-06 Thread Arun Shanker Prasad

Hi,

Anyone got any work-around for my situation? I am stuck at this
point...

Thanks,
Arun Shanker Prasad.

On Apr 6, 5:12 pm, Arun Shanker Prasad arunshankerpra...@gmail.com
wrote:
 Hi,

 I have a requirement to generate dynamic PDFs from HTML source. I
 included the Pisa, html5lib and the reportlab packages for this.
 Everything works fine in the local environment as long I keep all the
 packages in the initial source ie I do not zip it.

 Keeping the whole ReportLab package (204 files) might take me way
 close to the allowed file limit. I tried to convert the ReportLab
 package into a zip and use zipimport to use it. This causes the
 following error,

 AttributeError: 'HardenedModulesHook' object has no attribute '_files'

 My source where the imports are called,
 import sys
 sys.path.insert(0, 'ho.zip')
 sys.path.insert(0, 'html5lib.zip')
 sys.path.insert(0, 'sx.zip')
 sys.path.insert(0, 'reportlab.zip')
 import ho.pisa as pisa

 Googled a bit for the solution found another mention of this in issue
 tracker,http://code.google.com/p/googleappengine/issues/detail?id=1085.

 Can anyone help me get around this problem? I have seen many use
 reportlab in Google App Engine how do you guys get around this issue??

 Any help will be greatly appreciated.

 Thanks,
 Arun Shanker Prasad.
--~--~-~--~~~---~--~~
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: How to update DB record

2009-04-05 Thread Arun Shanker Prasad

Hi,

A small correction in the solution above,

phrase = Phrases.get_by_id(2)
# or
phrase = Phrases.get_by_key_name('my_key_2')
phraseContent = 'typing a longer phrase'
#Correction
#phraseContent.put()
phrase.phraseContent = phraseContent
phrase.put()

or
phrase.phraseContent = 'typing a longer phrase'
phrase.put()

Thanks,
Arun Shanker Prasad.

On Apr 5, 4:08 am, djidjadji djidja...@gmail.com wrote:
 If you don't have a primary key in your object model you should use key_names.
 Don't rely on the object ID's that are given.

 To update an object in the datastore you first retrieve it with a query.
 Change the members of the object.
 and put the object back

 phrase = Phrases.get_by_id(2)
 # or
 phrase = Phrases.get_by_key_name('my_key_2')

 phraseContent = 'typing a longer phrase'
 phraseContent.put()

 2009/4/4 Larkin2 michael.mer...@gmail.com:





  I've been reviewing the example provided here:
 http://code.google.com/appengine/kb/commontasks.html#updatein regards
  to updating a record in my DB.

  I have the following DB model

  class Phrases(db.Model,):
   phraseContent = db.StringProperty(multiline=True)

  Assuming the following records exist

  ID | phraseContent
  ---
  1 | before a window
  2 | typing a phrase
  3 } into a computer

  How would I update #2 to read: 'typing a longer phrase'

  without creating a new record all together?
--~--~-~--~~~---~--~~
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: Can't get it to work

2009-04-04 Thread Arun Shanker Prasad

Hi,

To add to this discussion;

If you installed Python from the MSI it probably has the python.exe in
the environment variables, (ie the system path). You might want to
check that also.

Thanks,
Arun Shanker Prasad.

On Apr 4, 7:50 pm, ianolsenclark ianolsencl...@gmail.com wrote:
 When using Windows, I think you need to start the command by executing
 Python first  i.e

 python dev_appserver.py urbanapplicaton

 It's probably also a good idea to move down to Python 2.6, as using
 3.01 may cause other issues.

 Hope this helps?

 Ian

 On Apr 2, 11:27 pm, urbanfre...@gmail.com urbanfre...@gmail.com
 wrote:



  Hi.
  Here is my problem.There is something i'm missing here.
  I use windows vista.
  I installed python 3.0.1
  I installed SDK.
  When i try to run dev_appserver.py urbanapplicaton it just opens up
  the dev_appserver.py in the notepad. Doesn't start the server.
  Could anybody help me run this thing up?
  Thank you.
--~--~-~--~~~---~--~~
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: How can I pass more parameters between GWT and GAE by JSON?

2009-04-04 Thread Arun Shanker Prasad

Hi,

Can't you just pass the additional parameters also along in JSON
format? If you are using the paging by key the bookmark can be pickled
and converted to JSON format.

I have not tested or used it with any of the below suggestions,

1. try the normal picked object.
if that does not work
2. 
http://ajaxian.com/archives/json-pickle-serialize-your-complex-python-objects-to-json

If your question was how to parse JSON in python, Django framework
comes bundled with simplejson and its included in the GAE SDK.

Thanks,
Arun Shanker Prasad.

On Apr 4, 6:55 pm, 秦锋 feng.w@gmail.com wrote:
 My site uses GAE as background Data source and GWT as front UI, which
 sends request and expects get JSON format data table back to
 Visualization Chart.
 As we known, JSON has specific format definition, thus how can I pass
 extra parameters in on JSON response? such as paging data(bookmark)?
--~--~-~--~~~---~--~~
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] Updating the GData API

2009-04-02 Thread Arun Shanker Prasad

Hi All,

I currently use the GData API version 'gdata.py-1.1.1' for my Google
App Engine application. My question is that the API contains a lot of
files, I want to update to the latest version of the API. I have
already uploaded the app with the API files, (P.S: No I did not use
zipimport). If I modify the version and upload these files again then
will they be viewed as different files? I mean will I be hitting the
number of flies allowed limit? Could some one please elaborate on
this?

Thanks,
Arun Shanker Prasad.
--~--~-~--~~~---~--~~
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: Updating the GData API

2009-04-02 Thread Arun Shanker Prasad

Thanks Bill, I hoped this would be the case.
But a search in the groups revealed a lot of people asking to delete
their existing files to escape from the limit.. So I was a bit
concerned.

Thanks,
Arun Shanker Prasad.

On Apr 3, 8:30 am, Bill billk...@gmail.com wrote:
 Arun,

 I think during each deployment (upload) of your app, the current
 number of files in your local app directory (minus whatever is not
 uploaded due to app.yaml directives, etc) is what counts.  If Google
 judges the quota against all past plus modified files uploaded, the
 limit would be exceeded very quickly.  So even if you don't change the
 version, just makes sure your current # of files is lower than the
 quota.

 -Bill

 On Apr 1, 11:10 pm, Arun Shanker Prasad arunshankerpra...@gmail.com
 wrote:

  Hi All,

  I currently use the GData API version 'gdata.py-1.1.1' for my Google
  App Engine application. My question is that the API contains a lot of
  files, I want to update to the latest version of the API. I have
  already uploaded the app with the API files, (P.S: No I did not use
  zipimport). If I modify the version and upload these files again then
  will they be viewed as different files? I mean will I be hitting the
  number of flies allowed limit? Could some one please elaborate on
  this?

  Thanks,
  Arun Shanker Prasad.
--~--~-~--~~~---~--~~
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: django form problems

2009-03-25 Thread Arun Shanker Prasad

Hi,

I think the Django forms by default sets the 'required=True'. If you
want the form to be submitted without any values u need to supply
'required=False'.

wf_first_name = forms.CharField(required=False)

Thanks,
Arun Shanker Prasad.

On Mar 25, 7:51 am, arnie parvez...@rediffmail.com wrote:
 I am using app engine patch sample and using django template forms.
 Corresponding to the user form, I have created the class as given
 below
 class CreateUserForm(forms.Form):
         wf_first_name = forms.CharField()
         wf_last_name = forms.CharField()
         wf_company = forms.CharField()
         wf_title = forms.CharField()
         wf_street_address = forms.CharField()

 The template form's field are First Name [id=wf_first_name], Last Name
 [wf_last_name] and so on.
 My problem is that if I submit the form without editing an field on
 the form then inside the function that is handling both the GET and
 the POST request, as shown
 existingUserForm = CreateUserForm(request.POST)
 userDetails = {}
 if(request.method ==POST):
 if existingUserForm.is_valid():
 The last line always fails
 On the other hand if i submit the form while editing some fields then
 the above code works
 What's going wrong here?
 Thanks
 Arnie
--~--~-~--~~~---~--~~
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: How to do editing??

2009-03-25 Thread Arun Shanker Prasad

Hi,

If you are using Django framework,

request.POST.get('field_name') will give you the post value.

As to what to use to get the form in edit mode use,

editForm = UserProfileForm(instance=db.get(key))

To use in validation i.e postback,

postbackForm = UserProfileForm(data=request.POST)


Thanks,
Arun Shanker Prasad.

On Mar 25, 9:02 am, arnie parvez...@rediffmail.com wrote:
 Does there exists a way of accessing the submitted form fields without
 creating an instance of the same like we do in non django based
 project like self.request.get(fieldname)
--~--~-~--~~~---~--~~
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] Cant Access My App - 403 Forbidden

2009-03-21 Thread Arun Shanker Prasad

Hi,

I cannot my Application I am getting a Google error message saying,

... but your query looks similar to automated requests from a computer
virus or spyware application. To protect our users, we can't process
your request right now.

Can anyone please help me??

Thanks,
Arun Shanker Prasad
--~--~-~--~~~---~--~~
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: Cant Access My App - 403 Forbidden

2009-03-21 Thread Arun Shanker Prasad

Hi,

I also think there was a disruption in Google's service. There was no 
indication of that in the Status site. I got the App back up again after an 
hour or so.

Are you guys getting your apps now?

Thanks,
Arun Shanker Prasad.

--
From: Tim Hoffman zutes...@gmail.com
Sent: Sunday, March 22, 2009 4:36 AM
To: Google App Engine google-appengine@googlegroups.com
Subject: [google-appengine] Re: Cant Access My App - 403 Forbidden


 I was getting this last night just reading Google Andriod docs.

 I wonder if it wasn't some hiccup in googles infrastructure.

 10 min later I could read the same docs .

 T

 On Mar 22, 2:05 am, Brandon Thomson gra...@gmail.com wrote:
 Any idea if there is a workaround?

 On Mar 21, 8:17 am, Paul Kinlan paul.kin...@gmail.com wrote:

  I am getting these too.

  2009/3/21 Arun Shanker Prasad arunshan...@qburst.com

   Hi,

   I cannot my Application I am getting a Google error message saying,

   ... but your query looks similar to automated requests from a 
   computer
   virus or spyware application. To protect our users, we can't process
   your request right now.

   Can anyone please help me??

   Thanks,
   Arun Shanker Prasad
  

--~--~-~--~~~---~--~~
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: Clarification of Term 4.4

2009-03-12 Thread Arun Shanker Prasad

Hi Jason,

We are deploying multiple application under the same domain, but the
function of all the applications are different like, one for the HR
management another one a twitter like application. We are eventually
planning to sell these applications individually. Does this violate
the TOS as they are different application served under the same Google
Apps Domain?

Thanks,
Arun Shanker Prasad.

On Mar 12, 6:54 am, Jason apija...@google.com wrote:
 Yes, using multiple app_ids like this is against the TOS. We are
 building infrastructure to support your use case, however, so that you
 do not need to use multiple application IDs. In the meantime, we are
 happy to consider exceptions on a case-by-base basis. You can file
 your request using the form at:

 http://code.google.com/support/bin/request.py?contact_type=AppEngineM...

 If you want more details, there are basically two ways of deploying a
 single application to multiple domains:

 1. Use a single app_id and build namespacing API hooks for your calls
 to memcache and the datastore.  If you want to use the users API with
 this solution, you'll have to stick with ordinary Google Accounts, not
 Google Apps Accounts. For more on API hooks, 
 seehttp://code.google.com/appengine/articles/hooks.html

 2. Use multiple app identifiers and bind each to a separate domain.
 This solution allows for use of the users API with Google Apps
 Accounts.

 To support option 2, we will consider making exceptions to our terms
 when it is clear that multiple identifiers are being used to deploy an
 app to multiple different customers. That is, each application ID must
 restrict authentication to a different Google Apps domain, and any
 significant functionality (beyond splash pages, login pages, etc) must
 be available only to members of these domains. To apply for an
 exception, use the form linked above.

 Cheers!
 - Jason

 On Mar 2, 4:55 pm, TAN KH tank...@gmail.com wrote:



  4.4. You may not develop multiple Applications to simulate or act as a
  single Application or otherwise access the Service in a manner intended
  to avoid incurring fees.

  Clarification

  I am currently developing my app to operate on 1 application instance
  per company/organisation. These application instances can have
  content/xml messages that flows in/out between them.
  Is this considered to be in violation of the above terms ?

  This would also mean that a large number of organisations
  equates to a large number of applications. Is this also considered a
  violation when I manage multiple application instances thru'
  multiple gmail accounts since there is a 10 application limit ?

  Appreciate the clarification.

--~--~-~--~~~---~--~~
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: querying on lists...

2009-03-10 Thread Arun Shanker Prasad

Hi,

Could you post at least a sample of your model?

I have used the GQL query to find if a string is in the kinds list
property and it's working.

My model sample,

Post(db.Model):
tag = db.StringListProperty(required=True)

Post.all().filter('tag =', some_tag).get()

Thanks,
Arun Shanker Prasad.

On Mar 10, 12:41 pm, pedepy paul.ro...@gmail.com wrote:
 ehy all .. it feels like ive already asked this before but i cant
 remember ..

 anyway, i have entities of a kind that have a stringlistproperty. Im
 trying to query for entities who's list contain a particular item.

 for instance, entity A's list is foo, bar, bob ... I want to query for
 entities where the list property has 'bar'. So A should come up. A
 does not.

 help
--~--~-~--~~~---~--~~
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] Random 502 errors

2009-03-06 Thread Arun Shanker Prasad

Hi,

I saw the post saying that all the issues were resolved only a little
latency issues remain..

But this is no the case for my application I have be getting random
502 (Bad Gateway errors) from the get go.. Now the frequency for these
errors have gone up At the time of this post I was not able to get
any request through to a particular page in my app (the function in
this page was added recently, if that has anything to do with the
issue).

Any help or follow-up will be greatly appreciated.

There is another similar scheduled update on Monday (I am keeping my
fingers crossed for this one).

Thanks,
Arun Shanker Prasad.
--~--~-~--~~~---~--~~
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: Random 502 errors

2009-03-06 Thread Arun Shanker Prasad

Hi,

Thanks Marzia for the response.

I took a look the log and did some debugging and found that I was
getting the deadline exceeded error.

But my operations were fairly simple, although there was a couple of
DB hits and a memcahce hit, but this put me over the limit. I think
maybe the latency issues are making the response time higher than
usual.

Thanks for the find and I have modified my code accordingly.

And the post you pointed to was made last month, any progress on the
ETA? or a work around?

Thanks,
Arun Shanker Prasad.

On Mar 6, 11:42 pm, Marzia Niccolai ma...@google.com wrote:
 Hi,

 If you are serving off a Google Apps domain, you are likely seeing the same
 issue as this 
 thread:http://groups.google.com/group/google-appengine/browse_thread/thread/...

 Our team is looking investigating this issue, thank you for your patience.

 -Marzia

 On Fri, Mar 6, 2009 at 7:32 AM, Arun Shanker Prasad 

 arunshankerpra...@gmail.com wrote:

  Hi,

  I saw the post saying that all the issues were resolved only a little
  latency issues remain..

  But this is no the case for my application I have be getting random
  502 (Bad Gateway errors) from the get go.. Now the frequency for these
  errors have gone up At the time of this post I was not able to get
  any request through to a particular page in my app (the function in
  this page was added recently, if that has anything to do with the
  issue).

  Any help or follow-up will be greatly appreciated.

  There is another similar scheduled update on Monday (I am keeping my
  fingers crossed for this one).

  Thanks,
  Arun Shanker Prasad.
--~--~-~--~~~---~--~~
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: 502 Server Errors after upgrade?

2009-03-04 Thread Arun Shanker Prasad

Hi,

I am still getting random 502 error and the latency of even simple
memcahce hits are very high, almost twice what I had a couple of days
before.

The App Engine status page shows everything as normal now, are the
issues resolved? Any updates?

Thanks,
Arun Shanker Prasad.

On Mar 4, 10:15 am, Arun Shanker Prasad arunshankerpra...@gmail.com
wrote:
 Hi,

 The system status site shows that all services are serving normal now,
 but my app is still experiencing DeadlineExceededError in pages that
 used be served well under 5s, and others are very slow and takes
 almost twice the normal time to serve.

 I know the Google App Engine team is working on resolving this and I
 thank them for that, but I made this post since the current status is
 shown as Normal and my app is still experiencing errors.

 Thanks,
 Arun Shanker Prasad.

 On Mar 4, 7:23 am, Pete Koomen pkoo...@google.com wrote:

  Hi all, we'll continue posting updates about this issue to our status
  site and downtime-notify group as we continue investigating:

 http://code.google.com/status/appenginehttp://groups.google.com/group...

  Thanks for your patience, we're still working hard on this one.

  Pete

  On Mar 3, 3:07 pm, Brandon Thomson gra...@gmail.com wrote:

   I think my errors are gone now. Thank you Google!

   On Mar 3, 1:44 pm, Artem p.ar...@gmail.com wrote:

I am still getting 502s in our App (which is an instance of Rietveld
without any changes except securing it with a password).
app id is: wsl-codereview

We have changed nothing. Problems started last night, but now every
request is a 502.

Artem

On Mar 3, 1:25 pm, Brett Slatkin brett-appeng...@google.com wrote:

 Hi Nick,

 On Tue, Mar 3, 2009 at 8:55 AM, Nick Winter livel...@gmail.com 
 wrote:

 http://code.google.com/status/appengine/detail/serving/2009/03/03#ae-...

  Just about every day for the past several weeks, there's been 
  elevated
  latency like this, usually at similar times of day. It was 
  unfortunate
  and frustrating before, but since last night our development is
  stalled because every part of App Engine is too slow to do any 
  testing
  or data manipulation right now. 5 seconds per request?

  I'm confident that the App Engine team will get a handle on the
  performance and everything will be shiny once more, but it'd be nice
  to hear some word as to what's going on. Are the servers just
  overloaded? Did something go wrong with the maintenance last night? 
  Is
  anomaly-yellow serving to be expected?

 We had some unexpected issues during the maintenance last night which
 caused elevated latencies and errors for all applications. We resolved
 the issue around 8:45pm last night and things have returned to normal
 since. Please let me know if you're still seeing any problems.

 As for the elevated latency for the dynamic request metric (that you
 linked to), this is primarily a product of alert tolerances. We're
 still tuning our status site metrics to match real-world expectations
 of App Engine performance. You'll notice today that we've raised some
 of these tolerances by a little bit, causing many of the lines to go
 back to a blue color (i.e., everything OK).

 -Brett
--~--~-~--~~~---~--~~
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: 502 Server Errors after upgrade?

2009-03-03 Thread Arun Shanker Prasad

Hi All,

I am still getting this 502 error randomly, did anyone figure out what
caused it and is it fixed??

Thanks,
Arun Shanker Prasad.

On Mar 3, 2:09 pm, cz czer...@gmail.com wrote:
 yep, our app still quite a bit slower than usual but slightly better
 than earlier today.
 zipimport still seems especially slow... I'm wondering if using non-
 trivial 3rd party frameworks such as Django 1.x is such a good idea on
 GAE. With this kind of latency I'm thinking maybe not. Perhaps for
 high traffic sites were multiple instances of the app remain in
 memory, but for medium to low traffic it's really terrible. Any chance
 this might get better?

 On Mar 2, 11:16 pm, Brenton toonscr...@nvbell.net wrote:

  Still bad for us at insightdining.
--~--~-~--~~~---~--~~
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: Question Regarding Zipserve

2009-03-03 Thread Arun Shanker Prasad

Hi,

  Any solution for my problem guys??

Thanks,
Arun Shanker Prasad.

On Feb 27, 8:48 pm, Arun Shanker Prasad arunshankerpra...@gmail.com
wrote:
 Hi,

    This can be done if my application was written in the 'webapp'
 framework, but as I mentioned earlier my project is done using
 Django.

 There is no
 def main():
     app = webapp.WSGIApplication()

 URL mapping is done through the url.py.

 Thanks,
 Arun Shanker Prasad.

 On Feb 27, 8:35 pm, Iain Wade iain.w...@gmail.com wrote:

  you can specify the zip file when setup in python:

    def main():
      app = webapp.WSGIApplication(
              [('/', MainPage),
               ('/static/(.*)', zipserve.make_zip_handler('staticfiles.zip')),
              ])

  --Iain

  On Sat, Feb 28, 2009 at 1:07 AM, Arun Shanker Prasad

  arunshankerpra...@gmail.com wrote:

   Hi All,

    I tried to include the TinyMCE scripts as a zip file and serve it
   using zipserve. I included the URL config in the app.yaml,

   - url: /tinyMCE/.*
    script: $PYTHON_LIB/google/appengine/ext/zipserve

   But this needs the tinyMCE.zip to be in the root path of my App (which
   is a Django app). So this makes the zip outside my project source. I
   was wondering if I could move these to the project/media/js folder
   along with all of my other scripts?

   Thanks,
   Arun Shanker Prasad.
--~--~-~--~~~---~--~~
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: 502 Server Errors after upgrade?

2009-03-03 Thread Arun Shanker Prasad

Hi,

My app still seems to be experiencing this problem.. I seem to get 502
- Bad Gateway error at random, also the the serving of the app is very
slow. Writes are the most expensive, timing out randomly..

Thanks,
Arun Shanker Prasad.

On Mar 4, 12:18 am, Sylvain sylvain.viv...@gmail.com wrote:
 Yes I don't know why but today the main request is 1000 ms-cpu higher
 than yesterday.
 So the CPU Quota is higher than usual.

 Regards

 On 3 mar, 20:08, Brandon Thomson gra...@gmail.com wrote:



  Ditto. Datastore performance is very bad too.

  On Mar 3, 2:04 pm, Brenton toonscr...@nvbell.net wrote:

   It still feels down to me.  Our app keeps timing out.  Friends' apps
   too.

   208 - try again in 30 secs.  Same as last night.
--~--~-~--~~~---~--~~
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: 502 Server Errors after upgrade?

2009-03-03 Thread Arun Shanker Prasad

Hi,

The system status site shows that all services are serving normal now,
but my app is still experiencing DeadlineExceededError in pages that
used be served well under 5s, and others are very slow and takes
almost twice the normal time to serve.

I know the Google App Engine team is working on resolving this and I
thank them for that, but I made this post since the current status is
shown as Normal and my app is still experiencing errors.

Thanks,
Arun Shanker Prasad.


On Mar 4, 7:23 am, Pete Koomen pkoo...@google.com wrote:
 Hi all, we'll continue posting updates about this issue to our status
 site and downtime-notify group as we continue investigating:

 http://code.google.com/status/appenginehttp://groups.google.com/group/google-appengine-downtime-notify

 Thanks for your patience, we're still working hard on this one.

 Pete

 On Mar 3, 3:07 pm, Brandon Thomson gra...@gmail.com wrote:

  I think my errors are gone now. Thank you Google!

  On Mar 3, 1:44 pm, Artem p.ar...@gmail.com wrote:

   I am still getting 502s in our App (which is an instance of Rietveld
   without any changes except securing it with a password).
   app id is: wsl-codereview

   We have changed nothing. Problems started last night, but now every
   request is a 502.

   Artem

   On Mar 3, 1:25 pm, Brett Slatkin brett-appeng...@google.com wrote:

Hi Nick,

On Tue, Mar 3, 2009 at 8:55 AM, Nick Winter livel...@gmail.com wrote:

http://code.google.com/status/appengine/detail/serving/2009/03/03#ae-...

 Just about every day for the past several weeks, there's been elevated
 latency like this, usually at similar times of day. It was unfortunate
 and frustrating before, but since last night our development is
 stalled because every part of App Engine is too slow to do any testing
 or data manipulation right now. 5 seconds per request?

 I'm confident that the App Engine team will get a handle on the
 performance and everything will be shiny once more, but it'd be nice
 to hear some word as to what's going on. Are the servers just
 overloaded? Did something go wrong with the maintenance last night? Is
 anomaly-yellow serving to be expected?

We had some unexpected issues during the maintenance last night which
caused elevated latencies and errors for all applications. We resolved
the issue around 8:45pm last night and things have returned to normal
since. Please let me know if you're still seeing any problems.

As for the elevated latency for the dynamic request metric (that you
linked to), this is primarily a product of alert tolerances. We're
still tuning our status site metrics to match real-world expectations
of App Engine performance. You'll notice today that we've raised some
of these tolerances by a little bit, causing many of the lines to go
back to a blue color (i.e., everything OK).

-Brett
--~--~-~--~~~---~--~~
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] Question Regarding Zipserve

2009-02-27 Thread Arun Shanker Prasad

Hi All,

  I tried to include the TinyMCE scripts as a zip file and serve it
using zipserve. I included the URL config in the app.yaml,

- url: /tinyMCE/.*
  script: $PYTHON_LIB/google/appengine/ext/zipserve

But this needs the tinyMCE.zip to be in the root path of my App (which
is a Django app). So this makes the zip outside my project source. I
was wondering if I could move these to the project/media/js folder
along with all of my other scripts?

Thanks,
Arun Shanker Prasad.
--~--~-~--~~~---~--~~
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: Question Regarding Zipserve

2009-02-27 Thread Arun Shanker Prasad

Hi,

   This can be done if my application was written in the 'webapp'
framework, but as I mentioned earlier my project is done using
Django.

There is no
def main():
app = webapp.WSGIApplication()

URL mapping is done through the url.py.

Thanks,
Arun Shanker Prasad.

On Feb 27, 8:35 pm, Iain Wade iain.w...@gmail.com wrote:
 you can specify the zip file when setup in python:

   def main():
     app = webapp.WSGIApplication(
             [('/', MainPage),
              ('/static/(.*)', zipserve.make_zip_handler('staticfiles.zip')),
             ])

 --Iain

 On Sat, Feb 28, 2009 at 1:07 AM, Arun Shanker Prasad

 arunshankerpra...@gmail.com wrote:

  Hi All,

   I tried to include the TinyMCE scripts as a zip file and serve it
  using zipserve. I included the URL config in the app.yaml,

  - url: /tinyMCE/.*
   script: $PYTHON_LIB/google/appengine/ext/zipserve

  But this needs the tinyMCE.zip to be in the root path of my App (which
  is a Django app). So this makes the zip outside my project source. I
  was wondering if I could move these to the project/media/js folder
  along with all of my other scripts?

  Thanks,
  Arun Shanker Prasad.
--~--~-~--~~~---~--~~
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: Query Filter based on a DateTime Property

2009-02-14 Thread Arun Shanker Prasad

Hi Marzia,

Thanks for the quick reply. I checked the query again with putting
more data in the datastore, as a part of the re-put() (update) process
in App Engine. This still does not fix the issue. I cleared my data in
the local env and tried again, still same. I have uploaded to code to
App Engine also.

Can it be related to the timezone. I also tried with utcnow(), same
result.

I can put up more of my code, as soon as I get to my Dev machine.

Thanks,
Arun Shanker Prasad.

On Feb 13, 9:50 pm, Marzia Niccolai ma...@google.com wrote:
 Hi,

 From the sample you have provided, I don't notice anything that shouldn't
 work.  The only issue I could think of is the issue of incomplete indexes
 for the entity you are trying to query, in which case re-put()ing the entity
 should solve the issue.

 If you could post the complete code you are using, we can also look at that
 and see if something is amiss.

 -Marzia

 On Fri, Feb 13, 2009 at 4:23 AM, Arun Shanker Prasad 

 arunshankerpra...@gmail.com wrote:

  Hi All,

   I have a Model with the posted on date set as a particular datetime.
  The property is a DateTime Property in the datastore. The problem is
  that when I try to do a filter query on the model like,

  Posts.all().filter('posted_on =', dt1).filter('posted_on ', dt2)

  where,
  dt1 = datetime.datetime.today()
  dt1 = dt1.replace(hour=0, minute=0, second=0, microsecond=0,
  tzinfo=None)

  and dt2 is incremented to one day ahead of the current date.

  My problem is that this query returns an empty list. I know there are
  values in the datastore

  Am I doing something wrong here?

  Thanks,
  Arun Shanker Prasad.
--~--~-~--~~~---~--~~
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: Login for Remote service hosted in Google App Engine

2009-02-14 Thread Arun Shanker Prasad

Hi,

  Is there anyway this can be achieved by passing the ACSID of the
user along. I have noticed that the ACSID cookie for same user in
different domains are different, I also set the cookie in the
URLFETCH. This does not validate the user using the USERS
automatically. Is there any other way this can be achieved?

Any help will be appreciated.

Thanks,
Arun Shanker Prasad.

On Feb 12, 8:14 pm, Arun Shanker Prasad arunshankerpra...@gmail.com
wrote:
 Hi,

   For both these implementations, I will need to implement another
 login for the users, and keep the records of that in all my
 applications. I probably should have mentioned, I have my app up in
 the Google Apps domain and locked so that only the members of my
 Google Apps domain can login, so Google actually takes care of the
 login for me, so if I were to implement an HTTP authentication, I will
 need to add the new user across my application, not just in my Google
 Apps account.

 Thanks,
 Arun Shanker Prasad.

 On Feb 12, 8:02 pm, Andrew Badera and...@badera.us wrote:

  HTTP Basic Auth ... WSSE username token ...

  Thanks-
  - Andy Badera
  - and...@badera.us
  - (518) 641-1280
  - Tech Valley Code Camp 2009.1:http://www.techvalleycodecamp.com/
  - Google me:http://www.google.com/search?q=andrew+badera

  On Thu, Feb 12, 2009 at 9:59 AM, Arun Shanker Prasad 

  arunshankerpra...@gmail.com wrote:

   Hi All,

    First let me explain my situation,

   1. I have an application hosted on GAE.

   2. I hosted another application, which is sort of a web service
   implementation. This will be called from across many applications.

    I need my first application to communicate with the second app (i.e
   the web service), I made this working by using the URLFETCH API. The
   problem is the login in the web service part, I tried sending the
   ACSID cookie along with the URLFETCH request. Is there anyway to get
   the logged in user through the web service, I know, we can send the
   details through the payload in URLFETCH, but I was looking for a more
   secure method.

   I can use the ClientLogin to get the user to login again, but from a
   UI point of view that does not seem good.

   Any help or suggestions will be appreciated.

   Thanks,
   Arun Shanker Prasad.
--~--~-~--~~~---~--~~
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] Query Filter based on a DateTime Property

2009-02-13 Thread Arun Shanker Prasad

Hi All,

  I have a Model with the posted on date set as a particular datetime.
The property is a DateTime Property in the datastore. The problem is
that when I try to do a filter query on the model like,

Posts.all().filter('posted_on =', dt1).filter('posted_on ', dt2)

where,
dt1 = datetime.datetime.today()
dt1 = dt1.replace(hour=0, minute=0, second=0, microsecond=0,
tzinfo=None)

and dt2 is incremented to one day ahead of the current date.

My problem is that this query returns an empty list. I know there are
values in the datastore

Am I doing something wrong here?

Thanks,
Arun Shanker Prasad.
--~--~-~--~~~---~--~~
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] Login for Remote service hosted in Google App Engine

2009-02-12 Thread Arun Shanker Prasad

Hi All,

  First let me explain my situation,

1. I have an application hosted on GAE.

2. I hosted another application, which is sort of a web service
implementation. This will be called from across many applications.

  I need my first application to communicate with the second app (i.e
the web service), I made this working by using the URLFETCH API. The
problem is the login in the web service part, I tried sending the
ACSID cookie along with the URLFETCH request. Is there anyway to get
the logged in user through the web service, I know, we can send the
details through the payload in URLFETCH, but I was looking for a more
secure method.

I can use the ClientLogin to get the user to login again, but from a
UI point of view that does not seem good.

Any help or suggestions will be appreciated.

Thanks,
Arun Shanker Prasad.
--~--~-~--~~~---~--~~
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: Login for Remote service hosted in Google App Engine

2009-02-12 Thread Arun Shanker Prasad

Hi,

  For both these implementations, I will need to implement another
login for the users, and keep the records of that in all my
applications. I probably should have mentioned, I have my app up in
the Google Apps domain and locked so that only the members of my
Google Apps domain can login, so Google actually takes care of the
login for me, so if I were to implement an HTTP authentication, I will
need to add the new user across my application, not just in my Google
Apps account.

Thanks,
Arun Shanker Prasad.

On Feb 12, 8:02 pm, Andrew Badera and...@badera.us wrote:
 HTTP Basic Auth ... WSSE username token ...

 Thanks-
 - Andy Badera
 - and...@badera.us
 - (518) 641-1280
 - Tech Valley Code Camp 2009.1:http://www.techvalleycodecamp.com/
 - Google me:http://www.google.com/search?q=andrew+badera

 On Thu, Feb 12, 2009 at 9:59 AM, Arun Shanker Prasad 

 arunshankerpra...@gmail.com wrote:

  Hi All,

   First let me explain my situation,

  1. I have an application hosted on GAE.

  2. I hosted another application, which is sort of a web service
  implementation. This will be called from across many applications.

   I need my first application to communicate with the second app (i.e
  the web service), I made this working by using the URLFETCH API. The
  problem is the login in the web service part, I tried sending the
  ACSID cookie along with the URLFETCH request. Is there anyway to get
  the logged in user through the web service, I know, we can send the
  details through the payload in URLFETCH, but I was looking for a more
  secure method.

  I can use the ClientLogin to get the user to login again, but from a
  UI point of view that does not seem good.

  Any help or suggestions will be appreciated.

  Thanks,
  Arun Shanker Prasad.
--~--~-~--~~~---~--~~
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: NotAllowedError while redirecting to the login page

2009-02-12 Thread Arun Shanker Prasad

Hi,

  Thanks for the reply Marzia. But if I am not mistaken this
restriction was not there earlier, I am sure that I could check the
version from my App Engine Dashboard and click on the new version and
check it out so as to make sure everything was working fine. Can we
give something like appversion.latest.googleappdomain.com?

Thanks,
Arun Shanker Prasad.

On Feb 12, 10:15 pm, Marzia Niccolai ma...@google.com wrote:
 Hi,

 This restriction had originally been in place, but it broke a few months
 back.  It was recently fixed, hence the change in behavior you noticed.

 -Marzia

 On Thu, Feb 12, 2009 at 5:54 AM, Mayank Sharma maya...@gmail.com wrote:

  Hi Marzia,

  Thanks for your help. I could get my application working once I moved
  it to my domain from appspot.com. But why is this restriction
  introduced? I think things were quite good with *.appspot.com

  -Mayank

  On Feb 12, 12:25 am, Marzia Niccolai ma...@google.com wrote:
   Hi,

   If you restrict authentication to a specific domain, when a user is
  logged
   in it must also serve off of that domain.

   -Marzia

   On Tue, Feb 10, 2009 at 7:50 PM, Mayank Sharma maya...@gmail.com
  wrote:

Hi,

I have a google app with authentication restricted only to my google
apps domain users. I am using the following code to redirect the user
to login in case the user is not logged in.

  self.redirect(users.create_login_url(/))

This was working fine until yesterday (before the 1.1.9 release), But
today when I go to homepage of my app, instead of redirecting to the
login page, I get the following error.

Traceback (most recent call last):
 File /base/python_lib/versions/1/google/appengine/ext/webapp/
__init__.py, line 501, in __call__
   handler.get(*groups)
 File /base/data/home/apps/zebuengine/2.331336139814018406/main.py,
line 90, in get
   redirect_address = users.create_login_url(http://
zebuengine.appspot.com/)
 File /base/python_lib/versions/1/google/appengine/api/users.py,
line 156, in create_login_url
   raise NotAllowedError
NotAllowedError

This is still working fine for my application in which i have
authentication set to gmail users. But not working now only for my
google apps domain users. Is something broken in the new release?

Regards,
Mayank
--~--~-~--~~~---~--~~
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: NotAllowedError while redirecting to the login page

2009-02-12 Thread Arun Shanker Prasad

Hi,
  Thanks for the reply Marzia. Sorry didn't read the whole post...

Can we give something like appversion.latest.googleappdomain.com?

Can we set a new sub-domain for this?

Thanks,
Arun Shanker Prasad.

On Feb 13, 1:23 am, Arun Shanker Prasad arunshankerpra...@gmail.com
wrote:
 Hi,

   Thanks for the reply Marzia. But if I am not mistaken this
 restriction was not there earlier, I am sure that I could check the
 version from my App Engine Dashboard and click on the new version and
 check it out so as to make sure everything was working fine. Can we
 give something like appversion.latest.googleappdomain.com?

 Thanks,
 Arun Shanker Prasad.

 On Feb 12, 10:15 pm, Marzia Niccolai ma...@google.com wrote:

  Hi,

  This restriction had originally been in place, but it broke a few months
  back.  It was recently fixed, hence the change in behavior you noticed.

  -Marzia

  On Thu, Feb 12, 2009 at 5:54 AM, Mayank Sharma maya...@gmail.com wrote:

   Hi Marzia,

   Thanks for your help. I could get my application working once I moved
   it to my domain from appspot.com. But why is this restriction
   introduced? I think things were quite good with *.appspot.com

   -Mayank

   On Feb 12, 12:25 am, Marzia Niccolai ma...@google.com wrote:
Hi,

If you restrict authentication to a specific domain, when a user is
   logged
in it must also serve off of that domain.

-Marzia

On Tue, Feb 10, 2009 at 7:50 PM, Mayank Sharma maya...@gmail.com
   wrote:

 Hi,

 I have a google app with authentication restricted only to my google
 apps domain users. I am using the following code to redirect the user
 to login in case the user is not logged in.

   self.redirect(users.create_login_url(/))

 This was working fine until yesterday (before the 1.1.9 release), But
 today when I go to homepage of my app, instead of redirecting to the
 login page, I get the following error.

 Traceback (most recent call last):
  File /base/python_lib/versions/1/google/appengine/ext/webapp/
 __init__.py, line 501, in __call__
    handler.get(*groups)
  File /base/data/home/apps/zebuengine/2.331336139814018406/main.py,
 line 90, in get
    redirect_address = users.create_login_url(http://
 zebuengine.appspot.com/)
  File /base/python_lib/versions/1/google/appengine/api/users.py,
 line 156, in create_login_url
    raise NotAllowedError
 NotAllowedError

 This is still working fine for my application in which i have
 authentication set to gmail users. But not working now only for my
 google apps domain users. Is something broken in the new release?

 Regards,
 Mayank
--~--~-~--~~~---~--~~
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: NotAllowedError on create_login_url?

2009-02-12 Thread Arun Shanker Prasad

Hi,

 Thanks for the reply Marzia.

Can we give something like appversion.latest.googleappdomain.com?

Can we set a new sub-domain for this and map it?

Thanks,
Arun Shanker Prasad.

On Feb 12, 10:16 pm, Marzia Niccolai ma...@google.com wrote:
 Hi,

 Currently, there is no work around, besides not requiring authentication on
 the pages you wish to serve off of appspot.  In the long term, we are
 looking in to modifying this restriction.

 -Marzia

 On Thu, Feb 12, 2009 at 6:40 AM, bjubbs brennanj...@gmail.com wrote:

  Yes ,    I use the appversion.latest.appid.appspot.com URL for testing
  before release as well.

  Marzia, do you have any workarounds for this?

  On Feb 12, 1:58 am, Arun Shanker Prasad arunshankerpra...@gmail.com
  wrote:
   Hi,

       I am also getting this error, while trying to create the login URL
   for my application from appversion.latest.appid.appspot.com. This is
   the only way to test the new versions before release Is there any
   work around for this issue? The CNAME supplied for my app is only for
   name.appsdomain.com, so I cannot test new versions before release

   Thanks,
   Arun Shanker Prasad.

   On Feb 12, 1:53 am, bjubbs brennanj...@gmail.com wrote:

Thanks.

How should I handle the fact that it works from my domain,  but it
does not work via the appid.appspot.com  url?

On Feb 11, 3:43 pm, Marzia Niccolai ma...@google.com wrote:

 Hi,

 This was an issue that was recently fixed, and that's why it stopped
 working.  You can serve any app off of a Google Apps domain,
  regardless of
 authentication.  However, to use HTTPS, you must serve off of
  appspot.

 -Marzia

 On Wed, Feb 11, 2009 at 11:54 AM, Devel63 danstic...@gmail.com
  wrote:

  Indeed, we are not serving off that domain.  But it worked until a
  couple of days ago!

  OK, I guess it's time to make the transition.  Just haven't gotten
  around to it yet.

  Will I be able to serve both types of apps simultaneously off a
  single
  domain (with different app names, obviously)?

  On Feb 11, 11:23 am, Marzia Niccolai ma...@google.com wrote:
   Hi,

   If you restrict authentication to your Google Apps domain, to
  require
  login,
   you must also serve off of that domain.  I suspect this is why
  you are
   seeing the issue.

   If not, could you provide more details, the exact code and error
  message?

   -Marzia

   On Wed, Feb 11, 2009 at 7:56 AM, bjubbs brennanj...@gmail.com
  wrote:

The users api is throwing aNotAllowedErrorwhen my app attempts
  to
create a login url using users.create_login_url('/').
  Authentication
for my app is tied to a Google Apps domain.   I must have a
  setting
wrong somehwere ,   but I haven't been able to dig up what this
  error
means .   Does anybody know?
--~--~-~--~~~---~--~~
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: NotAllowedError on create_login_url?

2009-02-11 Thread Arun Shanker Prasad

Hi,

I am also getting this error, while trying to create the login URL
for my application from appversion.latest.appid.appspot.com. This is
the only way to test the new versions before release Is there any
work around for this issue? The CNAME supplied for my app is only for
name.appsdomain.com, so I cannot test new versions before release

Thanks,
Arun Shanker Prasad.

On Feb 12, 1:53 am, bjubbs brennanj...@gmail.com wrote:
 Thanks.

 How should I handle the fact that it works from my domain,  but it
 does not work via the appid.appspot.com  url?

 On Feb 11, 3:43 pm, Marzia Niccolai ma...@google.com wrote:

  Hi,

  This was an issue that was recently fixed, and that's why it stopped
  working.  You can serve any app off of a Google Apps domain, regardless of
  authentication.  However, to use HTTPS, you must serve off of appspot.

  -Marzia

  On Wed, Feb 11, 2009 at 11:54 AM, Devel63 danstic...@gmail.com wrote:

   Indeed, we are not serving off that domain.  But it worked until a
   couple of days ago!

   OK, I guess it's time to make the transition.  Just haven't gotten
   around to it yet.

   Will I be able to serve both types of apps simultaneously off a single
   domain (with different app names, obviously)?

   On Feb 11, 11:23 am, Marzia Niccolai ma...@google.com wrote:
Hi,

If you restrict authentication to your Google Apps domain, to require
   login,
you must also serve off of that domain.  I suspect this is why you are
seeing the issue.

If not, could you provide more details, the exact code and error 
message?

-Marzia

On Wed, Feb 11, 2009 at 7:56 AM, bjubbs brennanj...@gmail.com wrote:

 The users api is throwing aNotAllowedErrorwhen my app attempts to
 create a login url using users.create_login_url('/').   Authentication
 for my app is tied to a Google Apps domain.   I must have a setting
 wrong somehwere ,   but I haven't been able to dig up what this error
 means .   Does anybody know?
--~--~-~--~~~---~--~~
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: date range in query

2009-02-03 Thread Arun Shanker Prasad

Hi,

db.GqlQuery('SELECT * FROM myTable where start_date=:cdate and
end_date=:cdate',cdate=current_date)

You are trying to use in-equality filters on two properties in a
single query.. Does this not raise an Exception?

There was a post on how to do this more efficiently in the groups
somewhere, but in your case I think you need to query based on one
date from the datastore and do some logic in the view.

 SELECT * FROM Image where added  DATETIME(2009,1,1,0,0,0) and added 
 DATETIME(2009,2,1,0,0,0)

In this example both are applied to the same property.

Thanks,
Arun Shanker Prasad.

On Feb 3, 4:17 pm, niklasr nikla...@gmail.com wrote:
 gql as below works.
 SELECT * FROM Image where added  DATETIME(2009,1,1,0,0,0) and added 
 DATETIME(2009,2,1,0,0,0)
 we must use the integer form (the manual lists b0rked 
 forms)http://code.google.com/p/googleappengine/issues/detail?id=878
 cheers
 niklas

 On Feb 3, 12:02 pm, arnie parvez...@rediffmail.com wrote:

  For a datastore table with two db.DateTimeProperty columns start_date
  and end_date, i need to use a date range in query but below given
  query is not working
  current_date=datetime.datetime.strptime(self.request.get
  ('current_date'), '%Y-%m-%dT%H:%M:%S')

  db.GqlQuery('SELECT * FROM myTable where start_date=:cdate and
  end_date=:cdate',cdate=current_date)
  in the parameters I am passing current_date=2009-01-10T00:00:00
  Should we not compare dates this way?
  But this is not working
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



  1   2   >