[google-appengine] Re: Google Appengine is BROKEN

2010-07-23 Thread Tim Hoffman
Hi

I bet you are running into this
http://www.pcworld.com/article/200765/twitter_limits_access_by_thirdparty_apps.html

All appengine apps accessing twitter from appengine will be coming
from a few ip's

You may find twitter is thottling not just userid's but also source
addresses so that people don't set up
multiple api keys to get around throttling.

Just my guess

T

On Jul 23, 2:06 pm, nischalshetty  wrote:
> It seems to be Google App Engine for now since things are fine with my
> development server. But, I'll still do as you say, just in case.
>
> -Nischal
>
> On Jul 23, 11:01 am, Alon Carmel  wrote:
>
>
>
> > yeah im getting the same error on my end with my python app on GAE. theres
> > seem to be some block on some end, twitter or google. i suggest you also
> > write in twitters forum too.
> > -
> > Cheers,
>
> > def AlonCarmel(request)
> >      import simplejson as json
> >      contact = {}
> >      contant['email'] = '@aloncarmel.me'
> >      contact['twitter'] = '@aloncarmel'
> >      contact['web'] = 'http://aloncarmel.me'
> >      contact['phone'] = '+972-54-4860380'
> >      return HttpResponse(json.dumps(contact))
>
> > * If you received an unsolicited email from by mistake that wasn't of your
> > matter please delete immediately. All E-mail sent from Alon Carmel is
> > copyrighted to Alon Carmel 2008. Any details revealed in e-mails sent by
> > Alon Carmel are owned by the Author only. Any attempt to duplicate or
> > imitate any of the Content is prohibited under copyright law 2008.
>
> > On Fri, Jul 23, 2010 at 8:55 AM, nischalshetty 
> > wrote:
>
> > > Here it is :
>
> > > justunfollow.action.Login authenticate: Error obtaining redirect URL
> > > twitter4j.TwitterException: Could not fetch URL:
> > >https://twitter.com/oauth/request_token
> > >        at twitter4j.internal.http.HttpClient.request(HttpClient.java:340)
> > >        at
> > > twitter4j.internal.http.HttpClientWrapper.request(HttpClientWrapper.java:
> > > 68)
> > >        at
> > > twitter4j.internal.http.HttpClientWrapper.post(HttpClientWrapper.java:
> > > 99)
> > >        at
>
> > > twitter4j.http.OAuthAuthorization.getOAuthRequestToken(OAuthAuthorization.j
> > >  ava:
> > > 121)
> > >        at twitter4j.Twitter.getOAuthRequestToken(Twitter.java:1406)
> > >        at
>
> > > justunfollow.manager.impl.JustUnfollowManagerImpl.redirectURL(JustUnfollowM
> > >  anagerImpl.java:
> > > 60)
> > >        at justunfollow.action.Login.authenticate(Login.java:56)
> > >        at sun.reflect.GeneratedMethodAccessor68.invoke(Unknown Source)
> > >        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> > >        at java.lang.reflect.Method.invoke(Unknown Source)
> > >        at
>
> > > com.google.apphosting.runtime.security.shared.intercept.java.lang.reflect.M
> > >  ethod_
> > > $1.run(Method_.java:165)
> > >        at java.security.AccessController.doPrivileged(Native Method)
> > >        at
>
> > > com.google.apphosting.runtime.security.shared.intercept.java.lang.reflect.M
> > >  ethod_.privilegedInvoke(Method_.java:
> > > 163)
> > >        at
>
> > > com.google.apphosting.runtime.security.shared.intercept.java.lang.reflect.M
> > >  ethod_.invoke_(Method_.java:
> > > 124)
> > >        at
>
> > > com.google.apphosting.runtime.security.shared.intercept.java.lang.reflect.M
> > >  ethod_.invoke(Method_.java:
> > > 43)
> > >        at
>
> > > com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionI
> > >  nvocation.java:
> > > 404)
> > >        at
>
> > > com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultAct
> > >  ionInvocation.java:
> > > 267)
> > >        at
>
> > > justunfollow.interceptor.ExceptionInterceptor.intercept(ExceptionIntercepto
> > >  r.java:
> > > 23)
> > >        at com.opensymphony.xwork2.DefaultActionInvocation
> > > $2.doProfiling(DefaultActionInvocation.java:224)
> > >        at com.opensymphony.xwork2.DefaultActionInvocation
> > > $2.doProfiling(DefaultActionInvocation.java:223)
> > >        at
>
> > > com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStac
> > >  k.java:
> > > 455)
> > >        at
>
> > > com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocat
> > >  ion.java:
> > > 221)
> > >        at
>
> > > com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(
> > >  DefaultWorkflowInterceptor.java:
> > > 221)
> > >        at
>
> > > com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(Metho
> > >  dFilterInterceptor.java:
> > > 86)
> > >        at com.opensymphony.xwork2.DefaultActionInvocation
> > > $2.doProfiling(DefaultActionInvocation.java:224)
> > >        at com.opensymphony.xwork2.DefaultActionInvocation
> > > $2.doProfiling(DefaultActionInvocation.java:223)
> > >        at
>
> > > com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStac
> > >  k.java:
> > > 455)
> > >        at
>
> > > com.opensymphony.xwork2.DefaultActionInvocation.invoke(Def

[google-appengine] Re: Total Stored Data statistics not updated after datastore delete

2010-07-23 Thread ivarconr
I have now deleted almost 50% of the data stored, and my application
now have 83K entities using 24MB raw data. Total stored data has only
been lowered to 220MB. It might just be that I have to wait a little
longer for the stats to be updated (all the other statistics where
just updated).  I will report back the status after 24Hrs.

On Jul 22, 11:21 pm, ivarconr  wrote:
> I will definitively look in to how the data store works. I use Python
> myself which give me the same type-name possibilities. As the primary
> concern for my application is fresh data I don’t need all the
> historically stored data and can easily get rid of most of it. Thanks
> for your appreciated feedback.
>
> On Jul 22, 10:56 pm, Nate Bauernfeind 
> wrote:
>
> > If you want to use less space you will need to obfuscate your type's names.
>
> > I'm using Java/Scala and my type's name is "U" and the parameter is "n" (in
> > scala I can easily import U as User). This made a 200mb+ difference by
> > reducing the names to one character. You may want to watch some of the "How
> > the Datastore works" Google IO videos. All of the indexes include full
> > parameter names on every entry, so it might be worth investigating if you're
> > already in the process of repopulating your datastore.
>
> > On Thu, Jul 22, 2010 at 3:34 PM, ivarconr  wrote:
> > > Ok, sounds like mine. I got 153k entities taking about 45MB raw data
> > > with 6 different indexes. The total stored data is reported to be
> > > 280MB, which sounds a bit high to me, but might be correct depending
> > > on how much overhead you get on each index.
>
> > > On Jul 22, 10:15 pm, Nate Bauernfeind 
> > > wrote:
> > > > I have a type that has 1.45 million instances using a total of 27mb of
> > > raw
> > > > data but uses a total of 340mb in the datastore including *only* the
> > > default
> > > > indexes (on the key and on a string field).
>
> > > > On Thu, Jul 22, 2010 at 3:10 PM, ivarconr  wrote:
> > > > > I have been waiting a few days. Would expect it to be updated by now.
>
> > > > > On Jul 22, 9:21 pm, Nate Bauernfeind 
> > > > > wrote:
> > > > > > It takes about 24 hours to update the "real" stored data counter.
> > > (The
> > > > > > indexes are slow to update their portion of total stored data.)
>
> > > > > > On Thu, Jul 22, 2010 at 9:57 AM, ivarconr 
> > > wrote:
> > > > > > > I just deleted most of the old data for my application and the 
> > > > > > > size
> > > of
> > > > > > > all entities are now reported to be 44 MBytes. I have 6 indexes
> > > (where
> > > > > > > 3 are over 99% of the data). Shouldn't the total stored data
> > > counter
> > > > > > > be updated? It says I'm still using 280 MB, which sounds a lot to
> > > me,
> > > > > > > even with additional data for indexes.
>
> > > > > > > Application id: bikeoslo
>
> > > > > > > --
> > > > > > > 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-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: Google Appengine is BROKEN

2010-07-23 Thread nischalshetty
@Tim I hope that's not the case. IMO, twitter must have some special
provision for App Engine. I've posted the issue on the twitter dev
group as well, haven't got any reply yet.

I'm at my lowest now, being able to do nothing other than just pray!

-Nischal

On Jul 23, 12:06 pm, Tim Hoffman  wrote:
> Hi
>
> I bet you are running into 
> thishttp://www.pcworld.com/article/200765/twitter_limits_access_by_thirdp...
>
> All appengine apps accessing twitter from appengine will be coming
> from a few ip's
>
> You may find twitter is thottling not just userid's but also source
> addresses so that people don't set up
> multiple api keys to get around throttling.
>
> Just my guess
>
> T
>
> On Jul 23, 2:06 pm, nischalshetty  wrote:
>
>
>
> > It seems to be Google App Engine for now since things are fine with my
> > development server. But, I'll still do as you say, just in case.
>
> > -Nischal
>
> > On Jul 23, 11:01 am, Alon Carmel  wrote:
>
> > > yeah im getting the same error on my end with my python app on GAE. theres
> > > seem to be some block on some end, twitter or google. i suggest you also
> > > write in twitters forum too.
> > > -
> > > Cheers,
>
> > > def AlonCarmel(request)
> > >      import simplejson as json
> > >      contact = {}
> > >      contant['email'] = '@aloncarmel.me'
> > >      contact['twitter'] = '@aloncarmel'
> > >      contact['web'] = 'http://aloncarmel.me'
> > >      contact['phone'] = '+972-54-4860380'
> > >      return HttpResponse(json.dumps(contact))
>
> > > * If you received an unsolicited email from by mistake that wasn't of your
> > > matter please delete immediately. All E-mail sent from Alon Carmel is
> > > copyrighted to Alon Carmel 2008. Any details revealed in e-mails sent by
> > > Alon Carmel are owned by the Author only. Any attempt to duplicate or
> > > imitate any of the Content is prohibited under copyright law 2008.
>
> > > On Fri, Jul 23, 2010 at 8:55 AM, nischalshetty 
> > > wrote:
>
> > > > Here it is :
>
> > > > justunfollow.action.Login authenticate: Error obtaining redirect URL
> > > > twitter4j.TwitterException: Could not fetch URL:
> > > >https://twitter.com/oauth/request_token
> > > >        at 
> > > > twitter4j.internal.http.HttpClient.request(HttpClient.java:340)
> > > >        at
> > > > twitter4j.internal.http.HttpClientWrapper.request(HttpClientWrapper.java:
> > > > 68)
> > > >        at
> > > > twitter4j.internal.http.HttpClientWrapper.post(HttpClientWrapper.java:
> > > > 99)
> > > >        at
>
> > > > twitter4j.http.OAuthAuthorization.getOAuthRequestToken(OAuthAuthorization.j
> > > >  ava:
> > > > 121)
> > > >        at twitter4j.Twitter.getOAuthRequestToken(Twitter.java:1406)
> > > >        at
>
> > > > justunfollow.manager.impl.JustUnfollowManagerImpl.redirectURL(JustUnfollowM
> > > >  anagerImpl.java:
> > > > 60)
> > > >        at justunfollow.action.Login.authenticate(Login.java:56)
> > > >        at sun.reflect.GeneratedMethodAccessor68.invoke(Unknown Source)
> > > >        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown 
> > > > Source)
> > > >        at java.lang.reflect.Method.invoke(Unknown Source)
> > > >        at
>
> > > > com.google.apphosting.runtime.security.shared.intercept.java.lang.reflect.M
> > > >  ethod_
> > > > $1.run(Method_.java:165)
> > > >        at java.security.AccessController.doPrivileged(Native Method)
> > > >        at
>
> > > > com.google.apphosting.runtime.security.shared.intercept.java.lang.reflect.M
> > > >  ethod_.privilegedInvoke(Method_.java:
> > > > 163)
> > > >        at
>
> > > > com.google.apphosting.runtime.security.shared.intercept.java.lang.reflect.M
> > > >  ethod_.invoke_(Method_.java:
> > > > 124)
> > > >        at
>
> > > > com.google.apphosting.runtime.security.shared.intercept.java.lang.reflect.M
> > > >  ethod_.invoke(Method_.java:
> > > > 43)
> > > >        at
>
> > > > com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionI
> > > >  nvocation.java:
> > > > 404)
> > > >        at
>
> > > > com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultAct
> > > >  ionInvocation.java:
> > > > 267)
> > > >        at
>
> > > > justunfollow.interceptor.ExceptionInterceptor.intercept(ExceptionIntercepto
> > > >  r.java:
> > > > 23)
> > > >        at com.opensymphony.xwork2.DefaultActionInvocation
> > > > $2.doProfiling(DefaultActionInvocation.java:224)
> > > >        at com.opensymphony.xwork2.DefaultActionInvocation
> > > > $2.doProfiling(DefaultActionInvocation.java:223)
> > > >        at
>
> > > > com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStac
> > > >  k.java:
> > > > 455)
> > > >        at
>
> > > > com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocat
> > > >  ion.java:
> > > > 221)
> > > >        at
>
> > > > com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(
> > > >  DefaultWorkflowInterceptor.java:
> > > > 221)
> > > >        at
>
> > > > com.opensymphony.xwork2.interceptor.M

