[google-appengine] Re: How to do a 'count' in App Engine

2011-07-03 Thread Droid
I just want to count results in a simple App Engine web page 'Data
Viewer' not in a python/java class. It runs a quick GQL query.
eg SELECT * FROM MyWords where bookname = 'book1'  - is OK, but how to
count the results?

This does not work: select count (SELECT * FROM MyWords where bookname
= 'book1')   - DOES NOT WORK , error is  'Invalid GQL query string'

On Jul 4, 4:30 am, Robert Kluin  wrote:
> If this is something you will be needing often, you should try to precompute
> the count.  You could do it at write time or periodically in the background.
> It will be much more efficient.
>
> Robert
> On Jul 1, 2011 1:01 PM, "Droid"  wrote:> Basic question 
> which I cannot solve:
>
> > SELECT * FROM MyWords where bookname = 'book1'
>
> > how can I simply count the number of returns? (I bet its easy eh?)
>
> > Thanks in advance if you take the time
>
> > --
> > 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.
>
>
>
>
>
>
>
>

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



Re: [google-appengine] Channel API question about channel.open([token]) JS call

2011-07-03 Thread Nick Johnson (Google)
Hi,

On Mon, Jul 4, 2011 at 3:49 PM, ksafez216  wrote:

> When I call channel.open([token])  it opens a new channel and the
> Channel Presence feature detects this.
>
> Then, the client's browser is shut down for a few minutes and is
> restarted.
>
> My app checks to see if they still have a valid token.  If so, the
> client calls channel.open([token]), using the same token.
>
> Again, the Channel Presence listener detects that a channel was
> connected.
>
> Now, am I charged for two channels being open, even though it's using
> the same client ID and token?
>

Every time you call channel.create on the server, a new channel is created,
and a new token is returned. Billing only happens for server-side actions.

-Nick Johnson


>
> The thing is I don't get a channel disconnected notification, I only
> get the two channel connected notifications.
>
> I'm just trying to figure out exactly what happens when I call
> channel.open([token]) in the client TWICE using the same token.  How
> am I charged?
>
> --
> 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.
>
>


-- 
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: After Migrate to HR I get exception "app s~XXX cannot access app YYY's data"

2011-07-03 Thread Bert
Hi,

Can you paste the stack trace from the logs when you get this error?

I've used datastore_admin to copy data to HR. I'm open to correction
but I think it does create new keys, but the reference properties all
maintain the correct references. Places where I've seen the problem
you have is when I've stored a string encoded version of a key in a
property and have tried to get that string encoded key in the new
application.

Thanks
Rob



On Jul 4, 12:24 am, Uri Lukach  wrote:
> Hello Bert,
>
> While following Google App Engine instructions in "*Copying Entities to
> Another Application"*, I used *datastore_admin* to copy the all entities to
> the HR application.
> When using *datastore_admin *the copy operation keeps the same entity keys.
>
> I think that if the entities keys are the same  there should not be any
> issue with using the wrong keys, in addition I don't have hard coded keys in
> my application code.
>
> Is there another reason for this error?
>
> Thanks,
> Uri

-- 
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] Channel API question about channel.open([token]) JS call

2011-07-03 Thread ksafez216
When I call channel.open([token])  it opens a new channel and the
Channel Presence feature detects this.

Then, the client's browser is shut down for a few minutes and is
restarted.

My app checks to see if they still have a valid token.  If so, the
client calls channel.open([token]), using the same token.

Again, the Channel Presence listener detects that a channel was
connected.

Now, am I charged for two channels being open, even though it's using
the same client ID and token?

The thing is I don't get a channel disconnected notification, I only
get the two channel connected notifications.

I'm just trying to figure out exactly what happens when I call
channel.open([token]) in the client TWICE using the same token.  How
am I charged?

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



Re: [google-appengine] Any way to manually construct response and exit?

2011-07-03 Thread Nick Johnson (Google)
Hi Michael,

You can use CGI - simply output the headers, a blank line, then the body to
the HTTP response. This is what run_wsgi_app does. You can't do this from
within a WSGI app, though, as the app will then do the same thing when your
code returns. You shouldn't call sys.exit - it won't do anything, and
handlers persist for multiple requests anyway.

None of this will help, however, as the bug is outside the appserver and
isn't WSGI related.

-Nick Johnson


On Fri, Jul 1, 2011 at 10:38 PM, Michael  wrote:

