[google-appengine] Re: How can I set GTalk status

2010-10-22 Thread Tahir Akram
Hi;

Sounds no cool.

I was searching and come up with Smack API. And a code snippet to set
GTalk status.

I think I can use that API on GAE/J. But that API requires the
password of GTalk.

I was thinking it Google authenticatation helps me not to save the
password of user.

Is my understanding right about it?

Thanks for help.

Tahir Akram.

On Oct 21, 8:28 pm, Robert Kluin  wrote:
> No.  It is not supported.
>
> "App Engine reports a status of connected and available for all
> applications, regardless of whether the app supports receiving XMPP
> messages. There is no way to set a status message for an app."
>
> http://code.google.com/appengine/docs/python/xmpp/overview.html#Googl...
>
> Robert
>
> On Thu, Oct 21, 2010 at 03:49, Tahir Akram  wrote:
> > Is this feature is supported in the API?
>
> > Thanks
>
> > Tahir Akram
>
> > On Oct 21, 5:02 am, Tahir Akram  wrote:
> >> Hi;
>
> >> I am new to XMPP. I want guidance how can I set the status of GTalk?
>
> >> Thanks
>
> >> Tahir Akram
>
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "Google App Engine" group.
> > To post to this group, send email to google-appeng...@googlegroups.com.
> > To unsubscribe from this group, send email to 
> > google-appengine+unsubscr...@googlegroups.com.
> > For more options, visit this group 
> > athttp://groups.google.com/group/google-appengine?hl=en.

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



[google-appengine] how to decide same ReferenceProperty?

2010-10-22 Thread saintthor
class FirstModel(db.Model):
prop = db.IntegerProperty()

class SecondModel(db.Model):
reference = db.ReferenceProperty(FirstModel)

first1 = FirstModel(...).put()
first2 = FirstModel(...).put()
first3 = FirstModel(...).put()

fList = [first1,first2,first3]

sList = []
for i in range( 10 ):
  sList.append( SecondModel( reference = fList[i%3] ).put() )

# now, i have 10 SecondModel references 3 FirstModel.

q = SecondModel.all()

secList = q.fetch( q.count() )

FirstSet = set( [s.reference for s in secList] )

print len( FirstSet )

# now, len( FirstSet ) should be 3, but there is 10.

it regards same FirstModel referenced by different SecondModel as
different. how to make it regards it same?

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



[google-appengine] Re: TaskQueue bulkAdd failing fairly regularly since 1.3.8

2010-10-22 Thread Raymond C.
And now task queue is down...

On Oct 21, 11:28 am, "yo...@radioactive" 
wrote:
> Hi guys,
>
> I keep getting these errors : "com.google.apphosting.api.ApiProxy
> $ApiDeadlineExceededException: The API call taskqueue.BulkAdd() took
> too long to respond and was cancelled." since the 1.3.8 release (never
> encountered it before).
>
> The system status says TaskQueue is doing just fine but regularly
> (every 1-2 hours or so) my queue.add will consistently fail and this
> will last for a while (i get hundreds of errors in my log).
>
> Anything that changed that I should be aware of ?
>
> Appreciate any response.
>
> Thanks,

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



[google-appengine] Re: Limits for Google App Engine for Business

2010-10-22 Thread ducky
Thanks!

On Oct 21, 7:59 pm, Robert Kluin  wrote:
> Good, thank you.
>
> On Thu, Oct 21, 2010 at 13:52, Ikai Lan (Google)
>
>
>
>
>
>
>
>  wrote:
> > It's possible. We're looking into different use cases such as integration
> > with SDC. It's not uncommon for folks to want to pull/push large amounts of
> > data through SDC (Secure Data Connector).
> > On another note, I've banned the gentleman who has been responding about
> > India and Skype.
>
> > --
> > Ikai Lan
> > Developer Programs Engineer, Google App Engine
> > Blogger: http://googleappengine.blogspot.com
> > Reddit: http://www.reddit.com/r/appengine
> > Twitter: http://twitter.com/app_engine
>
> > On Thu, Oct 21, 2010 at 10:07 AM, Orlando P. Abarzua 
> > wrote:
>
> >> looking  for  partners  in  India skype  patriciony
>
> >> On Thu, Oct 21, 2010 at 1:39 PM, Rohit Aggarwal
> >>  wrote:
> >> > Hi,
> >> > I was wondering if the limits (for example for URL Fetch and Outgoing
> >> > Email
> >> > for the Python SDK) are relaxed or going to be relaxed slightly for the
> >> > Google App Engine for Business.
> >> > Thanks
>
> >> > --
> >> > You received this message because you are subscribed to the Google
> >> > Groups
> >> > "Google App Engine" group.
> >> > To post to this group, send email to google-appeng...@googlegroups.com.
> >> > To unsubscribe from this group, send email to
> >> > google-appengine+unsubscr...@googlegroups.com.
> >> > For more options, visit this group at
> >> >http://groups.google.com/group/google-appengine?hl=en.
>
> >> --
> >> You received this message because you are subscribed to the Google Groups
> >> "Google App Engine" group.
> >> To post to this group, send email to google-appeng...@googlegroups.com.
> >> To unsubscribe from this group, send email to
> >> google-appengine+unsubscr...@googlegroups.com.
> >> For more options, visit this group at
> >>http://groups.google.com/group/google-appengine?hl=en.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google App Engine" group.
> > To post to this group, send email to google-appeng...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-appengine+unsubscr...@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/google-appengine?hl=en.

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



[google-appengine] Mapreduce gives error when I execute job on appengine cloud?

2010-10-22 Thread suersh babu
Hi,

I am using mapreduce to run the job but when I try to run the job in
mapreduce by clicking run button  I am getting error like this :
Error -- java.lang.RuntimeException: Full stack trace is available in the
server logs. Message: Got an IOException while trying to make splits

In my local machine mapreduce works fine, It executed the job without any
error.

I am using app engine sdk 1.3.8

Following is the server log generated by my application for the mapreduce
error.

   1. 10-22 02:02AM 49.783

   com.google.appengine.tools.mapreduce.DatastoreInputFormat
getSplits: Getting input splits for: Payment

   2.  E 10-22 02:02AM 49.810

   com.google.appengine.tools.mapreduce.MapReduceServlet