[google-appengine] Re: geopt query

2010-07-23 Thread herbie
me too!

On Jul 23, 1:11 am, Albert  wrote:
> Same question here.
>
> On Jul 22, 3:16 pm, Patrick  wrote:
>
> > Is the Google App Engine team considering supporting GeoPt queries
> > such as find nearby, etc.?  I don't see it on the roadmap, and, if
> > this is not supported, I really don't see the reason for having this
> > core datatype.  I read about GeoHash, etc., but this seems to be a
> > workaround more than a native solution, which I assumed the Google App
> > Engine team was planning given that they have a core datatype for
> > GeoPt.
>
> > Thanks,
>
> > -Patrick

-- 
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] GAE + JDO + Joins

2010-07-23 Thread ping
Hello,
i read that the GAE implementation of JDO does not support "JOINS".
Is this right?
Whats the common workaround for it?

greets

-- 
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: CPU Time measurements

2010-07-23 Thread Gordon
quite interesting.

i tried to understand the quota and performance measurements as well,
though the only real meaning i got out of the profiling was a rough
relationship between the profiling numbers and the log cpu_ms /
api_cpu_ms values.
enough to get an understanding whats going on in your program, but not
enough to be reliable exact

On Jul 23, 6:45 am, Greg Tracy  wrote:
> It's worth pointing out the two other peculiarities...
>
> 1. When a DeadlineExceeded exception is thrown, the API usage is
> reported as zero and the CPU usage is very low - lower than other
> requests that don't hit the deadline.
>
> 2. When a DeadlineExceeded exception is thrown, the "cpu_ms" time
> reported in the log are also oddly low even though the wall clock time
> is at 30 secs.
>
> Just trying to understand what's being measured and where all my time
> is going...
>
> Thanks!
>
> On Jul 22, 10:17 pm, Greg Tracy  wrote:
>
>
>
> > I'd like to better understand the CPU time measurements in app engine.
> > As I've been profiling an app, I've started to see inconsistencies in
> > the various metrics. I'm striving to improve every number that's in my
> > control, but still lack a fundamental understanding of what's being
> > measured, the difference between various "CPU times" and how they are
> > reflected in the quotas.
>
> > For example, I expected to be able to measure cpu time and api time
> > (via the quota package) at the end of a request handler and draw some
> > conclusions about the cpu_ms and api_cpu_ms times reported in the
> > admin log for each handler request. Specifically, I expected that
> > ratio of the quota measurements and the log time be consistent for
> > every call, but I haven't seen that for the cpu numbers.
>
> > The experiment went as follows...
>
> > class MainHandler(webapp.RequestHandler) {
>
> >   def get(self):
>
> >       try:
> >           # do all the expensive magic...
> >       finally:
> >             end_api = quota.get_request_api_cpu_usage()
> >             end_cpu = quota.get_request_cpu_usage()
> >             logging.warning("total API cycles %s, total CPU cycles %s"
> > % (end_api, end_cpu))
>
> >       return
>
> > When I check the ratio of these metrics with those reported in the
> > admin log over mutliple calls, it's perfectly stable for the API
> > numbers at 1.2.
>
> > When I check the ratio for the CPU metric, it's much more eratic...
>
> > 0.111
> > 0.131
> > 0.124
>
> > 0.050
> > 0.028
> > 0.023
> > 0.024
> > 0.112
>
> > 0.048
> > 0.052
> > 0.147
> > 0.057
> > 0.048
> > 0.040
> > 0.138
>
> > 0.024
> > 0.027
> > 0.030
> > 0.023
> > 0.036
> > 0.025
>
> > Why is that?
>
> > How can I get more granularity with the CPU usage statistics? Can I
> > measure the quotas through the handler and guarantee that I'm measure
> > just a datastore CPU time vs. non-datastore CPU time?
>
> > 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] Blobstore upload handler is Base64 encoding strings?

2010-07-23 Thread ekampf
I have a form with a file input and a text input field.
When users type Hebrew text I get a Base64 encoded string on the
server. When typing English I get a non Base64 string.
On the development server I get a regular Unicode string (what I'd
expect)

Cant find any mentions of this in the docs.
What the behavior I should expect on production? Is this a bug?

-- 
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: Problem with OAuth and Twitter

2010-07-23 Thread Keith
I'm also seeing problems between appengine and twitter. I'm just
trying to post status updates using basic authentication. Code
has woked fine for some time and works fine when run locally but
fails from appengine. I get the following stack trace from twitter4j

Caused by: java.io.IOException: Could not fetch URL:
https://api.twitter.com/1/statuses/update.json
at
com.google.appengine.api.urlfetch.URLFetchServiceImpl.convertApplicationException(URLFetchServiceImpl.java:
106)
at
com.google.appengine.api.urlfetch.URLFetchServiceImpl.fetch(URLFetchServiceImpl.java:
39)

On Jul 23, 3:17 am, "ke...@kanno.com"  wrote:
> Hi,
>
> I have a problem with OAuth and Twitter right now.
> My application is a small Twitter client and was working fine about 6
> hours ago but after that
> I couldn't connect to Twitter anymore. I checked Twitter and their
> OAuth and all the APIs are
> working perfect. It seems like GAE's urlfetch is not working to
> Twitter.
>
> I heard my friends also have a problem with connecting Twitter with
> OAuth on GAE.
>
> Does anyone know how to solve this problem?
>
> Thanks,
> Keiya Kanno

-- 
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] Preventing "django 1.1 was requested, but 0.96.4.None is already in use"

2010-07-23 Thread Blixt
This issue seems to occur if using the Admin console (which I use to
execute arbitrary code on live data), and a new instance is started
(thus loading Django 0.96 before my code gets a chance to load 1.1).
Is the only solution to not use the Admin console, and instead use
some kind of remote datastore solution?

Oh and by Admin console I mean I have added this line to my app.yaml:

- url: /admin/.*
  script: $PYTHON_LIB/google/appengine/ext/admin
  login: admin

-- 
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: Problem with OAuth and Twitter

2010-07-23 Thread Ross M Karchner
Unrelated to the issue being discussed, but are you already aware that
basic auth is going away in a few weeks?

http://countdowntooauth.com/



On Fri, Jul 23, 2010 at 7:49 AM, Keith  wrote:
> I'm also seeing problems between appengine and twitter. I'm just
> trying to post status updates using basic authentication. Code
> has woked fine for some time and works fine when run locally but
> fails from appengine. I get the following stack trace from twitter4j
>
> Caused by: java.io.IOException: Could not fetch URL:
> https://api.twitter.com/1/statuses/update.json
>        at
> com.google.appengine.api.urlfetch.URLFetchServiceImpl.convertApplicationException(URLFetchServiceImpl.java:
> 106)
>        at
> com.google.appengine.api.urlfetch.URLFetchServiceImpl.fetch(URLFetchServiceImpl.java:
> 39)
>
> On Jul 23, 3:17 am, "ke...@kanno.com"  wrote:
>> Hi,
>>
>> I have a problem with OAuth and Twitter right now.
>> My application is a small Twitter client and was working fine about 6
>> hours ago but after that
>> I couldn't connect to Twitter anymore. I checked Twitter and their
>> OAuth and all the APIs are
>> working perfect. It seems like GAE's urlfetch is not working to
>> Twitter.
>>
>> I heard my friends also have a problem with connecting Twitter with
>> OAuth on GAE.
>>
>> Does anyone know how to solve this problem?
>>
>> Thanks,
>> Keiya Kanno
>
> --
> 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.
>
>



-- 
Ross M Karchner
http://eventgrinder.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.



Re: [google-appengine] Preventing "django 1.1 was requested, but 0.96.4.None is already in use"

2010-07-23 Thread Chris Copeland
Hi,

I'm not sure about your exact problem, but I solved similar competing Django
version issues by adding the following at the top of main.py:

for k in [k for k in sys.modules if k.startswith('django')]:
del sys.modules[k]

-Chris

On Fri, Jul 23, 2010 at 7:42 AM, Blixt  wrote:

> This issue seems to occur if using the Admin console (which I use to
> execute arbitrary code on live data), and a new instance is started
> (thus loading Django 0.96 before my code gets a chance to load 1.1).
> Is the only solution to not use the Admin console, and instead use
> some kind of remote datastore solution?
>
> Oh and by Admin console I mean I have added this line to my app.yaml:
>
> - url: /admin/.*
>  script: $PYTHON_LIB/google/appengine/ext/admin
>  login: admin
>
> --
> 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: Problem with OAuth and Twitter

2010-07-23 Thread nischalshetty
@Ross

I've been using oAuth

-Nischal

On Jul 23, 6:15 pm, Ross M Karchner  wrote:
> Unrelated to the issue being discussed, but are you already aware that
> basic auth is going away in a few weeks?
>
> http://countdowntooauth.com/
>
>
>
>
>
> On Fri, Jul 23, 2010 at 7:49 AM, Keith  wrote:
> > I'm also seeing problems between appengine and twitter. I'm just
> > trying to post status updates using basic authentication. Code
> > has woked fine for some time and works fine when run locally but
> > fails from appengine. I get the following stack trace from twitter4j
>
> > Caused by: java.io.IOException: Could not fetch URL:
> >https://api.twitter.com/1/statuses/update.json
> >        at
> > com.google.appengine.api.urlfetch.URLFetchServiceImpl.convertApplicationExc 
> > eption(URLFetchServiceImpl.java:
> > 106)
> >        at
> > com.google.appengine.api.urlfetch.URLFetchServiceImpl.fetch(URLFetchService 
> > Impl.java:
> > 39)
>
> > On Jul 23, 3:17 am, "ke...@kanno.com"  wrote:
> >> Hi,
>
> >> I have a problem with OAuth and Twitter right now.
> >> My application is a small Twitter client and was working fine about 6
> >> hours ago but after that
> >> I couldn't connect to Twitter anymore. I checked Twitter and their
> >> OAuth and all the APIs are
> >> working perfect. It seems like GAE's urlfetch is not working to
> >> Twitter.
>
> >> I heard my friends also have a problem with connecting Twitter with
> >> OAuth on GAE.
>
> >> Does anyone know how to solve this problem?
>
> >> Thanks,
> >> Keiya Kanno
>
> > --
> > 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.
>
> --
> Ross M Karchnerhttp://eventgrinder.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: Google Appengine is BROKEN

2010-07-23 Thread nischalshetty
Just to update all of you, the good folks at twitter have seen the
issue thread on the twitter development group and have started to
check if its on their end -
http://groups.google.com/group/twitter-development-talk/browse_thread/thread/aca4bedd27a6a2b

I hope the Appengine guys see this fast and start investigating as
well. Will update this thread as soon as I hear anything important.
This is the most I can do, I'm completely helpless otherwise.

-Nischal