> Hello!
>
> I've been having trouble with an App Engine production bug (http://
> code.google.com/p/googleappengine/issues/detail?id=5272), which is
> preventing my use of application-specific headers.
>
> I was wondering, is there a way to manually construct a response,
> bypassing WSGI entirely, and simply exiting the application?
>
> This way, I could simply write the HTTP response, headers, and content
> to stdout myself, bypassing the bug.
>
> Attempting to do so, then calling sys.exit does not achieve the
> desired result: the server still appears to be creating its own
> headers, and everything written to standard out (including the HTTP
> headers) are output as content.
>
> Many thanks,
> Michael
>
> --
> 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.
>
>


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



Re: [google-appengine] The API call mail.Send() took too long to respond and was cancelled.

2011-07-03 Thread Robert Kluin
Hi Brooke,
  There are some good examples and lots of good details in the taskqueue
docs:
http://code.google.com/appengine/docs/python/taskqueue/

Robert

On Jun 28, 2011 11:59 PM, "Brooke"  wrote:
> when I sent the same email to the customers (plenty of customers ), I
> received the following error : "The API call mail.Send() took too long
> to respond and was cancelled." How can solve the problem ? Use the
> Task Queue??But I don't know how to to it ,expect your help ,thx !
>
> --
> 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.
>

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



Re: [google-appengine] Attempt to delete entities in HR Datastore Admin is stuck

2011-07-03 Thread Robert Kluin
You can terminate it by clearing the tasks and entities from the data store.
Also, note that the statistics are only updated about once per day, so 20
hours might not be long enough to wait.

Robert
On Jun 29, 2011 11:04 PM, "phtq"  wrote:
> In the application kbdlessons2.appspot.com an attempt was made to
> delete all entities in a number of models at once. The process seems
> to be stuck with 24 activities completed but 15 still active for the
> last 20 hours and the Datastore Admin panel shows no change in the
> number of entities from before the deletes were started. Could someone
> from Google please terminate these activities so I can try 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-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.
>

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



Re: [google-appengine] Application for the App Engine written in Java that accesses Gmail.

2011-07-03 Thread Robert Kluin
Have you looked at the data docs?  Last time I looked there was not a nice
API for accessing gmail. You'd need to run some other server with an imap
client to fetch their emails.  I think there is a feed, but it is extremely
limited.

Robert
On Jul 1, 2011 12:59 PM, "manoj"  wrote:
> Hi Guys,
>
> I am a developer of the Google App Engine in Java using the Google
> Eclipse plugin. And I am interested in creating an application in Java
> for the App Engine, that basically asks the user to log in through
> their Google Account & then authorize the application to have access
> to their email.
>
> And then I would like to perform some interesting statistics on the
> emails & then display it to the users. And I have had a hard time
> writing code for this application. So is there someone who can help me
> with some kind of starter code.
>
> I have looked at all the different mechanism such as OpenID, OAuth but
> most of their programs are written in Python. So it would be great is
> there is a sample project like the one at
http://contextio-demo.appspot.com/
> written in Java.
>
> Thanks
>
> --
> 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.
>

-- 
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] Luis Fernando Sandoval Mejia wants to chat

2011-07-03 Thread Luis Fernando Sandoval Mejia
---

Luis Fernando Sandoval Mejia wants to stay in better touch using some
of Google's coolest new
products.

If you already have Gmail or Google Talk, visit:
http://mail.google.com/mail/b-23cf2bb9fc-c01d5b4ad5-Xqyfl-79NgaP5ZDqX6TYhQw8r68
You'll need to click this link to be able to chat with Luis Fernando
Sandoval Mejia.

To get Gmail - a free email account from Google with over 2,800 megabytes of
storage - and chat with Luis Fernando Sandoval Mejia, visit:
http://mail.google.com/mail/a-23cf2bb9fc-c01d5b4ad5-Xqyfl-79NgaP5ZDqX6TYhQw8r68

Gmail offers:
- Instant messaging right inside Gmail
- Powerful spam protection
- Built-in search for finding your messages and a helpful way of organizing
  emails into "conversations"
- No pop-up ads or untargeted banners - just text ads and related information
  that are relevant to the content of your messages

All this, and its yours for free. But wait, there's more! By opening a Gmail
account, you also get access to Google Talk, Google's instant messaging
service:

http://www.google.com/talk/

Google Talk offers:
- Web-based chat that you can use anywhere, without a download
- A contact list that's synchronized with your Gmail account
- Free, high quality PC-to-PC voice calls when you download the Google Talk
  client

We're working hard to add new features and make improvements, so we might also
ask for your comments and suggestions periodically. We appreciate your help in
making our products even better!

