Re: [google-appengine] Re: help me - channel api

2010-11-15 Thread Jin Tie
Thanks alot

On Sun, Nov 14, 2010 at 10:15 PM, Jonas Gehring  wrote:

> This error comes when the gwt didn't compile the type. Try to add
> these method in the Service-Class:
> com.example.chat.shared.Message
> compileMessage(com.example.chat.shared.Message x);
>
> In the ServiceImpl-Class, just return null in the compileMessage
> method.
>
> On 11 Nov., 19:36, Jin Tie  wrote:
> > Hello everyone.
> > I'm going to make simple chat app using channel api.
> > But I have some problem.
> > When I created channel and try to send data on that channel, I get
> > error like following.
> > "com.google.gwt.user.client.rpc.SerializationException: Type
> > 'com.example.chat.shared.Message' was not included in the set of types
> > which can be serialized by this SerializationPolicy or its Class
> > object could not be loaded. For security purposes, this type will not
> > be serialized.: instance = com.example.chat.shared.mess...@f4e3b6"
> >
> > Here com.example.chat.shared.Message class implements
> > java.util.Serializable.
> > How can I solve this problem?
> >
> > I hope your help.
> >
> > 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-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.
>
>

-- 
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] Jin Tie wants to chat

2010-11-15 Thread Jin Tie
I've been using Google Talk and thought you might like to try it out.
We can use it to call each other for free over the internet. Here's an
invitation to download Google Talk. Give it a try!

---

Jin Tie 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-1c8bee9573-d051767bb9--iMS-YszaZ15DE9054mXCDuhZfQ
You'll need to click this link to be able to chat with Jin Tie.

To get Gmail - a free email account from Google with over 2,800 megabytes of
storage - and chat with Jin Tie, visit:
http://mail.google.com/mail/a-1c8bee9573-d051767bb9--iMS-YszaZ15DE9054mXCDuhZfQ

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-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] I Need A Push In The Right Direction - Basic Design

2010-11-15 Thread RRRaney
Hello,

I am trying to get started using AppEngine.
I have been reading many of the articles about implementing an MVP
design pattern,
I think that I can handle most of this once I get started with my
basic design.

I would like to create a site with three pages (all done with HTML
pages).

HomePage.html
ApplicationPage.html
ContactMePage.html

I have all of these built and am happy with the way that they look and
have the Navigation working just fine.

On the ApplicationPage I would like to include a Launch Button (this
is where I will take over and build my Application with its menus and
different data Views).

With all of the examples that I have been looking at the Button that
gets the ball rolling is on the first and only page.

How can I get MyHandler for the Launch Button on the ApplicationPage?

A little push would be a great help.

I believe that I can take care of the rest after I get the basic right
correct.

Eventually I would probably be adding AnotherApplicationPage and so
on.

Thanks,

Raney

-- 
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: I Need A Push In The Right Direction - Basic Design

2010-11-15 Thread RRRaney
Good Morning,

Thankyou for the fast response.
I will take a look at the example.

I had just come back to put the address of the site so people could
see what I would like, I do not always explain very well.

https://rrrsystems-demo-vamv05bnm5.appspot.com

Thanks again,

Raney

-- 
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 on https://appengine.google.com

2010-11-15 Thread dflorey
Still getting deployment timeouts.

On Nov 15, 6:43 am, Takashi Matsuo  wrote:
> We've just fixed this issue. It should be OK now. Please let me know
> if you still see the issue.
> We'll investigate the case in detail, and post an update here.
>
> Sorry about the inconvenience and thanks for the patience.
>
> -- Takashi
>
> On Mon, Nov 15, 2010 at 2:16 PM, Greg Tracy  wrote:
> > I too am getting 500 errors on app uploads...
>
> > --
> > 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.
>
> --
> Takashi Matsuo
> Developer Relations
> Developer Advocate for Google App Engine/iGoogle
> Google Japan, Inc.

-- 
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 on https://appengine.google.com

2010-11-15 Thread dflorey
I've tried with various apps, application deployments are getting
timeouts for all apps.

On Nov 15, 2:55 pm, dflorey  wrote:
> Still getting deployment timeouts.
>
> On Nov 15, 6:43 am, Takashi Matsuo  wrote:
>
>
>
>
>
>
>
> > We've just fixed this issue. It should be OK now. Please let me know
> > if you still see the issue.
> > We'll investigate the case in detail, and post an update here.
>
> > Sorry about the inconvenience and thanks for the patience.
>
> > -- Takashi
>
> > On Mon, Nov 15, 2010 at 2:16 PM, Greg Tracy  wrote:
> > > I too am getting 500 errors on app uploads...
>
> > > --
> > > 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.
>
> > --
> > Takashi Matsuo
> > Developer Relations
> > Developer Advocate for Google App Engine/iGoogle
> > Google Japan, Inc.

-- 
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] How to make this

2010-11-15 Thread Barry Hunter
You can paste in multiple email addresses into the box.

On 15 November 2010 06:57, Terry  wrote:
> Hi guys,
> I've recently created a Google Group myself, and I was planning to
> invite all of my friends to this group. But I'm really getting crazy
> because I have to add their email address one by one to the panel on
> the invitation page. So it came to my mind that if I could write a
> program to help me automatically invite friends to the group. Say, if
> I have all their email address in a text file, how can I automatically
> add them to my Google Group without opening the browser?
> I guess it may be similar to make some HTTP requests or things like
> that, but I don't know how to write the code, will you be so kind to
> provide me some advice or similar code resources?
>
> --
> 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.
>
>

-- 
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] Too many "Warning: Request was aborted after waiting too long..." under not so high load

2010-11-15 Thread Will
My site doesn't have too much traffic, but now and then I see this warning:

Request was aborted after waiting too long to attempt to service your
request. This may happen sporadically when the App Engine serving
cluster is under unexpectedly high or uneven load. If you see this
message frequently, please contact the App Engine team.


Just half an hour ago, I saw one DeadlineExceededError and one
TransactionFailedError, immediately followed by 5 warnings mentioned above,
within roughly 30 seconds, when my application was trying to insert some
text data into datastore, in one plain put().

The load I saw for that particular url was about 13 requests per minute.
Well, this kind of load shouldn't cause datastore to choke in a way as I've
seen, in my expectation.

This problem results in data loss in my app and then bad
customer-experiences.

Should I expect this is the current capability of datastore/GAE? Or are
there any guidelines for minimizing this problem?

My app id is 'qyingweb'.

Thanks,

Will

-- 
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: Too many "Warning: Request was aborted after waiting too long..." under not so high load

2010-11-15 Thread dflorey
>From what I can tell this error occurs quite frequently when the load
of the app changes.
If you have very low load for a couple of minutes and then get
multiple requests, you'll most likely get some 500ers.
App engine works ok if the load is constant over a longer period of
time.
(At least no requests over a long period of time work fine ;-)

On Nov 15, 3:52 pm, Will  wrote:
> My site doesn't have too much traffic, but now and then I see this warning:
>
> Request was aborted after waiting too long to attempt to service your
> request. This may happen sporadically when the App Engine serving
> cluster is under unexpectedly high or uneven load. If you see this
> message frequently, please contact the App Engine team.
>
> Just half an hour ago, I saw one DeadlineExceededError and one
> TransactionFailedError, immediately followed by 5 warnings mentioned above,
> within roughly 30 seconds, when my application was trying to insert some
> text data into datastore, in one plain put().
>
> The load I saw for that particular url was about 13 requests per minute.
> Well, this kind of load shouldn't cause datastore to choke in a way as I've
> seen, in my expectation.
>
> This problem results in data loss in my app and then bad
> customer-experiences.
>
> Should I expect this is the current capability of datastore/GAE? Or are
> there any guidelines for minimizing this problem?
>
> My app id is 'qyingweb'.
>
> Thanks,
>
> Will

-- 
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] Too many "Warning: Request was aborted after waiting too long..." under not so high load

2010-11-15 Thread Wim den Ouden
Hi Will,
Don't now if this helps, the error request is stored in the error log,
from there you can restore you eventual data loss.
gr
wim


On Mon, Nov 15, 2010 at 3:52 PM, Will  wrote:
> My site doesn't have too much traffic, but now and then I see this warning:
>
> Request was aborted after waiting too long to attempt to service your
> request. This may happen sporadically when the App Engine serving cluster is
> under unexpectedly high or uneven load. If you see this message frequently,
> please contact the App Engine team.
>
> Just half an hour ago, I saw one DeadlineExceededError and one
> TransactionFailedError, immediately followed by 5 warnings mentioned above,
> within roughly 30 seconds, when my application was trying to insert some
> text data into datastore, in one plain put().
>
> The load I saw for that particular url was about 13 requests per minute.
> Well, this kind of load shouldn't cause datastore to choke in a way as I've
> seen, in my expectation.
>
> This problem results in data loss in my app and then bad
> customer-experiences.
>
> Should I expect this is the current capability of datastore/GAE? Or are
> there any guidelines for minimizing this problem?
>
> My app id is 'qyingweb'.
>
> Thanks,
>
> Will
>
> --
> 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.
>