handleCommand: Got exception while running command
   java.lang.RuntimeException: Got an IOException while trying to make splits
at 
com.google.appengine.tools.mapreduce.MapReduceServlet.handleStart(MapReduceServlet.java:747)
at 
com.google.appengine.tools.mapreduce.MapReduceServlet.handleStartJob(MapReduceServlet.java:364)
at 
com.google.appengine.tools.mapreduce.MapReduceServlet.handleCommand(MapReduceServlet.java:247)
at 
com.google.appengine.tools.mapreduce.MapReduceServlet.doPost(MapReduceServlet.java:184)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:713)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
at 
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
at 
com.veersoft.filter.ResetUserMessagesAndErrorsFilter.doFilter(ResetUserMessagesAndErrorsFilter.java:28)
at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at 
com.google.apphosting.utils.servlet.ParseBlobUploadFilter.doFilter(ParseBlobUploadFilter.java:97)
at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at 
com.google.apphosting.runtime.jetty.SaveSessionFilter.doFilter(SaveSessionFilter.java:35)
at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at 
com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:43)
at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at 
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
at 
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at 
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at 
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
at 
com.google.apphosting.runtime.jetty.AppVersionHandlerMap.handle(AppVersionHandlerMap.java:238)
at 
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at 
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
at 
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:923)
at 
com.google.apphosting.runtime.jetty.RpcRequestParser.parseAvailable(RpcRequestParser.java:76)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at 
com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceRequest(JettyServletEngineAdapter.java:135)
at 
com.google.apphosting.runtime.JavaRuntime.handleRequest(JavaRuntime.java:261)
at 
com.google.apphosting.base.RuntimePb$EvaluationRuntime$6.handleBlockingRequest(RuntimePb.java:8486)
at 
com.google.apphosting.base.RuntimePb$EvaluationRuntime$6.handleBlockingRequest(RuntimePb.java:8484)
at 
com.google.net.rpc.impl.BlockingApplicationHandler.handleRequest(BlockingApplicationHandler.java:24)
at com.google.net.rpc.impl.RpcUtil.runRpcInApplication(RpcUtil.java:418)
at com.google.net.rpc.impl.Server$RpcTask.runInContext(Server.java:572)
at 
com.google.tracing.TraceContext$TraceContextRunnable$1.run(TraceContext.java:448)
at com.google.tracing.TraceContext.runInContext(TraceContext.java:688)
at 
com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInheritedContextNoUnref(TraceContext.java:326)
at 
com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInheritedContext(TraceContext.java:318)
at 
com.google.tracing.TraceContext$TraceContextRunnable.run(TraceContext.java:446)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:636)
   Caused by: java.io.IOException: Couldn't find descending index on __key__
   

[google-appengine] Over Quota Error on TaskQueue when Quota is Available

2010-10-22 Thread Aaron
Hi!

After uploading a new version of my app today, I started receiving
Over Quota Errors as a result of a cron task that queues up sixty
tasks every minute.  As far as I can see from my admin dashboard, I
have not exceeded the quota (especially since the quotas just reset).
However, I'm still receiving these Over Quota Errors.

Just a note: I mistakenly let a task queue get out of hand yesterday,
so I exceeded my quota from yesterday.  Does this roll over and affect
my quota for future days?

Thanks,
Aaron

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



[google-appengine] Thread Support on GAE

2010-10-22 Thread MasterGaurav
Hi,

Wondering is support for Thread is somewhere down the roadmap at GAE?

The following structure is something that would be awesome:
- Ability to start / control child threads in the app
- Definitely, an upper cap on the maximum count
- May be an upper limit on the time duration for which the thread can
run
- And the fundoo stuff... ability to enlist and terminate threads from
the dashboard (may be this is too much of an ask)


   I understand there are several tough tasks related to managing them
at the server end because they may run on any of the servers in the
cloud... but nevertheless, it is doable... at least by G-Gang :)


--
Happy Hacking,
Gaurav Vaish
http://www.mastergaurav.com

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



[google-appengine] Re: Over Quota Error on TaskQueue when Quota is Available

2010-10-22 Thread Aaron
This was my mistake.  Because I had exeeded the quota yesterday, there
were tasks queued up from yesterday that were sending those errors.

On Oct 22, 2:48 am, Aaron  wrote:
> Hi!
>
> After uploading a new version of my app today, I started receiving
> Over Quota Errors as a result of a cron task that queues up sixty
> tasks every minute.  As far as I can see from my admin dashboard, I
> have not exceeded the quota (especially since the quotas just reset).
> However, I'm still receiving these Over Quota Errors.
>
> Just a note: I mistakenly let a task queue get out of hand yesterday,
> so I exceeded my quota from yesterday.  Does this roll over and affect
> my quota for future days?
>
> Thanks,
> Aaron

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



RE: [google-appengine] Thread Support on GAE

2010-10-22 Thread David Parks
I saw on the roadmap that they want to implement something like this using
background task servers, in which you can submit your tasks to a background
server without the time limitations. It's not clear if they would allow
multiple threads, but that's probably a mute point.

-Original Message-
From: google-appengine@googlegroups.com
[mailto:google-appeng...@googlegroups.com] On Behalf Of MasterGaurav
Sent: Friday, October 22, 2010 4:57 PM
To: Google App Engine
Subject: [google-appengine] Thread Support on GAE

Hi,

Wondering is support for Thread is somewhere down the roadmap at GAE?

The following structure is something that would be awesome:
- Ability to start / control child threads in the app
- Definitely, an upper cap on the maximum count
- May be an upper limit on the time duration for which the thread can run
- And the fundoo stuff... ability to enlist and terminate threads from the
dashboard (may be this is too much of an ask)


   I understand there are several tough tasks related to managing them at
the server end because they may run on any of the servers in the cloud...
but nevertheless, it is doable... at least by G-Gang :)


--
Happy Hacking,
Gaurav Vaish
http://www.mastergaurav.com

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

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



[google-appengine] Re: ConcurrentModificationException with no datastore operation and only task to be enqueue

2010-10-22 Thread Matija
Any news way adding task to queue in transaction can throw
ConcurrentModificationException ?

Does this means that you 'lock' somehow whole queue in this
operation ?