Thanks,
The Google Team

To learn more about Gmail and Google Talk, visit:
http://mail.google.com/mail/help/about.html
http://www.google.com/talk/about.html

(If clicking the URLs in this message does not work, copy and paste them into
the address bar of your browser).

-- 
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] Luis Fernando Sandoval Mejia wants to chat

2011-07-03 Thread Luis Fernando Sandoval Mejia
---

Luis Fernando Sandoval Mejia wants to stay in better touch using some
of Google's coolest new
products.

If you already have Gmail or Google Talk, visit:
http://mail.google.com/mail/b-23cf2bb9fc-1276d2bd93-7P65Mc4KZ2Otm9jjwRM8DdjNrso
You'll need to click this link to be able to chat with Luis Fernando
Sandoval Mejia.

To get Gmail - a free email account from Google with over 2,800 megabytes of
storage - and chat with Luis Fernando Sandoval Mejia, visit:
http://mail.google.com/mail/a-23cf2bb9fc-1276d2bd93-7P65Mc4KZ2Otm9jjwRM8DdjNrso

Gmail offers:
- Instant messaging right inside Gmail
- Powerful spam protection
- Built-in search for finding your messages and a helpful way of organizing
  emails into "conversations"
- No pop-up ads or untargeted banners - just text ads and related information
  that are relevant to the content of your messages

All this, and its yours for free. But wait, there's more! By opening a Gmail
account, you also get access to Google Talk, Google's instant messaging
service:

http://www.google.com/talk/

Google Talk offers:
- Web-based chat that you can use anywhere, without a download
- A contact list that's synchronized with your Gmail account
- Free, high quality PC-to-PC voice calls when you download the Google Talk
  client

We're working hard to add new features and make improvements, so we might also
ask for your comments and suggestions periodically. We appreciate your help in
making our products even better!

Thanks,
The Google Team

To learn more about Gmail and Google Talk, visit:
http://mail.google.com/mail/help/about.html
http://www.google.com/talk/about.html

(If clicking the URLs in this message does not work, copy and paste them into
the address bar of your browser).

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



Re: [google-appengine] anyone using localStorage (HTML5)

2011-07-03 Thread Robert Kluin
Hey Gary,
  This isnt really an appengine question, but I've used local storage
without issues.  You might want to do some local testing and see if you can
track down your issue.

Robert
On Jul 1, 2011 1:00 PM, "Gary Frederick"  wrote:
> Howdy
>
> I included the web pages for an app that uses HTML5 localStorage in a
Python
> project.
>
> It works for a bit then the localStorage 'goes away'?
>
> Anyone with HTML5 localStorage that is not having problems?
>
> (I just tested and will look further)
>
> Gary
>
> --
> You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
> To view this discussion on the web visit
https://groups.google.com/d/msg/google-appengine/-/J4JjeqBADkQJ.
> 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.
>

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



Re: [google-appengine] Migrating from Master/Slave to HRD key issue workaround

2011-07-03 Thread Robert Kluin
Hi Rob,
  The string encoded key includes the appid, that's why your seeing the keys
change.  A key name or id will be unique within a namespace and kind, so if
you can convert your format it should fix your problem.  You will have a
problem if you have any overlapping names and ids. If you use namespaces
you'll also need to account for that.

Robert
On Jul 2, 2011 6:37 AM, "Bert"  wrote:

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



Re: Re : Re: [google-appengine] Application Indexes Stuck

2011-07-03 Thread Robert Kluin
Hi Sahid,
  I'd suggest filing a production issue.
http://code.google.com/p/googleappengine/issues/entry?template=Production%20issue

Robert
On Jul 2, 2011 1:12 PM, "Sahid Orentino Ferdjaoui" <
sahid.ferdja...@gmail.com> wrote:
> My indexés are always in errors, where is the support please?
>
> --
> You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
> To view this discussion on the web visit
https://groups.google.com/d/msg/google-appengine/-/Lxiho_khIS0J.
> 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.
>

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



Re: [google-appengine] How to do a 'count' in App Engine

2011-07-03 Thread Robert Kluin
If this is something you will be needing often, you should try to precompute
the count.  You could do it at write time or periodically in the background.
It will be much more efficient.

Robert
On Jul 1, 2011 1:01 PM, "Droid"  wrote:
> Basic question which I cannot solve:
>
> SELECT * FROM MyWords where bookname = 'book1'
>
> how can I simply count the number of returns? (I bet its easy eh?)
>
> Thanks in advance if you take the time
>
> --
> 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.
>

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