On Jul 23, 12:24 pm, nischalshetty  wrote:
> @Tim I hope that's not the case. IMO, twitter must have some special
> provision for App Engine. I've posted the issue on the twitter dev
> group as well, haven't got any reply yet.
>
> I'm at my lowest now, being able to do nothing other than just pray!
>
> -Nischal
>
> On Jul 23, 12:06 pm, Tim Hoffman  wrote:
>
>
>
> > Hi
>
> > I bet you are running into 
> > thishttp://www.pcworld.com/article/200765/twitter_limits_access_by_thirdp...
>
> > All appengine apps accessing twitter from appengine will be coming
> > from a few ip's
>
> > You may find twitter is thottling not just userid's but also source
> > addresses so that people don't set up
> > multiple api keys to get around throttling.
>
> > Just my guess
>
> > T
>
> > On Jul 23, 2:06 pm, nischalshetty  wrote:
>
> > > It seems to be Google App Engine for now since things are fine with my
> > > development server. But, I'll still do as you say, just in case.
>
> > > -Nischal
>
> > > On Jul 23, 11:01 am, Alon Carmel  wrote:
>
> > > > yeah im getting the same error on my end with my python app on GAE. 
> > > > theres
> > > > seem to be some block on some end, twitter or google. i suggest you also
> > > > write in twitters forum too.
> > > > -
> > > > Cheers,
>
> > > > def AlonCarmel(request)
> > > >      import simplejson as json
> > > >      contact = {}
> > > >      contant['email'] = '@aloncarmel.me'
> > > >      contact['twitter'] = '@aloncarmel'
> > > >      contact['web'] = 'http://aloncarmel.me'
> > > >      contact['phone'] = '+972-54-4860380'
> > > >      return HttpResponse(json.dumps(contact))
>
> > > > * If you received an unsolicited email from by mistake that wasn't of 
> > > > your
> > > > matter please delete immediately. All E-mail sent from Alon Carmel is
> > > > copyrighted to Alon Carmel 2008. Any details revealed in e-mails sent by
> > > > Alon Carmel are owned by the Author only. Any attempt to duplicate or
> > > > imitate any of the Content is prohibited under copyright law 2008.
>
> > > > On Fri, Jul 23, 2010 at 8:55 AM, nischalshetty 
> > > > wrote:
>
> > > > > Here it is :
>
> > > > > justunfollow.action.Login authenticate: Error obtaining redirect URL
> > > > > twitter4j.TwitterException: Could not fetch URL:
> > > > >https://twitter.com/oauth/request_token
> > > > >        at 
> > > > > twitter4j.internal.http.HttpClient.request(HttpClient.java:340)
> > > > >        at
> > > > > twitter4j.internal.http.HttpClientWrapper.request(HttpClientWrapper.java:
> > > > > 68)
> > > > >        at
> > > > > twitter4j.internal.http.HttpClientWrapper.post(HttpClientWrapper.java:
> > > > > 99)
> > > > >        at
>
> > > > > twitter4j.http.OAuthAuthorization.getOAuthRequestToken(OAuthAuthorization.j
> > > > >  ava:
> > > > > 121)
> > > > >        at twitter4j.Twitter.getOAuthRequestToken(Twitter.java:1406)
> > > > >        at
>
> > > > > justunfollow.manager.impl.JustUnfollowManagerImpl.redirectURL(JustUnfollowM
> > > > >  anagerImpl.java:
> > > > > 60)
> > > > >        at justunfollow.action.Login.authenticate(Login.java:56)
> > > > >        at sun.reflect.GeneratedMethodAccessor68.invoke(Unknown Source)
> > > > >        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown 
> > > > > Source)
> > > > >        at java.lang.reflect.Method.invoke(Unknown Source)
> > > > >        at
>
> > > > > com.google.apphosting.runtime.security.shared.intercept.java.lang.reflect.M
> > > > >  ethod_
> > > > > $1.run(Method_.java:165)
> > > > >        at java.security.AccessController.doPrivileged(Native Method)
> > > > >        at
>
> > > > > com.google.apphosting.runtime.security.shared.intercept.java.lang.reflect.M
> > > > >  ethod_.privilegedInvoke(Method_.java:
> > > > > 163)
> > > > >        at
>
> > > > > com.google.apphosting.runtime.security.shared.intercept.java.lang.reflect.M
> > > > >  ethod_.invoke_(Method_.java:
> > > > > 124)
> > > > >        at
>
> > > > > com.google.apphosting.runtime.security.shared.intercept.java.lang.reflect.M
> > > > >  ethod_.invoke(Method_.java:
> > > > > 43)
> > > > >        at
>
> > > > > com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionI
> > > > >  nvocation.java:
> > > > > 404)
> > > > >        at
>
> > > > > com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultAct
> > > > >  ionInvocation.java:
> > > > > 267)
> > > > >        at
>
> > > > > justunfollow.interceptor.ExceptionInterceptor.intercept(ExceptionIntercepto
> > > > >  r.java:
> > > > > 23)
> > > > >        at

[google-appengine] Ideas/strategy for exporting lots of data to a remote system daily?

2010-07-23 Thread Scott Newman
Hello,

I have an ad-serving application launching soon that we expect to
receive about 2 million requests/day. Each page serves a random ad,
and I log which ad was served in a Log model.

I need to get these log records back to my billing system each day for
archival, statistical and reconciliation purposes. The problem is that
I haven't come up with a good way to get this data out of AppEngine.
Even if I tried to get the data out hourly, I'd still end up with
about 85k records - with a 1000 record query limit, I'd have to
execute an offset 85 times every hour. (unless I'm missing something)

I can't see a way that the data exporter can be configured to give me
a date range; it appears to be an all-or-nothing approach. I *could*
export all the data nightly, filter out only the records in the date
range I care about, then go back to AppEngine and purge the records in
that date range. That would mean at most I'd be exporting slightly
more than one day's records.

Can anyone think of a better way to accomplish what I'm trying to do?
I'd appreciate any thoughts.

-- 
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: AdSense/App Engine + XMPP limits

2010-07-23 Thread Geoffrey Spear


On Jul 22, 8:03 am, RickArrano  wrote:
> I also have a question regarding the XMPP free limits – the limits are
> 3000 XMPP API calls per minute and 657,000 per day. Is there any way
> to request some sort of whitelisting for the per minute limit as long
> as I don’t exceed the per diem? My application could potentially
> exceed more than 3000 messages sent per minute, but would never exceed
> the daily total. Again I’m guessing it’s not possible but I figured I
> would ask.

I don't know what Google's policy on this is, but I suspect they'd be
unwilling to create such a whitelist when you can already enable
billing to increase the limit to 32000/min.  You can set a very low
daily limit and allocate all of it to resources you're very unlikely
to go over quota for (email recipients, maybe, if your app doesn't
send email) and get the extra quotas "free".

As for the AdSense paying for your App Engine usage, that's not
possible since AppEngine payments go through Google Checkout and
Checkout doesn't let you carry a balance that you could have your
AdSense payments applied to.  Having your AdSense payments transferred
to the same account your App Engine payments come out of sort of
accomplishes this, except of course that there's no way to
automatically set your App Engine quotas to stay within the amount
you've earned from AdSense.

-- 
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 App Python src code download

2010-07-23 Thread Robert Kluin
Quite a few people want to be able to sell their app without selling the code.

Robert






On Fri, Jul 23, 2010 at 2:26 AM, Cluster  wrote:
> of course not
> now i must recode it all
> but, i think, that googlers can make some tool for restoration, or it
> it too much?
> For example, when i log in appspot.com. Why dont i have ability to
> download files of app? What is the point of it?
>
> --
> 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] Ideas/strategy for exporting lots of data to a remote system daily?

2010-07-23 Thread Robert Kluin
Hi Scott,
  My first thought:  summarize the data and export the summaries.  For
example, summarize each add by the hour then just export the hourly
summaries to the other app.


Robert







On Fri, Jul 23, 2010 at 11:03 AM, Scott Newman  wrote:
> Hello,
>
> I have an ad-serving application launching soon that we expect to
> receive about 2 million requests/day. Each page serves a random ad,
> and I log which ad was served in a Log model.
>
> I need to get these log records back to my billing system each day for
> archival, statistical and reconciliation purposes. The problem is that
> I haven't come up with a good way to get this data out of AppEngine.
> Even if I tried to get the data out hourly, I'd still end up with
> about 85k records - with a 1000 record query limit, I'd have to
> execute an offset 85 times every hour. (unless I'm missing something)
>
> I can't see a way that the data exporter can be configured to give me
> a date range; it appears to be an all-or-nothing approach. I *could*
> export all the data nightly, filter out only the records in the date
> range I care about, then go back to AppEngine and purge the records in
> that date range. That would mean at most I'd be exporting slightly
> more than one day's records.
>
> Can anyone think of a better way to accomplish what I'm trying to do?
> I'd appreciate any thoughts.
>
> --
> 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: Using % wildcard in a partial String search?

2010-07-23 Thread Darien Caldwell
I'm guessing they imported the 'match' object from the re (Regular
Expression) library as the name 'matches'.
http://docs.python.org/library/re.html#regular-expression-objects

It's a standard part of Python.  Using regular expressions you can
search for many complex patterns within a string.

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



[google-appengine] Re: Google Appengine is BROKEN

2010-07-23 Thread nischalshetty
I had a check. I guess it's most probably twitter that is blocking the
appengine from making any calls. In touch with the twitter devs now,
hope they get something done quick.

-Nischal

On Jul 23, 7:48 pm, nischalshetty  wrote:
> Just to update all of you, the good folks at twitter have seen the
> issue thread on the twitter development group and have started to
> check if its on their end 
> -http://groups.google.com/group/twitter-development-talk/browse_thread...
>
> I hope the Appengine guys see this fast and start investigating as
> well. Will update this thread as soon as I hear anything important.
> This is the most I can do, I'm completely helpless otherwise.
>
> -Nischal
>
> On Jul 23, 12:24 pm, nischalshetty  wrote:
>
>
>
> > @Tim I hope that's not the case. IMO, twitter must have some special
> > provision for App Engine. I've posted the issue on the twitter dev
> > group as well, haven't got any reply yet.
>
> > I'm at my lowest now, being able to do nothing other than just pray!
>
> > -Nischal
>
> > On Jul 23, 12:06 pm, Tim Hoffman  wrote:
>
> > > Hi
>
> > > I bet you are running into 
> > > thishttp://www.pcworld.com/article/200765/twitter_limits_access_by_thirdp...
>
> > > All appengine apps accessing twitter from appengine will be coming
> > > from a few ip's
>
> > > You may find twitter is thottling not just userid's but also source
> > > addresses so that people don't set up
> > > multiple api keys to get around throttling.
>
> > > Just my guess
>
> > > T
>
> > > On Jul 23, 2:06 pm, nischalshetty  wrote:
>
> > > > It seems to be Google App Engine for now since things are fine with my
> > > > development server. But, I'll still do as you say, just in case.
>
> > > > -Nischal
>
> > > > On Jul 23, 11:01 am, Alon Carmel  wrote:
>
> > > > > yeah im getting the same error on my end with my python app on GAE. 
> > > > > theres
> > > > > seem to be some block on some end, twitter or google. i suggest you 
> > > > > also
> > > > > write in twitters forum too.
> > > > > -
> > > > > Cheers,
>
> > > > > def AlonCarmel(request)
> > > > >      import simplejson as json
> > > > >      contact = {}
> > > > >      contant['email'] = '@aloncarmel.me'
> > > > >      contact['twitter'] = '@aloncarmel'
> > > > >      contact['web'] = 'http://aloncarmel.me'
> > > > >      contact['phone'] = '+972-54-4860380'
> > > > >      return HttpResponse(json.dumps(contact))
>
> > > > > * If you received an unsolicited email from by mistake that wasn't of 
> > > > > your
> > > > > matter please delete immediately. All E-mail sent from Alon Carmel is
> > > > > copyrighted to Alon Carmel 2008. Any details revealed in e-mails sent 
> > > > > by
> > > > > Alon Carmel are owned by the Author only. Any attempt to duplicate or
> > > > > imitate any of the Content is prohibited under copyright law 2008.
>
> > > > > On Fri, Jul 23, 2010 at 8:55 AM, nischalshetty 
> > > > > wrote:
>
> > > > > > Here it is :
>
> > > > > > justunfollow.action.Login authenticate: Error obtaining redirect URL
> > > > > > twitter4j.TwitterException: Could not fetch URL:
> > > > > >https://twitter.com/oauth/request_token
> > > > > >        at 
> > > > > > twitter4j.internal.http.HttpClient.request(HttpClient.java:340)
> > > > > >        at
> > > > > > twitter4j.internal.http.HttpClientWrapper.request(HttpClientWrapper.java:
> > > > > > 68)
> > > > > >        at
> > > > > > twitter4j.internal.http.HttpClientWrapper.post(HttpClientWrapper.java:
> > > > > > 99)
> > > > > >        at
>
> > > > > > twitter4j.http.OAuthAuthorization.getOAuthRequestToken(OAuthAuthorization.j
> > > > > >  ava:
> > > > > > 121)
> > > > > >        at twitter4j.Twitter.getOAuthRequestToken(Twitter.java:1406)
> > > > > >        at
>
> > > > > > justunfollow.manager.impl.JustUnfollowManagerImpl.redirectURL(JustUnfollowM
> > > > > >  anagerImpl.java:
> > > > > > 60)
> > > > > >        at justunfollow.action.Login.authenticate(Login.java:56)
> > > > > >        at sun.reflect.GeneratedMethodAccessor68.invoke(Unknown 
> > > > > > Source)
> > > > > >        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown 
> > > > > > Source)
> > > > > >        at java.lang.reflect.Method.invoke(Unknown Source)
> > > > > >        at
>
> > > > > > com.google.apphosting.runtime.security.shared.intercept.java.lang.reflect.M
> > > > > >  ethod_
> > > > > > $1.run(Method_.java:165)
> > > > > >        at java.security.AccessController.doPrivileged(Native Method)
> > > > > >        at
>
> > > > > > com.google.apphosting.runtime.security.shared.intercept.java.lang.reflect.M
> > > > > >  ethod_.privilegedInvoke(Method_.java:
> > > > > > 163)
> > > > > >        at
>
> > > > > > com.google.apphosting.runtime.security.shared.intercept.java.lang.reflect.M
> > > > > >  ethod_.invoke_(Method_.java:
> > > > > > 124)
> > > > > >        at
>
> > > > > > com.google.apphosting.runtime.security.shared.intercept.java.lang.reflect.M
> > > > > >  ethod_.invoke(Method_.java:
> > > > > > 43)
> > > > > >        at
>
>