On Oct 21, 5:18 pm, Matija  wrote:
> Hi,
> I am 
> usinghttp://code.google.com/appengine/docs/java/taskqueue/overview.html#Ta...
> way to enqueue two tasks in transaction. But I am not saving any
> datastore entities. I am using objectify.
>
> I got this message:
>
> java.util.ConcurrentModificationException: too much contention on
> these datastore entities. please try again.
>         at
> com.google.appengine.api.datastore.DatastoreApiHelper.translateError(Datast 
> oreApiHelper.java:
> 39)
>         at
> com.google.appengine.api.datastore.DatastoreApiHelper.makeSyncCall(Datastor 
> eApiHelper.java:
> 75)
>         at
> com.google.appengine.api.datastore.TransactionImpl.makeSyncCall(Transaction 
> Impl.java:
> 44)
>         at
> com.google.appengine.api.datastore.TransactionImpl.makeSyncCall(Transaction 
> Impl.java:
> 52)
>         at
> com.google.appengine.api.datastore.TransactionImpl.commit(TransactionImpl.j 
> ava:
> 64)
>
> When this happened only one task needed to be added to queue, so why
> this error ?

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



[google-appengine] Re: Thread Support on GAE

2010-10-22 Thread MasterGaurav
Hi David,

I assume you are referring to "Background servers capable of running
for longer than 30s" item at http://code.google.com/appengine/docs/roadmap.html
If that's the case, it's very different from the "threading" support.


--
Happy Hacking,
Gaurav Vaish
http://www.mastergaurav.com



On Oct 22, 3:39 pm, "David Parks"  wrote:
> I saw on the roadmap that they want to implement something like this using
> background task servers, in which you can submit your tasks to a background
> server without the time limitations. It's not clear if they would allow
> multiple threads, but that's probably a mute point.
>
> -Original Message-
> From: google-appengine@googlegroups.com
>
> [mailto:google-appeng...@googlegroups.com] On Behalf Of MasterGaurav
> Sent: Friday, October 22, 2010 4:57 PM
> To: Google App Engine
> Subject: [google-appengine] Thread Support on GAE
>
> Hi,
>
> Wondering is support for Thread is somewhere down the roadmap at GAE?
>
> The following structure is something that would be awesome:
> - Ability to start / control child threads in the app
> - Definitely, an upper cap on the maximum count
> - May be an upper limit on the time duration for which the thread can run
> - And the fundoo stuff... ability to enlist and terminate threads from the
> dashboard (may be this is too much of an ask)
>
>    I understand there are several tough tasks related to managing them at
> the server end because they may run on any of the servers in the cloud...
> but nevertheless, it is doable... at least by G-Gang :)
>
> --
> Happy Hacking,
> Gaurav Vaishhttp://www.mastergaurav.com
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appeng...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group 
> athttp://groups.google.com/group/google-appengine?hl=en.
>
>

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



[google-appengine] My GAE site is up, but GAE server is down

2010-10-22 Thread Tim Inman
https://appengine.google.com and the appcfg tool both return a 500
error.

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



[google-appengine] Can't deploy my application

2010-10-22 Thread Fredrik Bonander
I'm trying to deploy my application (appir: tipotcm-cch), have done it couple 
of times earlier today. But now I've tried 3 times and about 10-15 min for 
each. Just keep saying:

"Checking if new version is ready to serve. Will check again in 60 seconds."

It's a bit annoying since we having a 24h-hackaton and are in the last 3 hours.

Anyone know something?

..fredrik


--
Fredrik Bonander
carl.fredrik.bonan...@gmail.com
+46 70 943 5441

- the infinite power of the creative mind - 

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



[google-appengine] Re: Can't deploy my application

2010-10-22 Thread Francois Masurel
Yep same problem here.

On 22 oct, 14:29, Fredrik Bonander 
wrote:
> I'm trying to deploy my application (appir: tipotcm-cch), have done it couple 
> of times earlier today. But now I've tried 3 times and about 10-15 min for 
> each. Just keep saying:
>
> "Checking if new version is ready to serve. Will check again in 60 seconds."
>
> It's a bit annoying since we having a 24h-hackaton and are in the last 3 
> hours.
>
> Anyone know something?
>
> ..fredrik
>
> --
> Fredrik Bonander
> carl.fredrik.bonan...@gmail.com
> +46 70 943 5441
>
> - the infinite power of the creative mind -

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



[google-appengine] Slight error in documentation?

2010-10-22 Thread adams
I was just looking at the "Setting up" section of the python Appstats
documentation:

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

I think the app.yaml example code is slightly wrong. The documentation
says the app.yaml builtin instruction is:

builtins:
- appstats

But I believe it should be:

builtins:
- appstats: on

At least that's what worked for me.


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



[google-appengine] App engine down time or problem with CRON requests

2010-10-22 Thread Chris Prinos
Anyone know if there was scheduled down time 10/22/2010 around 12:30AM
PDT?

None of my cron-initiated requests were triggered from about 12:33 AM
PDT to 1:05 AM PDT, but there were no errors in the logs.

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



[google-appengine] Instances, cold start and pending_ms

2010-10-22 Thread Matija
1. Does pending_ms in my task queue request log means that my task
queue request waits until some old instances are free or new instance
is created ?

2. Why my web request with cold start has pending_ms, what does it
means then ?

10-22 07:44AM 06.878 ms=34 cpu_ms=47 api_cpu_ms=8 cpm_usd=0.001337
10-22 07:43AM 06.901 ms=54 cpu_ms=105 api_cpu_ms=8 cpm_usd=0.002957
10-22 07:42AM 06.971 ms=44 cpu_ms=86 api_cpu_ms=8 cpm_usd=0.002425
10-22 07:41AM 06.884 ms=2582 cpu_ms=2769 api_cpu_ms=8 cpm_usd=0.076962
loading_request=1
10-22 07:40AM 06.931 ms=3061 cpu_ms=2419 api_cpu_ms=8 cpm_usd=0.067240
loading_request=1 pending_ms=246
10-22 07:39AM 06.890 ms=2067 cpu_ms=2225 api_cpu_ms=8 cpm_usd=0.061846
loading_request=1
10-22 07:38AM 06.897 ms=51 cpu_ms=86 api_cpu_ms=8 cpm_usd=0.002425
10-22 07:37AM 06.891 ms=5530 cpu_ms=2594 api_cpu_ms=8 cpm_usd=0.072101
loading_request=1 pending_ms=1984
10-22 07:39AM 06.890 ms=6110 cpu_ms=2517 api_cpu_ms=8 cpm_usd=0.069948
loading_request=1 pending_ms=2780
10-22 07:38AM 06.897 ms=46 cpu_ms=86 api_cpu_ms=8 cpm_usd=0.002425
10-22 07:37AM 06.891 ms=50 cpu_ms=86 api_cpu_ms=8 cpm_usd=0.002425