Re: [google-appengine] Blobstore: how to code the form when there is already one

2011-07-03 Thread Robert Kluin
Hi David,
  One solution would be to handle the other fields in your upload handler.

http://code.google.com/appengine/docs/python/blobstore/overview.html#Complete_Sample_App


Robert
On Jul 3, 2011 6:34 PM, "David Walt"  wrote:

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



Re: [google-appengine] _DeferredTaskEntity

2011-07-03 Thread Robert Kluin
Hi Brian,
Something in your app, or the framework you're using is using deferred.  Are
you sure no deferred tasks are running?  What framework or libraries are you
using?

Robert
On Jul 2, 2011 2:50 PM, "Brian"  wrote:
> Hello,
>
> My free quota of 1 GB of datastore usage is being consumed by
> "_DeferredTaskEntity" entities. Are these being generated as a result
> of using a frequently occuring cron job? Are they safe to cleanup? I
> don't have any deferred or other task queue usage in my application.
>
> thanks,
> Brian
>
> --
> 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.
>

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



Re: [google-appengine] Re: Channel API, and node.js

2011-07-03 Thread Robert Kluin
I don't understand the point in using another server runing node.js.  Why
not only use app engine (or only use node.is)?  Even if everything runs
fast, the few hundred ms of lag would be very noticable on the phone. If you
must use both, I'd almost think using URL fetch would be better for latency.


Robert
On Jul 3, 2011 9:09 AM, "egilchri"  wrote:

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



RE: [google-appengine] Billing is Flip Flopping Credit Cards

2011-07-03 Thread Brandon Wirtz
I think it is a Google CheckOut thing. What ever the default card on Google
Checkout is, will be used.   This is the same behavior as Pay Pal.  Google
bills to a Google Checkout account, not your card.  The Check out bills
which ever card is set to default.

 

If you need to control this set the billing admin to a unique mail address
tied to only one card.

 

From: google-appengine@googlegroups.com
[mailto:google-appengine@googlegroups.com] On Behalf Of Paul Bailey
Sent: Sunday, July 03, 2011 6:25 PM
To: google-appengine@googlegroups.com
Subject: [google-appengine] Billing is Flip Flopping Credit Cards

 

My subscription to Google App Engine keeps flip flopping to different credit
cards.  I need it to stick to a specific AMEX for my business.  Please help
because this is very important since it keeps charging my personal card
instead of my business.

 

I believe it is flipping to whatever the default card is at the time of the
charge.  I looked up the policy on Google Checkout and it should stick to
the same card I made the original order with which is not happening.

-- 
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-appengine/-/pSeI1y97_BoJ.
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.

-- 
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] Billing is Flip Flopping Credit Cards

2011-07-03 Thread Paul Bailey
My subscription to Google App Engine keeps flip flopping to different credit 
cards.  I need it to stick to a specific AMEX for my business.  Please help 
because this is very important since it keeps charging my personal card 
instead of my business.

I believe it is flipping to whatever the default card is at the time of the 
charge.  I looked up the policy on Google Checkout and it should stick to 
the same card I made the original order with which is not happening.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/pSeI1y97_BoJ.
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] Java Network Launching Protocol (JNLP) Support on App Engine?

2011-07-03 Thread Eric Atkinson
Does the Google App Engine, and related Web Server, support Java
Network Launching Protocol (JNLP)‎ for launching Java WebStart
Applications from my HTML home page?  GWT just isn't a sufficiently
sophisticated client platform, so I want to use a java application on
the front end to interact with the google app engine, but the app
engine would need to support JNLP to launch such a client. Is this
possible?

-- 
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] Blobstore: how to code the form when there is already one

2011-07-03 Thread David Walt
Hi guys, 

Simple question.
To use the blobstore, Google says that you need to write something like:

" 
method="post" enctype="multipart/form-data">



In my case, I already have a form to add an Item like :




And of course, more than allowing a user to create an Item with name, price, 
etc...I would like to allow this user to upload a photo, in the same page, 
with the same Submit button.

Could you help me to do this ?
Thx a lot.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/U9tm6QIdrmoJ.
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: After Migrate to HR I get exception "app s~XXX cannot access app YYY's data"

2011-07-03 Thread Uri Lukach
Hello Bert,

While following Google App Engine instructions in "*Copying Entities to 
Another Application"*, I used *datastore_admin* to copy the all entities to 
the HR application.
When using *datastore_admin *the copy operation keeps the same entity keys. 