[google-appengine] Re: how to get the id of key of SelfReferenceProperty

2010-07-23 Thread saintthor
thank you. the problem is caused by setting Parent None.

On 7月14日, 下午1时56分, Robert Kluin  wrote:
> SelfReferenceProperty should just return a db.Key.  So assuming the property 
> is set, normal Key methods should work.
>
> I have two suggestions:
> 1) Unless you are intending to dereference (ie perform another db.get()) 
> those entities, use the get_value_for_datastore 
> method.http://code.google.com/appengine/docs/python/datastore/propertyclass
>
> And,
> 2)  Avoid using Parent as a property name, parent is reserved. That is just 
> asking for bugs caused due to a easy to make 
> typo.http://code.google.com/appengine/docs/python/datastore/modelclass.htm...
>
> Robert
>
> On Jul 13, 2010, at 12:14,saintthor wrote:
>
> > class x( db.Model ):
> >yy = db.ReferenceProperty( y )
> >Parent = db.SelfReferenceProperty()
>
> > use yy.key().id() is ok, but Parent.key().id() is invalid. tell me
> > SelfReferenceProperty have no attribute Key.
>
> > how to get the key id then?
>
> > --
> > 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] Please confirm: wsgiref handlers problem!

2010-07-23 Thread BL n102
In dev_appserver

class MainPage(webapp.RequestHandler):
  def get(self):
 self.response.out.write("Hello MainPage")

class TestPage(webapp.RequestHandler):
  def get(self):
# 10 seconds
i = 1
while True:
  if i == 10:
break
  time.sleep(1)
  i = i + 1

application = webapp.WSGIApplication([
  ('/', MainPage)
  ('/test10', TestPage),
], debug=True)

def main():
wsgiref.handlers.CGIHandler().run(application)
#run_wsgi_app(application)

if __name__ == "__main__":
main()

I don't understand. I go to http://localhost:8080/test10 and go to
http://localhost:8080/, but MainPage not response. After 10 seconds,
MainPage response "Hello MainPage" and TestPage response. GAE
dev_appserver doesn't support multiple request?

How I test multiple AJAX requests? I will deploy to GAE server for
testing? It took too long!!!

Demo image:
http://picasaweb.google.com/blockn102/GoogleAppEngineDev_appserverProblem#5496849277531050578
http://stackoverflow.com/questions/3284196/gae-wsgiapplication-and-multiple-request

-- 
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] Help need!! Can not update my application

2010-07-23 Thread James Yang
Hi All:
I got an error when update my application onn app engine
Error 403: --- begin server output ---
You do not have permission to modify this app (app_id=u'APPID').
--- end server output ---

and I try to create a new application, after create the application
id, It say I can not access the new application

Please help

Thanks in advance

James

-- 
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] Stuck Index

2010-07-23 Thread Hudar
Hi,

Just wondering, I just uploaded blog application written in django to
appengine. The app name is hudarsono-blog

But, it has been more than 2 days, the index status still building
although there is no data there, coz it's a new empty blog. It does
run in my local testing.

Last time did appcfg index vacuum, but still no effect. Hopefully
anyone know how to solve this.

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: Problem with OAuth and Twitter

2010-07-23 Thread gmcbay
Same problem here.   A Java-based GAE that has been working fine for
months suddenly stopped working either late last night or early this
morning.  Twitter API requests are causing Java IOExceptions (they
work once in a while but fail like 90% of the time).  The same
requests work fine when fetched from a local instance of my app, so it
appears to be a partial outage of GAE's url request service.





On Jul 22, 7:39 pm, nischalshetty  wrote:
> I'm facing the same problem. Not able to obtain the redirect URL from
> twitter, though it was working fine until now. It is still working in
> my development environment but not working on the live app engine
> deployment, Please help ASAP!
>
> -Nischal
>
> On Jul 23, 7:17 am, "ke...@kanno.com"  wrote:
>
>
>
> > Hi,
>
> > I have a problem with OAuth and Twitter right now.
> > My application is a small Twitter client and was working fine about 6
> > hours ago but after that
> > I couldn't connect to Twitter anymore. I checked Twitter and their
> > OAuth and all the APIs are
> > working perfect. It seems like GAE's urlfetch is not working to
> > Twitter.
>
> > I heard my friends also have a problem with connecting Twitter with
> > OAuth on GAE.
>
> > Does anyone know how to solve this problem?
>
> > Thanks,
> > Keiya Kanno- Hide quoted text -
>
> - Show quoted text -

-- 
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] GAE + JDO + Joins

2010-07-23 Thread Uberto Barbini
On Fri, Jul 23, 2010 at 11:30 AM, ping  wrote:
> Hello,
> i read that the GAE implementation of JDO does not support "JOINS".
> Is this right?

yes

> Whats the common workaround for it?

fetch your data separately or create a materialized view and keep it
updated with triggers

cheers

Uberto

-- 
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] Gae, Google Calendar, ClientLogin

2010-07-23 Thread rasp
Hi.
I write  the python script( http://pastebin.com/Ptmu4pjk ), that
called by CRON every 10 minutes.
This script connect to Google Calendar (without gdata) using
ClientLogin, get a json and parse it.
If i test this on local dev server all work great, but if i upload
script on appspot.com there are some errors:
Google Calendar return error 401 and html code instead json response.
Thanks.


Authorization required


Authorization required
Error 401



-- 
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] URL Request server issues?

2010-07-23 Thread gmcbay
My Java-platform GAE application is throwing java.io.IOExceptions when
I attempt to access external URLs.  Is the URL requesting service
having issues?  This app has been working fine for months, this
problem just started occuring either last night or this morning with
no modifications to the app.

When I run my GAE app locally the requests return successfully, as
expected and as they did on my live GAE instance until today.




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



[google-appengine] Re: Problem with OAuth and Twitter

2010-07-23 Thread Nanaya Hoshizaki
I have the same problem on GAE/J.
My application is working surely on the local environment,
but it is not working on the product environment.

Nanaya Hoshizaki

On 7月23日, 午前11:39, nischalshetty  wrote:
> I'm facing the same problem. Not able to obtain the redirect URL from
> twitter, though it was working fine until now. It is still working in
> my development environment but not working on the live app engine
> deployment, Please help ASAP!
>
> -Nischal
>
> On Jul 23, 7:17 am, "ke...@kanno.com"  wrote:
>
>
>
> > Hi,
>
> > I have a problem with OAuth and Twitter right now.
> > My application is a small Twitter client and was working fine about 6
> > hours ago but after that
> > I couldn't connect to Twitter anymore. I checked Twitter and their
> > OAuth and all the APIs are
> > working perfect. It seems like GAE's urlfetch is not working to
> > Twitter.
>
> > I heard my friends also have a problem with connecting Twitter with
> > OAuth on GAE.
>
> > Does anyone know how to solve this problem?
>
> > Thanks,
> > Keiya Kanno

-- 
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] Problem with OAuth and Twitter

2010-07-23 Thread TAKEUCHI POMU
I got this problem too.

Not only oauth, posting tweets also fails at a highly rate.

It seems to continuously happen since 22:45 GMT.

Pomu

2010/7/23 ke...@kanno.com :
> Hi,
>
> I have a problem with OAuth and Twitter right now.
> My application is a small Twitter client and was working fine about 6
> hours ago but after that
> I couldn't connect to Twitter anymore. I checked Twitter and their
> OAuth and all the APIs are
> working perfect. It seems like GAE's urlfetch is not working to
> Twitter.
>
> I heard my friends also have a problem with connecting Twitter with
> OAuth on GAE.
>
> Does anyone know how to solve this problem?
>
> Thanks,
> Keiya Kanno
>
> --
> 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] Connecting to the datastore

2010-07-23 Thread Christoffer Viken
are you trying to use it trough another platform?
You can't connect to the datastore, you can only use it (from within a
AppEngine app) as i understand it (and that makes sense)
You could expose the datastore to your app (on 3p server) trough a REST API
that you deploy to AppEngine (unless that breaks the TOS)

On Thu, Jul 22, 2010 at 10:28 PM, genjlc  wrote:

> I've made a simple Client/Server/Shared app that I would like to add
> data to.  I am trying to use Google's data store.
>
> I have been reading for two days and have yet to find a step by step
> checklist/example of how to establish a connection to the cloud, in
> Java, without resorting to PHP.  There seems to be lots of information
> on what to do once the connection is made, but no information on
> actually establishing the connection
>
> --
> 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] DownloadError: ApplicationError: 2

2010-07-23 Thread Victor Doss
urlfetch was working fine in the site. But suddenly today I am starting to
get...

DownloadError: ApplicationError: 2


Anything changed ? Site: http://www.tweetaboogle.com/ - Click on "Login to
Twitter"

-Victor

-- 
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: Problem with OAuth and Twitter

2010-07-23 Thread michisu
Hi.
I have the same problem on the production environment.

urlfetch throws "DownloadError: ApplicationError: 2" or
"DownloadError: ApplicationError: 5".

Thanks,
michisu

On 7月23日, 午前11:39, nischalshetty  wrote:
> I'm facing the same problem. Not able to obtain the redirect URL from
> twitter, though it was working fine until now. It is still working in
> my development environment but not working on the live app engine
> deployment, Please help ASAP!
>
> -Nischal
>
> On Jul 23, 7:17 am, "ke...@kanno.com"  wrote:
>
>
>
> > Hi,
>
> > I have a problem with OAuth and Twitter right now.
> > My application is a small Twitter client and was working fine about 6
> > hours ago but after that
> > I couldn't connect to Twitter anymore. I checked Twitter and their
> > OAuth and all the APIs are
> > working perfect. It seems like GAE's urlfetch is not working to
> > Twitter.
>
> > I heard my friends also have a problem with connecting Twitter with
> > OAuth on GAE.
>
> > Does anyone know how to solve this problem?
>
> > Thanks,
> > Keiya Kanno

-- 
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] Creating my -- third -- AppEngine application is prompting me for SMS verification again

2010-07-23 Thread Damien Jones
Hi,

I have already created a couple of applications, but for some reason I
am now being prompted for SMS verification again, which fails because
I already used my phone to register the first time.

According to the Applications Overview page I should still be able to
create 10 more applications.

Has anyone else experienced this? Any solutions?

Thanks,

Damien.

-- 
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] Problem with OAuth and Twitter

2010-07-23 Thread Ikai L (Google)
We've been working with Twitter on this.

On Thu, Jul 22, 2010 at 8:56 PM, TAKEUCHI POMU  wrote:

> I got this problem too.
>
> Not only oauth, posting tweets also fails at a highly rate.
>
> It seems to continuously happen since 22:45 GMT.
>
> Pomu
>
> 2010/7/23 ke...@kanno.com :
> > Hi,
> >
> > I have a problem with OAuth and Twitter right now.
> > My application is a small Twitter client and was working fine about 6
> > hours ago but after that
> > I couldn't connect to Twitter anymore. I checked Twitter and their
> > OAuth and all the APIs are
> > working perfect. It seems like GAE's urlfetch is not working to
> > Twitter.
> >
> > I heard my friends also have a problem with connecting Twitter with
> > OAuth on GAE.
> >
> > Does anyone know how to solve this problem?
> >
> > Thanks,
> > Keiya Kanno
> >
> > --
> > 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.
>
>


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

