[google-appengine] @Embed in TWIG - Trying to serialize IndependantEntityTranslator instead of my custom object???

2010-04-01 Thread Blake
If anyone's familiar with @Embed in TWIG... I'm having problems serializing my HashSet of objects into a field. This was working in JDO, now I'm stuck after a couple of hours. Each entity implements Serializable, has getters/setters, and empty constructors. I'm trying to store a HashSet of custo

[google-appengine] GAE e-books

2010-04-01 Thread Jeevan
hello all, Where do i get the e-books of GAE? -- 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..

Re: [google-appengine] Problem deleting a entity child

2010-04-01 Thread Sriram C
I would try removing the entry using the collection.remove and calling makepersistent ... --- Sriram C LMTS - System Engineering Ulticom ( x2639 ) On Apr 1, 2010, at 9:39 AM, Rodrigo Romano wrote: Hello everybody. I trying to delete a entity child in a relationship of 1 to N inside a f

Re: [google-appengine] problem with re-authentication

2010-04-01 Thread Sriram C
Fixed it... Being new to web development, I took time to see other websites gmail , yahoomail etc and figured out how logging off presents a fresh page... Thanks Sriram --- Sriram C LMTS - System Engineering Ulticom ( x2639 ) On Apr 1, 2010, at 10:13 AM, sri wrote: Hi, I have a coupl

[google-appengine] Re: What additional JARs do I need to use the Memcache Java API?

2010-04-01 Thread niraj
+ 1 I am also getting the same problem. On an existing application with 1.3.2 it works fine. but when I create a new application on GAE I get this probelem On Mar 15, 12:23 pm, Paul wrote: > Hi, > > I'm getting this error too. I am using 1.3.1 SDK and can see appengine- > jsr107cache-1.3.1.jar a

[google-appengine] Re: Email & Idempotence

2010-04-01 Thread Julian Namaro
What about: try: mail.send_mail( ...) except Exception, e: logging.error( str(e) ) return On Apr 2, 2:44 am, GAEfan wrote: > OK, just received the 3rd bcc, 34 minutes later. > > So the question is, how can I put an email in the taskqueue, and have > the task not re-executed if the mail.se

[google-appengine] Re: Email & Idempotence

2010-04-01 Thread prgmratlarge
The reason for this is because appengine retries the task if it returns an error... One way to work around this is to put the email sending in a try/ except clause so that if it does get an error it would not still return okay. And, at the same time, you can do whatever you want to process the err

Re: [google-appengine] Re: Allow/Deny IP Address

2010-04-01 Thread Ikai L (Google)
I want to say this is a premature optimization with a lot of problems. What if people in the US are travelling abroad and want to access your site? Most websites today have the problem of having the opposite problem of too few visits, not having too many. On Thu, Apr 1, 2010 at 10:56 AM, J wrote:

Re: [google-appengine] users.get_current_user() returns None

2010-04-01 Thread Wesley C (Google)
hi alan, can you let us know if you're still seeing this problem? have you seen this yourself or was this reported by your users? if the latter, can you be sure that they have signed in? (does your app require login before users can access the rest of your app?) if it's still happening, pls send

Re: [google-appengine] Any plans to implement something like: "Select myProp From myModel"?

2010-04-01 Thread Jeff Schnitzer
It's an interesting thread. To summarize, you're discussing the best way to serialize a 15,000-element dictionary in an entity. This doesn't seem to be all that closely related to the datastore. The datastore api costs are the same no matter how you store it (58ms) but the serialization costs var

[google-appengine] Adobe Flash, SSL and IE

2010-04-01 Thread ten_foot_ninja
Hello, I access my appengine from my flash client using https. This works wonderfully on every browser except IE (all versions). The problem and solution is described here http://kb2.adobe.com/cps/000/fdc7b5c.html Basically, I need to change the HTTP headers that appengine returns to the client. H

Re: [google-appengine] Any plans to implement something like: "Select myProp From myModel"?

2010-04-01 Thread Eli Jones
Here are the numbers from a test I did just comparing the process of stuffing the protobuf of an entity into a BlobProperty: http://groups.google.com/group/google-appengine-python/browse_thread/thread/4d6dde610addd8ef/a3037abd34ed03f6?#a3037abd34ed03f6

Re: [google-appengine] Allow/Deny IP Address

2010-04-01 Thread Tom Wu
Thanks Ikai, Sorry, my bad. DoS is firewall tier. Not a web server one. I'm so stupid. Regards Tom Wu 2010/4/1 Ikai L (Google) > That's because it's not a guaranteed blacklist. You're supposed to use the > DoS API to prevent a massive attack, not as an ACL. If you need to > whitelist, you'll

Re: [google-appengine] Any plans to implement something like: "Select myProp From myModel"?