I think that if the entities keys are the same  there should not be any 
issue with using the wrong keys, in addition I don't have hard coded keys in 
my application code.

Is there another reason for this error?

Thanks,
Uri






-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/gnFOFF7_V-UJ.
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.



Re: [google-appengine] Re: Confused about Users API

2011-07-03 Thread Branko Vukelic
Sorry, I don't use Java.

On Sun, Jul 3, 2011 at 9:31 PM, David Walt  wrote:
> Thanks. Do you have a particular framework in mind ?
>
> If I use a framework, can I use it just for this, and what about the
> performance ?
> (sorry it's begginers questions)
>
> On 1 juil, 15:27, Branko Vukelic  wrote:
>> On Wed, Jun 29, 2011 at 10:29 PM, David Walt  wrote:
>> > - Maybe use a Java Framework which provides the same functionnalities
>> > that GoogleAPI, but with any kind of client?
>>
>> This is probably the best solution if you don't want to use a 3rd
>> party service like Janrain. Of course, depends on the framework. It
>> could be the worst solution for everything else and even auth if you
>> use a bad framework. :)
>>
>> --
>> Branko Vukelić
>> bra...@herdhound.com
>>
>> Lead Developer
>> Herd Hound (tm) - Travel that doesn't bitewww.herdhound.com
>
> --
> 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.
>
>



-- 
Branko Vukelić
bra...@herdhound.com

Lead Developer
Herd Hound (tm) - Travel that doesn't bite
www.herdhound.com

Love coffee? You might love Loveffee, too.
loveffee.appspot.com

-- 
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: FAQ for out of preview pricing changes