I have simple every minute check (get by id from datastore) web
request, and as you can see it is pretty fast (has some hessian
overhead). So what are some web requests waiting for beside cold
start ? There are no other requests !




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



[google-appengine] Re: Instances, cold start and pending_ms

2010-10-22 Thread Matija
3. If my request has these performance data: 188ms 5269cpu_ms
5133api_cpu_ms.

Does 188 ms counts for average latency (for new instances) or 5269 ms
(cpu time) ?

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



[google-appengine] Re: Instances, cold start and pending_ms

2010-10-22 Thread Matija
4. Why are you using pending_ms time for average latency ? My task
queue requests have average latency around 200ms, but usually I create
several tasks in a few seconds. With added strange pending_ms for task
queue requests my average latency can go above 1000 ms limit and then
I can't get more instances.

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



Re: [google-appengine] Re: How can I set GTalk status

2010-10-22 Thread Robert Kluin
I am not familiar with that API.  You might want to ask on its mailing list.


Robert








On Fri, Oct 22, 2010 at 03:59, Tahir Akram  wrote:
> Hi;
>
> Sounds no cool.
>
> I was searching and come up with Smack API. And a code snippet to set
> GTalk status.
>
> I think I can use that API on GAE/J. But that API requires the
> password of GTalk.
>
> I was thinking it Google authenticatation helps me not to save the
> password of user.
>
> Is my understanding right about it?
>
> Thanks for help.
>
> Tahir Akram.
>
> On Oct 21, 8:28 pm, Robert Kluin  wrote:
>> No.  It is not supported.
>>
>> "App Engine reports a status of connected and available for all
>> applications, regardless of whether the app supports receiving XMPP
>> messages. There is no way to set a status message for an app."
>>
>> http://code.google.com/appengine/docs/python/xmpp/overview.html#Googl...
>>
>> Robert
>>
>> On Thu, Oct 21, 2010 at 03:49, Tahir Akram  wrote:
>> > Is this feature is supported in the API?
>>
>> > Thanks
>>
>> > Tahir Akram
>>
>> > On Oct 21, 5:02 am, Tahir Akram  wrote:
>> >> Hi;
>>
>> >> I am new to XMPP. I want guidance how can I set the status of GTalk?
>>
>> >> Thanks
>>
>> >> Tahir Akram
>>
>> > --
>> > You received this message because you are subscribed to the Google Groups 
>> > "Google App Engine" group.
>> > To post to this group, send email to google-appeng...@googlegroups.com.
>> > To unsubscribe from this group, send email to 
>> > google-appengine+unsubscr...@googlegroups.com.
>> > For more options, visit this group 
>> > athttp://groups.google.com/group/google-appengine?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appeng...@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
>
>

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



Re: [google-appengine] Re: Internal Server Error after Google Account Login (with Account recovery prompt)

2010-10-22 Thread Robert Kluin
I do not remember seeing any other posts about this issue.  Are you
sure it is not an issue in your code?  Perhaps there is something that
could be helpful in your server logs.



Robert






On Fri, Oct 22, 2010 at 02:01, Albert  wrote:
> This is still happening to everyone accessing my site for the first
> time via a Google Account, which is a huge percentage of my visitors.
> Is anybody else noticing this?
>
> Should I file an issue for this?
>
> Thanks!
>
> On Sep 2, 8:13 am, Albert  wrote:
>> I hope this gets fixed.
>>
>> On Sep 2, 12:09 am, Darien Caldwell  wrote:
>>
>>
>>
>>
>>
>>
>>
>> > Interesting. I had the exact same thing happen to me this morning,
>> > except that I clicked "Remind me later".  I just started over from my
>> > original URL when the errors occurred, and it proceeded fine after
>> > that.  I'm betting it's an issue on Google's end.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appeng...@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
>
>

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



Re: [google-appengine] how to decide same ReferenceProperty?

2010-10-22 Thread 风笑雪
The entities didn't define a cmp opreation, they'll compared by their
memory address.

You can try:
  set( [s.reference.key() for s in secList] )

or more efficient way:
  set( [SecondModel.get_value_for_datastore(s) for s in secList] )


--
keakon



On Fri, Oct 22, 2010 at 4:00 PM, saintthor  wrote:
> class FirstModel(db.Model):
>    prop = db.IntegerProperty()
>
> class SecondModel(db.Model):
>    reference = db.ReferenceProperty(FirstModel)
>
> first1 = FirstModel(...).put()
> first2 = FirstModel(...).put()
> first3 = FirstModel(...).put()
>
> fList = [first1,first2,first3]
>
> sList = []
> for i in range( 10 ):
>  sList.append( SecondModel( reference = fList[i%3] ).put() )
>
> # now, i have 10 SecondModel references 3 FirstModel.
>
> q = SecondModel.all()
>
> secList = q.fetch( q.count() )
>
> FirstSet = set( [s.reference for s in secList] )
>
> print len( FirstSet )
>
> # now, len( FirstSet ) should be 3, but there is 10.
>
> it regards same FirstModel referenced by different SecondModel as
> different. how to make it regards it same?
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appeng...@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
>
>

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



Re: [google-appengine] Re: Thread Support on GAE

2010-10-22 Thread Robert Kluin
I doubt they are going to support 'threads.'  You can do basically
everything you asked for using the task queue now though.


Robert






