[appengine-java] Re: Set password for appcfg.sh update

2011-03-23 Thread Ian Marshall
Ben,

Have you tried the option(s) (--email and) --passin?

Ian


On Mar 22, 7:08 pm, Benjamin Muschko benjamin.musc...@gmail.com
wrote:
 Hi,

 Is there way to use a pre-defined password (e.g. set as a parameter or
 from some file) for the update task (http://code.google.com/appengine/
 docs/java/tools/uploadinganapp.html)? Unfortunately, I couldn't find
 an appropriate parameter. I'd like to upload my app to App Engine as
 part of an automated Continuous Integration process without having to
 enter the password on the command-line.

 Thanks,

 Ben

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



Re: [appengine-java] Re: Task Enqueue in a Transaction

2011-03-23 Thread Tom Gibara
That's not how I understood the documentation, and it isn't my
experience either.

http://code.google.com/appengine/docs/java/datastore/transactions.html

This page explicitly states that it's the enqueing of the task which
is subject to the transaction. It says nothing about its execution.
When the task runs, it's free to do what ever work it wants to,
including opening one or more transactions.

I use the same pattern as the OP (except with a transaction around the
get by key), and on the development server at least, it always sees
the latest state of the datastore (post its enqueing transaction).
Unfortunately the code hasn't transitioned to Google's servers for
testing yet.

Tom.

On 23 March 2011 05:26, Didier Durand durand.did...@gmail.com wrote:
 Hi,

 For me, the answer is here:
 http://code.google.com/appengine/docs/java/datastore/transactions.html#Isolation_and_Consistency

 They say: Queries and gets inside a transaction are guaranteed to see
 a single, consistent snapshot of the datastore as of the beginning of
 the transaction. In particular, entities and index rows in the
 transaction's entity group are fully updated so that queries return
 the complete, correct set of result entities, without the false
 positives or false negatives described in Transaction Isolation that
 can occur in queries outside of transactions.

 The task is part of the initial transaction so it sees the ds as of
 the beginning of the transaction

 regards

 didier

 On Mar 22, 9:12 pm, Tom Gibara tomgib...@gmail.com wrote:
 Thanks for the link, somehow I'd managed to miss that page of
 documentation entirely*; it's good to know, though it indicates other
 problems for the OP.

 I'm not clear on why eventually consistent gets aren't an option, ie.
 why all gets are indicated as being strongly consistent. Is this a
 direct consequence of replication algorithm used? There are various
 places in the code I'm currently developing where dirty gets are
 adequate and I'd be happy to see them faster.

 * As an aside, I do find the documentation on the datastore feels very
 scattered. I'd much prefer sections on the underlying app engine
 mechanics with less language specific guidance.

 Tom.

 On 22 March 2011 17:59, Jay Young jayyoung9...@gmail.com wrote:

  According to the docs, gets, puts, deletes, and ancestor queries are all
  strongly consistent:
 http://code.google.com/appengine/docs/java/datastore/hr/



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



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



[appengine-java] Re: Task Enqueue in a Transaction

2011-03-23 Thread Simon Knott
The enqueuing of the task is all that is encompassed by the transaction.

I'm sure I read a post by Ikai the other day which stated that Gets were 
wrapped 

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



[appengine-java] Re: Task Enqueue in a Transaction

2011-03-23 Thread Simon Knott
The enqueuing of the task is all that is encompassed by the transaction.

I'm sure I read a post by Ikai the other day which stated that a Get is wrapped 
in a transaction in the background - I'll try wrapping it manually to see if 
that solves the problem.

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



[appengine-java] Re: Set password for appcfg.sh update

2011-03-23 Thread Benjamin Muschko
Hi Ian,

Yeah, --email only lets you define your username. --passin is used to
make sure that it should _not_ store the password and ask you for the
password every time. I'd need something like --password. ;-)

Thanks,

Ben

On Mar 23, 3:24 am, Ian Marshall ianmarshall...@gmail.com wrote:
 Ben,

 Have you tried the option(s) (--email and) --passin?

 Ian

 On Mar 22, 7:08 pm, Benjamin Muschko benjamin.musc...@gmail.com
 wrote:







  Hi,

  Is there way to use a pre-defined password (e.g. set as a parameter or
  from some file) for the update task (http://code.google.com/appengine/
  docs/java/tools/uploadinganapp.html)? Unfortunately, I couldn't find
  an appropriate parameter. I'd like to upload my app to App Engine as
  part of an automated Continuous Integration process without having to
  enter the password on the command-line.

  Thanks,

  Ben

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



[appengine-java] Re: Set password for appcfg.sh update

2011-03-23 Thread Ian Marshall
Sorry about that, since I assumed that passin did the same thing
that the (non-existent?) --password should do! Silly me.

Good luck in your search, and hopefully a Googler can answer your
question.


On Mar 23, 11:24 am, Benjamin Muschko benjamin.musc...@gmail.com
wrote:
 Hi Ian,

 Yeah, --email only lets you define your username. --passin is used to
 make sure that it should _not_ store the password and ask you for the
 password every time. I'd need something like --password. ;-)

 Thanks,

 Ben

 On Mar 23, 3:24 am, Ian Marshall ianmarshall...@gmail.com wrote:

  Ben,

  Have you tried the option(s) (--email and) --passin?

  Ian

  On Mar 22, 7:08 pm, Benjamin Muschko benjamin.musc...@gmail.com
  wrote:

   Hi,

   Is there way to use a pre-defined password (e.g. set as a parameter or
   from some file) for the update task (http://code.google.com/appengine/
   docs/java/tools/uploadinganapp.html)? Unfortunately, I couldn't find
   an appropriate parameter. I'd like to upload my app to App Engine as
   part of an automated Continuous Integration process without having to
   enter the password on the command-line.

   Thanks,

   Ben



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



[appengine-java] Re: Weird performance problem last 3 days or so

2011-03-23 Thread mdt

No, I haven't. Interesting idea. I have convinced myself, however,
that it is a data store problem. We use the data store currently just
to store subscription email addresses, which we use outside the app.
Every time someone subscribes, performance tanks, I note the address
and clear out the data store, and performance goes back to normal.
OTOH, this morning I can't clear out the data store because of:

Oops! We couldn't retrieve your list of Kinds. Please try again
later.

Obviously, we don't need to be using the data store for this (we had
plans to use it more), so my next project is to stop using it
altogether.

Sigh! Thanks for the suggestion, though.

On Mar 15, 2:59 pm, WillSpecht willspe...@gmail.com wrote:
 Has anyone tried deploying a different app to the slow appid then
 redploying the old app?


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



[appengine-java] Re: Weird performance problem last 3 days or so

2011-03-23 Thread mdt
To clarify: yes, I do realize the message means my data store is
empty: so I need a new theory of why it took 80 seconds to get a home
page this morning.

On Mar 23, 8:01 am, mdt mixed.doubles.t...@gmail.com wrote:
 No, I haven't. Interesting idea. I have convinced myself, however,
 that it is a data store problem. We use the data store currently just
 to store subscription email addresses, which we use outside the app.
 Every time someone subscribes, performance tanks, I note the address
 and clear out the data store, and performance goes back to normal.
 OTOH, this morning I can't clear out the data store because of:

 Oops! We couldn't retrieve your list of Kinds. Please try again
 later.

 Obviously, we don't need to be using the data store for this (we had
 plans to use it more), so my next project is to stop using it
 altogether.

 Sigh! Thanks for the suggestion, though.

 On Mar 15, 2:59 pm, WillSpecht willspe...@gmail.com wrote:







  Has anyone tried deploying a different app to the slow appid then
  redploying the old app?

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



[appengine-java] 100 index limitation - Can it be increased for billable apps

2011-03-23 Thread oth
We had to build a pseudo reporting system for a client where the
client can choose a bunch of filters in different combinations (e.g.
get all records for region=x and degree=y). This functionality has
created a bunch of indexes and we are now at 89 indexes for our
complete application.

After going through the groups there seems to be a 100 index
limitation per app. Can this be increased for billing apps? What are
some alternatives. If anyone from Google can shed light on this that
would be greatly appreciated.

Thanks

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



[appengine-java] Re: 100 index limitation - Can it be increased for billable apps

2011-03-23 Thread oth
After further research it seems that the quota has been increased to
200 per