2011-07-03 Thread Gijsbert
Greg, can you confirm if a channel in the new pricing scheme is still
available for 2 hours and can be reused for multiple clients (as long
as they don't overlap in time)?

On Jul 3, 1:39 pm, ksafez216  wrote:
> You say that the new Channel API rates is what users pay today.
>
> First of all, in the original model you get over 8,000 free channels a
> day to 100/day in the new model.
>
> And please tell me if 1000's of users are exchanging messages on
> individual channels, does that mean that there will be have to 1000's
> of instances running at the same time?
>
> Things should get cheaper and simpler, not more expensive and more
> complicated!
>
> On May 17, 9:49 pm, "Gregory D'alesandre"  wrote:
>
>
>
>
>
>
>
> > Hello All!
>
> > As you've likely heard, when Google App Engine leaves Preview in the second
> > half of 2011, the pricing model will change.  Prices are listed 
> > here:http://www.google.com/enterprise/appengine/appengine_pricing.html.  
> > But that
> > leaves a lot of questions unanswered, this FAQ is intended to help answer
> > some of the frequently asked questions about the new model.  We are
> > interested in hearing additional thoughts and comments you have based on
> > this.  Once it is relatively stable I'll add it to our official docs.  If
> > you find there is something you want to know but it is not yet answered,
> > just ask and I'll try to answer it as clearly as possible.  We've made some
> > changes based on the feedback we've gotten (from this group in particular),
> > they are bolded below but not updated on the external pages yet.  There are
> > still blanks to fill in and I will be sending that information to this group
> > first in order as it is available.  Finally, thank you for your questions
> > and bearing with us as we are ironing out details, I and the whole App
> > Engine team very much appreciate it.
>
> > Greg D'Alesandre
> > Senior Product Manager, Google App Engine
>
> > ---
>
> > *Definitions*
> > *Instance*: A small virtual environment to run your code with a reserved
> > amount of CPU and Memory.
> > *Frontend Instance*: An Instance running your code and scaling dynamically
> > based on the incoming requests but limited in how long a request can run.
> > *Backend Instance*: An Instance running your code with limited scaling based
> > on your settings and potentially starting and stopping based on your
> > actions.
> > *Scheduler*: Part of the App Engine infrastructure that determines which
> > Instance should serve a request including whether or not a new Instance is
> > needed.
>
> > *Serving Infrastructure*
> > Q: What’s an Instance?
> > A: When App Engine starts running your code it creates a small virtual
> > environment to run your code with a reserved amount of CPU and Memory.  For
> > example if you are running a Java app, we will start a new JVM for you and
> > load your code into it.
>
> > Q: Is an App Engine Instance similar to a VM from infrastructure providers?
> > A: Yes and no, they both have a set amount of CPU and Memory allocated to
> > them, but GAE instances don’t have the overhead of operating systems or
> > other applications running, so a much larger percentage of the CPU and
> > memory is considered “usable.” They also operate against high-level APIs and
> > not down through layers of code to virtual device drivers, so it’s more
> > efficient, and allows all the services to be fully managed.
>
> > Q: How does GAE determine the number of Frontend Instances to run?
> > A: For each new request, the Scheduler decides whether there is an available
> > Instance for the request, the request should wait, or a new Instance should
> > be created to service the request.  It looks at the number of Instances, the
> > throughput of the Instances, and the number of requests waiting.  Based on
> > that it predicts how long it will take before it can serve the request (aka
> > the Pending Latency).  If it predicts the delay will be over 1 second, a new
> > Instance is created.  If it looks like an Instance is no longer needed, it
> > will take that Instance down.
>
> > Q: Should I assume I will be charged for the number of Instances currently
> > being shown in the Admin console?
> > A: No, we are working to change the Scheduler to optimize the utilization of
> > instances, so that number should go down somewhat.  If you are using Java,
> > you can also make your app threadsafe and take advantage of handling
> > concurrent requests.  You can look at that as an upper bound on how many
> > Instances you will be charged for.
>
> > Q: How can I control the number of instances running?
> > A: With the new Scheduler you’ll have the ability to choose a set of
> > parameters that will help you specify how many instances are spun up to
> > serve your traffic.  More information about the specific parameters and how
> > they will affect the Scheduler will be available on this within a few weeks.
>
> > Q: What can I control in terms of how many re

[google-appengine] Re: New Channel API pricing scheme

2011-07-03 Thread Gijsbert
I'm still using the ping/time-out scheme from before the presence api
existence, but the presence api makes it a lot easier. But since this
new pricing turmoil started I have put my app engine projects on hold
and haven't tried the presence api yet. I must admit that the new
pricing makes it a lot harder to go for app engine than before.

BTW for channel several alternatives have been mentioned: http://pubnub.com
and http://beaconpush.com/ . They charge per message so it's difficult
to compare them with channel cost, depends the usage pattern too.

On Jul 3, 2:07 pm, ksafez216  wrote:
> Is this channel reuse done by using Channel Presence to save tokens?
> I still haven't found a function to test if a token is still valid?
>
> I was experiencing channel disconnects when the user shuts down their
> browsers even if the channel was only opened for a few minutes.  So
> this means we will get charged a ton if people visit the website many
> times a day for very short periods of time.
>
> I just have to say that the new Channel Pricing scheme is way out of
> control!  Just do some simple calculations and you'll see that the
> costs will be huge for 1000's of users.  This is such awesome
> technology, but this new pricing will price out a bunch of aspiring
> developers who don't have tons of extra money to spend.
>
> I now feel a bit swindled.  Most likely I will switch to EC2, since I
> can install the APE Project on an instance, which provides the same
> functionality as Channel API *without* per channel costs.  It will
> save me tons of money!
>
> Now I have wasted a ton of my time developing for GAE-specific
> platform.  A bit of a slap in the face for loyalty. Damn you
> Google! :)
>
> On Jul 2, 8:08 pm, Gijsbert  wrote:
>
>
>
>
>
>
>
> > One channel gives one connection between one browser and app engine,
> > so for a 1 on 1 game you would need 2.
> > But, the current channels are valid for 2 hours and can be reused
> > after the one browsers stops needing it in another browser (you need
> > to do that reuse yourself). I don't know if this will be the same in
> > thenewcharging model.
>
> > On Jul 2, 3:43 pm, Everson Alves da Silva  wrote:
>
> > > So, for a 1 vs 1 game, can one pool the channels? opening anewchannel for
> > > each game session would be very expensive.

-- 
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: Confused about Users API

2011-07-03 Thread David Walt
Thanks. Do you have a particular framework in mind ?

If I use a framework, can I use it just for this, and what about the
performance ?
(sorry it's begginers questions)

On 1 juil, 15:27, Branko Vukelic  wrote:
> On Wed, Jun 29, 2011 at 10:29 PM, David Walt  wrote:
> > - Maybe use a Java Framework which provides the same functionnalities
> > that GoogleAPI, but with any kind of client?
>
> This is probably the best solution if you don't want to use a 3rd
> party service like Janrain. Of course, depends on the framework. It
> could be the worst solution for everything else and even auth if you
> use a bad framework. :)
>
> --
> Branko Vukelić
> bra...@herdhound.com
>
> Lead Developer
> Herd Hound (tm) - Travel that doesn't bitewww.herdhound.com

-- 
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: After Migrate to HR I get exception "app s~XXX cannot access app YYY's data"