On Fri, Oct 22, 2010 at 08:16, MasterGaurav  wrote:
> Hi David,
>
> I assume you are referring to "Background servers capable of running
> for longer than 30s" item at 
> http://code.google.com/appengine/docs/roadmap.html
> If that's the case, it's very different from the "threading" support.
>
>
> --
> Happy Hacking,
> Gaurav Vaish
> http://www.mastergaurav.com
>
>
>
> On Oct 22, 3:39 pm, "David Parks"  wrote:
>> I saw on the roadmap that they want to implement something like this using
>> background task servers, in which you can submit your tasks to a background
>> server without the time limitations. It's not clear if they would allow
>> multiple threads, but that's probably a mute point.
>>
>> -Original Message-
>> From: google-appengine@googlegroups.com
>>
>> [mailto:google-appeng...@googlegroups.com] On Behalf Of MasterGaurav
>> Sent: Friday, October 22, 2010 4:57 PM
>> To: Google App Engine
>> Subject: [google-appengine] Thread Support on GAE
>>
>> Hi,
>>
>> Wondering is support for Thread is somewhere down the roadmap at GAE?
>>
>> The following structure is something that would be awesome:
>> - Ability to start / control child threads in the app
>> - Definitely, an upper cap on the maximum count
>> - May be an upper limit on the time duration for which the thread can run
>> - And the fundoo stuff... ability to enlist and terminate threads from the
>> dashboard (may be this is too much of an ask)
>>
>>    I understand there are several tough tasks related to managing them at
>> the server end because they may run on any of the servers in the cloud...
>> but nevertheless, it is doable... at least by G-Gang :)
>>
>> --
>> Happy Hacking,
>> Gaurav Vaishhttp://www.mastergaurav.com
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google App Engine" group.
>> To post to this group, send email to google-appeng...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-appengine+unsubscr...@googlegroups.com.
>> For more options, visit this group 
>> athttp://groups.google.com/group/google-appengine?hl=en.
>>
>>
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appeng...@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
>
>

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



[google-appengine] Pyhton 2.5 Call unsupported methods.

2010-10-22 Thread nickm324
Can anyone tell me why the installtion of Python 2.5 that app-engine
uses calls methods that it doesnt even support?

I get this error.


File "/base/python_runtime/python_dist/lib/python2.5/posixpath.py",
line 62, in join
elif path == '' or path.endswith('/'):
AttributeError: 'cStringIO.StringO' object has no attribute 'endswith'

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



[google-appengine] Hi guys, please help vote for our website on Killerstartups.com

2010-10-22 Thread Yuan
Hi guys,

We just set up a website called PopBuzz.me on GAE. It aggregates news
from popular websites and display them based on
how many times the news has been shared on Facebook, twitter and
Google buzz.

Please help us to vote the website on Killerstartups.com. Thank you
very much and wish you a great day!!!

http://www.killerstartups.com/Web20/popbuzz-me-an-aggregator-of-the-latest-news

Best,
PopBuzz

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



Re: [google-appengine] Limits for Google App Engine for Business

2010-10-22 Thread A. Stevko
Thanks!

On Thu, Oct 21, 2010 at 10:52 AM, Ikai Lan (Google) <
ikai.l+gro...@google.com > wrote:

>
> On another note, I've banned the gentleman who has been responding about
> India and Skype.
>
> --
> Ikai Lan
> Developer Programs Engineer, Google App Engine
> Blogger: http://googleappengine.blogspot.com
> Reddit: http://www.reddit.com/r/appengine
> Twitter: http://twitter.com/app_engine
>
>
>
> On Thu, Oct 21, 2010 at 10:07 AM, Orlando P. Abarzua <
> patricio...@gmail.com> wrote:
>
>> looking  for  partners  in  India skype  patriciony
>>
>>

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



Re: [google-appengine] Re: Google apps engine for Business pricing Q

2010-10-22 Thread Ikai Lan (Google)
I don't disagree about the messaging. We see a lot of confusion from
developers. It's something we'll have to clarify as the product gets closer
to a public launch.

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



On Thu, Oct 21, 2010 at 9:01 PM, David Parks  wrote:

>  Point taken. And I can agree that for a large enterprise of say 2000+
> people, 12k/yr for a big app is swollowable. Especially if that 12k/yr gets
> me 10 apps (that point is unclear to me as a user, marketing could clarify
> it in your messaging).
>
> My point is about the small business running on google apps. The ~130
> person business pays the same as the 2000 person enterprise, roughly
> speaking.  It’s just my 2-cents and maybe some food for thought, but it
> seems like this pricing model will favor large and push away small.
>
>
>
> But really, your biggest problem is that your messaging isn’t clear about
> the use cases that you are targeting. I think someone in marketing could
> really clean up the messaging so that we can understand the intended use
> cases better.
>
>
>
> All suggestions made in good spirit, I love what you’ve created here.
>
>
>
> Dave
>
>
>
>
>
>
>
> *From:* google-appengine@googlegroups.com [mailto:
> google-appeng...@googlegroups.com] *On Behalf Of *Ikai Lan (Google)
> *Sent:* Friday, October 22, 2010 12:48 AM
> *To:* google-appengine@googlegroups.com
> *Subject:* Re: [google-appengine] Re: Google apps engine for Business
> pricing Q
>
>
>
> The pricing is meant to be extremely competitive against "private cloud"
> offerings by other providers in this space. A $40-$100 VPS does not come
> with baked-in authentication with Google Apps or a centralized
> administration, nor does it come with App Engine's APIs. You can certainly
> build a similar stack that works for you, but in the end, you're paying for
> a managed solution versus one you manage and build yourself. There's a point
> at which self-management doesn't scale anymore, and a decent systems
> administrator certainly wouldn't cost $800.
>
>
>
> As far as pricing goes, you may not personally think it makes sense for
> your needs, but 10 years ago, none of us probably would have guessed that
> large enterprises were willing to drop $60+ a month per user for a web based
> CRM system.
>
>
> --
>
> Ikai Lan
> Developer Programs Engineer, Google App Engine
>
> Blogger: http://googleappengine.blogspot.com
>
> Reddit: http://www.reddit.com/r/appengine
>
> Twitter: http://twitter.com/app_engine
>
>
>
>  On Wed, Oct 20, 2010 at 12:34 PM, David Parks 
> wrote:
>
> Oh interesting. Maybe I'm mis-understanding google's intention here. I had
> hoped to use app-engine to host a generic web-facing site. It seems like a
> brilliant platform for that. But perhaps this is not a primary use case
> considered by google? Or maybe that's what they mean by "users outside your
> org would be billed differently", perhaps the whole concept is still in its
> infancy.
>
> But even so, I would be surprised, because a 100 person intranet site
> shouldn’t cost a small company $800 to host (surely a typical $40-$100 VPS
> on any old hosting provider would be more than sufficient).
>
> Oh well, I guess the marketing execs have some work to do. :)
>
>
>
>
> -Original Message-
> From: google-appengine@googlegroups.com
> [mailto:google-appeng...@googlegroups.com] On Behalf Of Geoffrey Spear
> Sent: Thursday, October 21, 2010 1:22 AM
> To: Google App Engine
> Subject: [google-appengine] Re: Google apps engine for Business pricing Q
>
> My understanding that the the App Engine for Business offering you're
> describing is intended for intranet applications, and that the user count
> would be the number of users in your Google Apps domain.
> There's no "free quota" because the applications aren't free in the first
> place. As I understand it there's no quota system at all because the
> business model is different than the "pay for what you use" model in normal
> App Engine. (Although it may be reasonable to think you'd still have the
> limits of the non-billable quotas, maybe at different levels, to prevent,
> say, a 1-person "organization" from running some massive cluster computing
> application in the cloud for super-cheap...)
>
> Applications intended to be used by users outside your organization would
> be
> billed differently.
>
> On Oct 20, 12:33 pm, "David Parks"  wrote:
> > I'm looking at Google apps engine for Businesses, and in the pricing
> > it
> > says:
> >
> > Each application costs $8 per user, up to a maximum of $1000, per month.
> >
> > Can someone explain to me what a "user" is in this context? I can't
> > find any explanation. Is this just the user that creates the app on
> > appengine.google.com? Meaning $8 allows you to create up to 10 apps +
> > billable usage over the free quota? Or is there no free quota on the
> > busine