http://code.google.com/appengine/docs/quotas.html#Datastore

Thanks

On Mar 23, 10:17 am, oth other...@gmail.com wrote:
 We had to build a pseudo reporting system for a client where the
 client can choose a bunch of filters in different combinations (e.g.
 get all records for region=x and degree=y). This functionality has
 created a bunch of indexes and we are now at 89 indexes for our
 complete application.

 After going through the groups there seems to be a 100 index
 limitation per app. Can this be increased for billing apps? What are
 some alternatives. If anyone from Google can shed light on this that
 would be greatly appreciated.

 Thanks

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



[appengine-java] using groovy scripts to change behaviour at runtime

2011-03-23 Thread fachhoch
I have a simple java war file.My application  uses spring and groovy,
spring  loads groovy beans using   spring  lang


lang:groovy id=myGroovybean script-source=. /

using groovy I can change the behaviour at runtime just by changing
the script.When deployed to a tomcat I place the groovy script files
somewhere in server so that I can change them withoutredeploying
or restarting server and groovy picks up the modified script .

I want to have a similar behaviour when deployed to gae , as I
understand there is no other directory on gae which I can use to store
my scripts , if I am wrong is there any directory I can use ?





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



[appengine-java] Re: Task Enqueue in a Transaction

2011-03-23 Thread David Gay
Tom Gibara tomgib...@gmail.com Mar 22 08:12PM wrote:
 Thanks for the link, somehow I'd managed to miss that page of
 documentation entirely*; it's good to know, though it indicates other
 problems for the OP.

 I'm not clear on why eventually consistent gets aren't an option, ie.
 why all gets are indicated as being strongly consistent.

You can get eventually-consistent gets with the HR datastore if you
create a DatastoreServiceConfig with

  myPolicy = 
DatastoreServiceConfig.withReadPolicy(ReadPolicy.Consistency.EVENTUAL)

and use that policy when creating your datastore service (i.e., the
same way you get eventually consistent gets with the master-slave
datastore).

--
David Gay - AppEngine
d...@google.com

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



[appengine-java] Does anyone use cloudcover for running junit tests on appengine?

2011-03-23 Thread Brendan Doherty
At Google I/O last year, Max Ross gave an interesting talk on a unit test 
harness that let you run existing test suites in production on Google App 
Engine call cloudcover.

 http://code.google.com/p/cloudcover/

Does anyone use it?  I'd be interested to hear of how well it worked, or any 
problems that people ran into.

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



[appengine-java] is it possible that repeated task executions happen in parallel ?

2011-03-23 Thread Prashant
hi,

appengine docs says -

**When implementing the code for tasks (as worker URLs within your app), it
is important to consider whether the task is
idempotenthttp://en.wikipedia.org/wiki/idempotent.
App Engine's Task Queue API is designed to only invoke a given task once,
however *it is possible in exceptional circumstances that a task may execute
multiple times* (e.g. in the unlikely case of major system failure). Thus,
your code must ensure that there are no harmful side-effects of repeated
execution.**


my doubt is -

in exceptional circumstances, is it possible that repeated task executions
happen in parallel (i.e. multiple invocations of same task on same or
different systems at the same time) ?

--
Prashant

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



[appengine-java] Re: is it possible that repeated task executions happen in parallel ?

2011-03-23 Thread Prashant
anyone from google ?

On 23 March 2011 15:45, Prashant antsh...@gmail.com wrote:

 hi,

 appengine docs says -

 **When implementing the code for tasks (as worker URLs within your app),
 it is important to consider whether the task is 
 idempotenthttp://en.wikipedia.org/wiki/idempotent.
 App Engine's Task Queue API is designed to only invoke a given task once,
 however *it is possible in exceptional circumstances that a task may
 execute multiple times* (e.g. in the unlikely case of major system
 failure). Thus, your code must ensure that there are no harmful side-effects
 of repeated execution.**


 my doubt is -

 in exceptional circumstances, is it possible that repeated task executions
 happen in parallel (i.e. multiple invocations of same task on same or
 different systems at the same time) ?

 --
 Prashant


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



Re: [appengine-java] Re: is it possible that repeated task executions happen in parallel ?

2011-03-23 Thread JT
I am not from google, but yes.
On Mar 23, 2011 3:07 PM, Prashant antsh...@gmail.com wrote:
 anyone from google ?

 On 23 March 2011 15:45, Prashant antsh...@gmail.com wrote:

 hi,

 appengine docs says -

 **When implementing the code for tasks (as worker URLs within your app),
 it is important to consider whether the task is idempotent
http://en.wikipedia.org/wiki/idempotent.
 App Engine's Task Queue API is designed to only invoke a given task once,
 however *it is possible in exceptional circumstances that a task may
 execute multiple times* (e.g. in the unlikely case of major system
 failure). Thus, your code must ensure that there are no harmful
side-effects
 of repeated execution.**


 my doubt is -

 in exceptional circumstances, is it possible that repeated task
executions
 happen in parallel (i.e. multiple invocations of same task on same or
 different systems at the same time) ?

 --
 Prashant


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


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



Re: [appengine-java] (Development Server + Bulkloader) == Resource Hog ?

2011-03-23 Thread Ikai Lan (Google)
The development server datastore stub is an in memory Map that is persisted
to disk. Performance in the local server is not generally indicative of
performance in the live system. I'd suggest using a smaller number of
entities or doing this type of testing against a live application running on
appspot.com.

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



On Sat, Mar 19, 2011 at 2:10 AM, Bernhard P. bernhard.pxx...@gmail.comwrote:

 I have made many attempts to import a large set ot entities
 (1.000.000) from a .csv file (14 MB) into the local datastore of the
 development server.

 All entities are of one very simple kind which has just one string
 property. The values are rather small too:

 key name values: 1 - 100, e.g. 1000
 property values: strings with exactly 6 characters, e.g. qttrqg

 After the bulkloader has worked for some time info(/error) messages
 appear on the command line:
 [INFO] [Thread-9] Backing off due to errors: 1.0 seconds

 There are no further messages in the bulkloader log explaining those
 errors nor does the development server output any error message.

 While searching for a clue I realized that the JVM of the development
 server was using over 512 MB of memory with memory consumption
 increasing rapidly while the bulkloader is running. After increasing
 the limit (VM argument -Xmx) to 1024 MB and after that to 2 GB the
 same errors still appear albeit later.

 In my last attempt the errors started when the JVM was using about 1,4
 GB of memory.
 Some bulkloader numbers after stopping the server:
 [INFO] 406400 entities (37193549 bytes) transferred in 1291.9
 seconds
 The local datastore file (local_db.bin) has a size of 117 MB.

 Can somebody confirm this behaviour? Is the development server not
 able to handle such amounts of data?

 Google App Engine Java SDK 1.4.2.v201102111811, running the server
 inside Eclipse.

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



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



[appengine-java] Disable Eclipse DataNucleus Enhancer from maven-eclipse-plugin?

2011-03-23 Thread Philippe Beaudoin
Hi!

My project uses Objectify and therefore does not need the DataNucleus 
Enhancer to run. Running it is long and causes some nasty error popups in 
Eclipse. I usually disable it via:
  Right click on project  Properties  Builders
Where I uncheck Enhancer.

However, my project uses Maven and the eclipse project files is not part of 
my development artifacts. I'd therefore like to configure the 
maven-eclipse-plugin to automatically disable this builder. Unfortunately, 
all my experiments have failed. Any idea if this is possible?

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



Re: [appengine-java] Java URL issue

2011-03-23 Thread Ikai Lan (Google)
Is this a Google Web Toolkit question? It's not clear from your email - Web
Application Project can refer to a GWT project, an App Engine project, or a
combination of both.

If this is a GWT project, you'll want to ask your question here:

https://groups.google.com/group/Google-Web-Toolkit?pli=1

More likely than not, the error you're seeing is because you are trying to
use java.net. GWT compiles to Javascript which, other than same-domain-XHR
calls, cannot make network calls. If you were looking to do this, you would
have to make a RemoteService call to your server side code which will then
invoke java.net.

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