2011-07-03 Thread Bert
Hi,

Do you have some hardcoded string encoded keys used in parts of your
application?
Generally you get that error when trying to use a key that belongs to
another application.

Thanks
Rob

On Jul 3, 1:18 pm, Uri Lukach  wrote:
> Hello,
>
> I followed the instructions "*Copying Entities to Another Application*" and
> *"A Note for Java Developers"*  to migrate to HR application.
> Everything went perfectly good!
>
> While conducting some testing to verify the migration process went well, I
> got some strange exceptions in the form of:
>
> *IllegalArgumentException: app s~XXX cannot access app YYY's data *
>
> Were XXX is the  HR application and YYY is the master slave one.
>
> Did you encounter such error?
>
> Thanks.

-- 
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: New Channel API pricing scheme

2011-07-03 Thread ksafez216
Is this channel reuse done by using Channel Presence to save tokens?
I still haven't found a function to test if a token is still valid?

I was experiencing channel disconnects when the user shuts down their
browsers even if the channel was only opened for a few minutes.  So
this means we will get charged a ton if people visit the website many
times a day for very short periods of time.

I just have to say that the new Channel Pricing scheme is way out of
control!  Just do some simple calculations and you'll see that the
costs will be huge for 1000's of users.  This is such awesome
technology, but this new pricing will price out a bunch of aspiring
developers who don't have tons of extra money to spend.

I now feel a bit swindled.  Most likely I will switch to EC2, since I
can install the APE Project on an instance, which provides the same
functionality as Channel API *without* per channel costs.  It will
save me tons of money!

Now I have wasted a ton of my time developing for GAE-specific
platform.  A bit of a slap in the face for loyalty. Damn you
Google! :)



On Jul 2, 8:08 pm, Gijsbert  wrote:
> One channel gives one connection between one browser and app engine,
> so for a 1 on 1 game you would need 2.
> But, the current channels are valid for 2 hours and can be reused
> after the one browsers stops needing it in another browser (you need
> to do that reuse yourself). I don't know if this will be the same in
> thenewcharging model.
>
> On Jul 2, 3:43 pm, Everson Alves da Silva  wrote:
>
>
>
>
>
>
>
> > So, for a 1 vs 1 game, can one pool the channels? opening anewchannel for
> > each game session would be very expensive.

-- 
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: FAQ for out of preview pricing changes

2011-07-03 Thread ksafez216
You say that the new Channel API rates is what users pay today.

First of all, in the original model you get over 8,000 free channels a
day to 100/day in the new model.

And please tell me if 1000's of users are exchanging messages on
individual channels, does that mean that there will be have to 1000's
of instances running at the same time?

Things should get cheaper and simpler, not more expensive and more
complicated!