-- 
gr
wdo

Demo free E-business: https://e-comm.appspot.com
Wim den Ouden Google App Engine (cloud)

-- 
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] How to make this

2010-11-15 Thread terry lee
Thanks for your advice, but I'm in fact just interested in that if there
exists a way to make this by a software or some pieces of code, you know, we
may do this by simulate HTTP requests or things like that, so I just want to
find out a correct way to realize this.

2010/11/15 Barry Hunter 

> You can paste in multiple email addresses into the box.
>
> On 15 November 2010 06:57, Terry  wrote:
> > Hi guys,
> > I've recently created a Google Group myself, and I was planning to
> > invite all of my friends to this group. But I'm really getting crazy
> > because I have to add their email address one by one to the panel on
> > the invitation page. So it came to my mind that if I could write a
> > program to help me automatically invite friends to the group. Say, if
> > I have all their email address in a text file, how can I automatically
> > add them to my Google Group without opening the browser?
> > I guess it may be similar to make some HTTP requests or things like
> > that, but I don't know how to write the code, will you be so kind to
> > provide me some advice or similar code resources?
> >
> > --
> > 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.
> >
> >
>
> --
> 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.
>
>

-- 
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] Too many "Warning: Request was aborted after waiting too long..." under not so high load

2010-11-15 Thread Robert Kluin
Hi Will,
  Here are a few of my thoughts and suggestions.

  The datastore will occasionally have spikes in latency / error
rates, for reasons outside of your apps control.  Your best bet for
dealing with periods of increased latency is to optimize your
requests.  It sounds like you have a good handle on what your app is
doing, but a little addition review never hurts -- use Appstats to
profile your RPCs.  Appstats is great for making sure no unexpected
calls are being made and for identifying spots that need some
optimization.

  It also sounds like you might need to handle error's a little
differently.  Maybe you should catch those errors and defer writing
the entity using the task-queue, if possible.  And/Or return feedback
to the client that the save failed; if the client is a browser at
least let the user know the save failed so their data is not
_unexpectedly_ missing.

  Also, what are your apps cold start times like?  If your app takes a
long time to bring up a new instance that could cause problems.  There
are several things you could try, such as minimizing start-up time
imports.



Robert






On Mon, Nov 15, 2010 at 09:52, Will  wrote:
> My site doesn't have too much traffic, but now and then I see this warning:
>
> Request was aborted after waiting too long to attempt to service your
> request. This may happen sporadically when the App Engine serving cluster is
> under unexpectedly high or uneven load. If you see this message frequently,
> please contact the App Engine team.
>
> Just half an hour ago, I saw one DeadlineExceededError and one
> TransactionFailedError, immediately followed by 5 warnings mentioned above,
> within roughly 30 seconds, when my application was trying to insert some
> text data into datastore, in one plain put().
>
> The load I saw for that particular url was about 13 requests per minute.
> Well, this kind of load shouldn't cause datastore to choke in a way as I've
> seen, in my expectation.
>
> This problem results in data loss in my app and then bad
> customer-experiences.
>
> Should I expect this is the current capability of datastore/GAE? Or are
> there any guidelines for minimizing this problem?
>
> My app id is 'qyingweb'.
>
> Thanks,
>
> Will
>
> --
> 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.
>

-- 
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] How to make this

2010-11-15 Thread Robert Kluin
I do not think there is an official groups API.
http://code.google.com/p/gdata-issues/issues/detail?id=27

You might ask in some other group too, maybe there is a groups-group.  ;)



Robert






On Mon, Nov 15, 2010 at 11:43, terry lee  wrote:
> Thanks for your advice, but I'm in fact just interested in that if there
> exists a way to make this by a software or some pieces of code, you know, we
> may do this by simulate HTTP requests or things like that, so I just want to
> find out a correct way to realize this.
>
> 2010/11/15 Barry Hunter 
>>
>> You can paste in multiple email addresses into the box.
>>
>> On 15 November 2010 06:57, Terry  wrote:
>> > Hi guys,
>> > I've recently created a Google Group myself, and I was planning to
>> > invite all of my friends to this group. But I'm really getting crazy
>> > because I have to add their email address one by one to the panel on
>> > the invitation page. So it came to my mind that if I could write a
>> > program to help me automatically invite friends to the group. Say, if
>> > I have all their email address in a text file, how can I automatically
>> > add them to my Google Group without opening the browser?
>> > I guess it may be similar to make some HTTP requests or things like
>> > that, but I don't know how to write the code, will you be so kind to
>> > provide me some advice or similar code resources?
>> >
>> > --
>> > 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.
>> >
>> >
>>
>> --
>> 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.
>>
>
> --
> 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.
>

-- 
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: Blobstore upload handler is Base64 encoding strings?

2010-11-15 Thread Satoshi
Chris,
I really appreciate the information, but I would like to hear from
Google about this bug.

Q1. Are you going to fix this bug in near future?
Q2. Do you have any suggested way to work-around this bug, which won't
cause compatibility issue in future when you fix this bug?

Satoshi