On Mon, Mar 21, 2011 at 6:13 PM, John Mathew johnmathew1...@gmail.comwrote:

 I'm using Google Application Project and what I want to do is create a text
 box and button. whatever the user enters in the box, it would reference a
 website for information like wiki or bing or yahoo or whatever. I managed to
 create the panel via google widgets so I can enter whatever and it'd print
 via system.out.println. On a Java project I can obtain html page source via
 java url as shown below:
 URL urlsearch = new URL(http://www.bing.com/search?q=lion;);
  BufferedReader buffreader = new BufferedReader(new
 InputStreamReader(urlsearch.openStream()));
  String HTMLdisplay;
  while ((HTMLdisplay = buffreader.readLine()) != null) {
 System.out.println(HTMLdisplay);
  }
  buffreader.close();

 What I can't do is have them together. It compiles fine so no errors show
 on Eclipse Console but when I run via Development tab I get a variety of
 errors saying The import java.net cannot be resolved and URL cannot be
 resolved to a type.

 I know there are google functions along with API keys such as
 google.search.SearchControl leading to google.search.WebSearch(). There is
 also Custom Search engine provided by google (http://www.google.com/cse).
 I've found things from code.google that I can query their search engine and
 return results but nothing to allow me to grab the page source like Java URL
 and php get_file_contents.


 Does anyone know why I am not able to use Java URL on my Google Web
 Application project but it runs fine on a normal Java Project?

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


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



Re: [appengine-java] raise limits for applications

2011-03-23 Thread Ikai Lan (Google)
You should explore:

- Blobstore:
http://code.google.com/appengine/docs/java/blobstore/overview.html
- Google storage: http://code.google.com/apis/storage/

There are other options for application distribution.

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



On Tue, Mar 22, 2011 at 7:17 AM, Perun Katana gabec@yahoo.com wrote:

 Hi all,

 I was thinking if there could be a way to raise the limits for
 applications. My contecern is, that I have a JNLP application with a nice
 bunch of libraries included (e.g. jasper reports, etc), which takes the
 application nicely over 10 MB. The application is built as a Netbeans RPC
 application, so there is a jnlp-servlet for downloading all necessary files.
 Unfortunatelly, such applications are rarely under 10 MB.

 The jnlp-servlet itself does not consume much memory (as far I know), so
 this is not a problem, To download all libraries may take a little
 processing time, traffic and request time (well, even for slow trafic I hope
 each library is downloaded in 30s), but that's why there is billing quota
 for I am willing to pay. I'd see the google apps as a nice platform to
 deploy web start applications too, but for bigger application there would be
 nice to raise request handler quotas too, even if it would be a payed
 service. I don't think a need a separate VPS instance running 24x7 just to
 download a jnlp application.

 The question is, if there is another solution or I'll have to work on
 getting the static libraries deployed somewhere else (not a bad ide too).

 Regards
  Perun

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


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



[appengine-java] About jsp error

2011-03-23 Thread sree kanth
Hi,

  Recently i have started doing google app engine application.I am 
following the steps to develop my first application.I am successful in 
creating the project and execute it with out a jsp file .

When i tried to include a jsp file in WAR folder it is showing an error , 
but no syntax errors in the file.Just it is showing an cross mark on the 
file.

i have deleted the index.html page and added the following code in the 
web.xml page ,still i am getting the same error

welcome-file-list
welcome-fileguestbook.jsp/welcome-file
  /welcome-file-list

Thanks,
sreekanth

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



[google-appengine] upload fail

2011-03-23 Thread dhaval
i have not being able to upload to app engine for quite sometime now. I have 
tried command line as well as app launcher.

I only get this 

title500 Server Error/title
/head
body text=#00 bgcolor=#ff
h1Error: Server Error/h1
h2The server encountered an error and could not complete your 
request.pIf the problem persists, please A 
HREF=http://code.google.com/appengine/community.html;report/A your 
problem and mention this error message and the query that caused it./h2
h2/h2
/body/html
--- end server output ---
2011-03-23 11:36:45 (Process exited with code 1)

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



[google-appengine] my app was disabled

2011-03-23 Thread @@
I have a blog app running on appengine, and i didn't update the app or
content for a long time.
Today i just find that this app was disabled, how can i find out why
my app was disabled and how to enable it?

Thanks.

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



[google-appengine] Re: upload fail

2011-03-23 Thread Jay Herrick
I'm seeing the same thing...  I also can't log into the dashboard.  Is there 
currently an outage.  I've been seeing this for the last 30 minutes or so.

-Jay

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



[google-appengine] Error: Server Error

2011-03-23 Thread Jay Herrick
I'm getting this when I log into appengine.google.com or if I try to use the 
appcfg.sh tool:

Error: Server ErrorThe server encountered an error and could not complete 
your request.

If the problem persists, please 
reporthttp://code.google.com/appengine/community.htmlyour problem and mention 
this error message and the query that caused it.

My app is still running, I just can't administer it.

-Jay



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



[google-appengine] Re: Error: Server Error

2011-03-23 Thread Jay Herrick
A few minutes later it all came back.

-Jay

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



Re: [google-appengine] Serving talkgadet.google.com through your own app

2011-03-23 Thread Fredrik Westmark
Ok, I see. My devious plan is to circumvent all the webfilters out there
which are already blocking talkgadget.google.com due to Google Talk. I have
several friends stuck behind such filters and they want to be able to use
all the features on my site. So I was hoping that my domain could act as a
proxy in front of talkgadget.google.com so the filter does not block it.

BR // Fredrik


On Wed, Mar 23, 2011 at 5:48 AM, Nick Johnson (Google) 
nick.john...@google.com wrote:

 Hi Fredrik,

 This isn't possible - the Channel API provides a service that isn't
 available otherwise through App Engine - if you could serve it yourself,
 there'd be no need for the Channel API.

 What are you trying to accomplish?

 -Nick Johnson

 On Wed, Mar 23, 2011 at 4:32 AM, Westmark fredrik.westm...@gmail.comwrote:

 Hi!

 I was just wondering how much of problem it would be to add the
 possibility to serve the channel API through your own app instead of
 via talkgadget.google.com. Kind of like how you serve the Remote API
 by adding the handler to your app.yaml without actually writing any
 code for it.

 BR / Fredrik

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




 --
 Nick Johnson, Developer Programs Engineer, App Engine




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



[google-appengine] Re: Error: Server Error

2011-03-23 Thread Christopher Hilla
I'm getting the same thing. Deploys were giving me trouble and now the
app is up and down. Seems intermittent.

Keep an eye on http://code.google.com/status/appengine
--Chris

On Mar 23, 2:27 am, Jay Herrick jay.herr...@branditty.com wrote:
 I'm getting this when I log into appengine.google.com or if I try to use the
 appcfg.sh tool:

 Error: Server ErrorThe server encountered an error and could not complete
 your request.

 If the problem persists, please 
 reporthttp://code.google.com/appengine/community.htmlyour problem and 
 mention this error message and the query that caused it.

 My app is still running, I just can't administer it.

 -Jay

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



[google-appengine] connection timed out error while deploying application to google app engine

2011-03-23 Thread sathish
i tried in ecplise and command prompt.but it is not working and giving 
following error.

i tried this 
url(https://appengine.google.com/api/updatecheck?runtime=javarelease=1.4.2timestamp=1297891083api_versions=['1.0'])
 
in browser and its working and giving following output(release: 1.4.2 
timestamp: 1296665324 api_versions: ['1.0'] )..Please help to resolve this 
error.


Mar 23, 2011 3:50:48 PM com.google.appengine.tools.info.RemoteVersionFactory 
getVersion
INFO: Unable to access 
https://appengine.google.com/api/updatecheck?runtime=javarelease=1.4.2timestamp=1297891083api_versions=['1.0']
java.net.ConnectException: Connection timed out: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(Unknown Source)
at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.init(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
at 
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown
 
Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at 
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown 
Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown 
Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown 
Source)
at java.net.URL.openStream(Unknown Source)
at 
com.google.appengine.tools.info.RemoteVersionFactory.getVersion(RemoteVersionFactory.java:76)
at 
com.google.appengine.tools.info.UpdateCheck.checkForUpdates(UpdateCheck.java:99)
at 
com.google.appengine.tools.info.UpdateCheck.doNagScreen(UpdateCheck.java:174)
at 
com.google.appengine.tools.info.UpdateCheck.maybePrintNagScreen(UpdateCheck.java:142)
at 
com.google.appengine.tools.development.DevAppServerMain$StartAction.apply(DevAppServerMain.java:150)
at 
com.google.appengine.tools.util.Parser$ParseResult.applyArgs(Parser.java:48)
at 
com.google.appengine.tools.development.DevAppServerMain.init(DevAppServerMain.java:113)
at 
com.google.appengine.tools.development.DevAppServerMain.main(DevAppServerMain.java:89)
Mar 23, 2011 3:50:49 PM com.google.apphosting.utils.jetty.JettyLogger info
INFO: Logging to JettyLogger(null) via 
com.google.apphosting.utils.jetty.JettyLogger
Mar 23, 2011 3:50:50 PM 
com.google.apphosting.utils.config.AppEngineWebXmlReader readAppEngineWebXml
INFO: Successfully processed 
D:\eclipse\workspace\TestEngine\war\WEB-INF/appengine-web.xml
Mar 23, 2011 3:50:50 PM 
com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml
INFO: Successfully processed 
D:\eclipse\workspace\TestEngine\war\WEB-INF/web.xml
Mar 23, 2011 3:50:53 PM 
com.google.appengine.tools.development.DevAppServerImpl start
INFO: The server is running at http://localhost:/

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



[google-appengine] Re: GQL performance slow

2011-03-23 Thread adhi
Hi Ikai
see the a href=http://i52.tinypic.com/28hndxk.jpg;
target=_blankapp stats/a

@905ms datastore_v3.RunQuery real=1090ms api=8225ms
@2504ms datastore_v3.Next real=339ms api=4711ms

my q.fetch(2000) method takes ~3.5 seconds

On Mar 23, 12:42 am, Ikai Lan (Google) ika...@google.com wrote:
 I think you should run AppStats and see what's going on. 2000 entities is
 never going to be particularly fast, but 3 seconds might be a bit on the
 high side. Run the tool to be sure.

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







 On Tue, Mar 22, 2011 at 7:25 AM, adhi adhinaraya...@gmail.com wrote:
  Hi Ikai, is there a measure to say the entities are large? is it about
  the number of
  columns or blob or text? if so in my entities I have string and number
  properties only.

  Yes. I need all the 2000 (some times bit more) entities at once for
  reporting.
  Currently I'm not seeing a way where I can split the keys and fetch.

  On Mar 21, 11:54 pm, Ikai Lan (Google) ika...@google.com wrote:
   If that's the performance, then I'm inclined to say the entities are
  large
   and that's about the performance you can expect. One more thing to keep
  in
   mind: the cost of deserializing each entity is non-trivial.

   Is there a reason you need all 2000 entities? Perhaps there is a
  different
   way to accomplish what you want without querying a (relatively) large
  number
   of entities at once.

   One other possible solution that will at least make your user facing code
   run faster is to split the query up by key, perform multiple async
  queries
   and join them at the end. It'll still consume the same (or more) CPU
  time,
   but the user ms should be lower since you are doing things in parallel.
  The
   tradeoff here, of course, is that you'd need to know how you can split up
   the keyspace.

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

   On Mon, Mar 21, 2011 at 12:17 AM, adhi adhinaraya...@gmail.com wrote:
q = db.Query(PrimaryData)
q.filter('SheetMetadataId', metadata.getSheetId())
return q.fetch(2000)

Hi Ikai, even the above query takes 3.3 ~ 3.6 seconds. The number of
entities returned by the query is 1261.
I'm using Expando model, the total number columns for this particular
set of entities are 25.
Yes. I've created composite index. Here is the index definition.

- kind: PrimaryData
 properties:
 - name: SheetMetadataId
 - name: InstanceAssignedTo

please let me know if you need more information.

On Mar 17, 11:50 pm, Ikai Lan (Google) ika...@google.com wrote:
 If you have a composite index, the performance of this query should
  be
 mostly linear (find start location of index and just return min(2000,
number
 of entities that satisfy query from there on out) number of keys and
items.
 If you only have individual indexes for SheetMetadataId as well as
 InstanceAssignedTo, this uses zigzag merge join, where performance
  can
 greatly vary depending on the shape of the data.

 Just out of curiosity, what is the performance of this query?

 q = db.Query(PrimaryData)
 q.filter('SheetMetadataId', metadata.getSheetId())
 return q.fetch(2000)

 If it's in a similar ballpark, my other guess is that the query takes
that
 amount of time because the entities are large.

 You mentioned created a composite index. Can you post that?

 I'll talk to the datastore team to see what we can do to provide
something
 similar to EXPLAIN plans for queries.

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

 On Thu, Mar 17, 2011 at 10:07 AM, adhi adhinaraya...@gmail.com
  wrote:
  Hi Robert,
  I've not used reference properties. Its a simple query and it'll be
  like this.

  q = db.Query(PrimaryData)
  q.filter('SheetMetadataId', metadata.getSheetId())
  q.filter('InstanceAssignedTo IN',
  [u'User_c42e8919_448e_11e0_b87b_f58d20c6e2c3',
  u'User_1fd87ac5_073d_11e0_8ba1_c122a5867c4a'])
  return q.fetch(2000)

  and I replaced the IN filter to '=' with single value. Still its
  taking same time.

  On Mar 17, 6:27 am, Robert Kluin robert.kl...@gmail.com wrote:
   Use Appstats. It may not be the query that is slow.  If you are
  using
   reference properties, perhaps you are dereferencing them.  If you
   should us the query and how you're using the results we might be
  abel
   to give more suggestions.

  http://code.google.com/appengine/docs/python/tools/appstats.html

   Robert

   

[google-appengine] Re: App Engine windows install: 'AppEngine' is not a valid short file name

2011-03-23 Thread Ernesto Oltra
You can simply download the zip version, aun unzip wherever you want
appengine to be (C:/Program files/ for example). You don't need any
more.

On 22 mar, 00:08, Ryan zen...@gmail.com wrote:
 I was having issues with the datastore so I decided to update my
 Appengine version to 1.4.2 from 1.4.0

 Had this error pop up, so I tried to uninstall appengine... also got
 this error.

 Deleted the app engine files myself and tried to run new installer.
 Still getting this error message, now I have no idea how I'm going to
 develop my app further.

 Can anybody assist me who has also had this issue?
 Thanks for your time and especially your patience

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



[google-appengine] Using eclipse to build google gadgets...

2011-03-23 Thread Tony O Dowd
Anyone got a good reference to using eclipse to develop google
gadgets. I traced an article that offered a solution that requires
lots of additional changes to linkers and other system libraries.
Surely, there is an easier way. Anyone got a better path to follow?

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



Re: [google-appengine] Re: It's so sad.

2011-03-23 Thread 张天翔
晓东,try this: www.you8g.com :-)

On Tue, Mar 22, 2011 at 10:15 AM, 李晓东 lxd.d...@gmail.com wrote:

 Thanks all your guys!


 On Tue, Mar 22, 2011 at 8:35 AM, Brandon Donnelson 
 branflake2...@gmail.com wrote:

 Sad. Wish it worked for you better.

 Brandon


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




-- 
*Regards,*
*
*
*Tianxiang*

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



[google-appengine] Bulkloader: 'unicode' object has no attribute 'to_path'

2011-03-23 Thread cjwalther
Hi

I am trying to use bulkloader for downloading. However this statement:

- kind: myapp_entries
  connector: csv
  property_map:
- property: name
  external_name: name
  export_transform: transform.key_id_or_name_as_string

gives me this error message:

google.appengine.ext.bulkload.bulkloader_errors.ErrorOnTransform:
Error on transform. Property: name External Name: name. Code:
transform.key_id_or_name_as_string Details: 'unicode' object has no
attribute 'to_path'

How can this be cured?

--ChrisW

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



[google-appengine] Policy on Tasteful Nudity

2011-03-23 Thread Eric BP
The program policies forbid Pornographic, obscene or excessively
profane content but oridinarily such a description would not include
nude art and other soft nudity without explicit sex.

Is nudity that would not be considered pornographic allowed?

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



[google-appengine] Lifting the 43,200,000 Requests/Day limit

2011-03-23 Thread Adam Green (AutoComplete+)
Hi - I'd appreciate any help on finding the best solution to our scale
issue with GAE.

Our GAE application went way above expectation and in the last few
days we're hitting the 43,200,000 requests/day limit.  We were trying
various ways to contact GAE but to no avail - any advise how to lift
this limit?  (besides switching to AWS...)

Thanks!
--adam

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



[google-appengine] urlfetch.Fetch() 1MB size limit increased??

2011-03-23 Thread Ian Gillett
Hi - could you let me know if the response size for urlfetch.Fetch()
has been increased from the current limit of 1MB in the 1.4.3 SDK
release

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



[google-appengine] is it possible that repeated task executions happen in parallel ?

2011-03-23 Thread Prashant
hi,

appengine docs says -

**When implementing the code for tasks (as worker URLs within your app), it
is important to consider whether the task is
idempotenthttp://en.wikipedia.org/wiki/idempotent.
App Engine's Task Queue API is designed to only invoke a given task once,
however *it is possible in exceptional circumstances that a task may execute
multiple times* (e.g. in the unlikely case of major system failure). Thus,
your code must ensure that there are no harmful side-effects of repeated
execution.**


my doubt is -

in exceptional circumstances, is it possible that repeated task executions
happen in parallel (i.e. multiple invocations of same task on same or
different systems at the same time) ?

--
Prashant

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



[google-appengine] Ubuntu 10.10, Python 2.5 GAE ==Segmentation Fault

2011-03-23 Thread MJM
Hi,
Any resolution on the post that was discussing Segmentation Error when
trying to invoke GAE from Ubuntu 10.10?

I have followed the steps on :
http://thedarren.blogspot.com/2010/11/install-appengine-python-sdk-on-ubuntu.html?showComment=1300820141382#c1513558485016798852

But I am getting the Segmenation fault when I issue the command:

Python2.5 google_appengine/dev_appserver.py helloworld/

Segmentation fault

Any feedbacvk appreciated.
Thanks,
MJ

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



Re: [google-appengine] Lifting the 43,200,000 Requests/Day limit

2011-03-23 Thread Barry Hunter
have you tried a
http://code.google.com/p/googleappengine/issues/entry?template=Production%20issue

that is reported as a way to get attention.


Otherwise I take it
http://code.google.com/support/bin/request.py?contact_type=AppEngineCPURequesthl=en
hasnt worked?

On 23 March 2011 06:49, Adam Green (AutoComplete+) 
autocompletep...@gmail.com wrote:

 Hi - I'd appreciate any help on finding the best solution to our scale
 issue with GAE.

 Our GAE application went way above expectation and in the last few
 days we're hitting the 43,200,000 requests/day limit.  We were trying
 various ways to contact GAE but to no avail - any advise how to lift
 this limit?  (besides switching to AWS...)

 Thanks!
 --adam

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



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



[google-appengine] Re: UnicodeDecodeError in Appengine deployed version, but not in Devserver

2011-03-23 Thread Geoffrey Spear
I can't imagine why this would work on the dev server (might be a
locale setting on your local machine that makes unicode() somehow use
an encoding that works), but from what I can tell, an ARC4
object's .encrypt() method isn't producing encoded unicode, so
coercing it to unicode (either without specifying an encoding or with
one) should fail spectacularly.  Use a db.BlobProperty to store binary
data, rather than trying to convert it to unicode and storing it as
text.

On Mar 22, 7:51 pm, Kwame iweg...@gmail.com wrote:
 Sure Geoffrey. Sorry about that.

 class Person(db.model):
   name = db.StringProperty()
   description = db.TextProperty()

 class PersonHandler(webapp.RequestHandler):
   def get(self):
     pers = Person()
     pers.name = unicode(encrypt_data(self.request.get('name')))
     pers.description =
 unicode(encrypt_data(self.request.get('description')))
     pers.put()

 def encrypt_data(plaintext):
     obj=ARC4.new(RSAPrivateKey())
     return obj.encrypt(plaintext)

 def decrypt_data(ciphertext):
     obj=ARC4.new(RSAPrivateKey())
     return obj.decrypt(ciphertext)

 #

 This code properly encrypts/decrypts the webapp request variables and
 stores into the Person Object while running on the localhost Dev
 server, but on the Deployed app, it throws a UnicodeDecodeError. I've
 also tried:

 unicode(encrypt_data(self.request.get('description'))).encode('utf-8')
 but that fails on both servers

 On Mar 22, 1:25 pm, Geoffrey Spear geoffsp...@gmail.com wrote:







  On Mar 22, 12:45 pm, Kwame iweg...@gmail.com wrote:

   'ascii' codec can't decode byte 0x8a in position 2: ordinal not in
   range(128)

   I've read so many solutions about this problem, even Nick's 
   Blog:http://blog.notdot.net/2010/07/Getting-unicode-right-in-Python

   ...which addresses the problem very well. So I've been able to resolve
   this unicode issue on GAE devserver, however I continue to experience
   it on my live deployed version. This makes no sense to me. Can anyone
   help??

  Without seeing your code, almost certainly not.

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



Re: [google-appengine] Using eclipse to build google gadgets...

2011-03-23 Thread Barry Hunter
I would suggest that a Google Gadgets forum would be better for this:

http://code.google.com/apis/gadgets/community.html

On 23 March 2011 16:20, Tony O Dowd tonyat...@gmail.com wrote:

 Anyone got a good reference to using eclipse to develop google
 gadgets. I traced an article that offered a solution that requires
 lots of additional changes to linkers and other system libraries.
 Surely, there is an easier way. Anyone got a better path to follow?

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



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



Re: [google-appengine] Re: email sent by GAE would be regarded as spam for some email services

2011-03-23 Thread Ikai Lan (Google)
That sounds like a good idea. There's a good chance we'll change the quotas
for email sometime in the near future. When we do that it would make sense
for us to document that we do not suggest App Engine as a service for
sending large amounts of email, and for reliable email delivery, to look at
third party services.

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



On Tue, Mar 22, 2011 at 7:24 PM, Eric Ka Ka Ng ngk...@gmail.com wrote:

 Hi Ikai,

 thx for your note. with this, we could better decide on which cases we
 would like to send emails through GAE and which we would like to use other
 external services.

 and would it be more formally stated in any documents, or any guideline for
 these considerations be documented? if i'm a new GAE user, i would just use
 the email service straight forwardly without these considerations and
 background information.

 - eric



 On 23 March 2011 05:29, Ikai Lan (Google) ika...@google.com wrote:

 I actually think we are moving away from this direction. For customers
 sending large volumes of email or who require delivery guarantees, we'll be
 encouraging the use of services that are specifically designed for this
 functionality.

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



 On Tue, Mar 22, 2011 at 1:35 AM, Eric Ka Ka Ng ngk...@gmail.com wrote:

 me 2. Have integrated the SES service within our GAE apps.  work good and
 solved our problems

 sure it would be more nice if GAE can provide email service at the
 quality level similar to the Amazon SES one (at least would not be
 classified as SPAM), so we dont need to manage both . could we make this
 suggestion to GAE team?

 - eric


 On 22 March 2011 05:30, Jamie H ja...@mhztech.com wrote:

 Wow, great idea!  I have been having some delivery issues lately with
 GAE and looking for an alternative.

 I just downloaded a pythong Amazon SES library, signed up for SES, and
 put it all together and it works like a charm with GAE!

 On Mar 20, 10:31 pm, Nickolas Daskalou n...@daskalou.com wrote:
  Hi Eric,
 
  Have you looked at Amazon's Simple Email Service (SES)?
 
  http://aws.amazon.com/ses/
 
  Pretty much the same cost as sending email using GAE, except with SES
 you
  only get 2,000 free emails if you're sending email from an EC2
 instance.
 
  I haven't used it myself but apparently they scan outgoing mail to
 make sure
  it meets ISP standards. This leads me to believe emails sent via SES
 would
  be less likely to be automatically marked as spam than on GAE, since
 SES's
  spam-sending-reputation would be lower than GAE's, due to their
  pre-filtering and rate-limiting.
 
  Nick
 
  On 21 March 2011 13:51, Eric Ka Ka Ng ngk...@gmail.com wrote:
 
   Hi Ernesto,
 
   thx for your suggestion! yes, i think it shall work.
 
   but in general if we can't ask all our users to add our email to
 their
   contact list (or they are not willing to do so), how can emails sent
 by us
   prevent to be regarded as spam? all our subject, body etc. are
 nothing
   spam-liked, and seems it's the problem of the email server that
 actually
   sends the email. anyone share similar case, or has other solution?
 
   regards,
   eric
 
   On 19 March 2011 00:12, Ernesto Karim Oltra ernestoka...@gmail.com
 wrote:
 
   Ask the user to add the e-mail from address of your e-mails to
 their
   contacts list, so your e-mails would never been sent to spam again
   (for that users, at least).
 
   It's a bit hacky, but can do a great work meanwhile you find
 another
   solution.
 
   On 18 mar, 07:52, Eric Ka Ka Ng ngk...@gmail.com wrote:
we use mail.send_mail() to send some important messages to our
 users
   through
an app hosted on GAE, in which the 'from' has been set to one of
 a
registered admin for the app.
 
it works quite well for most users, except for some email service
   provider
(e.g. '...@yahoo.com.hk'), they would always automatically treat
 these
   emails
as spam and put them into spam box of the user's email account
 (if the
   user
has enabled the spam filtering feature, which is by default ON)
 . in
   this
case, many of our users do not aware for these important messages
 (they
would seldom look into mails in their spambox)
 
we have tried using different from, subject, body and the
 results
   are
the same. we suspect that it is the email server does matter, and
 maybe
before there were some other apps hosted on GAE sending spams to
 like '@
yahoo.com.hk', so '...@yahoo.com.hk' would regard all emails
 sent from
   this
email server in GAE as spam.
 
do anyone share similar experiences? or there should be other
 causes?
   any
ideas we can solve this problem? (successfully deliver the 

Re: [google-appengine] my app was disabled

2011-03-23 Thread Ikai Lan (Google)
What is the application ID?

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



On Tue, Mar 22, 2011 at 11:20 PM, @@ ask...@gmail.com wrote:

 I have a blog app running on appengine, and i didn't update the app or
 content for a long time.
 Today i just find that this app was disabled, how can i find out why
 my app was disabled and how to enable it?

 Thanks.

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



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



RE: [google-appengine] Policy on Tasteful Nudity

2011-03-23 Thread Brandon Wirtz
I would guess, Photo-Nudes = Not Ok 


http://www.googleartproject.com/museums/moma/the-seed-of-the-areoi-16

on the other hand is Seemingly ok.

I'm not a Google Employee, and Not a Lawyer.



-Original Message-
From: google-appengine@googlegroups.com
[mailto:google-appengine@googlegroups.com] On Behalf Of Eric BP
Sent: Wednesday, March 23, 2011 8:39 AM
To: Google App Engine
Subject: [google-appengine] Policy on Tasteful Nudity

The program policies forbid Pornographic, obscene or excessively profane
content but oridinarily such a description would not include nude art and
other soft nudity without explicit sex.

Is nudity that would not be considered pornographic allowed?

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


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



[google-appengine] Re: Policy on Tasteful Nudity

2011-03-23 Thread Calvin
The fact that your email address begins with baloneypony may be an 
indicator that your definition of tasteful may differ significantly from 
the average person. ;P

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



[google-appengine] Re: is it possible that repeated task executions happen in parallel ?

2011-03-23 Thread Prashant
anyone from google ?

On 23 March 2011 15:45, Prashant antsh...@gmail.com wrote:

 hi,

 appengine docs says -

 **When implementing the code for tasks (as worker URLs within your app),
 it is important to consider whether the task is 
 idempotenthttp://en.wikipedia.org/wiki/idempotent.
 App Engine's Task Queue API is designed to only invoke a given task once,
 however *it is possible in exceptional circumstances that a task may
 execute multiple times* (e.g. in the unlikely case of major system
 failure). Thus, your code must ensure that there are no harmful side-effects
 of repeated execution.**


 my doubt is -

 in exceptional circumstances, is it possible that repeated task executions
 happen in parallel (i.e. multiple invocations of same task on same or
 different systems at the same time) ?

 --
 Prashant


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



[google-appengine] Re: Can't create a new app using the Google App Engine...

2011-03-23 Thread jason
i'm having the same problem.  it's been a while since i created a new app. 
 i have 2 existing apps that i can update, but when i try to create a new 
app i get the sms verification again.  i am using a google apps domain, but 
i have no problem seeing the existing apps.

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



[google-appengine] Re: is it possible that repeated task executions happen in parallel ?

2011-03-23 Thread Darien Caldwell
It's rare, but possible. I've seen it happen on my site a couple
times. I originally didn't plan for it, but made some adjustments to
accommodate the situation. Idempotence is of course the key.

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



Re: [google-appengine] Re: is it possible that repeated task executions happen in parallel ?

2011-03-23 Thread Robert Kluin
Yes, you need to make the tasks *idempotent.*  If you are actually
using the task queue, it is highly likely that you will have a task
run multiple times at some point.



Robert






On Wed, Mar 23, 2011 at 15:05, Prashant antsh...@gmail.com wrote:
 anyone from google ?

 On 23 March 2011 15:45, Prashant antsh...@gmail.com wrote:

 hi,
 appengine docs says -
 When implementing the code for tasks (as worker URLs within your app), it
 is important to consider whether the task is idempotent. App Engine's Task
 Queue API is designed to only invoke a given task once, however it is
 possible in exceptional circumstances that a task may execute multiple times
 (e.g. in the unlikely case of major system failure). Thus, your code must
 ensure that there are no harmful side-effects of repeated execution.

 my doubt is -
 in exceptional circumstances, is it possible that repeated task executions
 happen in parallel (i.e. multiple invocations of same task on same or
 different systems at the same time) ?
 --
 Prashant

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


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



[google-appengine] Re: Serving talkgadet.google.com through your own app

2011-03-23 Thread Stephen Blum
Fredrik,

There are other services available which provide this level of
customization such as www.pubnub.com cloud service.


Stephen

On Mar 22, 11:43 pm, Fredrik Westmark fredrik.westm...@gmail.com
wrote:
 Ok, I see. My devious plan is to circumvent all the webfilters out there
 which are already blocking talkgadget.google.com due to Google Talk. I have
 several friends stuck behind such filters and they want to be able to use
 all the features on my site. So I was hoping that my domain could act as a
 proxy in front of talkgadget.google.com so the filter does not block it.

 BR // Fredrik

 On Wed, Mar 23, 2011 at 5:48 AM, Nick Johnson (Google) 







 nick.john...@google.com wrote:
  Hi Fredrik,

  This isn't possible - the Channel API provides a service that isn't
  available otherwise through App Engine - if you could serve it yourself,
  there'd be no need for the Channel API.

  What are you trying to accomplish?

  -Nick Johnson

  On Wed, Mar 23, 2011 at 4:32 AM, Westmark fredrik.westm...@gmail.comwrote:

  Hi!

  I was just wondering how much of problem it would be to add the
  possibility to serve the channel API through your own app instead of
  via talkgadget.google.com. Kind of like how you serve the Remote API
  by adding the handler to your app.yaml without actually writing any
  code for it.

  BR / Fredrik

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

  --
  Nick Johnson, Developer Programs Engineer, App Engine

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



Re: [google-appengine] Lifting the 43,200,000 Requests/Day limit

2011-03-23 Thread Marzia Niccolai
Hi Adam,

Apologies for the delay in response.

I'm going to bump this limit for your app. In general Barry is correct that
this limit is able to be increased by filing a request with the team.

And, of course, we are always working to refine and/or remove these limits
so issues like this won't pop up for our developers.

Thanks for your patience,
-Marzia

On Tue, Mar 22, 2011 at 11:49 PM, Adam Green (AutoComplete+) 
autocompletep...@gmail.com wrote:

 Hi - I'd appreciate any help on finding the best solution to our scale
 issue with GAE.

 Our GAE application went way above expectation and in the last few
 days we're hitting the 43,200,000 requests/day limit.  We were trying
 various ways to contact GAE but to no avail - any advise how to lift
 this limit?  (besides switching to AWS...)

 Thanks!
 --adam

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



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



[google-appengine] Re: Using eclipse to build google gadgets...

2011-03-23 Thread yuvi
Hi,

I have been doing that for the last year and about to release a new
open-source for that Gadglet 

The CLIENT side is done with GWT library from Google see

http://code.google.com/p/gwt-google-apis/wiki/GadgetsGettingStarted

http://gwt-google-apis.googlecode.com/svn/javadoc/gadgets/1.2/index.html

The SERVER side is implemented on Google App Engine ... in between a
complete JSON data protocol.


Feel free to ask more questions directly, and if you are interested
you can have Gadglet alpha version in about 3 weeks.


On Mar 23, 6:20 pm, Tony O Dowd tonyat...@gmail.com wrote:
 Anyone got a good reference to using eclipse to develop google
 gadgets. I traced an article that offered a solution that requires
 lots of additional changes to linkers and other system libraries.
 Surely, there is an easier way. Anyone got a better path to follow?

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



[google-appengine] Re: email sent by GAE would be regarded as spam for some email services

2011-03-23 Thread nickmilon
IMHO it is not a good policy for GAE to abandon(?) services middle way
instead of improving - enhancing those. ;-(
Regards
Nick

On Mar 23, 7:31 pm, Ikai Lan (Google) ika...@google.com wrote:
 That sounds like a good idea. There's a good chance we'll change the quotas
 for email sometime in the near future. When we do that it would make sense
 for us to document that we do not suggest App Engine as a service for
 sending large amounts of email, and for reliable email delivery, to look at
 third party services.

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

 On Tue, Mar 22, 2011 at 7:24 PM, Eric Ka Ka Ng ngk...@gmail.com wrote:







  Hi Ikai,

  thx for your note. with this, we could better decide on which cases we
  would like to send emails through GAE and which we would like to use other
  external services.

  and would it be more formally stated in any documents, or any guideline for
  these considerations be documented? if i'm a new GAE user, i would just use
  the email service straight forwardly without these considerations and
  background information.

  - eric

  On 23 March 2011 05:29, Ikai Lan (Google) ika...@google.com wrote:

  I actually think we are moving away from this direction. For customers
  sending large volumes of email or who require delivery guarantees, we'll be
  encouraging the use of services that are specifically designed for this
  functionality.

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

  On Tue, Mar 22, 2011 at 1:35 AM, Eric Ka Ka Ng ngk...@gmail.com wrote:

  me 2. Have integrated the SES service within our GAE apps.  work good and
  solved our problems

  sure it would be more nice if GAE can provide email service at the
  quality level similar to the Amazon SES one (at least would not be
  classified as SPAM), so we dont need to manage both . could we make this
  suggestion to GAE team?

  - eric

  On 22 March 2011 05:30, Jamie H ja...@mhztech.com wrote:

  Wow, great idea!  I have been having some delivery issues lately with
  GAE and looking for an alternative.

  I just downloaded a pythong Amazon SES library, signed up for SES, and
  put it all together and it works like a charm with GAE!

  On Mar 20, 10:31 pm, Nickolas Daskalou n...@daskalou.com wrote:
   Hi Eric,

   Have you looked at Amazon's Simple Email Service (SES)?

  http://aws.amazon.com/ses/

   Pretty much the same cost as sending email using GAE, except with SES
  you
   only get 2,000 free emails if you're sending email from an EC2
  instance.

   I haven't used it myself but apparently they scan outgoing mail to
  make sure
   it meets ISP standards. This leads me to believe emails sent via SES
  would
   be less likely to be automatically marked as spam than on GAE, since
  SES's
   spam-sending-reputation would be lower than GAE's, due to their
   pre-filtering and rate-limiting.

   Nick

   On 21 March 2011 13:51, Eric Ka Ka Ng ngk...@gmail.com wrote:

Hi Ernesto,

thx for your suggestion! yes, i think it shall work.

but in general if we can't ask all our users to add our email to
  their
contact list (or they are not willing to do so), how can emails sent
  by us
prevent to be regarded as spam? all our subject, body etc. are
  nothing
spam-liked, and seems it's the problem of the email server that
  actually
sends the email. anyone share similar case, or has other solution?

regards,
eric

On 19 March 2011 00:12, Ernesto Karim Oltra ernestoka...@gmail.com
  wrote:

Ask the user to add the e-mail from address of your e-mails to
  their
contacts list, so your e-mails would never been sent to spam again
(for that users, at least).

It's a bit hacky, but can do a great work meanwhile you find
  another
solution.

On 18 mar, 07:52, Eric Ka Ka Ng ngk...@gmail.com wrote:
 we use mail.send_mail() to send some important messages to our
  users
through
 an app hosted on GAE, in which the 'from' has been set to one of
  a
 registered admin for the app.

 it works quite well for most users, except for some email service
provider
 (e.g. '...@yahoo.com.hk'), they would always automatically treat
  these
emails
 as spam and put them into spam box of the user's email account
  (if the
user
 has enabled the spam filtering feature, which is by default ON)
  . in
this
 case, many of our users do not aware for these important messages
  (they
 would seldom look into mails in their spambox)

 we have tried using different from, subject, body and the
  results
are
 the same. we suspect that it is the email server does matter, and
  maybe
 before there were some other apps hosted on GAE sending spams 

[google-appengine] Re: Lifting the 43,200,000 Requests/Day limit

2011-03-23 Thread nickmilon
@Marzia
Long time now see:-(
Nice to see you back in the group.



On Mar 23, 10:13 pm, Marzia Niccolai ma...@google.com wrote:
 Hi Adam,

 Apologies for the delay in response.

 I'm going to bump this limit for your app. In general Barry is correct that
 this limit is able to be increased by filing a request with the team.

 And, of course, we are always working to refine and/or remove these limits
 so issues like this won't pop up for our developers.

 Thanks for your patience,
 -Marzia

 On Tue, Mar 22, 2011 at 11:49 PM, Adam Green (AutoComplete+) 







 autocompletep...@gmail.com wrote:
  Hi - I'd appreciate any help on finding the best solution to our scale
  issue with GAE.

  Our GAE application went way above expectation and in the last few
  days we're hitting the 43,200,000 requests/day limit.  We were trying
  various ways to contact GAE but to no avail - any advise how to lift
  this limit?  (besides switching to AWS...)

  Thanks!
  --adam

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

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



Re: [google-appengine] Re: The Image Service API needs help badly!

2011-03-23 Thread Ikai Lan (Google)
Hi Brandon,

Thanks for the feedback. We're not currently exploring many improvements to
the Images API. In the past, users have been pushing these sorts of jobs to
a VPS with a tool like ImageMagick.

We'll be looking at ways to make it easier to integrate App Engine dynamic
instances/task queues with outside services (likely via REST).

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



On Mon, Mar 21, 2011 at 8:32 AM, Darien Caldwell
darien.caldw...@gmail.comwrote:

 On Mar 20, 4:12 pm, Brandon Wirtz drak...@digerat.com wrote:
  Your issue is mostly a rant.  You will get better results posting I
 can't
  figure out how to do X, I have Tried Y, but it return Z. Please help

 I guess one man's rant is another man's constructive feedback. All I
 see is someone listing the things they wish the service would do.
 That's hardly a rant.

 IF you want to see a rant, just get me started on how people seem to
 think they need to control how others express themselves on message
 boards, that they don't even own or operate. :)

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



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



[google-appengine] Removing the appspot subdomained app from Google

2011-03-23 Thread Ben
My site is set up to redirect from [appname].appspot.com to a custom
domain name, but searching on Google still brings up results from
[appname].appspot.com. Is there a way to have that appspot URL removed
from Google search listings?

This doesn't seem to fit the criteria of any of the Webmaster removal
tools I've found, and I can't imagine a robots.txt file would work,
because the txt file would get used for both appname.appspot.com and
customdomain.com.

Any help?

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



Re: [google-appengine] Removing the appspot subdomained app from Google

2011-03-23 Thread Barry Hunter
You could make robots.txt, served via a dynamic handler, then it could
use the HTTP Host header to decide which version to send to the user
(ie GoogleBot)

You could/should also make your appspot urls, 301 redirect to the the
custom domain. That will also make the results disappear from search
requires pretty quickly too.
(assuming your pages are served by dynamic handlers, its easy)



On 24 March 2011 00:18, Ben magnetbo...@gmail.com wrote:
 My site is set up to redirect from [appname].appspot.com to a custom
 domain name, but searching on Google still brings up results from
 [appname].appspot.com. Is there a way to have that appspot URL removed
 from Google search listings?

 This doesn't seem to fit the criteria of any of the Webmaster removal
 tools I've found, and I can't imagine a robots.txt file would work,
 because the txt file would get used for both appname.appspot.com and
 customdomain.com.

 Any help?

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



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



Re: [google-appengine] Removing the appspot subdomained app from Google

2011-03-23 Thread Barry Hunter
You should also use the Change of Address tool

http://www.google.com/support/webmasters/bin/answer.py?answer=83106



On 24 March 2011 00:18, Ben magnetbo...@gmail.com wrote:
 My site is set up to redirect from [appname].appspot.com to a custom
 domain name, but searching on Google still brings up results from
 [appname].appspot.com. Is there a way to have that appspot URL removed
 from Google search listings?

 This doesn't seem to fit the criteria of any of the Webmaster removal
 tools I've found, and I can't imagine a robots.txt file would work,
 because the txt file would get used for both appname.appspot.com and
 customdomain.com.

 Any help?

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



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



Re: [google-appengine] my app was disabled

2011-03-23 Thread @@
Hi my application are i and d
Thanks.

On Thu, Mar 24, 2011 at 1:40 AM, Ikai Lan (Google) ika...@google.com wrote:
 What is the application ID?
 Ikai Lan
 Developer Programs Engineer, Google App Engine
 Blog: http://googleappengine.blogspot.com
 Twitter: http://twitter.com/app_engine
 Reddit: http://www.reddit.com/r/appengine


 On Tue, Mar 22, 2011 at 11:20 PM, @@ ask...@gmail.com wrote:

 I have a blog app running on appengine, and i didn't update the app or
 content for a long time.
 Today i just find that this app was disabled, how can i find out why
 my app was disabled and how to enable it?

 Thanks.

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


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


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



[google-appengine] Yahoo Classing GAE Mail as Spam

2011-03-23 Thread Greg
I've noticed a couple of posts previously where mail from *.appspot.com 
addresses was classed as spam by Yahoo, but they may now be doing this with 
mail from custom domains too. Has this started happening to anyone else 
recently? 

I'm ten days into an attempt to get my domain whitelisted, but Yahoo keep 
coming back asking for the IP address of my mail server despite careful 
explanations about Appengine. I replied to the last one by asking them what 
the IP address of Yahoo Mail's mail server was - hopefully that will get the 
concept across!

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



[google-appengine] Re: UnicodeDecodeError in Appengine deployed version, but not in Devserver

2011-03-23 Thread Kwame
Thanks! It works now. For others reading this thread, the code now
reads:

class Person(db.model):
  name = db.ByteString()
  description = db.BlobProperty()

class PersonHandler(webapp.RequestHandler):
  def get(self):
pers = Person()
pers.name = encrypt_data(self.request.get('name'))
pers.description = encrypt_data(self.request.get('description'))
pers.put()

def encrypt_data(plaintext):
obj=ARC4.new(RSAPrivateKey())
return obj.encrypt(plaintext)

def decrypt_data(ciphertext):
obj=ARC4.new(RSAPrivateKey())
return obj.decrypt(ciphertext)

On Mar 23, 1:12 pm, Geoffrey Spear geoffsp...@gmail.com wrote:
 I can't imagine why this would work on the dev server (might be a
 locale setting on your local machine that makes unicode() somehow use
 an encoding that works), but from what I can tell, an ARC4
 object's .encrypt() method isn't producing encoded unicode, so
 coercing it to unicode (either without specifying an encoding or with
 one) should fail spectacularly.  Use a db.BlobProperty to store binary
 data, rather than trying to convert it to unicode and storing it as
 text.

 On Mar 22, 7:51 pm, Kwame iweg...@gmail.com wrote:







  Sure Geoffrey. Sorry about that.

  class Person(db.model):
    name = db.StringProperty()
    description = db.TextProperty()

  class PersonHandler(webapp.RequestHandler):
    def get(self):
      pers = Person()
      pers.name = unicode(encrypt_data(self.request.get('name')))
      pers.description =
  unicode(encrypt_data(self.request.get('description')))
      pers.put()

  def encrypt_data(plaintext):
      obj=ARC4.new(RSAPrivateKey())
      return obj.encrypt(plaintext)

  def decrypt_data(ciphertext):
      obj=ARC4.new(RSAPrivateKey())
      return obj.decrypt(ciphertext)

  #

  This code properly encrypts/decrypts the webapp request variables and
  stores into the Person Object while running on the localhost Dev
  server, but on the Deployed app, it throws a UnicodeDecodeError. I've
  also tried:

  unicode(encrypt_data(self.request.get('description'))).encode('utf-8')
  but that fails on both servers

  On Mar 22, 1:25 pm, Geoffrey Spear geoffsp...@gmail.com wrote:

   On Mar 22, 12:45 pm, Kwame iweg...@gmail.com wrote:

'ascii' codec can't decode byte 0x8a in position 2: ordinal not in
range(128)

I've read so many solutions about this problem, even Nick's 
Blog:http://blog.notdot.net/2010/07/Getting-unicode-right-in-Python

...which addresses the problem very well. So I've been able to resolve
this unicode issue on GAE devserver, however I continue to experience
it on my live deployed version. This makes no sense to me. Can anyone
help??

   Without seeing your code, almost certainly not.

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



Re: [google-appengine] Re: Google two-factor authentication and App Engine

2011-03-23 Thread saidimu apale
The Python command-line (appcfg.py) also has this incredibly annoying, and
so far unacknowledged, bug.

Either this should be considered a serious bug or AppEngine developers
should be advised not to turn on two-factor authentication on their
development accounts (as users of specific Google TV functions are being
advised here:
http://www.google.com/support/accounts/bin/answer.py?hl=enanswer=1185133

The AppEngine issue tracker is currently returning a 500 error so I can't
search for an existing issue or create a new one.

saidimu

On Fri, Mar 11, 2011 at 4:12 AM, Doug . douglas.lin...@gmail.com wrote:

 I'd like to add the eclipse plugin annoyingly fails to save the key when
 you use it, and you have to generate a new one each time. I currently I have
 mine (very securely) written on a post-it note stuck to my monitor. Kind of
 defeats the point of enabling two-factor auth in the first place. :P

 ~
 Doug.

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


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



Re: [google-appengine] Re: Google two-factor authentication and App Engine

2011-03-23 Thread saidimu apale
Please star this issue if it affects you:

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

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

On Wed, Mar 23, 2011 at 11:42 PM, saidimu apale said...@gmail.com wrote:

 The Python command-line (appcfg.py) also has this incredibly annoying, and
 so far unacknowledged, bug.

 Either this should be considered a serious bug or AppEngine developers
 should be advised not to turn on two-factor authentication on their
 development accounts (as users of specific Google TV functions are being
 advised here:
 http://www.google.com/support/accounts/bin/answer.py?hl=enanswer=1185133

 The AppEngine issue tracker is currently returning a 500 error so I can't
 search for an existing issue or create a new one.

 saidimu


 On Fri, Mar 11, 2011 at 4:12 AM, Doug . douglas.lin...@gmail.com wrote:

 I'd like to add the eclipse plugin annoyingly fails to save the key when
 you use it, and you have to generate a new one each time. I currently I have
 mine (very securely) written on a post-it note stuck to my monitor. Kind of
 defeats the point of enabling two-factor auth in the first place. :P

 ~
 Doug.

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




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



[google-appengine] Re: Captcha issues

2011-03-23 Thread Brad
This turned out, embarrassingly, to be a typo in the email address.

On Mar 14, 10:35 pm, Brad bsmith...@gmail.com wrote:
 Hi, I tried searching through and found other folks with similar
 issues, but couldn't really hunt down a discussed solution.

 I just started with google app engine and I am following the
 directions for using the chatroom application. When I try to do the
 upload step, I get:

 Unable to update app: Please go 
 tohttps://www.google.com/accounts/DisplayUnlockCaptcha
 and verify you are a human. Then try again.

 com.google.appengine.tools.admin.ServerConnection
 $ClientLoginException: Please go 
 tohttps://www.google.com/accounts/DisplayUnlockCaptcha
 and verify you are a human. Then try again.

 I did the captcha and tried again, but I just keep getting the same
 thing. I hope I'm not doing something too terribly stupid. Any help is
 appreciated.

 Thanks.

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