-- 
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] GAE + JDO + Joins

2010-07-23 Thread Jeff Schwartz
Joins are not supported because the underlying datastore is not sql and
therefore doesn't support joins. Save yourself a lot  of grief and forget
you know anything about SQL when dealing with the datastore.

On Fri, Jul 23, 2010 at 5:36 AM, Uberto Barbini  wrote:

> On Fri, Jul 23, 2010 at 11:30 AM, ping  wrote:
> > Hello,
> > i read that the GAE implementation of JDO does not support "JOINS".
> > Is this right?
>
> yes
>
> > Whats the common workaround for it?
>
> fetch your data separately or create a materialized view and keep it
> updated with triggers
>
> cheers
>
> Uberto
>
> --
> 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.
>
>


-- 
--
Jeff

-- 
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] Stuck Index

2010-07-23 Thread Ikai Lan
On Fri, Jul 23, 2010 at 3:48 AM, Hudar  wrote:

> Hi,
>
> Just wondering, I just uploaded blog application written in django to
> appengine. The app name is hudarsono-blog
>
> But, it has been more than 2 days, the index status still building
> although there is no data there, coz it's a new empty blog. It does
> run in my local testing.
>
> Last time did appcfg index vacuum, but still no effect. Hopefully
> anyone know how to solve this.
>
> 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.
>
>


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

-- 
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] Stuck Index

2010-07-23 Thread Ikai L (Google)
Can you file a issue in our production issue tracker?

http://groups.google.com/group/google-appengine-python/browse_thread/thread/3f52f925039486e0

http://code.google.com/p/googleappengine/issues/entry?template=Production%20issue

On Fri, Jul 23, 2010 at 10:33 AM, Ikai Lan  wrote:

>
>
> On Fri, Jul 23, 2010 at 3:48 AM, Hudar  wrote:
>
>> Hi,
>>
>> Just wondering, I just uploaded blog application written in django to
>> appengine. The app name is hudarsono-blog
>>
>> But, it has been more than 2 days, the index status still building
>> although there is no data there, coz it's a new empty blog. It does
>> run in my local testing.
>>
>> Last time did appcfg index vacuum, but still no effect. Hopefully
>> anyone know how to solve this.
>>
>> 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.
>>
>>
>
>
> --
> 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
>
>


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

-- 
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: Problem with OAuth and Twitter

2010-07-23 Thread nischalshetty
@Ikai

Great to hear from you. Kinda relieved! Hope this thing gets sorted
soon. Keeping my fingers crossed.

-Nischal

On Jul 23, 10:21 pm, "Ikai L (Google)"  wrote:
> We've been working with Twitter on this.
>
>
>
>
>
> On Thu, Jul 22, 2010 at 8:56 PM, TAKEUCHI POMU  wrote:
> > I got this problem too.
>
> > Not only oauth, posting tweets also fails at a highly rate.
>
> > It seems to continuously happen since 22:45 GMT.
>
> > Pomu
>
> > 2010/7/23 ke...@kanno.com :
> > > Hi,
>
> > > I have a problem with OAuth and Twitter right now.
> > > My application is a small Twitter client and was working fine about 6
> > > hours ago but after that
> > > I couldn't connect to Twitter anymore. I checked Twitter and their
> > > OAuth and all the APIs are
> > > working perfect. It seems like GAE's urlfetch is not working to
> > > Twitter.
>
> > > I heard my friends also have a problem with connecting Twitter with
> > > OAuth on GAE.
>
> > > Does anyone know how to solve this problem?
>
> > > Thanks,
> > > Keiya Kanno
>
> > > --
> > > 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 > e...@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 > e...@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-appengine?hl=en.
>
> --
> 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

-- 
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: Problem with OAuth and Twitter

2010-07-23 Thread Nanaya Hoshizaki
I have the same problem.
My application is working surely on the local environment,
but it is not working on product environment.

--
Nanaya HOSHIZAKI

On 7月23日, 午後11:40, nischalshetty  wrote:
> @Ross
>
> I've been using oAuth
>
> -Nischal
>
> On Jul 23, 6:15 pm, Ross M Karchner  wrote:
>
>
>
> > Unrelated to the issue being discussed, but are you already aware that
> > basic auth is going away in a few weeks?
>
> >http://countdowntooauth.com/
>
> > On Fri, Jul 23, 2010 at 7:49 AM, Keith  wrote:
> > > I'm also seeing problems between appengine and twitter. I'm just
> > > trying to post status updates using basic authentication. Code
> > > has woked fine for some time and works fine when run locally but
> > > fails from appengine. I get the following stack trace from twitter4j
>
> > > Caused by: java.io.IOException: Could not fetch URL:
> > >https://api.twitter.com/1/statuses/update.json
> > >        at
> > > com.google.appengine.api.urlfetch.URLFetchServiceImpl.convertApplicationExc
> > >  eption(URLFetchServiceImpl.java:
> > > 106)
> > >        at
> > > com.google.appengine.api.urlfetch.URLFetchServiceImpl.fetch(URLFetchService
> > >  Impl.java:
> > > 39)
>
> > > On Jul 23, 3:17 am, "ke...@kanno.com"  wrote:
> > >> Hi,
>
> > >> I have a problem with OAuth and Twitter right now.
> > >> My application is a small Twitter client and was working fine about 6
> > >> hours ago but after that
> > >> I couldn't connect to Twitter anymore. I checked Twitter and their
> > >> OAuth and all the APIs are
> > >> working perfect. It seems like GAE's urlfetch is not working to
> > >> Twitter.
>
> > >> I heard my friends also have a problem with connecting Twitter with
> > >> OAuth on GAE.
>
> > >> Does anyone know how to solve this problem?
>
> > >> Thanks,
> > >> Keiya Kanno
>
> > > --
> > > 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.
>
> > --
> > Ross M Karchnerhttp://eventgrinder.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: Problem with OAuth and Twitter

2010-07-23 Thread nischalshetty
The twitter and Appengine team is working on the issue. It should
hopefully be fixed soon. Keep your fingers crossed and hopes high!

-Nischal

On Jul 23, 10:56 pm, Nanaya Hoshizaki  wrote:
> I have the same problem.
> My application is working surely on the local environment,
> but it is not working on product environment.
>
> --
> Nanaya HOSHIZAKI
>
> On 7月23日, 午後11:40, nischalshetty  wrote:
>
>
>
> > @Ross
>
> > I've been using oAuth
>
> > -Nischal
>
> > On Jul 23, 6:15 pm, Ross M Karchner  wrote:
>
> > > Unrelated to the issue being discussed, but are you already aware that
> > > basic auth is going away in a few weeks?
>
> > >http://countdowntooauth.com/
>
> > > On Fri, Jul 23, 2010 at 7:49 AM, Keith  wrote:
> > > > I'm also seeing problems between appengine and twitter. I'm just
> > > > trying to post status updates using basic authentication. Code
> > > > has woked fine for some time and works fine when run locally but
> > > > fails from appengine. I get the following stack trace from twitter4j
>
> > > > Caused by: java.io.IOException: Could not fetch URL:
> > > >https://api.twitter.com/1/statuses/update.json
> > > >        at
> > > > com.google.appengine.api.urlfetch.URLFetchServiceImpl.convertApplicationExc
> > > >  eption(URLFetchServiceImpl.java:
> > > > 106)
> > > >        at
> > > > com.google.appengine.api.urlfetch.URLFetchServiceImpl.fetch(URLFetchService
> > > >  Impl.java:
> > > > 39)
>
> > > > On Jul 23, 3:17 am, "ke...@kanno.com"  wrote:
> > > >> Hi,
>
> > > >> I have a problem with OAuth and Twitter right now.
> > > >> My application is a small Twitter client and was working fine about 6
> > > >> hours ago but after that
> > > >> I couldn't connect to Twitter anymore. I checked Twitter and their
> > > >> OAuth and all the APIs are
> > > >> working perfect. It seems like GAE's urlfetch is not working to
> > > >> Twitter.
>
> > > >> I heard my friends also have a problem with connecting Twitter with
> > > >> OAuth on GAE.
>
> > > >> Does anyone know how to solve this problem?
>
> > > >> Thanks,
> > > >> Keiya Kanno
>
> > > > --
> > > > 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.
>
> > > --
> > > Ross M Karchnerhttp://eventgrinder.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: Problem with OAuth and Twitter

2010-07-23 Thread Nanaya Hoshizaki
sorry for my duplication mail.

On 7月24日, 午前2:56, Nanaya Hoshizaki  wrote:
> I have the same problem.
> My application is working surely on the local environment,
> but it is not working on product environment.
>
> --
> Nanaya HOSHIZAKI
>
> On 7月23日, 午後11:40, nischalshetty  wrote:
>
>
>
> > @Ross
>
> > I've been using oAuth
>
> > -Nischal
>
> > On Jul 23, 6:15 pm, Ross M Karchner  wrote:
>
> > > Unrelated to the issue being discussed, but are you already aware that
> > > basic auth is going away in a few weeks?
>
> > >http://countdowntooauth.com/
>
> > > On Fri, Jul 23, 2010 at 7:49 AM, Keith  wrote:
> > > > I'm also seeing problems between appengine and twitter. I'm just
> > > > trying to post status updates using basic authentication. Code
> > > > has woked fine for some time and works fine when run locally but
> > > > fails from appengine. I get the following stack trace from twitter4j
>
> > > > Caused by: java.io.IOException: Could not fetch URL:
> > > >https://api.twitter.com/1/statuses/update.json
> > > >        at
> > > > com.google.appengine.api.urlfetch.URLFetchServiceImpl.convertApplicationExc
> > > >  eption(URLFetchServiceImpl.java:
> > > > 106)
> > > >        at
> > > > com.google.appengine.api.urlfetch.URLFetchServiceImpl.fetch(URLFetchService
> > > >  Impl.java:
> > > > 39)
>
> > > > On Jul 23, 3:17 am, "ke...@kanno.com"  wrote:
> > > >> Hi,
>
> > > >> I have a problem with OAuth and Twitter right now.
> > > >> My application is a small Twitter client and was working fine about 6
> > > >> hours ago but after that
> > > >> I couldn't connect to Twitter anymore. I checked Twitter and their
> > > >> OAuth and all the APIs are
> > > >> working perfect. It seems like GAE's urlfetch is not working to
> > > >> Twitter.
>
> > > >> I heard my friends also have a problem with connecting Twitter with
> > > >> OAuth on GAE.
>
> > > >> Does anyone know how to solve this problem?
>
> > > >> Thanks,
> > > >> Keiya Kanno
>
> > > > --
> > > > 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.
>
> > > --
> > > Ross M Karchnerhttp://eventgrinder.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: Help need!! Can not update my application

2010-07-23 Thread Geoffrey Spear
Did you actually register an app called "APPID" at
appengine.google.com?  You need to use the actual ID of your
application.

On Jul 23, 12:33 pm, James Yang  wrote:
> Hi All:
> I got an error when update my application onn app engine
> Error 403: --- begin server output ---
> You do not have permission to modify this app (app_id=u'APPID').
> --- end server output ---
>
> and I try to create a new application, after create the application
> id, It say I can not access the new application
>
> Please help
>
> Thanks in advance
>
> James

-- 
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: Please confirm: wsgiref handlers problem!

2010-07-23 Thread Geoffrey Spear
The dev_appserver is single-threaded, and can only handle one request
at a time.  I'm not sure I understand why you want an handler that
sleeps for 10 seconds; you can certainly test AJAX pages, they'll just
run more slowly on the dev server than they'd be able to in
production, assuming the production environment has enough instances
running to handle multiple requests simultaneously.