On Nov 13, 10:38 am, Chris Copeland  wrote:
> In Python the text is encoded as quoted printable (I think).
>
> See issue 
> #3761and
> Stack
> Overflow 
> question.
>
> I've worked around it by decoding with quopri if the post is coming through
> the blob uploader.
>
>
>
> On Sat, Nov 13, 2010 at 9:30 AM, Satoshi  wrote:
> > I also wrote an upload code in Objective-C, explicitly specifying the
> > "Content-Type: text/plain; charset=UTF-8",
> > but got the same result as HTML form sample above.
>
> > "日本語" becomes "5pel5pys6Kqe"
>
> > Satoshi
>
> > On Nov 13, 7:01 am, Satoshi  wrote:
> > > I wrote a test code, and verified this bug (it happens in Japanese as
> > > well).
>
> > > Here is the form:
>
> > >  > > enctype="multipart/form-data">
> > >     
> > >         File:
> > >         
> > >         
> > >     
> > >     
> > >         Description
> > >         
> > >     
> > > 
>
> > > Satoshi
>
> > > On Nov 12, 11:52 am, "Ikai Lan (Google)" 
> > > 
>
> > > wrote:
>
> > > > Do you guys have any sample code? I'm testing this and seeing that the
> > local
> > > > dev server gives me some strange characters (I'm using Java). What does
> > the
> > > > form look like? How are you reading the input from the form submission?
>
> > > > --
> > > > Ikai Lan
> > > > Developer Programs Engineer, Google App Engine
> > > > Blogger:http://googleappengine.blogspot.com
> > > > Reddit:http://www.reddit.com/r/appengine
> > > > Twitter:http://twitter.com/app_engine
>
> > > > On Fri, Nov 12, 2010 at 5:09 AM, msmart  > >wrote:
>
> > > > > I ran into the same issue.
>
> > > > > Has anyone found the corresponding issue in the bug tracker (or a
> > nice
> > > > > workaround)?
>
> > > > > Michael.
>
> > > > > On 26 Okt., 09:28, Kenneth  wrote:
> > > > > > This is a pretty shocking bug (or lack of documentation?) from
> > > > > > Google.  There doesn't appear to be a consistent way to decode the
> > > > > > post results that come from the BlobstoreUploadHandler.  There was
> > a
> > > > > > bug in the issues list for this but I can't find it.  I should put
> > in
> > > > > > another one really but there doesn't seem to be any point.
>
> > > > > > What I do is when the user hits the submit button I send the form
> > > > > > results via an ajax request and once that returns I submit the form
> > to
> > > > > > do the file upload.
>
> > > > > > Pretty sad you have to do that and it means you're requiring
> > > > > > javascript for something that really shouldn't need it.
>
> > > > > > On Oct 25, 10:49 am, Agustin Horischnik  wrote:
>
> > > > > > > Hey, no luck with this? Did you solve this at all?
>
> > > > > > > On Aug 31, 12:40 pm, Agustin Horischnik 
> > wrote:
>
> > > > > > > > I think I'm having the same issue...
>
> > > > > > > > I have a multi-part form posting to ablobstoreuploadhandler.
> > > > > > > > There's four form fields:
>
> > > > > > > > 2 input type=file
> > > > > > > > 1 input type=text
> > > > > > > > 1 textarea
>
> > > > > > > > Those map to...
>
> > > > > > > > 2blobstore.BlobReferenceProperty
> > > > > > > > 1 StringProperty
> > > > > > > > 1 TextProperty
>
> > > > > > > > ... respectively, on my model class.
>
> > > > > > > > And the problem is... when I submit an input string such as "á
> > é í ó
> > > > > ú
> > > > > > > > and ñ", I get: "IuEg6SDtIPMg+iBhbmQg8SI=", both on the
> > StringProperty
> > > > > > > > and TextProperty.
> > > > > > > > At least, this is what I see on the Data viewer or when I
> > output on
> > > > > > > > the app.
>
> > > > > > > > Any workarounds you can think of? Anybody else is having this
> > > > > problem?
>
> > > > > > > > On Aug 3, 3:54 pm, ekampf  wrote:
>
> > > > > > > > > yep..
> > > > > > > > > It doesnt happend on the local dev server... its definately
> > > > > something
> > > > > > > > > undocumented happening on AppEngine
>
> > > > > > > > > On Aug 3, 10:54 am, alon  wrote:
>
> > > > > > > > > > it outputs as abase64string? im guessing the post is
> > multi-part
> > > > > post
> > > > > > > > > > right?
>
> > > > > > > > > > On Aug 3, 10:39 am, ekampf  wrote:
>
> > > > > > > > > > > This happens when text fields are sent via POST and go
> > through
> > > > > the
> > > > > > > > > > >Blobstoreuploadhandler.
> > > > > > > > > > > When English text is used I get the text.
> > > > > > > > > > > When Hebrew is used I get abase64string...
>
> > > > > > > > > > > I'm not looking at the datastore dashboard. I'm looking
> > at the
> > > > > actual
> > > > > > > > > > > POST data (via logging)
>
> > > > > > > > > > > On Aug 3, 10:18 am, alon  wrote:
>
> > > > > 

[google-appengine] Re: 500 Server Error while deploying the application

2010-11-15 Thread James Benton
I am in a similar boat. I cannot access the dashboards (500 Server
Error) and cannot deploy my application, just stalls on "Initiating
Update" for ages then I get


Error 401: --- begin server output ---

Must authenticate first.


--- end server output ---


If deploy fails you might need to 'rollback' manually.


The "Make Symlinks..." menu option can help with command-line work.


*** appcfg.py has finished with exit code 1 ***


Only thing I can think of that might make it an issue is the fact I've
been deploying it numerous times, with different versions today.

-- 
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: Can't deploy app > 503 error

2010-11-15 Thread Edward Sarker
Everyone is having this problem it seems. API down?

hopefully we hear an update on this issue soon.

for the record my output:


./appcfg.py:42: DeprecationWarning: the sha module is deprecated; use
the hashlib module instead
  os.path.join(DIR_PATH, 'lib', 'django'),
/home/Locke/GAE/google/appengine/tools/dev_appserver_login.py:33:
DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import md5
Application: idealists-inc; version: 2.
Server: appengine.google.com.
2010-11-12 13:25:18,952 INFO appengine_rpc.py:435 Loaded
authentication cookies from /home/Locke/.appcfg_cookies
2010-11-12 13:25:18,953 INFO appengine_rpc.py:153 Server:
appengine.google.com
2010-11-12 13:25:18,954 INFO appcfg.py:414 Checking for updates to the
SDK.
2010-11-12 13:25:19,112 INFO appcfg.py:428 The SDK is up to date.
2010-11-12 13:25:19,112 INFO appcfg.py:1753 Reading app
configuration.
Scanning files on local disk.
2010-11-12 13:25:19,113 INFO appcfg.py:1768 Processing file 'main.py'
2010-11-12 13:25:19,113 INFO appcfg.py:1768 Processing file
'index.html'
2010-11-12 13:25:19,114 INFO appcfg.py:1768 Processing file
'app.yaml'
2010-11-12 13:25:19,114 INFO appcfg.py:1768 Processing file
'index.yaml'
2010-11-12 13:25:19,114 INFO appcfg.py:1768 Processing file 'static/
images/troll.gif'
2010-11-12 13:25:19,114 INFO appcfg.py:1768 Processing file 'static/
images/favicon.ico'
Initiating update.
Cloning 2 static files.
Cloning 4 application files.
Precompilation starting.
2010-11-12 13:25:21,236 INFO appcfg.py:1814 HTTP Error (HTTP Error
503: Service Unavailable)
Rolling back the update.
Error 503: --- begin server output ---

Try Again (503)
An unexpected failure has occurred. Please try again.
--- end server output ---

-- 
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] What is "latest" for in version URL

2010-11-15 Thread efleming969
I've read that past versions of appengine made minor version numbers
available via the URL (ie. major.minor.app-id.appspot.com).  This is
no longer available and I understand why, but what's the purpose of
having the "latest" indication in the URL now that minor versions are
no longer available?

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-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: Can't deploy app > 503 error

2010-11-15 Thread Edward Sarker
I think the app engine API is down. I spent the better half of the
last 2 hours trying to debug my code, app engine and everything else.
i had no other system to test on so i didn't know it wasn't just my
laptop with the issue.

On Nov 12, 12:09 pm, Daniel  wrote:
> I'm having this problem as well. :(
>
> On Nov 12, 11:55 am, John Gardner  wrote:
>
>
>
>
>
>
>
> > I'm seeing the same problem, on a couple of different appids:  I
> > haven't found one yet that can deploy.
>
> > ...
> > Cloned 1300 files.
> > Cloned 1400 files.
> > Cloned 1500 files.
> > Uploading 2 files and blobs.
> > Uploaded 2 files and blobs
> > Precompilation starting.
> > Rolling back the update.
> > Error503: --- begin server output ---
>
> > Try Again (503)
> > An unexpected failure has occurred. Please try again.
> > --- end server output ---
>
> > On Nov 12, 9:51 am, Justin  wrote:
>
> > > appcfg.py update seems to repeatedly fail at the precompilation stage
> > > with HTTP503/ service unavailable; but AppEngine status page says
> > > everything's ok
>
> > > Thanks
>
> > > --
>
> > > j...@jhw:~/work/wol_datastore$ python appengine/appcfg.py update .
> > > Application: wol-datastore; version: 1.
> > > Server: appengine.google.com.
> > > Scanning files on local disk.
> > > Scanned 500 files.
> > > Scanned 1000 files.
> > > Initiating update.
> > > 2010-11-12 15:46:27,595 WARNING appengine_rpc.py:405 ssl module not
> > > found.
> > > Without the ssl module, the identity of the remote host cannot be
> > > verified, and
> > > connections may NOT be secure. To fix this, please install the ssl
> > > module fromhttp://pypi.python.org/pypi/ssl.
> > > To learn more, seehttp://code.google.com/appengine/kb/general.html#rpcssl
> > > .
> > > Email: justin.worr...@gmail.com
> > > Password for justin.worr...@gmail.com:
> > > Cloning 1026 application files.
> > > Cloned 100 files.
> > > Cloned 200 files.
> > > Cloned 300 files.
> > > Cloned 400 files.
> > > Cloned 500 files.
> > > Cloned 600 files.
> > > Cloned 700 files.
> > > Cloned 800 files.
> > > Cloned 900 files.
> > > Cloned 1000 files.
> > > Precompilation starting.
> > > Precompilation: 461 files left.
> > > Rolling back the update.
> > > Error503: --- begin server output ---
>
> > > Try Again (503)
> > > An unexpected failure has occurred. Please try again.
> > > --- end server output ---

-- 
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: Blobstore upload is failing with mysterious "signature verification failed" redirect

2010-11-15 Thread Gijs (Cloudwise)
I got the same problems using the blobstore. All I want is uploading
files to the blobstore using AJAX(-like) functionallity. I tried
http://valums.com/ajax-upload/ and http://jquery.malsup.com/form/#file-upload
both javascript plugings for jQuery. All works fine in the dev
environment, but in production it simply doesn't work. While digging
in the response I found this "signature verification failed" message.
Anyone any idea?



On 13 nov, 22:29, Michael Bayne  wrote:
> I just added upload support to my app using the BlobStore. Everything
> works peachily in the dev environment, but now that I'm trying to use
> the functionality in production, uploads are resulting in a redirect
> to "http://www.google.com/search?q=signature+verification+failed"; which
> is rather mysterious to say the least.
>
> Not that those results are visible in my app, since I am doing the
> uploading via GWT, but when I look at the results manually, they don't
> yield anything particularly informative.
>
> The only thing I've been able to find on the Interwebs about this at
> all is one guy's tweet saying:
>
> If you find your AppEngine app on upload randomly redirecting people to
> a search for "signature verification failed", that's a blobstore bug
>
> This was from a few days ago. No indication of any workarounds, or if
> perhaps this might get fixed. Is the blobstore just broken right 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 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] Admin console is UP!