[google-appengine] single property index required for composite indexes ?

2010-10-22 Thread leo
Hi,
my understanding is that when you put an entity in the datastore you
decide which properties are indexed and which ones are unindexed so
that instance won´t be found when searching (using single or composite
indexes) by a unindexed property.

My problem is that I have many queries using a single property with
ancestors, so that mean I have to index the instance and that will
appear in 3 indexes (the two built-in indexes for the property and the
composite index with the property and ancestors). But I´ll be really
be using just one index.

Is there any way to avoid this, i.e. be able to use properties in
composite indexes without these properties being used in single
property indexes ?

Is this a limitation on the platform/bigtable or it might change in
the future ?  (for instance, allow to disable some single property
indexes in a kind).


Thanks.

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



[google-appengine] Re: My GAE site is up, but GAE server is down

2010-10-22 Thread Kaan Soral
MAYBE YOUR SPAMMING PUT DOWN THE SERVER

On Oct 22, 3:20 pm, Tim Inman  wrote:
> https://appengine.google.comand the appcfg tool both return a 500
> error.

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



Re: [google-appengine] single property index required for composite indexes ?

2010-10-22 Thread Robert Kluin
I know this discussion has came up before, but I could not find an
issue (if there is one) for it.  If you create one I'll star it.



Robert






On Fri, Oct 22, 2010 at 14:13, leo  wrote:
> Hi,
> my understanding is that when you put an entity in the datastore you
> decide which properties are indexed and which ones are unindexed so
> that instance won´t be found when searching (using single or composite
> indexes) by a unindexed property.
>
> My problem is that I have many queries using a single property with
> ancestors, so that mean I have to index the instance and that will
> appear in 3 indexes (the two built-in indexes for the property and the
> composite index with the property and ancestors). But I´ll be really
> be using just one index.
>
> Is there any way to avoid this, i.e. be able to use properties in
> composite indexes without these properties being used in single
> property indexes ?
>
> Is this a limitation on the platform/bigtable or it might change in
> the future ?  (for instance, allow to disable some single property
> indexes in a kind).
>
>
> Thanks.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appeng...@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
>
>

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



[google-appengine] "PHP support is a must" / "Petition for php support on app engine"

2010-10-22 Thread Web Feature Labs
PHP support is a must (3031 Stars)

Petition for php support on app engine (3958 users)

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



[google-appengine] Logging with INFO level (Java)

2010-10-22 Thread megaswin
Hi guys.

Am I rigtht in thinking that what I need to do for loging with INFO
level is just change .level param to INFO in logging.properties file?
And then I can write something like
...
private static final Logger log =
Logger.getLogger(PrintServlet.class.getName());
...
log.info("An informational message.");

But it doesn't work for me. Only WARN, ERROR levels are shown in the
logs. So, did I forget something?

Thanks,
Maxim

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



Re: [google-appengine] Pyhton 2.5 Call unsupported methods.

2010-10-22 Thread Ikai Lan (Google)
Can you post the code that caused this?

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



On Thu, Oct 21, 2010 at 5:45 PM, nickm324  wrote:

> Can anyone tell me why the installtion of Python 2.5 that app-engine
> uses calls methods that it doesnt even support?
>
> I get this error.
>
>
> File "/base/python_runtime/python_dist/lib/python2.5/posixpath.py",
> line 62, in join
>elif path == '' or path.endswith('/'):
> AttributeError: 'cStringIO.StringO' object has no attribute 'endswith'
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appeng...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>

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



Re: [google-appengine] "PHP support is a must" / "Petition for php support on app engine"

2010-10-22 Thread Ikai Lan (Google)
This works on App Engine:

http://www.caucho.com/resin-3.0/quercus/

If you build a compelling application using that, it will make your case
stronger (but no promises).

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



On Fri, Oct 22, 2010 at 1:20 PM, Web Feature Labs wrote:

> PHP support is a 
> must(3031
>  Stars)
>
> Petition for php support on app engine (3958 
> users)
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appeng...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>

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



[google-appengine] Image Upload

2010-10-22 Thread Massimiliano
Dear All,
I'm building a gallery and I'm allowing users to upload their images, but I
want all the images with a specific width in the blobstore. I'm trying to
using the Image Api, but I can't understand how.

This is my code, could someone help me?

class UploadHandler(blobstore_handlers.BlobstoreUploadHandler):
 def post(self):