On May 17, 9:49 pm, "Gregory D'alesandre"  wrote:
> Hello All!
>
> As you've likely heard, when Google App Engine leaves Preview in the second
> half of 2011, the pricing model will change.  Prices are listed 
> here:http://www.google.com/enterprise/appengine/appengine_pricing.html.  But 
> that
> leaves a lot of questions unanswered, this FAQ is intended to help answer
> some of the frequently asked questions about the new model.  We are
> interested in hearing additional thoughts and comments you have based on
> this.  Once it is relatively stable I'll add it to our official docs.  If
> you find there is something you want to know but it is not yet answered,
> just ask and I'll try to answer it as clearly as possible.  We've made some
> changes based on the feedback we've gotten (from this group in particular),
> they are bolded below but not updated on the external pages yet.  There are
> still blanks to fill in and I will be sending that information to this group
> first in order as it is available.  Finally, thank you for your questions
> and bearing with us as we are ironing out details, I and the whole App
> Engine team very much appreciate it.
>
> Greg D'Alesandre
> Senior Product Manager, Google App Engine
>
> ---
>
> *Definitions*
> *Instance*: A small virtual environment to run your code with a reserved
> amount of CPU and Memory.
> *Frontend Instance*: An Instance running your code and scaling dynamically
> based on the incoming requests but limited in how long a request can run.
> *Backend Instance*: An Instance running your code with limited scaling based
> on your settings and potentially starting and stopping based on your
> actions.
> *Scheduler*: Part of the App Engine infrastructure that determines which
> Instance should serve a request including whether or not a new Instance is
> needed.
>
> *Serving Infrastructure*
> Q: What’s an Instance?
> A: When App Engine starts running your code it creates a small virtual
> environment to run your code with a reserved amount of CPU and Memory.  For
> example if you are running a Java app, we will start a new JVM for you and
> load your code into it.
>
> Q: Is an App Engine Instance similar to a VM from infrastructure providers?
> A: Yes and no, they both have a set amount of CPU and Memory allocated to
> them, but GAE instances don’t have the overhead of operating systems or
> other applications running, so a much larger percentage of the CPU and
> memory is considered “usable.” They also operate against high-level APIs and
> not down through layers of code to virtual device drivers, so it’s more
> efficient, and allows all the services to be fully managed.
>
> Q: How does GAE determine the number of Frontend Instances to run?
> A: For each new request, the Scheduler decides whether there is an available
> Instance for the request, the request should wait, or a new Instance should
> be created to service the request.  It looks at the number of Instances, the
> throughput of the Instances, and the number of requests waiting.  Based on
> that it predicts how long it will take before it can serve the request (aka
> the Pending Latency).  If it predicts the delay will be over 1 second, a new
> Instance is created.  If it looks like an Instance is no longer needed, it
> will take that Instance down.
>
> Q: Should I assume I will be charged for the number of Instances currently
> being shown in the Admin console?
> A: No, we are working to change the Scheduler to optimize the utilization of
> instances, so that number should go down somewhat.  If you are using Java,
> you can also make your app threadsafe and take advantage of handling
> concurrent requests.  You can look at that as an upper bound on how many
> Instances you will be charged for.
>
> Q: How can I control the number of instances running?
> A: With the new Scheduler you’ll have the ability to choose a set of
> parameters that will help you specify how many instances are spun up to
> serve your traffic.  More information about the specific parameters and how
> they will affect the Scheduler will be available on this within a few weeks.
>
> Q: What can I control in terms of how many requests an Instance can handle?
> A: The single largest factor is your application’s latency in handling the
> request.  If you service requests quickly, a single instance can handle a
> lot of requests.  Also, Java apps support concurrent
> requests,
> so it can handle additional requests while waiting 

Re: [google-appengine] Bind application to a single account

2011-07-03 Thread Nikolay Sohryakov
Thank you for your reply! I've already discovered oauth for myself and it 
solved this problem for me just a few hours ago :)

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/JT5li8LwtQEJ.
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: Channel API, and node.js

2011-07-03 Thread egilchri
I want to pickup realtime messages from App Engine, without polling.
App Engine can send messages down the Channel API socket, and browsers
can field them, in real time. I want these same messages to be picked
up by a server that is listening using node.js. So I guess that
requires a Channel API client, implemented for node.js, analogous to
how it's implemented for browsers. My thought is that this client will
just sit there listening, and when a string of text comes in, it will
pass it to the Tropo speech engine to speak. This would all be
happening within the context of a phone call.

This may be wishful thinking, but I hoping somebody can set me
straight, even to say that what I'm asking for doesn't quite make
sense.

On Jul 3, 1:38 am, Robert Kluin  wrote:
> Why not directly use tropo's API from the GAE app?  I've had good luck with
> their APIs + GAE apps in my testing.
>
> On Jul 2, 2011 10:45 PM, "egilchri"  wrote:> Is it 
> feasible to have the Channel API work with node.js? I would like
> > to send Channel API messages, from App Engine, and have them picked up
> > by a server running node.js. I'm interested, because I would like to
> > have a "speech server" sitting on a host running node.js that would
> > take incoming Channel API requests and render them into speech (Using
> > Voxeo's Tropo platform)
>
> > --
> > 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.
>
>
>
>
>
>
>
>

-- 
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] After Migrate to HR I get exception "app s~XXX cannot access app YYY's data"

2011-07-03 Thread Uri Lukach
Hello,

I followed the instructions "*Copying Entities to Another Application*" and 
*"A Note for Java Developers"*  to migrate to HR application.
Everything went perfectly good!

While conducting some testing to verify the migration process went well, I 
got some strange exceptions in the form of:

*IllegalArgumentException: app s~XXX cannot access app YYY's data *

Were XXX is the  HR application and YYY is the master slave one.

Did you encounter such error?

Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/9OIhXLPqx74J.
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.



Re: [google-appengine] What's the difference between static and cached requests in the dashboard?

2011-07-03 Thread Stephen
On Sat, Jul 2, 2011 at 2:29 AM, Robert Kluin  wrote:
>
> Nobody *really* knows about it beyond that is exists; it is completely
> undocumented.


Anybody who wants to know more about the cache may consider starring this:

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

30 so far, joint ~150th, so don't hold your breath.

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