2010-11-15 Thread Tero Nurminen
Got finally the Admin console running!

-- 
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 on https://appengine.google.com

2010-11-15 Thread Tero Nurminen
Admin console is also running!

On Nov 15, 7:16 am, Greg Tracy  wrote:
> I too am getting 500 errors on app uploads...

-- 
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] Can't move down then up the directory tree for inserting of html files with {% include %}

2010-11-15 Thread Brian
Thanks for the help.

I'm using Python 2.5 and Django Template 1.1 on app engine

I can't seem to move down the dir tree for inserting of html files
using  {% include "file" %} statement
Works just fine to any where up the tree, i can go up 3,4 levels just
fine, but can not go down even 1 {% include "../LOGO.html" %}


Sample dir structure:

root/lib/LOGO.html  (1 level down then 1 level up )
root/LOGO.html  (1 level down)
root/main/home.html <--tried: {% include "../LOGO.html" %} ,{% include
"root/lib/LOGO.html" %} , {% include "/root/lib/logo.html" %}
root/main/start.py

I changed TEMPLATE_DIRS setting 20 ways.

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-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] webapp2 Import Error

2010-11-15 Thread Scott Lewis
Hi,

I'm new to web development, and particularly python development, so
please forgive any obvious mistakes that I've made. Any help would be
greatly appreciated.

I'm trying to use webapp-improved (http://code.google.com/p/webapp-
improved/) on my local Windows Vista system. The results I'm getting
are:

Traceback (most recent call last):
  File "C:\Program Files (x86)\Google\google_appengine\google\appengine
\tools\dev_appserver.py", line 3211, in _HandleRequest
self._Dispatch(dispatcher, self.rfile, outfile, env_dict)
  File "C:\Program Files (x86)\Google\google_appengine\google\appengine
\tools\dev_appserver.py", line 3154, in _Dispatch
base_env_dict=env_dict)
  File "C:\Program Files (x86)\Google\google_appengine\google\appengine
\tools\dev_appserver.py", line 527, in Dispatch
base_env_dict=base_env_dict)
  File "C:\Program Files (x86)\Google\google_appengine\google\appengine
\tools\dev_appserver.py", line 2404, in Dispatch
self._module_dict)
  File "C:\Program Files (x86)\Google\google_appengine\google\appengine
\tools\dev_appserver.py", line 2314, in ExecuteCGI
reset_modules = exec_script(handler_path, cgi_path, hook)
  File "C:\Program Files (x86)\Google\google_appengine\google\appengine
\tools\dev_appserver.py", line 2210, in ExecuteOrImportScript
exec module_code in script_module.__dict__
  File "C:\Users\slewis\Desktop\helloworld\helloworld.py", line 1, in

import webapp2 as webapp
ImportError: No module named webapp2

My python file looks like:

import webapp2 as webapp

class HelloWorldHandler(webapp.RequestHandler):
def get(self):
self.response.out.write('Hello, World!')

app = webapp.WSGIApplication([
(r'/', HelloWorldHandler),
], debug=True)

def main():
app.run()

if __name__ == '__main__':
main()

I started development using python 2.7 and got this issue, then from
reading on this group that 2.5 was preferable, I switched to that, but
nothing has changed. I was able to run the google app engine tutorial
without errors, so I believe something is wrong with how I installed
webapp2. (I uncompressed it in a separate directory, then navigated
there in the command line and executed 'python setup.py install' and
there were no errors on the install.)

Again, any help would be greatly appreciated! Thank you.

-Scott-

-- 
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: help me - channel api

2010-11-15 Thread lyz984
You have to do the serialization by yourself and send your message as
a String.

-- 
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] incoming bandwidth of urlfetch when content_was_truncated is true

2010-11-15 Thread tanchuhan
hi, everyone.
i code this to fetch something:

#fetch
try:
src_response = urlfetch.Fetch(self.url, self.request.body,
self.method,
  headers, True, False)
except urlfetch.InvalidURLError, ex:
msg = "invalid url: %s" % self.url
logging.error(msg)
self.__error(400, msg)
return False
except urlfetch.DownloadError, ex:
msg = "download error: %s" % ex
logging.exception(msg)
self.__error(503, msg)
return False

as you see, i set "allow_truncated=True", when fetch some file large
than 1M(such as 12M), gae just give me 1M, but when i look at the
"Quota Details", the "Incoming bandwidth" had increase about 10M,
sometime it raise an Exception:
OverQuotaError: The API call urlfetch.Fetch() required more quota than
is available.

it means that gae count 12M "Incoming bandwidth" but just give me 1M
in fact, i cann't get the file size before fetch, so it's impossible
to set "range" header before fetch. i think gae shouldn't count the
true file size in "Incoming bandwith".

maybe someone will suggest me send a "HEAD" request before fetch, but
the content-type is unknown, i don't think it's a good solution.

-- 
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] Alternatives to SMS Verification

2010-11-15 Thread venugopal vasireddy
Hi,

I don't have a cell phone - Is it possible to get verification code by any
other means than SMS ?
Uisng mail etc?

-- 
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] webapp2 Import Error

2010-11-15 Thread Wim den Ouden
Hi Scot,
Did you python setup install from the map where you unpacked webapp2?
ImportError: No module named webapp2, seems python can't find webapp2
gr
wim

On Sat, Nov 13, 2010 at 8:54 PM, Scott Lewis  wrote:
> Hi,
>
> I'm new to web development, and particularly python development, so
> please forgive any obvious mistakes that I've made. Any help would be
> greatly appreciated.
>
> I'm trying to use webapp-improved (http://code.google.com/p/webapp-
> improved/) on my local Windows Vista system. The results I'm getting
> are:
>
> Traceback (most recent call last):
>  File "C:\Program Files (x86)\Google\google_appengine\google\appengine
> \tools\dev_appserver.py", line 3211, in _HandleRequest
>    self._Dispatch(dispatcher, self.rfile, outfile, env_dict)
>  File "C:\Program Files (x86)\Google\google_appengine\google\appengine
> \tools\dev_appserver.py", line 3154, in _Dispatch
>    base_env_dict=env_dict)
>  File "C:\Program Files (x86)\Google\google_appengine\google\appengine
> \tools\dev_appserver.py", line 527, in Dispatch
>    base_env_dict=base_env_dict)
>  File "C:\Program Files (x86)\Google\google_appengine\google\appengine
> \tools\dev_appserver.py", line 2404, in Dispatch
>    self._module_dict)
>  File "C:\Program Files (x86)\Google\google_appengine\google\appengine
> \tools\dev_appserver.py", line 2314, in ExecuteCGI
>    reset_modules = exec_script(handler_path, cgi_path, hook)
>  File "C:\Program Files (x86)\Google\google_appengine\google\appengine
> \tools\dev_appserver.py", line 2210, in ExecuteOrImportScript
>    exec module_code in script_module.__dict__
>  File "C:\Users\slewis\Desktop\helloworld\helloworld.py", line 1, in
> 
>    import webapp2 as webapp
> ImportError: No module named webapp2
>
> My python file looks like:
>
> import webapp2 as webapp
>
> class HelloWorldHandler(webapp.RequestHandler):
>    def get(self):
>        self.response.out.write('Hello, World!')
>
> app = webapp.WSGIApplication([
>    (r'/', HelloWorldHandler),
> ], debug=True)
>
> def main():
>    app.run()
>
> if __name__ == '__main__':
>    main()
>
> I started development using python 2.7 and got this issue, then from
> reading on this group that 2.5 was preferable, I switched to that, but
> nothing has changed. I was able to run the google app engine tutorial
> without errors, so I believe something is wrong with how I installed
> webapp2. (I uncompressed it in a separate directory, then navigated
> there in the command line and executed 'python setup.py install' and
> there were no errors on the install.)
>
> Again, any help would be greatly appreciated! Thank you.
>
> -Scott-
>
> --
> 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.
>
>



-- 
gr
wdo

Demo free E-business: https://e-comm.appspot.com
Wim den Ouden Google App Engine (cloud)

-- 
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] Alternatives to SMS Verification

2010-11-15 Thread Wim den Ouden
https://code.google.com/intl/nl/appengine/kb/sms.html
look at sms issues
gr
wim

On Sat, Nov 13, 2010 at 10:37 PM, venugopal vasireddy
 wrote:
> Hi,
>
> I don't have a cell phone - Is it possible to get verification code by any
> other means than SMS ?
> Uisng mail etc?
>
> --
> 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.
>



-- 
gr
wdo

Demo free E-business: https://e-comm.appspot.com
Wim den Ouden Google App Engine (cloud)