upload_files = self.get_uploads('File')
blob_info = upload_files[0]
 self.request.get('Nick')
frasi = FRASI()
frasi.frase = self.request.get('Nick')
 frasi.link = blob_info.key()
frasi.put()
self.redirect("/")

Thanks

Max

-- 

My email: massimiliano.pietr...@gmail.com
My Google Wave: massimiliano.pietr...@googlewave.com

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



[google-appengine] Decoding the Appengine Status Charts

2010-10-22 Thread ravi
I have been trying to extract information from the graphs on the
Appengine Status pages. For example, consider the graph on this page:
http://code.google.com/status/appengine/detail/datastore/2010/10/22#ae-trust-detail-datastore-get-latency

This graph shows the latency of DataStore Get() requests throughout
the day.

It uses the Google Chart API and uses an Extended Encoding
scheme(http://code.google.com/apis/chart/docs/
data_formats.html#extended)

I managed to decode the data but am having a hard time trying to
relate the information to the graph. Does anyone have any clues? I can
post the data if needed.

Someone asked a similar question on the Google Charts group (http://
groups.google.com/group/google-chart-api/browse_thread/thread/
980640ed5dd71660/5a4cfaea328b479f?lnk=gst&q=appengine#5a4cfaea328b479f)

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



[google-appengine] InvalidObjectException deserializing session

2010-10-22 Thread notcourage
I'm setting up a dev environment w/ Eclipse helios, google Eclipse
plugin, myfaces 2.0.2, facelets 1.1.14. When I open a .jsf page, a
stack trace appears in the appengine log when deployed--but it works
in Eclipse. A snippet of the stack trace:

Caused by: java.lang.RuntimeException: java.io.InvalidObjectException:
enum constant attributes does not exist in class
javax.faces.component.UIComponent$PropertyKeys
at
com.google.apphosting.runtime.jetty.SessionManager.deserialize(SessionManager.java:
413)

This happens even if the page is empty. Same result w/ state saving on
either client or server. Any ideas? Thx. in advance.

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



Re: [google-appengine] Logging with INFO level (Java)

2010-10-22 Thread A. Stevko
did you use this?

my.package.PrintServlet.level=INFO


On Fri, Oct 22, 2010 at 1:34 PM, megaswin  wrote:

> Hi guys.
>
> Am I rigtht in thinking that what I need to do for loging with INFO
> level is just change .level param to INFO in logging.properties file?
> And then I can write something like
> ...
> private static final Logger log =
> Logger.getLogger(PrintServlet.class.getName());
> ...
> log.info("An informational message.");
>
> But it doesn't work for me. Only WARN, ERROR levels are shown in the
> logs. So, did I forget something?
>
> Thanks,
> Maxim
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appeng...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>

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



[google-appengine] Re: download_app

2010-10-22 Thread mykhal
On Oct 18, 10:26 pm, "Ikai Lan (Google)" 
wrote:
> Have you looked into Dropbox?
>
> https://www.dropbox.com/
>
> There is a free offering.

yes, humor is a nice way to gloss over something

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



[google-appengine] Re: App engine down time or problem with CRON requests

2010-10-22 Thread sodso
Yes, same happened for me as well, looks like CRON jobs arent
reliable, so i have decided to implement double-checking logic to
check whether the job has run or not by using a datatstore / memcache
record

On Oct 22, 7:51 pm, Chris Prinos  wrote:
> Anyone know if there was scheduled down time 10/22/2010 around 12:30AM
> PDT?
>
> None of my cron-initiated requests were triggered from about 12:33 AM
> PDT to 1:05 AM PDT, but there were no errors in the logs.

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



[google-appengine] Re: Over Quota Error on TaskQueue when Quota is Available

2010-10-22 Thread sodso
Every task has the following task headers which youmay use to kill any
ghost tasks. cheers !

Task Request Headers

Requests from the Task Queue service contain the following HTTP
headers:

* X-AppEngine-QueueName, the name of the queue (possibly default)
* X-AppEngine-TaskName, the name of the task, or a system-
generated unique ID if no name was specified
* X-AppEngine-TaskRetryCount, the number of times this task has
been retried; for the first attempt, this value is 0


On Oct 22, 3:15 pm, Aaron  wrote:
> This was my mistake.  Because I had exeeded the quota yesterday, there
> were tasks queued up from yesterday that were sending those errors.
>
> On Oct 22, 2:48 am, Aaron  wrote:> Hi!
>
> > After uploading a new version of my app today, I started receiving
> > Over Quota Errors as a result of a cron task that queues up sixty
> > tasks every minute.  As far as I can see from my admin dashboard, I
> > have not exceeded the quota (especially since the quotas just reset).
> > However, I'm still receiving these Over Quota Errors.
>
> > Just a note: I mistakenly let a task queue get out of hand yesterday,
> > so I exceeded my quota from yesterday.  Does this roll over and affect
> > my quota for future days?
>
> > Thanks,
> > Aaron

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



[google-appengine] Re: Over Quota Error on TaskQueue when Quota is Available

2010-10-22 Thread sodso
Task Request Headers

Requests from the Task Queue service contain the following HTTP
headers:

* X-AppEngine-QueueName, the name of the queue (possibly default)
* X-AppEngine-TaskName, the name of the task, or a system-
generated unique ID if no name was specified
* X-AppEngine-TaskRetryCount, the number of times this task has
been retried; for the first attempt, this value is 0


On Oct 22, 3:15 pm, Aaron  wrote:
> This was my mistake.  Because I had exeeded the quota yesterday, there
> were tasks queued up from yesterday that were sending those errors.
>
> On Oct 22, 2:48 am, Aaron  wrote:
>
> > Hi!
>
> > After uploading a new version of my app today, I started receiving
> > Over Quota Errors as a result of a cron task that queues up sixty
> > tasks every minute.  As far as I can see from my admin dashboard, I
> > have not exceeded the quota (especially since the quotas just reset).
> > However, I'm still receiving these Over Quota Errors.
>
> > Just a note: I mistakenly let a task queue get out of hand yesterday,
> > so I exceeded my quota from yesterday.  Does this roll over and affect
> > my quota for future days?
>
> > Thanks,
> > Aaron

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



[google-appengine] Re: Sending mail on DEV server - not working at all

2010-10-22 Thread sodso
thanks ! works now using this 
http://groups.google.com/group/google-appengine/msg/7750aed12ae6543d
!

On Oct 22, 11:40 am, C Sowa  wrote:
> You 
> needhttp://glob.com.au/sendmail/andhttp://groups.google.com/group/google-appengine/msg/7750aed12ae6543d
> .
>
> On Oct 21, 9:06 am, sodso  wrote:
>
> > i am using the following application settings for sending mail in local
> > DEV server
>
> > --use_sqlite --smtp_host=smtp.gmail.com --smtp_port=465
> > --smtp_user=...@gmail.com --smtp_password=***
> > --require_indexes --show_mail_body --debug
>
> > the webpage gets stuck at "Sending Mail Message" and never stops
> > and never sends the email
>
> > i have checked the smtp settings, they look fine.
>
> > is anyone sending mails on DEV local server using the above option ??
> > does it work on Windows ??
>
> > i was trying to find the sendmail package for Windows but could not
> > find it, its only available for linux unix as a tar.gz
>
> > pls 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-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: XMPP message delivery status

2010-10-22 Thread sodso
i think GAE doesnot allow for a response to be received from the
receiver side esp if its a GAE recv app

it just sends the message and returns back

am i correct on the above ?

On Oct 22, 2:25 am, alf  wrote:
> you can send a special command and if client respond ok meaning was
> send correctly other away failed.
>
> is a solution
>
> On Oct 21, 7:08 pm, sodso  wrote:
>
> > i am sending xmpp messages within my own application.
>
> > is there a way to confirm if the message was received OK by the
> > application without any 500 server errors etc ??
>
> > i am sending from my app to my app only, no external sites or apps or
> > servers
>
> > pls 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-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Cound not acces my site. (times out / connection failed)

2010-10-22 Thread antichrist
Quota Ok too, and billing also enabled and I never billed.

Thanks for reply.

On 10월21일, 오전4시33분, suyash singh  wrote:
> it may due to space provided by google to u and not be appropriate for some
> time when user loggon
>
> 2010/10/20 Robert Kluin 
>
>
>
>
>
> > I have not had issues connecting to my apps from S. Korea.
>
> > Robert
>
> > 2010/10/20 antichrist :
> > > Here is South Korea (Republic of Korea)
>
> > > So No one have issue of China's Firewall.
>
> > > My users live in korea.
>
> > > On 10월20일, 오전5시11분, nickmilon  wrote:
> > >> Most probably you have issues with China's Firewall.
>
> > >> On Oct 19, 7:50 pm, antichrist  wrote:
>
> > >> > I launched my website using google app engine, but my user complain
> > >> > about connectivity.
>
> > >> > They said they can access site at sometime, but sometimecan't.
>
> > >> > I found thread below, but here(Korea) have no government issue.
>
> > >> > AppEngine timesout/connectionfailed when trying to access from
> > >> > China(http://groups.google.com/group/google-appengine/browse_thread/
> > >> > thread/94f21927b928eedd/3b1faa3bcdaeb490?lnk=gst&q=connection
> > >> > +fail#3b1faa3bcdaeb490)
>
> > >> > Can anyone think about reason?- 원본 텍스트 숨기기 -
>
> > >> - 원본 텍스트 보기 -
>
> > > --
> > > You received this message because you are subscribed to the Google Groups
> > "Google App Engine" group.
> > > To post to this group, send email to google-appeng...@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > google-appengine+unsubscr...@googlegroups.com
> > .
> > > For more options, visit this group at
> >http://groups.google.com/group/google-appengine?hl=en.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google App Engine" group.
> > To post to this group, send email to google-appeng...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-appengine+unsubscr...@googlegroups.com
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-appengine?hl=en.
>
> --
> ~*suyash*~- 원본 텍스트 숨기기 -
>
> - 원본 텍스트 보기 -

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



[google-appengine] GoogleAppEngine-1.3.8.msi No Work on my Windows XP

2010-10-22 Thread Eli Jones
I un-installed Google App Engine from my PC.

Downloaded the "GoogleAppEngine-1.3.8.msi" file from
http://code.google.com/appengine/downloads.html.

When I run the file to do the install, after agreeing to the license and
clicking next, the "Installing Google App Engine" screen shows.. but then an
pop-up opens that says:

"The installer has encountered an unexpected error installing this package.
 This may indicate a problem with this package.  The error code is 2908."

There is an "OK" button to clear the pop-up.. but a new pop-up just appears
with the same message.  I have to do "End Process" for the msiexec.exe
process.

It happened again on my second attempt at installing.

Anyway, not a big deal for me, just another reason to boot into Linux.  But,
seems odd getting an error like this for installing something that really
only needs to unzip some files to a folder destination.  (Hell, I even
unchecked all the boxes for installing shortcuts or modifying my path.)
 Never had a problem with installing any of the previous .msi files.

System Notes (in case there is some poor soul at Google who has to work on
the Windows Installer.. and who has to look into these sorts of issues):

IBM Thinkpad X61 with (this is a direct quote from the System Properties)
"Windows XP
 Tablet PC Edition 2005
 Version 2002 (?)
 Service Pack 3"
No Antivirus or Antispyware software installed.

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



Re: [google-appengine] Pyhton 2.5 Call unsupported methods.

2010-10-22 Thread Mr. Rajiv Bakulesh Shah
Hi, Nick.

Without more context, it's hard for us to help you.  It could be a bug in App 
Engine, or it could be a problem with your code.

For example, you could be passing something a StringIO object instead of a 
string object, and that could be triggering this exception.

What is your app trying to do when App Engine throws this exception?  Some code 
would be nice.

Thanks, and good luck,
Raj

Social bookmarking with style!
http://imi-imi.appspot.com/

On Oct 21, 2010, at 7:45 PM, nickm324 wrote:

> Can anyone tell me why the installtion of Python 2.5 that app-engine
> uses calls methods that it doesnt even support?
> 
> I get this error.
> 
> 
> File "/base/python_runtime/python_dist/lib/python2.5/posixpath.py",
> line 62, in join
>elif path == '' or path.endswith('/'):
> AttributeError: 'cStringIO.StringO' object has no attribute 'endswith'
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appeng...@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
> 

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