2010-04-01 Thread Jeff Schnitzer
Do you have any quantitative numbers? I'd really like to know how much this saves. Jeff On Thu, Apr 1, 2010 at 9:25 AM, Eli Jones wrote: > Compression will probably show the biggest benefit when you have a > significant difference between the un-compressed and compressed sizes and > the amount

[google-appengine] Re: Allow/Deny IP Address

2010-04-01 Thread J
May I revise that "perfect for our needs" remark? We are creating a service focused on US education and thus will not be useful to anyone outside the US. We want people in the US to be able to register for free. But since non-US folks wouldn't get any benefit from the service, I'd just as soon not

[google-appengine] Re: Email & Idempotence

2010-04-01 Thread GAEfan
OK, just received the 3rd bcc, 34 minutes later. So the question is, how can I put an email in the taskqueue, and have the task not re-executed if the mail.send() takes too long? -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to t

[google-appengine] Re: Email & Idempotence

2010-04-01 Thread GAEfan
Further... I sent the email to a customer, with a bcc to myself (Gmail via Google Apps account). The customer got 3 emails; I got 2. So, it timed out sending the bcc to my Gmail account. I could remove the bcc, and just send a separate email to myself, but that gets me to the quota twice as fast

[google-appengine] Re: Email & Idempotence

2010-04-01 Thread GAEfan
This just happened to me... I sent a single email to the taskqueue. I received this twice: "DeadlineExceededError: The API call mail.Send() took too long to respond and was cancelled." error. However, the same email was sent 3 times, successfully. That's bad enough, but I would hate to hav

Re: [google-appengine] More than 10 apps?

2010-04-01 Thread Ikai L (Google)
Can you fill out a detailed request here? http://code.google.com/support/bin/request.py?contact_type=AppEngineBillingSupport We can bump you up so as long as you present your business case. Are you sure this is so

Re: [google-appengine] Google App Engine Code

2010-04-01 Thread Ikai L (Google)
Add yourself to the SMS manual verification waitlist: https://*appengine*.google.com/*waitlist*/sms_issues 2010/3/31 佐藤太一 > Please tell us. > > I applied for Google App Engine and I received SMS mail. > SMS had been sent to the code. > I want to input this code, but I can't input. > I log on to

Re: [google-appengine] App Engine code recieved

2010-04-01 Thread Ikai L (Google)
Go ahead and add yourself to the SMS manual verification waitlist: https://*appengine*.google.com/*waitlist*/sms_issues On Wed, Mar 31, 2010 at 9:46 PM, soft wrote: > hi,I live in Japan. > > I received SMS. > I have App Engine Code. > But,I can't input this code. > > I refuse to re-enter my pho

[google-appengine] Re: IP address to GPS coordinates

2010-04-01 Thread Benjamin
Hi Drew - just to confirm, i'm in Philadelphia and it gives me Reston, VA since I'm using verizon fios - so maybe that resource isn't very good for my purposes after all. On Mar 29, 1:58 pm, drew einhorn wrote: > On Mon, Mar 29, 2010 at 8:31 AM, Benjamin wrote: > > actually this may be exactly w

Re: [google-appengine] can i view my code online?

2010-04-01 Thread djidjadji
Search this list and you see a lot of post asking this and getting the answer IT CAN'T 2010/4/1 lSaint : > How can i view my uploaded file online? > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To post to this group, send email

Re: [google-appengine] Any plans to implement something like: "Select myProp From myModel"?

2010-04-01 Thread Eli Jones
Compression will probably show the biggest benefit when you have a significant difference between the un-compressed and compressed sizes and the amount of data you're bringing over the wire is large enough to cause a noticeable slowdown.. So..if all you are doing is pulling over one entity with pr

[google-appengine] Problem deleting a entity child