-- 
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: Bulk data deletion woe

2010-11-15 Thread Stephen Johnson
Yes I see what you're saying. Map Reduce would bring over the whole entity
even though it isn't needed and would consume more CPU in fetching the
entity not just the key. Seems almost like it would be nice to have an
option of Map Reduce only handing off keys and leaving out the entity.

On Sun, Nov 14, 2010 at 11:18 PM, Eli Jones  wrote:

> This is just an anecdotal aside (in other words, I have not bothered to do
> any testing or comparison of performance).. but.. I have my own utility code
> that I use for batch deletes.
>
> Recently, I decided to wipe out all of the entities for one of my models,
> but I was too lazy to look up the exact command I needed to use in the
> remote console.
>
> So, I just used the new Datastore Admin page to delete them.  This page
> uses map reduce jobs to perform deletes.
>
> From what I could tell, the map reduce delete job took up several times
> more CPU time (and wall clock time) than my custom delete job usually took.
>
> My usual utility class uses this method for deletes:
>
> 1. Create a query for all entities in a model with keys_only = True.
> 2. Fetch 100 keys.
> 3. Issues a deferred task to delete those 100 key names.
> 4. Use a  cursor to fetch 100 more, and issue deferred deletes until the
> query returns no more entities.
>
> This is usually pretty fast.. since the only bottle neck is the time it
> takes to fetch 100 key names and add the deferred task.  The surprising fact
> was that the default map reduce delete from the Datastore Admin page took so
> much for CPU.
>
> So, if you think you'll be doing more bulk deletes in the future, it might
> be useful to compare the CPU usage of a map reduce delete (using keys only
> and not full entities) to a method that deletes batches of 100 key names
> using deferred with a query cursor.
>
> Though, deleting 300,000 entities will take up a lot of CPU hours no matter
> what method you use.
>
> Like I said.. this is anecdotal and there could be no real difference in
> performance.. but the Datastore Admin delete took up way more CPU time than
> it seemed it should have, and I didn't bother to use it or test it again.
>
>
> On Sun, Nov 14, 2010 at 11:47 PM, Erik  wrote:
>
>> Thanks for the well thought response, numbers, and reality check
>> Stephen!  That makes a lot of sense when you consider parallel deletes
>> and datastore CPU time.
>>
>> On Nov 14, 9:37 pm, Stephen Johnson  wrote:
>> > Thank you for sharing your numbers with us. I think it's a good way for
>> all
>> > of us to get an idea of how much things cost on the cloud, so here's my
>> > thoughts.
>> >
>> > Even though you had one shard executing the shard should be doing batch
>> > deletes and not one delete at a time. From the documentation batch
>> deletes
>> > can do up to 500 entities in one call and would execute in parallel
>> (perhaps
>> > not 500 all at once but with parallelism none the less). I would assume
>> the
>> > shard would probably do about 100 or so at a time (maybe more / maybe
>> less).
>> >
>> > Anyway, a good way to prove some parallelism must be occurring would be
>> to
>> > do a proof by negation. So, let's assume that in fact the shard is doing
>> one
>> > delete at a time. Looking at the System Status the latency of a single
>> > delete on an entity (probably a very simple entity with no composite
>> indexes
>> > which would add additional overhead) is approximately 50ms to 100ms or
>> so.
>> > If we assume 50ms per delete for latency we end up with (assuming no
>> > overhead for mapreduce/shard maintenance and spawning additional tasks,
>> etc.
>> > which would add even more additional time).
>> >
>> > 30 entities * .05 seconds per entitiy = 15000 seconds
>> > 15000 seconds / 60 seconds per minute = 250 minutes or 4 hours 10
>> > minutes
>> >
>> > Additionally if a delete takes approximately 100 milliseconds then
>> 30
>> > entities would take 8 hours 20 minutes to complete.
>> > Even an unrealistic 25ms per delete is still over two hours.
>> >
>> > Now remember this is latency (real time) and not CPU time. So even if
>> > something has latency time of 50ms it could still eat up 100ms of API
>> CPU
>> > time. For example 50ms to delete the entity and 50ms to update the
>> indexes
>> > (done in parallel). So if latency time is 4 hours 10 minutes and we just
>> > double latency time to approximate API CPU time we get over 8 hours of
>> CPU
>> > time. If average delete time for your job was 75ms then latency time is
>> > approximately 6 hours and CPU time 12 hours. Your total was 11 hours
>> billed
>> > time so if my logic is sound it seems reasonable the amount you were
>> billed
>> > could be correct.
>> >
>> > Furthermore if we take another look at this from another angle we find
>> that
>> > if your delete job took 15 minutes to complete then:
>> >
>> > 30 entities / 15 minutes = 2 entities per minute
>> > 2 entities per minute / 60 seconds per minute = 333.33 entities per
>> > second
>> >
>> > So, 

Re: [google-appengine] Re: Bulk data deletion woe

2010-11-15 Thread Robert Kluin
In the Python MR libs, there is a DatastoreKeyInputReader input
reader.  It looks like that is what's used to iterate over the
entities.
http://code.google.com/p/googleappengine/source/browse/trunk/python/google/appengine/ext/datastore_admin/delete_handler.py#148



Robert








On Mon, Nov 15, 2010 at 13:27, Stephen Johnson  wrote:
> Yes I see what you're saying. Map Reduce would bring over the whole entity
> even though it isn't needed and would consume more CPU in fetching the
> entity not just the key. Seems almost like it would be nice to have an
> option of Map Reduce only handing off keys and leaving out the entity.
>
> On Sun, Nov 14, 2010 at 11:18 PM, Eli Jones  wrote:
>>
>> This is just an anecdotal aside (in other words, I have not bothered to do
>> any testing or comparison of performance).. but.. I have my own utility code
>> that I use for batch deletes.
>> Recently, I decided to wipe out all of the entities for one of my models,
>> but I was too lazy to look up the exact command I needed to use in the
>> remote console.
>> So, I just used the new Datastore Admin page to delete them.  This page
>> uses map reduce jobs to perform deletes.
>> From what I could tell, the map reduce delete job took up several times
>> more CPU time (and wall clock time) than my custom delete job usually took.
>> My usual utility class uses this method for deletes:
>> 1. Create a query for all entities in a model with keys_only = True.
>> 2. Fetch 100 keys.
>> 3. Issues a deferred task to delete those 100 key names.
>> 4. Use a  cursor to fetch 100 more, and issue deferred deletes until the
>> query returns no more entities.
>> This is usually pretty fast.. since the only bottle neck is the time it
>> takes to fetch 100 key names and add the deferred task.  The surprising fact
>> was that the default map reduce delete from the Datastore Admin page took so
>> much for CPU.
>> So, if you think you'll be doing more bulk deletes in the future, it might
>> be useful to compare the CPU usage of a map reduce delete (using keys only
>> and not full entities) to a method that deletes batches of 100 key names
>> using deferred with a query cursor.
>> Though, deleting 300,000 entities will take up a lot of CPU hours no
>> matter what method you use.
>> Like I said.. this is anecdotal and there could be no real difference in
>> performance.. but the Datastore Admin delete took up way more CPU time than
>> it seemed it should have, and I didn't bother to use it or test it again.
>>
>> On Sun, Nov 14, 2010 at 11:47 PM, Erik  wrote:
>>>
>>> Thanks for the well thought response, numbers, and reality check
>>> Stephen!  That makes a lot of sense when you consider parallel deletes
>>> and datastore CPU time.
>>>
>>> On Nov 14, 9:37 pm, Stephen Johnson  wrote:
>>> > Thank you for sharing your numbers with us. I think it's a good way for
>>> > all
>>> > of us to get an idea of how much things cost on the cloud, so here's my
>>> > thoughts.
>>> >
>>> > Even though you had one shard executing the shard should be doing batch
>>> > deletes and not one delete at a time. From the documentation batch
>>> > deletes
>>> > can do up to 500 entities in one call and would execute in parallel
>>> > (perhaps
>>> > not 500 all at once but with parallelism none the less). I would assume
>>> > the
>>> > shard would probably do about 100 or so at a time (maybe more / maybe
>>> > less).
>>> >
>>> > Anyway, a good way to prove some parallelism must be occurring would be
>>> > to
>>> > do a proof by negation. So, let's assume that in fact the shard is
>>> > doing one
>>> > delete at a time. Looking at the System Status the latency of a single
>>> > delete on an entity (probably a very simple entity with no composite
>>> > indexes
>>> > which would add additional overhead) is approximately 50ms to 100ms or
>>> > so.
>>> > If we assume 50ms per delete for latency we end up with (assuming no
>>> > overhead for mapreduce/shard maintenance and spawning additional tasks,
>>> > etc.
>>> > which would add even more additional time).
>>> >
>>> >     30 entities * .05 seconds per entitiy = 15000 seconds
>>> >     15000 seconds / 60 seconds per minute = 250 minutes or 4 hours 10
>>> > minutes
>>> >
>>> > Additionally if a delete takes approximately 100 milliseconds then
>>> > 30
>>> > entities would take 8 hours 20 minutes to complete.
>>> > Even an unrealistic 25ms per delete is still over two hours.
>>> >
>>> > Now remember this is latency (real time) and not CPU time. So even if
>>> > something has latency time of 50ms it could still eat up 100ms of API
>>> > CPU
>>> > time. For example 50ms to delete the entity and 50ms to update the
>>> > indexes
>>> > (done in parallel). So if latency time is 4 hours 10 minutes and we
>>> > just
>>> > double latency time to approximate API CPU time we get over 8 hours of
>>> > CPU
>>> > time. If average delete time for your job was 75ms then latency time is
>>> > approximately 6 hours and CPU time 12 hours. Your tot