On Jul 22, 5:48 pm, BL n102  wrote:
> In dev_appserver
>
> class MainPage(webapp.RequestHandler):
>   def get(self):
>      self.response.out.write("Hello MainPage")
>
> class TestPage(webapp.RequestHandler):
>   def get(self):
>     # 10 seconds
>     i = 1
>     while True:
>       if i == 10:
>         break
>       time.sleep(1)
>       i = i + 1
>
> application = webapp.WSGIApplication([
>   ('/', MainPage)
>   ('/test10', TestPage),
> ], debug=True)
>
> def main():
>     wsgiref.handlers.CGIHandler().run(application)
>     #run_wsgi_app(application)
>
> if __name__ == "__main__":
>     main()
>
> I don't understand. I go tohttp://localhost:8080/test10and go 
> tohttp://localhost:8080/, but MainPage not response. After 10 seconds,
> MainPage response "Hello MainPage" and TestPage response. GAE
> dev_appserver doesn't support multiple request?
>
> How I test multiple AJAX requests? I will deploy to GAE server for
> testing? It took too long!!!
>
> Demo 
> image:http://picasaweb.google.com/blockn102/GoogleAppEngineDev_appserverPro...http://stackoverflow.com/questions/3284196/gae-wsgiapplication-and-mu...

-- 
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: Google Appengine is BROKEN

2010-07-23 Thread nischalshetty
Things seem to be back to normal now! Yippieee

I apologize to everyone for writing such a vague and loud topic name
to this thread. But it was early morning, I saw thousands of could not
fetch URL errors in my log, knew it was night in USA and panicked.
Hope you guys understand the situation I was in and let this pass.

A blog post or an update somewhere detailing the cause and fix would
be welcome and help everyone else learn a bit too.

-Nischal

On Jul 23, 9:48 pm, nischalshetty  wrote:
> I had a check. I guess it's most probably twitter that is blocking the
> appengine from making any calls. In touch with the twitter devs now,
> hope they get something done quick.
>
> -Nischal
>
> On Jul 23, 7:48 pm, nischalshetty  wrote:
>
>
>
> > Just to update all of you, the good folks at twitter have seen the
> > issue thread on the twitter development group and have started to
> > check if its on their end 
> > -http://groups.google.com/group/twitter-development-talk/browse_thread...
>
> > I hope the Appengine guys see this fast and start investigating as
> > well. Will update this thread as soon as I hear anything important.
> > This is the most I can do, I'm completely helpless otherwise.
>
> > -Nischal
>
> > On Jul 23, 12:24 pm, nischalshetty  wrote:
>
> > > @Tim I hope that's not the case. IMO, twitter must have some special
> > > provision for App Engine. I've posted the issue on the twitter dev
> > > group as well, haven't got any reply yet.
>
> > > I'm at my lowest now, being able to do nothing other than just pray!
>
> > > -Nischal
>
> > > On Jul 23, 12:06 pm, Tim Hoffman  wrote:
>
> > > > Hi
>
> > > > I bet you are running into 
> > > > thishttp://www.pcworld.com/article/200765/twitter_limits_access_by_thirdp...
>
> > > > All appengine apps accessing twitter from appengine will be coming
> > > > from a few ip's
>
> > > > You may find twitter is thottling not just userid's but also source
> > > > addresses so that people don't set up
> > > > multiple api keys to get around throttling.
>
> > > > Just my guess
>
> > > > T
>
> > > > On Jul 23, 2:06 pm, nischalshetty  wrote:
>
> > > > > It seems to be Google App Engine for now since things are fine with my
> > > > > development server. But, I'll still do as you say, just in case.
>
> > > > > -Nischal
>
> > > > > On Jul 23, 11:01 am, Alon Carmel  wrote:
>
> > > > > > yeah im getting the same error on my end with my python app on GAE. 
> > > > > > theres
> > > > > > seem to be some block on some end, twitter or google. i suggest you 
> > > > > > also
> > > > > > write in twitters forum too.
> > > > > > -
> > > > > > Cheers,
>
> > > > > > def AlonCarmel(request)
> > > > > >      import simplejson as json
> > > > > >      contact = {}
> > > > > >      contant['email'] = '@aloncarmel.me'
> > > > > >      contact['twitter'] = '@aloncarmel'
> > > > > >      contact['web'] = 'http://aloncarmel.me'
> > > > > >      contact['phone'] = '+972-54-4860380'
> > > > > >      return HttpResponse(json.dumps(contact))
>
> > > > > > * If you received an unsolicited email from by mistake that wasn't 
> > > > > > of your
> > > > > > matter please delete immediately. All E-mail sent from Alon Carmel 
> > > > > > is
> > > > > > copyrighted to Alon Carmel 2008. Any details revealed in e-mails 
> > > > > > sent by
> > > > > > Alon Carmel are owned by the Author only. Any attempt to duplicate 
> > > > > > or
> > > > > > imitate any of the Content is prohibited under copyright law 2008.
>
> > > > > > On Fri, Jul 23, 2010 at 8:55 AM, nischalshetty 
> > > > > > wrote:
>
> > > > > > > Here it is :
>
> > > > > > > justunfollow.action.Login authenticate: Error obtaining redirect 
> > > > > > > URL
> > > > > > > twitter4j.TwitterException: Could not fetch URL:
> > > > > > >https://twitter.com/oauth/request_token
> > > > > > >        at 
> > > > > > > twitter4j.internal.http.HttpClient.request(HttpClient.java:340)
> > > > > > >        at
> > > > > > > twitter4j.internal.http.HttpClientWrapper.request(HttpClientWrapper.java:
> > > > > > > 68)
> > > > > > >        at
> > > > > > > twitter4j.internal.http.HttpClientWrapper.post(HttpClientWrapper.java:
> > > > > > > 99)
> > > > > > >        at
>
> > > > > > > twitter4j.http.OAuthAuthorization.getOAuthRequestToken(OAuthAuthorization.j
> > > > > > >  ava:
> > > > > > > 121)
> > > > > > >        at 
> > > > > > > twitter4j.Twitter.getOAuthRequestToken(Twitter.java:1406)
> > > > > > >        at
>
> > > > > > > justunfollow.manager.impl.JustUnfollowManagerImpl.redirectURL(JustUnfollowM
> > > > > > >  anagerImpl.java:
> > > > > > > 60)
> > > > > > >        at justunfollow.action.Login.authenticate(Login.java:56)
> > > > > > >        at sun.reflect.GeneratedMethodAccessor68.invoke(Unknown 
> > > > > > > Source)
> > > > > > >        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown 
> > > > > > > Source)
> > > > > > >        at java.lang.reflect.Method.invoke(Unknown Source)
> > > > > > >        at
>
> > > > > > > com.google.apphosting.r

[google-appengine] Re: Problem with OAuth and Twitter

2010-07-23 Thread nischalshetty
It's working now! Thank you Appengine team!

-Nischal

On Jul 23, 11:01 pm, Nanaya Hoshizaki  wrote:
> sorry for my duplication mail.
>
> On 7月24日, 午前2:56, Nanaya Hoshizaki  wrote:
>
>
>
> > I have the same problem.
> > My application is working surely on the local environment,
> > but it is not working on product environment.
>
> > --
> > Nanaya HOSHIZAKI
>
> > On 7月23日, 午後11:40, nischalshetty  wrote:
>
> > > @Ross
>
> > > I've been using oAuth
>
> > > -Nischal
>
> > > On Jul 23, 6:15 pm, Ross M Karchner  wrote:
>
> > > > Unrelated to the issue being discussed, but are you already aware that
> > > > basic auth is going away in a few weeks?
>
> > > >http://countdowntooauth.com/
>
> > > > On Fri, Jul 23, 2010 at 7:49 AM, Keith  wrote:
> > > > > I'm also seeing problems between appengine and twitter. I'm just
> > > > > trying to post status updates using basic authentication. Code
> > > > > has woked fine for some time and works fine when run locally but
> > > > > fails from appengine. I get the following stack trace from twitter4j
>
> > > > > Caused by: java.io.IOException: Could not fetch URL:
> > > > >https://api.twitter.com/1/statuses/update.json
> > > > >        at
> > > > > com.google.appengine.api.urlfetch.URLFetchServiceImpl.convertApplicationExc
> > > > >  eption(URLFetchServiceImpl.java:
> > > > > 106)
> > > > >        at
> > > > > com.google.appengine.api.urlfetch.URLFetchServiceImpl.fetch(URLFetchService
> > > > >  Impl.java:
> > > > > 39)
>
> > > > > On Jul 23, 3:17 am, "ke...@kanno.com"  wrote:
> > > > >> Hi,
>
> > > > >> I have a problem with OAuth and Twitter right now.
> > > > >> My application is a small Twitter client and was working fine about 6
> > > > >> hours ago but after that
> > > > >> I couldn't connect to Twitter anymore. I checked Twitter and their
> > > > >> OAuth and all the APIs are
> > > > >> working perfect. It seems like GAE's urlfetch is not working to
> > > > >> Twitter.
>
> > > > >> I heard my friends also have a problem with connecting Twitter with
> > > > >> OAuth on GAE.
>
> > > > >> Does anyone know how to solve this problem?
>
> > > > >> Thanks,
> > > > >> Keiya Kanno
>
> > > > > --
> > > > > 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.
>
> > > > --
> > > > Ross M Karchnerhttp://eventgrinder.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.



Re: [google-appengine] Re: Problem with OAuth and Twitter

2010-07-23 Thread Ikai L (Google)
Twitter is posting an update shortly. It's a result of users violating
Twitter's terms of service, resulting in portions of traffic from GAE being
blocked.

Note that this is fixed in the short term, but we're going to have to devise
a longer term solution because there is a chance this can happen again in
the future.

On Fri, Jul 23, 2010 at 11:40 AM, nischalshetty
wrote:

> It's working now! Thank you Appengine team!
>
> -Nischal
>
> On Jul 23, 11:01 pm, Nanaya Hoshizaki  wrote:
> > sorry for my duplication mail.
> >
> > On 7月24日, 午前2:56, Nanaya Hoshizaki  wrote:
> >
> >
> >
> > > I have the same problem.
> > > My application is working surely on the local environment,
> > > but it is not working on product environment.
> >
> > > --
> > > Nanaya HOSHIZAKI
> >
> > > On 7月23日, 午後11:40, nischalshetty  wrote:
> >
> > > > @Ross
> >
> > > > I've been using oAuth
> >
> > > > -Nischal
> >
> > > > On Jul 23, 6:15 pm, Ross M Karchner  wrote:
> >
> > > > > Unrelated to the issue being discussed, but are you already aware
> that
> > > > > basic auth is going away in a few weeks?
> >
> > > > >http://countdowntooauth.com/
> >
> > > > > On Fri, Jul 23, 2010 at 7:49 AM, Keith 
> wrote:
> > > > > > I'm also seeing problems between appengine and twitter. I'm just
> > > > > > trying to post status updates using basic authentication. Code
> > > > > > has woked fine for some time and works fine when run locally but
> > > > > > fails from appengine. I get the following stack trace from
> twitter4j
> >
> > > > > > Caused by: java.io.IOException: Could not fetch URL:
> > > > > >https://api.twitter.com/1/statuses/update.json
> > > > > >at
> > > > > >
> com.google.appengine.api.urlfetch.URLFetchServiceImpl.convertApplicationExc
> eption(URLFetchServiceImpl.java:
> > > > > > 106)
> > > > > >at
> > > > > >
> com.google.appengine.api.urlfetch.URLFetchServiceImpl.fetch(URLFetchService
> Impl.java:
> > > > > > 39)
> >
> > > > > > On Jul 23, 3:17 am, "ke...@kanno.com"  wrote:
> > > > > >> Hi,
> >
> > > > > >> I have a problem with OAuth and Twitter right now.
> > > > > >> My application is a small Twitter client and was working fine
> about 6
> > > > > >> hours ago but after that
> > > > > >> I couldn't connect to Twitter anymore. I checked Twitter and
> their
> > > > > >> OAuth and all the APIs are
> > > > > >> working perfect. It seems like GAE's urlfetch is not working to
> > > > > >> Twitter.
> >
> > > > > >> I heard my friends also have a problem with connecting Twitter
> with
> > > > > >> OAuth on GAE.
> >
> > > > > >> Does anyone know how to solve this problem?
> >
> > > > > >> Thanks,
> > > > > >> Keiya Kanno
> >
> > > > > > --
> > > > > > 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.
> >
> > > > > --
> > > > > Ross M Karchnerhttp://eventgrinder.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.
>
>


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

-- 
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: Problem with OAuth and Twitter

2010-07-23 Thread Ikai L (Google)
Here's the post from Twitter's API team:

http://groups.google.com/group/twitter-development-talk/msg/692b6fe2ed357c49?hl=en_US

On Fri, Jul 23, 2010 at 12:17 PM, Ikai L (Google)  wrote:

> Twitter is posting an update shortly. It's a result of users violating
> Twitter's terms of service, resulting in portions of traffic from GAE being
> blocked.
>
> Note that this is fixed in the short term, but we're going to have to
> devise a longer term solution because there is a chance this can happen
> again in the future.
>
>
> On Fri, Jul 23, 2010 at 11:40 AM, nischalshetty  > wrote:
>
>> It's working now! Thank you Appengine team!
>>
>> -Nischal
>>
>> On Jul 23, 11:01 pm, Nanaya Hoshizaki  wrote:
>> > sorry for my duplication mail.
>> >
>> > On 7月24日, 午前2:56, Nanaya Hoshizaki  wrote:
>> >
>> >
>> >
>> > > I have the same problem.
>> > > My application is working surely on the local environment,
>> > > but it is not working on product environment.
>> >
>> > > --
>> > > Nanaya HOSHIZAKI
>> >
>> > > On 7月23日, 午後11:40, nischalshetty  wrote:
>> >
>> > > > @Ross
>> >
>> > > > I've been using oAuth
>> >
>> > > > -Nischal
>> >
>> > > > On Jul 23, 6:15 pm, Ross M Karchner  wrote:
>> >
>> > > > > Unrelated to the issue being discussed, but are you already aware
>> that
>> > > > > basic auth is going away in a few weeks?
>> >
>> > > > >http://countdowntooauth.com/
>> >
>> > > > > On Fri, Jul 23, 2010 at 7:49 AM, Keith 
>> wrote:
>> > > > > > I'm also seeing problems between appengine and twitter. I'm just
>> > > > > > trying to post status updates using basic authentication. Code
>> > > > > > has woked fine for some time and works fine when run locally but
>> > > > > > fails from appengine. I get the following stack trace from
>> twitter4j
>> >
>> > > > > > Caused by: java.io.IOException: Could not fetch URL:
>> > > > > >https://api.twitter.com/1/statuses/update.json
>> > > > > >at
>> > > > > >
>> com.google.appengine.api.urlfetch.URLFetchServiceImpl.convertApplicationExc
>> eption(URLFetchServiceImpl.java:
>> > > > > > 106)
>> > > > > >at
>> > > > > >
>> com.google.appengine.api.urlfetch.URLFetchServiceImpl.fetch(URLFetchService
>> Impl.java:
>> > > > > > 39)
>> >
>> > > > > > On Jul 23, 3:17 am, "ke...@kanno.com"  wrote:
>> > > > > >> Hi,
>> >
>> > > > > >> I have a problem with OAuth and Twitter right now.
>> > > > > >> My application is a small Twitter client and was working fine
>> about 6
>> > > > > >> hours ago but after that
>> > > > > >> I couldn't connect to Twitter anymore. I checked Twitter and
>> their
>> > > > > >> OAuth and all the APIs are
>> > > > > >> working perfect. It seems like GAE's urlfetch is not working to
>> > > > > >> Twitter.
>> >
>> > > > > >> I heard my friends also have a problem with connecting Twitter
>> with
>> > > > > >> OAuth on GAE.
>> >
>> > > > > >> Does anyone know how to solve this problem?
>> >
>> > > > > >> Thanks,
>> > > > > >> Keiya Kanno
>> >
>> > > > > > --
>> > > > > > 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.
>> >
>> > > > > --
>> > > > > Ross M Karchnerhttp://eventgrinder.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.
>>
>>
>
>
> --
> 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
>
>


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

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



[google-appengine] Re: Help need!! Can not update my application

2010-07-23 Thread James Yang
No It just for question, the true id is "aipcopage"

On Jul 23, 2:11 pm, Geoffrey Spear  wrote:
> Did you actually register an app called "APPID" at
> appengine.google.com?  You need to use the actual ID of your
> application.
>
> On Jul 23, 12:33 pm, James Yang  wrote:
>
>
>
> > Hi All:
> > I got an error when update my application onn app engine
> > Error 403: --- begin server output ---
> > You do not have permission to modify this app (app_id=u'APPID').
> > --- end server output ---
>
> > and I try to create a new application, after create the application
> > id, It say I can not access the new application
>
> > Please help
>
> > Thanks in advance
>
> > James- Hide quoted text -
>
> - Show quoted text -

-- 
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: GAE + JDO + Joins

2010-07-23 Thread ping
Thank you very much!
So, it is not really a reason to switch to a common servlet-container
where i can completely use jdo or jpa just because gae does not
support joins?
My application does not have a complicated datamodel

greets






On Jul 23, 11:36 am, Uberto Barbini  wrote:
> On Fri, Jul 23, 2010 at 11:30 AM, ping  wrote:
> > Hello,
> > i read that the GAE implementation of JDO does not support "JOINS".
> > Is this right?
>
> yes
>
> > Whats the common workaround for it?
>
> fetch your data separately or create a materialized view and keep it
> updated with triggers
>
> cheers
>
> Uberto

-- 
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: Problem with OAuth and Twitter

2010-07-23 Thread nischalshetty
@Ikai

Thanks for the info. Weird thing, I'm still facing the issue!

-Nischal

On Jul 24, 12:28 am, "Ikai L (Google)"  wrote:
> Here's the post from Twitter's API team:
>
> http://groups.google.com/group/twitter-development-talk/msg/692b6fe2e...
>
> On Fri, Jul 23, 2010 at 12:17 PM, Ikai L (Google)  wrote:
>
>
>
>
>
> > Twitter is posting an update shortly. It's a result of users violating
> > Twitter's terms of service, resulting in portions of traffic from GAE being
> > blocked.
>
> > Note that this is fixed in the short term, but we're going to have to
> > devise a longer term solution because there is a chance this can happen
> > again in the future.
>
> > On Fri, Jul 23, 2010 at 11:40 AM, nischalshetty  > > wrote:
>
> >> It's working now! Thank you Appengine team!
>
> >> -Nischal
>
> >> On Jul 23, 11:01 pm, Nanaya Hoshizaki  wrote:
> >> > sorry for my duplication mail.
>
> >> > On 7月24日, 午前2:56, Nanaya Hoshizaki  wrote:
>
> >> > > I have the same problem.
> >> > > My application is working surely on the local environment,
> >> > > but it is not working on product environment.
>
> >> > > --
> >> > > Nanaya HOSHIZAKI
>
> >> > > On 7月23日, 午後11:40, nischalshetty  wrote:
>
> >> > > > @Ross
>
> >> > > > I've been using oAuth
>
> >> > > > -Nischal
>
> >> > > > On Jul 23, 6:15 pm, Ross M Karchner  wrote:
>
> >> > > > > Unrelated to the issue being discussed, but are you already aware
> >> that
> >> > > > > basic auth is going away in a few weeks?
>
> >> > > > >http://countdowntooauth.com/
>
> >> > > > > On Fri, Jul 23, 2010 at 7:49 AM, Keith 
> >> wrote:
> >> > > > > > I'm also seeing problems between appengine and twitter. I'm just
> >> > > > > > trying to post status updates using basic authentication. Code
> >> > > > > > has woked fine for some time and works fine when run locally but
> >> > > > > > fails from appengine. I get the following stack trace from
> >> twitter4j
>
> >> > > > > > Caused by: java.io.IOException: Could not fetch URL:
> >> > > > > >https://api.twitter.com/1/statuses/update.json
> >> > > > > >        at
>
> >> com.google.appengine.api.urlfetch.URLFetchServiceImpl.convertApplicationExc
> >> eption(URLFetchServiceImpl.java:
> >> > > > > > 106)
> >> > > > > >        at
>
> >> com.google.appengine.api.urlfetch.URLFetchServiceImpl.fetch(URLFetchService
> >> Impl.java:
> >> > > > > > 39)
>
> >> > > > > > On Jul 23, 3:17 am, "ke...@kanno.com"  wrote:
> >> > > > > >> Hi,
>
> >> > > > > >> I have a problem with OAuth and Twitter right now.
> >> > > > > >> My application is a small Twitter client and was working fine
> >> about 6
> >> > > > > >> hours ago but after that
> >> > > > > >> I couldn't connect to Twitter anymore. I checked Twitter and
> >> their
> >> > > > > >> OAuth and all the APIs are
> >> > > > > >> working perfect. It seems like GAE's urlfetch is not working to
> >> > > > > >> Twitter.
>
> >> > > > > >> I heard my friends also have a problem with connecting Twitter
> >> with
> >> > > > > >> OAuth on GAE.
>
> >> > > > > >> Does anyone know how to solve this problem?
>
> >> > > > > >> Thanks,
> >> > > > > >> Keiya Kanno
>
> >> > > > > > --
> >> > > > > > 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 >>  e...@googlegroups.com>
> >> .
> >> > > > > > For more options, visit this group athttp://
> >> groups.google.com/group/google-appengine?hl=en.
>
> >> > > > > --
> >> > > > > Ross M Karchnerhttp://eventgrinder.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 >>  e...@googlegroups.com>
> >> .
> >> For more options, visit this group at
> >>http://groups.google.com/group/google-appengine?hl=en.
>
> > --
> > 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
>
> --
> 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

-- 
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] pub/sub pattern on app engine?

2010-07-23 Thread Mark
Hi,

I'm looking to implement a pub/sub mechanism for my web app, similar
to twitter. Users can follow one another. When a user performs some
action, I'd like their followers to be able to see those actions in
their follower stream.

I can't figure a good way to do this on app engine. The most naive
implementation would be to write a record per follower when an action
is performed, like:

   public void userAction(String username, String actionDescription) {
   List followers = getAllFriends(username);
   for (Follower it : followers) {
   Action action = new Action(it.getUsername(),
actionDescription);
   pm.makePersistent(action);
   }
   }

then next time a user logs onto the site, they could simply query all
actions (in pages) that have been prepared for them.

This would work horribly though as it would require lots of writes as
users get more followers. Is there an optimized way to do this on app
engine? I don't need a method that works in realtime, accuracy is not
that important either, meaning I could live with a 'sprinkling' of
action records.

I'm looking at the pub/sub topics in the dev forum and property lists
are coming up a lot - is this a pattern to look into for this type of
application (not familiar with property lists)?

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: geopt query

2010-07-23 Thread TL
I posted a similar question a while ago, no response
http://groups.google.com/group/google-appengine-java/browse_thread/thread/4e1dc68da3e12bed/fd1ab71fa6f2799f

-- 
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: geopt query

2010-07-23 Thread Malcolm MacKinnon
I'm not sure exactly what you're looking for. Have you seen this:

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

and

http://code.google.com/apis/maps/articles/geospatial.html#pubschool


The pubschools demo application source
code is an excellent place to start.



On Fri, Jul 23, 2010 at 5:17 PM, TL  wrote:

> I posted a similar question a while ago, no response
>
> http://groups.google.com/group/google-appengine-java/browse_thread/thread/4e1dc68da3e12bed/fd1ab71fa6f2799f
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appeng...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>

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



[google-appengine] Is it possible to query an equality filter on a list property and order the results by another property?

2010-07-23 Thread Albert
Hi!

I have a sample model like this.

Class Entity(db.Model):

tags = ListProperty()
weight = IntegerProperty()


Is the following query possible on appengine?

SELECT * FROM Entity WHERE tags = :some_tag
   ORDER BY weight


Thanks!

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



Re: [google-appengine] Is it possible to query an equality filter on a list property and order the results by another property?

2010-07-23 Thread Harshal
Should be possible. You should be getting list of objects of type Entity
ordered by weight having 'some_tag' in each of their 'tags' field.



On Sat, Jul 24, 2010 at 7:05 AM, Albert  wrote:

> Hi!
>
> I have a sample model like this.
>
> Class Entity(db.Model):
>
> tags = ListProperty()
> weight = IntegerProperty()
>
>
> Is the following query possible on appengine?
>
> SELECT * FROM Entity WHERE tags = :some_tag
>   ORDER BY weight
>
>
> 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] How long does it take to recycle app name?

2010-07-23 Thread Harshal
Hi,


I have this .appspot.com which I was using with one google app
domain , but recently I wanted to shift  to <
my_second_app.com>. So I got this new domain from google apps for your
domain. I deleted .appspot.com so that I can re-use the same app
name from my new 

Its been 2 days the app name has been successfully deleted but when I try to
'create new application' with that name it says,
*Sorry,  is not available.*

Can anyone help me understand when does one can re-register an app name once
it has been deleted?

-- 
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: geopt query

2010-07-23 Thread Harshal
Sadly I don't remember which talk, but they did talk about supporting geopt
queries in Google I/O 2010. IIRC, it was titled 'next gen queries' or
something.