2010-04-01 Thread Rodrigo Romano
Hello everybody! I trying to delete a entity child in a relationship of 1 to N inside a FOR LOOP. So here is code part: for (byte j = 0; j < matrDayWeek.length; j++) { if (matrDayWeek[j] == 1) { hor.setWeek(j); hor.getWeek().getDayweek(j).setNumHorarios(matrNumHorarios[j]);

[google-appengine] Google App Engine Code

2010-04-01 Thread 佐藤太一
Please tell us. I applied for Google App Engine and I received SMS mail. SMS had been sent to the code. I want to input this code, but I can't input. I log on to a page that send SMS again. What should I do? -- You received this message because you are subscribed to the Google Groups "Google A

[google-appengine] can i view my code online?

2010-04-01 Thread lSaint
How can i view my uploaded file online? -- 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...@goog

[google-appengine] Cannot Deploy or Delete Application

2010-04-01 Thread atjs
I can't deploy or delete my application 'quipurl' version 'dev'. Can someone help me out here? -- 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

[google-appengine] More than 10 apps?

2010-04-01 Thread tberthel
If I have more than 10 apps what do I do? More Info: I am finishing up on a GAE release for my E-Commerce program called Freeblisket. While I can support more than one E-Commerce site on a single application, I would like to have some e-commerce websites not share an application so how would I g

[google-appengine] App Engine code recieved

2010-04-01 Thread soft
hi,I live in Japan. I received SMS. I have App Engine Code. But,I can't input this code. I refuse to re-enter my phone number. What should I do now? -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to goo

[google-appengine] net::ERR_TOO_MANY_REDIRECTS when login to appengine

2010-04-01 Thread l hf
I try appengine.google.com and appengine.google.com/a/, they both return error. In Firefox, "The page isn't redirecting properly" In chrome, "(net::ERR_TOO_MANY_REDIRECTS)" I also registered the accout name in google.com. one or two month ago, it worked properly, but today, I try to login to http:/

[google-appengine] Problem deleting a entity child

2010-04-01 Thread Rodrigo Romano
Hello everybody. I trying to delete a entity child in a relationship of 1 to N inside a for loop. It looks like when I call the delete command removeDay(j); that is only a collection.remove(i) in a arrayList the persistent manager atached to the object is trying to delete it again and then geting

[google-appengine] Re: unable to delete versions of App

2010-04-01 Thread mandar khadilk
apptadd On Mar 31, 10:52 am, "Ikai L (Google)" wrote: > What's your application ID? > > > > > > On Tue, Mar 30, 2010 at 10:28 PM, mandar khadilk wrote: > >http://11.latest.apptadd.appspot.com > >http://18.latest.apptadd.appspot.com > > > I am not able to delete these versions of my Apps. Any ide

Re: [google-appengine] Re: Safety of Taskqueue duplicates

2010-04-01 Thread Yossie
Hmm. So this whole tombstone thing could also fail? What's the probability? On Thu, Apr 1, 2010 at 5:02 AM, Peter wrote: > > > On Mar 29, 6:19 pm, prgmratlarge wrote: > > I've been thinking of using the fact that taskqueue names cannot be > > duplicated to my advantage. But how reliable is this

Re: [google-appengine] problem with re-authentication

2010-04-01 Thread Sriram Chandrasekaran
on thing I forgot to mention... it does not happen all the time but happens frequently... On Thu, Apr 1, 2010 at 10:13 AM, sri wrote: > Hi, > > I have a couple of files in my /secure diretory and my web.xml, I have > specified the security constraint. > > I also have the google signout servlet (

[google-appengine] problem with re-authentication

2010-04-01 Thread sri
Hi, I have a couple of files in my /secure diretory and my web.xml, I have specified the security constraint. I also have the google signout servlet (using the sample code in google appengine site) . First time, everything works as expected (that is, when i click on the files in the /secure direc

[google-appengine] Re: Intercepting all HTTP calls on webapp/django

2010-04-01 Thread dhruvbird
cool! Thanks again :) -- 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

[google-appengine] Re: Weird error with SDK's datastore viewer

2010-04-01 Thread dhruvbird
Hey Thanks!! :) On Apr 1, 12:47 pm, "Nick Johnson (Google)" wrote: > 'str' is a builtin. You're replacing the 'str' function with your own > variable named 'str', and later code is trying to call it. > > -Nick Johnson > > > > On Thu, Apr 1, 2010 at 5:19 AM, dhruvbird wrote: > > If I run this cod

[google-appengine] Re: Cron Job Scheduling

2010-04-01 Thread Peter
Yes, the new 'synchronized' keyword should handle this. Peter On Mar 26, 2:34 pm, Blake wrote: > You can do it, it's in the > docs:http://code.google.com/appengine/docs/java/config/cron.html#The_Sched... > > On Mar 25, 11:25 pm, Eli Jones wrote: > > > > > cron.yaml is generally dependable.. bu

Re: [google-appengine] Intercepting all HTTP calls on webapp/django

2010-04-01 Thread Nick Johnson (Google)
Hi Dhruv, Writing a piece of WSGI middleware is your best option, and should work on any framework. Here's an example piece of middleware, to show how simple it is: --- class ExampleMiddleware(object): def __init__(self, application): self.application = application def __call__(self, env

[google-appengine] Re: Safety of Taskqueue duplicates

2010-04-01 Thread Peter
On Mar 29, 6:19 pm, prgmratlarge wrote: > I've been thinking of using the fact that taskqueue names cannot be > duplicated to my advantage. But how reliable is this "fact." Is there > ANY chance that the taskqueue will indeed be enqueued again? You should not absolutely rely on task names to en

Re: [google-appengine] Weird error with SDK's datastore viewer

2010-04-01 Thread Nick Johnson (Google)
'str' is a builtin. You're replacing the 'str' function with your own variable named 'str', and later code is trying to call it. -Nick Johnson On Thu, Apr 1, 2010 at 5:19 AM, dhruvbird wrote: > If I run this code in the interactive console > > from google.appengine.ext import db > > str="""clas