Re: [google-appengine] Re: Bulk data deletion woe

2010-11-15 Thread Stephen Johnson
In the Java SDK I think one could subclass the DatastoreRecordReader to do a
keys only query and return null for the entity value and use this class in
lieu of the normal DatastoreRecordReader when needed. Probably similar in
Python.

On Mon, Nov 15, 2010 at 11:47 AM, Robert Kluin wrote:

> In the Python MR libs, there is a DatastoreKeyInputReader input
> reader.  It looks like that is what's used to iterate over the
> entities.
>
> http://code.google.com/p/googleappengine/source/browse/trunk/python/google/appengine/ext/datastore_admin/delete_handler.py#148
>
>
>
> Robert
>
>
>
>
>
>
>
>
> On Mon, Nov 15, 2010 at 13:27, Stephen Johnson 
> wrote:
> > Yes I see what you're saying. Map Reduce would bring over the whole
> entity
> > even though it isn't needed and would consume more CPU in fetching the
> > entity not just the key. Seems almost like it would be nice to have an
> > option of Map Reduce only handing off keys and leaving out the entity.
> >
> > On Sun, Nov 14, 2010 at 11:18 PM, Eli Jones  wrote:
> >>
> >> This is just an anecdotal aside (in other words, I have not bothered to
> do
> >> any testing or comparison of performance).. but.. I have my own utility
> code
> >> that I use for batch deletes.
> >> Recently, I decided to wipe out all of the entities for one of my
> models,
> >> but I was too lazy to look up the exact command I needed to use in the
> >> remote console.
> >> So, I just used the new Datastore Admin page to delete them.  This page
> >> uses map reduce jobs to perform deletes.
> >> From what I could tell, the map reduce delete job took up several times
> >> more CPU time (and wall clock time) than my custom delete job usually
> took.
> >> My usual utility class uses this method for deletes:
> >> 1. Create a query for all entities in a model with keys_only = True.
> >> 2. Fetch 100 keys.
> >> 3. Issues a deferred task to delete those 100 key names.
> >> 4. Use a  cursor to fetch 100 more, and issue deferred deletes until the
> >> query returns no more entities.
> >> This is usually pretty fast.. since the only bottle neck is the time it
> >> takes to fetch 100 key names and add the deferred task.
>  The surprising fact
> >> was that the default map reduce delete from the Datastore Admin page
> took so
> >> much for CPU.
> >> So, if you think you'll be doing more bulk deletes in the future, it
> might
> >> be useful to compare the CPU usage of a map reduce delete (using keys
> only
> >> and not full entities) to a method that deletes batches of 100 key names
> >> using deferred with a query cursor.
> >> Though, deleting 300,000 entities will take up a lot of CPU hours no
> >> matter what method you use.
> >> Like I said.. this is anecdotal and there could be no real difference in
> >> performance.. but the Datastore Admin delete took up way more CPU time
> than
> >> it seemed it should have, and I didn't bother to use it or test it
> again.
> >>
> >> On Sun, Nov 14, 2010 at 11:47 PM, Erik  wrote:
> >>>
> >>> Thanks for the well thought response, numbers, and reality check
> >>> Stephen!  That makes a lot of sense when you consider parallel deletes
> >>> and datastore CPU time.
> >>>
> >>> On Nov 14, 9:37 pm, Stephen Johnson  wrote:
> >>> > Thank you for sharing your numbers with us. I think it's a good way
> for
> >>> > all
> >>> > of us to get an idea of how much things cost on the cloud, so here's
> my
> >>> > thoughts.
> >>> >
> >>> > Even though you had one shard executing the shard should be doing
> batch
> >>> > deletes and not one delete at a time. From the documentation batch
> >>> > deletes
> >>> > can do up to 500 entities in one call and would execute in parallel
> >>> > (perhaps
> >>> > not 500 all at once but with parallelism none the less). I would
> assume
> >>> > the
> >>> > shard would probably do about 100 or so at a time (maybe more / maybe
> >>> > less).
> >>> >
> >>> > Anyway, a good way to prove some parallelism must be occurring would
> be
> >>> > to
> >>> > do a proof by negation. So, let's assume that in fact the shard is
> >>> > doing one
> >>> > delete at a time. Looking at the System Status the latency of a
> single
> >>> > delete on an entity (probably a very simple entity with no composite
> >>> > indexes
> >>> > which would add additional overhead) is approximately 50ms to 100ms
> or
> >>> > so.
> >>> > If we assume 50ms per delete for latency we end up with (assuming no
> >>> > overhead for mapreduce/shard maintenance and spawning additional
> tasks,
> >>> > etc.
> >>> > which would add even more additional time).
> >>> >
> >>> > 30 entities * .05 seconds per entitiy = 15000 seconds
> >>> > 15000 seconds / 60 seconds per minute = 250 minutes or 4 hours 10
> >>> > minutes
> >>> >
> >>> > Additionally if a delete takes approximately 100 milliseconds then
> >>> > 30
> >>> > entities would take 8 hours 20 minutes to complete.
> >>> > Even an unrealistic 25ms per delete is still over two hours.
> >>> >
> >>> > Now remember this is latency (r

[google-appengine] Re: I Need A Push In The Right Direction - Basic Design

2010-11-15 Thread Ben
Raney, what is it exactly youneed assistance with?  Do you just want
the "Launch" button to launch into a new page?  or are you requesting
assistance in building the associated logic for the "Application"?  To
have your button just open up a new page you could either use
javascript onClick, or make it a submit button with target of the
desired page.



On Nov 15, 5:13 am, RRRaney  wrote:
> Good Morning,
>
> Thankyou for the fast response.
> I will take a look at the example.
>
> I had just come back to put the address of the site so people could
> see what I would like, I do not always explain very well.
>
> https://rrrsystems-demo-vamv05bnm5.appspot.com
>
> Thanks again,
>
> Raney

-- 
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: Novice getting started: advice on getting to grips with App Engine

2010-11-15 Thread Ben
I assume you have checked out the getting started guide already, but
since no one linked it yet: 
http://code.google.com/appengine/docs/python/gettingstarted/
this will take you from nothing to "hello world".

On Nov 15, 1:30 am, Wim den Ouden  wrote:
> http://code.google.com/p/relat/wiki/gaetips
> gr
> wim
>
>
>
>
>
>
>
>
>
> On Sun, Nov 14, 2010 at 8:48 PM, Aaron Jerling  
> wrote:
> > Hi guys,
> > I've got an idea for a web app that I'd love to put together. I started off
> > (last week) learning PHP and SQL until someone pointed me towards app engine
> > as a better solution / platform to launch my project. I have no python
> > experience, limited html experience and despite going through the app engine
> > python tutorial seemed to have 'missed' the keys to getting started.
> > I do have programming experience (scientific languages like matlab, labview
> > etc.), and spent the last few days working through How To Learn Python The
> > Hard Way and have gotten through it alright. But I've got 20 pages left (out
> > of 160) and still have no real concept on how to get started. Are there any
> > good resources, tips or whatever that you know of to get me up to speed?
> > cheers.
>
> > --
> > 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.
>
> --
> gr
> wdo
>
> Demo free E-business:https://e-comm.appspot.com
> Wim den Ouden Google App Engine (cloud)

-- 
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: Novice getting started: advice on getting to grips with App Engine

2010-11-15 Thread aaron
Hi there,

I have gone through that tutorial, but as I mentioned i did miss the
key points, so right now I'm brushing up on python and am just
starting off with using python in conjuction with app engine.

Resources I've found helpful so far (I left out the ones that could
have been better):

For Python (my first port of call in this mission and all very good)