On Sat, Jul 24, 2010 at 6:44 AM, Malcolm MacKinnon wrote:

> I'm not sure exactly what you're looking for. Have you seen this:
>
> http://code.google.com/p/geomodel/
>
> and
>
> http://code.google.com/apis/maps/articles/geospatial.html#pubschool
>
>
> The pubschools demo application source
> code is an excellent place to start.
>
>
>
> On Fri, Jul 23, 2010 at 5:17 PM, TL  wrote:
>
>> I posted a similar question a while ago, no response
>>
>> http://groups.google.com/group/google-appengine-java/browse_thread/thread/4e1dc68da3e12bed/fd1ab71fa6f2799f
>>
>> --
>> 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] Getting Hard Deadline Exceptions

2010-07-23 Thread nischalshetty
In the last 6 hours my app has had 9500+ Hard Deadline exceptions! I
just disabled datastore for my app (barring a few ones which were
absolutely critical).

Can someone please look into the stack trace and lemme know if its
something I'm doing wrong (though I dont think so because I hadnt been
getting s many errors before).



justunfollow.manager.impl.JustUnfollowManagerImpl unfollow: Problem
incrementing count for unfollowed user!
com.google.apphosting.api.DeadlineExceededException: This request
(a1c5e6f6563ed3bb) started at 2010/07/24 02:41:26.552 UTC and was
still executing at 2010/07/24 02:41:55.655 UTC.
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:443)
at java.util.concurrent.TimeUnit.timedWait(Unknown Source)
at com.google.apphosting.runtime.AsyncFuture.get(AsyncFuture.java:60)
at com.google.apphosting.runtime.ApiProxyImpl
$AsyncApiFuture.get(ApiProxyImpl.java:332)
at com.google.apphosting.runtime.ApiProxyImpl
$AsyncApiFuture.get(ApiProxyImpl.java:223)
at
com.google.apphosting.runtime.ApiProxyImpl.doSyncCall(ApiProxyImpl.java:
135)
at com.google.apphosting.runtime.ApiProxyImpl.access
$000(ApiProxyImpl.java:43)
at com.google.apphosting.runtime.ApiProxyImpl$1.run(ApiProxyImpl.java:
108)
at com.google.apphosting.runtime.ApiProxyImpl$1.run(ApiProxyImpl.java:
106)
at java.security.AccessController.doPrivileged(Native Method)
at
com.google.apphosting.runtime.ApiProxyImpl.makeSyncCall(ApiProxyImpl.java:
106)
at
com.google.apphosting.runtime.ApiProxyImpl.makeSyncCall(ApiProxyImpl.java:
43)
at com.google.apphosting.api.ApiProxy.makeSyncCall(ApiProxy.java:98)
at
com.google.appengine.api.datastore.DatastoreApiHelper.makeSyncCall(DatastoreApiHelper.java:
58)
at com.google.appengine.api.datastore.DatastoreServiceImpl
$2.run(DatastoreServiceImpl.java:188)
at
com.google.appengine.api.datastore.TransactionRunner.runInTransaction(TransactionRunner.java:
30)
at
com.google.appengine.api.datastore.DatastoreServiceImpl.put(DatastoreServiceImpl.java:
176)
at
com.google.appengine.api.datastore.DatastoreServiceImpl.put(DatastoreServiceImpl.java:
156)
at
com.google.appengine.api.datastore.DatastoreServiceImpl.put(DatastoreServiceImpl.java:
148)
at
org.datanucleus.store.appengine.RuntimeExceptionWrappingDatastoreService.put(RuntimeExceptionWrappingDatastoreService.java:
93)
at
org.datanucleus.store.appengine.DatastorePersistenceHandler.put(DatastorePersistenceHandler.java:
180)
at
org.datanucleus.store.appengine.DatastorePersistenceHandler.put(DatastorePersistenceHandler.java:
139)
at
org.datanucleus.store.appengine.DatastorePersistenceHandler.put(DatastorePersistenceHandler.java:
134)
at
org.datanucleus.store.appengine.DatastorePersistenceHandler.updateObject(DatastorePersistenceHandler.java:
536)
at
org.datanucleus.state.JDOStateManagerImpl.flush(JDOStateManagerImpl.java:
4576)
at
org.datanucleus.ObjectManagerImpl.flushInternal(ObjectManagerImpl.java:
2814)
at org.datanucleus.ObjectManagerImpl.flush(ObjectManagerImpl.java:
2754)
at org.datanucleus.ObjectManagerImpl.preCommit(ObjectManagerImpl.java:
2893)
at
org.datanucleus.TransactionImpl.internalPreCommit(TransactionImpl.java:
369)
at org.datanucleus.TransactionImpl.commit(TransactionImpl.java:256)
at org.datanucleus.ObjectManagerImpl.close(ObjectManagerImpl.java:
801)
at
org.datanucleus.jdo.JDOPersistenceManager.close(JDOPersistenceManager.java:
271)
at
justunfollow.shardedcounter.v3.ShardedCounter.increment(ShardedCounter.java:
228)
at
justunfollow.shardedcounter.v3.ShardedCounter.increment(ShardedCounter.java:
189)
at
justunfollow.manager.impl.JustUnfollowManagerImpl.unfollow(JustUnfollowManagerImpl.java:
187)
at justunfollow.action.Unfollow.unfollow(Unfollow.java:342)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
com.google.apphosting.runtime.security.shared.intercept.java.lang.reflect.Method_
$1.run(Method_.java:165)
at java.security.AccessController.doPrivileged(Native Method)
at
com.google.apphosting.runtime.security.shared.intercept.java.lang.reflect.Method_.privilegedInvoke(Method_.java:
163)
at
com.google.apphosting.runtime.security.shared.intercept.java.lang.reflect.Method_.invoke_(Method_.java:
124)
at
com.google.apphosting.runtime.security.shared.intercept.java.lang.reflect.Method_.invoke(Method_.java:
43)
at
com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:
404)
at
com.opensymphony.xwork2.DefaultActionInvocation

[google-appengine] Re: Problem with OAuth and Twitter

2010-07-23 Thread nischalshetty
Calls to twitter are working fine for me, I guess its working for
everyone.

-Nischal

On Jul 24, 1:22 am, nischalshetty  wrote:
> @Ikai
>
> Thanks for the info. Weird thing, I'm still facing the issue!
>
> -Nischal
>
> On Jul 24, 12:28 am, "Ikai L (Google)"  wrote:
>
>
>
> > Here's the post from Twitter's API team:
>
> >http://groups.google.com/group/twitter-development-talk/msg/692b6fe2e...
>
> > On Fri, Jul 23, 2010 at 12:17 PM, Ikai L (Google)  wrote:
>
> > > Twitter is posting an update shortly. It's a result of users violating
> > > Twitter's terms of service, resulting in portions of traffic from GAE 
> > > being
> > > blocked.
>
> > > Note that this is fixed in the short term, but we're going to have to
> > > devise a longer term solution because there is a chance this can happen
> > > again in the future.
>
> > > On Fri, Jul 23, 2010 at 11:40 AM, nischalshetty  > > > wrote:
>
> > >> It's working now! Thank you Appengine team!
>
> > >> -Nischal
>
> > >> On Jul 23, 11:01 pm, Nanaya Hoshizaki  wrote:
> > >> > sorry for my duplication mail.
>
> > >> > On 7月24日, 午前2:56, Nanaya Hoshizaki  wrote:
>
> > >> > > I have the same problem.
> > >> > > My application is working surely on the local environment,
> > >> > > but it is not working on product environment.
>
> > >> > > --
> > >> > > Nanaya HOSHIZAKI
>
> > >> > > On 7月23日, 午後11:40, nischalshetty  wrote:
>
> > >> > > > @Ross
>
> > >> > > > I've been using oAuth
>
> > >> > > > -Nischal
>
> > >> > > > On Jul 23, 6:15 pm, Ross M Karchner  wrote:
>
> > >> > > > > Unrelated to the issue being discussed, but are you already aware
> > >> that
> > >> > > > > basic auth is going away in a few weeks?
>
> > >> > > > >http://countdowntooauth.com/
>
> > >> > > > > On Fri, Jul 23, 2010 at 7:49 AM, Keith 
> > >> wrote:
> > >> > > > > > I'm also seeing problems between appengine and twitter. I'm 
> > >> > > > > > just
> > >> > > > > > trying to post status updates using basic authentication. Code
> > >> > > > > > has woked fine for some time and works fine when run locally 
> > >> > > > > > but
> > >> > > > > > fails from appengine. I get the following stack trace from
> > >> twitter4j
>
> > >> > > > > > Caused by: java.io.IOException: Could not fetch URL:
> > >> > > > > >https://api.twitter.com/1/statuses/update.json
> > >> > > > > >        at
>
> > >> com.google.appengine.api.urlfetch.URLFetchServiceImpl.convertApplicationExc
> > >> eption(URLFetchServiceImpl.java:
> > >> > > > > > 106)
> > >> > > > > >        at
>
> > >> com.google.appengine.api.urlfetch.URLFetchServiceImpl.fetch(URLFetchService
> > >> Impl.java:
> > >> > > > > > 39)
>
> > >> > > > > > On Jul 23, 3:17 am, "ke...@kanno.com"  wrote:
> > >> > > > > >> Hi,
>
> > >> > > > > >> I have a problem with OAuth and Twitter right now.
> > >> > > > > >> My application is a small Twitter client and was working fine
> > >> about 6
> > >> > > > > >> hours ago but after that
> > >> > > > > >> I couldn't connect to Twitter anymore. I checked Twitter and
> > >> their
> > >> > > > > >> OAuth and all the APIs are
> > >> > > > > >> working perfect. It seems like GAE's urlfetch is not working 
> > >> > > > > >> to
> > >> > > > > >> Twitter.
>
> > >> > > > > >> I heard my friends also have a problem with connecting Twitter
> > >> with
> > >> > > > > >> OAuth on GAE.
>
> > >> > > > > >> Does anyone know how to solve this problem?
>
> > >> > > > > >> Thanks,
> > >> > > > > >> Keiya Kanno
>
> > >> > > > > > --
> > >> > > > > > 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 > >>  e...@googlegroups.com>
> > >> .
> > >> > > > > > For more options, visit this group athttp://
> > >> groups.google.com/group/google-appengine?hl=en.
>
> > >> > > > > --
> > >> > > > > Ross M Karchnerhttp://eventgrinder.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 > >>  e...@googlegroups.com>
> > >> .
> > >> For more options, visit this group at
> > >>http://groups.google.com/group/google-appengine?hl=en.
>
> > > --
> > > 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
>
> > --
> > 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

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" gro

Re: [google-appengine] Re: Help need!! Can not update my application

2010-07-23 Thread Edel SM
is your email (when you update your app) is still valid administator
of aipcopage?

On Sat, Jul 24, 2010 at 4:06 AM, James Yang  wrote:
> No It just for question, the true id is "aipcopage"
>
> On Jul 23, 2:11 pm, Geoffrey Spear  wrote:
>> Did you actually register an app called "APPID" at
>> appengine.google.com?  You need to use the actual ID of your
>> application.
>>
>> On Jul 23, 12:33 pm, James Yang  wrote:
>>
>>
>>
>> > Hi All:
>> > I got an error when update my application onn app engine
>> > Error 403: --- begin server output ---
>> > You do not have permission to modify this app (app_id=u'APPID').
>> > --- end server output ---
>>
>> > and I try to create a new application, after create the application
>> > id, It say I can not access the new application
>>
>> > Please help
>>
>> > Thanks in advance
>>
>> > James- Hide quoted text -
>>
>> - Show quoted text -
>
> --
> 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.
>
>



-- 
edel

-- 
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] Detach objects in JDO

2010-07-23 Thread lisandro
Hi! I have a problem with detach objects in JDO.
The code:
fechaAgreg.agregarPartido(par);
Fecha fech= pm.detachCopy(fechaAgreg);
fech.agregarPartido(pm.detachCopy(par1));
pm.makePersistentAll(fech);

//fechaAgreg has a collection called "equipos" with many elements.
//At detach, the object "fech", the collection "equipos" is empty.
//Then,this one does not have the collection
Solution of methods for detach?

Regards
Lisandro

-- 
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] Why no "Quotas" log daily like "Logs"?

2010-07-23 Thread BL n102
Why no "Quota Details" log like "Logs"?
I want to view "Quota Details" daily like "Since" filter in "Logs".

Best regards

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