Learn Python the Hard Way
http://docs.python.org/tutorial/
http://diveintopython.org/ -
Python for Software design by Allen Downey

For google apps

Oreilly - Programming Google Apps Engine (just working through this
now)
As soon as I've been through this book I'll have a look at the google
apps getting started guide and docs again.



On Nov 15, 7:53 pm, Ben  wrote:
> I assume you have checked out the getting started guide already, but
> since no one linked it 
> yet:http://code.google.com/appengine/docs/python/gettingstarted/
> this will take you from nothing to "hello world".
>
> On Nov 15, 1:30 am, Wim den Ouden  wrote:
>
>
>
>
>
>
>
> >http://code.google.com/p/relat/wiki/gaetips
> > gr
> > wim
>
> > On Sun, Nov 14, 2010 at 8:48 PM, Aaron Jerling  
> > wrote:
> > > Hi guys,
> > > I've got an idea for a web app that I'd love to put together. I started 
> > > off
> > > (last week) learning PHP and SQL until someone pointed me towards app 
> > > engine
> > > as a better solution / platform to launch my project. I have no python
> > > experience, limited html experience and despite going through the app 
> > > engine
> > > python tutorial seemed to have 'missed' the keys to getting started.
> > > I do have programming experience (scientific languages like matlab, 
> > > labview
> > > etc.), and spent the last few days working through How To Learn Python The
> > > Hard Way and have gotten through it alright. But I've got 20 pages left 
> > > (out
> > > of 160) and still have no real concept on how to get started. Are there 
> > > any
> > > good resources, tips or whatever that you know of to get me up to speed?
> > > cheers.
>
> > > --
> > > 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.
>
> > --
> > gr
> > wdo
>
> > Demo free E-business:https://e-comm.appspot.com
> > Wim den Ouden Google App Engine (cloud)

-- 
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: How to make this

2010-11-15 Thread nickmilon
groups group ! I like that ;-)

On Nov 15, 6:59 pm, Robert Kluin  wrote:
> I do not think there is an official groups 
> API.http://code.google.com/p/gdata-issues/issues/detail?id=27
>
> You might ask in some other group too, maybe there is a groups-group.  ;)
>
> Robert
>
>
>
>
>
>
>
> On Mon, Nov 15, 2010 at 11:43, terry lee  wrote:
> > Thanks for your advice, but I'm in fact just interested in that if there
> > exists a way to make this by a software or some pieces of code, you know, we
> > may do this by simulate HTTP requests or things like that, so I just want to
> > find out a correct way to realize this.
>
> > 2010/11/15 Barry Hunter 
>
> >> You can paste in multiple email addresses into the box.
>
> >> On 15 November 2010 06:57, Terry  wrote:
> >> > Hi guys,
> >> > I've recently created a Google Group myself, and I was planning to
> >> > invite all of my friends to this group. But I'm really getting crazy
> >> > because I have to add their email address one by one to the panel on
> >> > the invitation page. So it came to my mind that if I could write a
> >> > program to help me automatically invite friends to the group. Say, if
> >> > I have all their email address in a text file, how can I automatically
> >> > add them to my Google Group without opening the browser?
> >> > I guess it may be similar to make some HTTP requests or things like
> >> > that, but I don't know how to write the code, will you be so kind to
> >> > provide me some advice or similar code resources?
>
> >> > --
> >> > 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.
>
> >> --
> >> 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.
>
> > --
> > 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.

-- 
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: I Need A Push In The Right Direction - Basic Design

2010-11-15 Thread RRRaney
Hello Ben,

I have a "Lauch" button that is not on the main page.

I would like to listen for the clickevent of this button and then
enter my application if it happens.

I do not think that I will have any problem with the code of the
"Launched Application" just how to get there is my problem.

If I have a "Submit" button on the HomePage, as the default AppEngine
builds as default, that is accessable with the RootPanel, there is not
ant problem.

How can I listen for a clickevent on the ApplicationPage.html (not the
main page)?

When I am on the HomePage.html, the only thing that I want to happen
is navagation within the Web-Site pages.
When I am on the ContactMePage.html, the only thing that I want to
happen is navagation within the Web-Site pages
When I am on the ApplicationPage.html I would like to listen for the
"Launched" clickevent and then enter my AppEngine code or just
navigate to the other pages code.

I hope this makes sense.

Thanks,

Raney



-- 
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] What is "latest" for in version URL

2010-11-15 Thread Ikai Lan (Google)
Good catch. Right now it exists for backwards compatibility, but you don't
actually need it to access versions as of one of the recent releases. You
can get to a version at:

http://version.appid.appspot.com

We'll have to update our docs to reflect the change.

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



On Mon, Nov 15, 2010 at 7:54 AM, efleming969  wrote:

> I've read that past versions of appengine made minor version numbers
> available via the URL (ie. major.minor.app-id.appspot.com).  This is
> no longer available and I understand why, but what's the purpose of
> having the "latest" indication in the URL now that minor versions are
> no longer available?
>
> 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-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.
>
>

-- 
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: Error code 203 on simple JSP hosted on a website GAE app

2010-11-15 Thread Kroc
My jsp are quite simple too, and I've the same issue...

11-15 02:29PM 55.213 / 500 10097ms 0cpu_ms 0kb Mozilla/5.0 (Windows;
U; Windows NT 6.1; en-US) AppleWebKit/534.12 (KHTML, like Gecko)
Chrome/9.0.576.0 Safari/534.12,gzip(gfe),gzip(gfe)
78.233.233.13 - vincent.legendre [15/Nov/2010:14:30:05 -0800] "GET /
HTTP/1.1" 500 0 - "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US)
AppleWebKit/534.12 (KHTML, like Gecko) Chrome/9.0.576.0 Safari/
534.12,gzip(gfe),gzip(gfe)" "www.fullmetalgalaxy.com" ms=10097
cpu_ms=0 api_cpu_ms=0 cpm_usd=0.000128 exit_code=203
W 11-15 02:30PM 05.298
A serious problem was encountered with the process that handled this
request, causing it to exit. 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 should contact the App Engine team. (Error
code 203)


How can we contact the App Engine team ?



On 28 sep, 02:42, kg  wrote:
> I have seen this message about 8 times in the 2 minutes and then a
> request succeeded.  What is actually happening here? Is there
> something the app can do to resolve?
> The JSP just does a simple redirect to another url.
> Are there others experiencing similar issues?
>
> 09-27 06:35PM 05.617
> A serious problem was encountered with the process that handled this
> request, causing it to exit. 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 should contact the App Engine team. (Errorcode203)
>
> 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-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: I Need A Push In The Right Direction - Basic Design

2010-11-15 Thread Robert Kluin
Hi Raney,
  Maybe I am misunderstanding, but I would say (based on the
terminology you're using) you might want to find yourself an HTML
tutorial.

  Here is some basic information on how you can make a button open a link:
http://www.javascriptkit.com/howto/buttonr2.shtml



Robert





On Mon, Nov 15, 2010 at 17:26, RRRaney  wrote:
> Hello Ben,
>
> I have a "Lauch" button that is not on the main page.
>
> I would like to listen for the clickevent of this button and then
> enter my application if it happens.
>
> I do not think that I will have any problem with the code of the
> "Launched Application" just how to get there is my problem.
>
> If I have a "Submit" button on the HomePage, as the default AppEngine
> builds as default, that is accessable with the RootPanel, there is not
> ant problem.
>
> How can I listen for a clickevent on the ApplicationPage.html (not the
> main page)?
>
> When I am on the HomePage.html, the only thing that I want to happen
> is navagation within the Web-Site pages.
> When I am on the ContactMePage.html, the only thing that I want to
> happen is navagation within the Web-Site pages
> When I am on the ApplicationPage.html I would like to listen for the
> "Launched" clickevent and then enter my AppEngine code or just
> navigate to the other pages code.
>
> I hope this makes sense.
>
> Thanks,
>
> Raney
>
>
>
> --
> 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.
>
>

-- 
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] Is percent encoding valid in URL to the images service (from get_serving_url)?

2010-11-15 Thread Chris Copeland
Hi folks, I am trying to determine if this is a Google bug or not.

I have images stored in the blobstore and use get_serving_url() to get URLs
to them.  These URLs always have a least one equals sign (=).  If the sign
is encoded as %3D, then the images service returns 404.

Example:

Works:
http://lh4.ggpht.com/n6Tg_8uEu-nS_5ugZ4L5FpFwZ4koEozGfgpo3B84hjxcGRENdX31xzW_r7lD2u7lEd99hxn7jiRULxKA4D8=s400
404:
http://lh4.ggpht.com/n6Tg_8uEu-nS_5ugZ4L5FpFwZ4koEozGfgpo3B84hjxcGRENdX31xzW_r7lD2u7lEd99hxn7jiRULxKA4D8%3Ds400

The URL is getting encoded by Facebook so I have no control over it.  It
seems like a Google bug since %3D is the correct escape for =.  Is there
anything I'm missing?

-Chris

Link to Stack Overflow question:
http://stackoverflow.com/questions/4179906/

-- 
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: I Need A Push In The Right Direction - Basic Design

2010-11-15 Thread RRRaney
Hello Robert,

I do not seem to be explaining myself very well, as usual.

I think that I have a fair understanding of HTML basics.

I have coded, complied and deployed three pages to an AppEngine
Address:

https://rrrsystems-demo-vamv05bnm5.appspot.com
https://rrrsystems-demo-vamv05bnm5.appspot.com/HomePage.html
https://rrrsystems-demo-vamv05bnm5.appspot.com/TrainingOpenings.html
https://rrrsystems-demo-vamv05bnm5.appspot.com/ContactInformation.html

All are behaving as I would like.

I would like to listen for the “Launch:” button on the
TrainigOpenings.html Page.
When this button is clicked I would like to enter my AppEngine code.

I have seen on the GreetingApplication generated by the Eclipse Goolge
Web Application how to go about this with the “Submit” button on the
home page.(this shows me all kinds of great information about my
ServerInfo and the User-Agent)

I would like to get things going with the “Launch” button on the:
https://rrrsystems-demo-vamv05bnm5.appspot.com/TrainingOpenings.html

I do not want the “Launch” button to redirect to another AppEngine
Address as I will need to access some of the data in other
Applications (RegisteredUser data, HostAgency data, SCSEPStaff data,
SCSEPParticipant data)……

After I get this down I will probably add things for the Hosts( allow
them to do things like change the phone, address).

Hope this helps,
Thanks,

Raney

-- 
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] Jin Tie wants to chat

2010-11-15 Thread Tom Wu
Could Gtalk provide the html button to trigger it ?

Best Regards
Tom


2010/11/15 Jin Tie 

> I've been using Google Talk and thought you might like to try it out.
> We can use it to call each other for free over the internet. Here's an
> invitation to download Google Talk. Give it a try!
>
> ---
>
> Jin Tie 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-1c8bee9573-d051767bb9--iMS-YszaZ15DE9054mXCDuhZfQ
> You'll need to click this link to be able to chat with Jin Tie.
>
> To get Gmail - a free email account from Google with over 2,800 megabytes
> of
> storage - and chat with Jin Tie, visit:
>
> http://mail.google.com/mail/a-1c8bee9573-d051767bb9--iMS-YszaZ15DE9054mXCDuhZfQ
>
> 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-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.
>
>

-- 
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: I Need A Push In The Right Direction - Basic Design

2010-11-15 Thread RRRaney
Hello Robert,

I think that I have the basics of HTML down ( you can view the
source).

I have a harder time explaining what it is that I am trying to do.

I have defined and coded the three HTML pages and deployed them to:
http://rrrsystems-demo-vamv05bnm5.appspot.com

The Site and the HTML pages work just fine.
I can navigate and all is well.

When I am on the page,
http://rrrsystems-demo-vamv05bnm5.appspot.com/TrainingOpenings.html
I would like to listen for the click event of the "Launch" button on
this page and then enter my AppEngine code.
Actually go to the "TrainingOpenings: Application. (Not a seperate
Site, I will need data from here in the other Applications)

If I look at the GreetingApplication that is created by the AppEngine
Web Application, I get there by the "Submit" button on the home page.

I would like to get there with the "Launch" button on:
http://rrrsystems-demo-vamv05bnm5.appspot.com/TrainingOpenings.html

This is not the home page.
I cannot seem to get the onLoadModule to listen for other HTML page
events, I think that it is something simple, just cant see it.

Does this explain what I would like to do any better?

Thanks,
Raney


-- 
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] Is percent encoding valid in URL to the images service (from get_serving_url)?

2010-11-15 Thread 风笑雪
Maybe you can try to replace as:
http://lh4.ggpht.com/n6Tg_8uEu-nS_5ugZ4L5FpFwZ4koEozGfgpo3B84hjxcGRENdX31xzW_r7lD2u7lEd99hxn7jiRULxKA4D8?s=400

-- 
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: I Need A Push In The Right Direction - Basic Design

2010-11-15 Thread Robert Kluin
Hi Raney,
  I may be showing my own ignorance here, but I don't think I've ever
heard of "onLoadModule"?   You might want to mention if you are using
Python or Java, and if you are using anything like GWT, Flash / Flex,
Silverlight, or a Java applet.

  The typically way to 'enter' your application code is to have a URL
for it.  So you might map the URL
"http://rrrsystems-demo-vamv05bnm5.appspot.com/trainingapp/"; to your
Python application or servlet.  Your users will not be leaving your
site, just going to another area of your application.  When your users
click the Launch button it will take them to your training
application.



Robert







On Mon, Nov 15, 2010 at 19:21, RRRaney  wrote:
> Hello Robert,
>
> I think that I have the basics of HTML down ( you can view the
> source).
>
> I have a harder time explaining what it is that I am trying to do.
>
> I have defined and coded the three HTML pages and deployed them to:
> http://rrrsystems-demo-vamv05bnm5.appspot.com
>
> The Site and the HTML pages work just fine.
> I can navigate and all is well.
>
> When I am on the page,
> http://rrrsystems-demo-vamv05bnm5.appspot.com/TrainingOpenings.html
> I would like to listen for the click event of the "Launch" button on
> this page and then enter my AppEngine code.
> Actually go to the "TrainingOpenings: Application. (Not a seperate
> Site, I will need data from here in the other Applications)
>
> If I look at the GreetingApplication that is created by the AppEngine
> Web Application, I get there by the "Submit" button on the home page.
>
> I would like to get there with the "Launch" button on:
> http://rrrsystems-demo-vamv05bnm5.appspot.com/TrainingOpenings.html
>
> This is not the home page.
> I cannot seem to get the onLoadModule to listen for other HTML page
> events, I think that it is something simple, just cant see it.
>
> Does this explain what I would like to do any better?
>
> Thanks,
> Raney
>
>
> --
> 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.
>
>

-- 
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: Too many "Warning: Request was aborted after waiting too long..." under not so high load

2010-11-15 Thread Will
Thanks for the responses.

Transferring the failed uploads to task queue sounds very attractive for my
case (a win32 client app uploading data). I'll take a closer look.

Bests,

Will

-- 
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] How import datas to BigTable from my local mysql ?

2010-11-15 Thread YF CAO
hi all,
How import datas to BigTable from my local mysql ?

-- 
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] How import datas to BigTable from my local mysql ?

2010-11-15 Thread YF CAO
hi all.
How import datas to BigTable from my local mysql ?

-- 
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] How import datas to BigTable from my local mysql ?

2010-11-15 Thread Robert Kluin
You've got a few good options.  Check out:
http://code.google.com/appengine/docs/python/tools/uploadingdata.html


Although, I generally find it easier to write my own 'services' for
importing data.



Robert






On Mon, Nov 15, 2010 at 22:31, YF CAO  wrote:
> hi all,
> How import datas to BigTable from my local mysql ?
>
> --
> 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.
>

-- 
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 on https://appengine.google.com

2010-11-15 Thread Kris
I also got a 500 error when using CaptionTube.

-- 
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: deploy failures

2010-11-15 Thread George Moschovitis
I am getting a similar error, very frustrating...

-g.

On Nov 9, 2:47 pm, Erik  wrote:
> I have also been getting constant deployment errors with Java
> deployment for the past couple days, seems like something is funny on
> the google side, don't think my connection is flaky:
>
> Nov 9, 2010 7:18:59 AM
> com.google.apphosting.utils.config.AbstractConfigXmlReader
> getTopLevelNode
> SEVERE: Received IOException parsing the input stream for /home/erik/
> workspace/wikihop/war/WEB-INF/web.xml
> java.net.ConnectException: Connection timed out
>         at java.net.PlainSocketImpl.socketConnect(Native Method)
>  ...
> SEVERE: Received exception processing /home/erik/workspace/wikihop/war/
> WEB-INF/web.xml
> com.google.apphosting.utils.config.AppEngineConfigException: Received
> IOException parsing the input stream for /home/erik/workspace/wikihop/
> war/WEB-INF/web.xml
>         at
> com.google.apphosting.utils.config.AbstractConfigXmlReader.getTopLevelNode( 
> AbstractConfigXmlReader.java:
> 210)
>  ...
> Bad configuration: Received IOException parsing the input stream for /
> home/erik/workspace/wikihop/war/WEB-INF/web.xml
>   Caused by: Connection timed out

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