Re: [google-appengine] Re: Recursive Task with try catch DeadlineExceededException

2010-08-18 Thread Alon Carmel
thats what im asking. can i re-instate recursively a task every time it
fails dues making the task run forever?
-
Cheers,

def AlonCarmel(request)
 import simplejson as json
 contact = {}
 contant['email'] = 'a...@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 Thu, Aug 19, 2010 at 12:22 AM, MyElasticEye  wrote:

> Why don't you just add that task to a queue and if it fails, it will
> automatically re-execute itself and run again in a few minutes.
>
> On Aug 19, 12:00 am, alon  wrote:
> > Hey,
> > I need to keep a task running and monitoring twitter stream api.
> >
> > Is it possible to initiate a task that does
> >
> > try
> >
> > catch DeadlineExceededException
> >
> > task.add the same task again?
> >
> > so basically the task will always rerun itself over and over and over
> > indefinitely? i dont mind it ending after 30 seconds at a time or even
> > less but atleast i can keep on monitoring the stream 30 seconds at a
> > time.
> >
> > is that possible?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-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] Multiple AppEngine Apps on Multiple Domains require Multiple Google Apps accounts?

2010-08-16 Thread Alon Carmel
You basically want one single app to serve more then one domain? subdomain
or naked one?
-
Cheers,

def AlonCarmel(request)
 import simplejson as json
 contact = {}
 contant['email'] = 'a...@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 Mon, Aug 16, 2010 at 3:21 AM, Jessi  wrote:

>
> Greetings--
>
> I want to start out by saying I've checked the faq, and did a search
> on this group and looked at a dozen or so previous postings that
> looked like they might cover this.  I've also been looking for an
> answer to this question for awhile and read various blog posts, etc,
> without finding anyone who has addressed the issue directly.
>
> Several years ago I had a project that App Engine seemed ideal for,
> and also needed a google Apps account for our business, so we set up
> google apps on our main domain:  Company.com  at the time, we planned
> to use app engine for blogs.company.com or whatever.   That didn't pan
> out.  So, we only have one app engine app, that is company.appspot.com
> and also company.com.
>
> Now we're working on a technology which will result in three unrelated
> websites.  For illustration purposes, I'll call them pets.com,
> music.com and sailboats.com.
>
> The company.com App Engine account has 9 open slots for apps.
> However, I cannot find any way to use slot 2 for pets.appspot.com and
> have it show up at www.pets.com.   (and slot three for
> music.appspot.com and have it be at www.music.com, etc.)
>
> I don't need a naked domain.  I just need to host an app on a domain
> other than company.com.   It would be inappropriate to do
> music.company.com or sailboats.company.com.
>
> The only supported way to do this, that I can find, is to open three
> more google Apps accounts for pets.com, music.com and sailboats.com,
> and then set up three more app engine accounts for them.   I'm
> guessing since Google puts limits on the number of app engine apps
> that opening free google apps accounts would be a terms of use
> violation.
>
> I don't mind paying, I don't mine making company.com billing enabled.
> I just want to be able to operate the other apps on different
> domains.
>
> ---
>
> I thought I had a solution, when I noticed that I could register
> domain aliases in google apps.  So I took one of my spare domains,
> created a simple test project in google apps.  I registered the domain
> as an alias in google apps and uploaded the app engine app and then
> went to the administration for the app engine app and entered the
> domain.  The "Add Domain..." seems to redirect to google apps which
> gives me:
>
> "Server error
> Sorry, you've reached a login page for a domain that isn't using
> Google Apps. Please check the web address and try again"
>
> The help page on this error says you can "only login to google apps on
> your primary domain."  This implies that this method wont' work.
>
> ---
>
> I could, of course, just CNAME www.music.com to music.appspot.com.
> I've seen elsewhere that this doesn't work and you need to cname to
> ghs.google.com.  The core issue, though, is that when the servers on
> googles side get the web request for a domain that is aliased to
> ghs.google.com they need to have a way to look up which appengine app
> is associated with the name that was aliased.
>
> This lookup should not be very difficult, and this is what is
> happening when you set up your domain under google apps.
>
> But there seems to be no other way to set up a domain so that
> ghs.google.com knows which app engine app to run, and therefore, there
> seems to be no way to have app engine apps on multiple domains other
> than the one for which you have an apps account.
>
> I don't see the technical problem here.
>
> So, does google really want me to create multiple Goolge Apps
> accounts?   Since this would involve going out and buying prepaid
> cellphones in order to have a unique cell id to get the SMS
> "verification" happening  it all seems shady and like I'm routing
> around what google wants me to do.
>
> Or is it Googles inten

Re: [google-appengine] again "Request was aborted after waiting too long..."

2010-08-16 Thread Alon Carmel
When you fetch data from another server you use the urlfetch service. url
fetch service holds another limit for requests. when you relay on external
servers they hold another load which you cannot expect on your end. so if an
external service has some latency suddenly and plus fall under a database
high load your tasks will fail enventually.

try

catch

:)

-
Cheers,

def AlonCarmel(request)
 import simplejson as json
 contact = {}
 contant['email'] = 'a...@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 Sat, Aug 14, 2010 at 8:28 PM, Dmitry  wrote:

> Hi app team!
>
> "Request was aborted after waiting too long to attempt to service your
> request. This may happen sporadically when the App Engine serving
> cluster is under unexpectedly high or uneven load. If you see this
> message frequently, please contact the App Engine team."
>
> What may cause this error? I'm getting this quite often (may be every
> 1 minute) when using task queue. Queue rate isn't so big (5-7
> simultaneous requests, ~10 sec in average). Task just fetchs data from
> another server and processes it.
>
> thx
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-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] Experiencing DeadlineExceededError for around 3 hours..

2010-08-10 Thread Alon Carmel
You should never count on datastore performance. if your process is getting
near deadexceeded error you should do try catch and run it again if its a
task for example.

If its caused by processes that are run quickly (milliseconds) on daily
basis then it must be a bug. any how,

-
Cheers,

def AlonCarmel(request)
 import simplejson as json
 contact = {}
 contant['email'] = 'a...@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 Tue, Aug 10, 2010 at 4:38 PM, Rajkumar Radhakrishnan <
r.rajku...@gmail.com> wrote:

> Hi folks,
>
> My app has been experiencing too many DeadlineExceededError in the few
> hours. While such issues go away after a couple of minutes, this has now
> caused more than 51 errors for my visitors in the last 3 hours alone,
> staring 3:43 AM upto 6:27 AM now.
>
> The status page shows the Datastore performance to be in "Elevated"
> status.
> http://code.google.com/status/appengine/
>
> Any idea on when this will get resolved ?
> Anyone else affected by this issue ?
>
> Regards,
> R.Rajkumar
>
> --
> You 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] Share data among a suite of GAE apps

2010-08-03 Thread Alon Carmel
there was a similare discussion here about uploading bunch of websites that
connect to each other, its violating the terms of use if you try todo that
inorder to avoid quota. its ok for websites to communicate with each other
thru http.
i wrote a custom api for my self that i use for bunch of webapps to
communicate together like google wave robot and my webapp.
-
Cheers,

def AlonCarmel(request)
 import simplejson as json
 contact = {}
 contant['email'] = 'a...@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 Tue, Aug 3, 2010 at 3:01 PM, djidjadji  wrote:

> Upload the suites as different versions of the app.
> Also take a look at the "Terms of Service". You offer services with
> similar purpose/kind to a group of users.
>
> 2010/7/30 slowpoison :
> > I'm currently working on a suite of apps, that will all share data
> > amongst themselves - mainly the user data. Is there a way to do this
> > using the datastore API?
> >
> > Imagine a mail application and a calendar application. I'd like to
> > keep the apps separate but share a single "User" entity kind between
> > them. Possible? How?
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> > To post to this group, send email to google-appeng...@googlegroups.com.
> > To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com
> .
> > For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
> >
> >
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appeng...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>

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



Re: [google-appengine] Share data among a suite of GAE apps

2010-08-02 Thread Alon Carmel
Using the /remote_api you can access remote datastores.

I suggest creating one major app that holds the datastore and the rest
access the models over http using remote_api.
read about it.
-
Cheers,

def AlonCarmel(request)
 import simplejson as json
 contact = {}
 contant['email'] = 'a...@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 30, 2010 at 10:23 PM, slowpoison  wrote:

> I'm currently working on a suite of apps, that will all share data
> amongst themselves - mainly the user data. Is there a way to do this
> using the datastore API?
>
> Imagine a mail application and a calendar application. I'd like to
> keep the apps separate but share a single "User" entity kind between
> them. Possible? How?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appeng...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>

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



Re: [google-appengine] Re: Google Account

2010-07-29 Thread Alon Carmel
on python its _ah/login or something like that.
-
Cheers,

def AlonCarmel(request)
 import simplejson as json
 contact = {}
 contant['email'] = 'a...@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 Thu, Jul 29, 2010 at 8:34 PM, Geoffrey Spear wrote:

> You probably don't want your user to be logged in using Google's
> servers and then get redirected to localhost.
>
> Use the Users API to generate the login URL.
>
> On Jul 29, 5:55 am, Tsolmon Narantsogt  wrote:
> > Hi guys
> >
> > I have a question ?
> > 1) How to login from my google account ?
> >
> > i tried this code
> > https://www.google.com/accounts/ServiceLogin?service=ah&continue=http...";
> >
> > >Sign in 
> >
> > but it's not working .
> >
> > Help me guys
> >
> > Regards
> > Tsolmon
>
> --
> You 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] Is it really bad to define global variables?

2010-07-29 Thread Alon Carmel
Why not save it to session then?
Why not use memcache?
Isnt static classes for that? if you run it at the start it will run once
for all users and you can call it over and over with the same return. no?

http://en.wikipedia.org/wiki/Singleton_pattern

-
Cheers,

def AlonCarmel(request)
 import simplejson as json
 contact = {}
 contant['email'] = 'a...@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 Thu, Jul 29, 2010 at 11:19 AM, Bill Edwards  wrote:

> Hey guys,
>
> Is it horrible to use global variables?  I am currently executing a
> query at the beginning of my handler and storing the query result
> within class object A.  I subsequently need to access the query result
> within multiple different class objects, say B, C, and D.  It has been
> recommended to me to cache object A in the request object, but i need
> to access the variable from within various class objects, so I'm
> finding that I have to pass the object A in to the constructor for
> every new object i define, and then sync any changed state of object A
> with the handler's version of object A when the various class object
> functions are completed.
>
> So it really seems like the simplest way to do things is to just
> define a global variable.  Is there a better option?  Can I think I
> would ideally want to create something liek a session object to store
> the global object.
>
> Thanks!
> Bill
>
> --
> You 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] HardDeadlineExceededError

2010-07-29 Thread Alon Carmel
i had that exact problem.
I resolved it by cutting down the amount of processing from one process to
tons of them.
You can break all the mini calculations into mini tasks running asyc side by
side and get the work done at the same time or even shorter.

If tasks isnt the solution for you try the mapper class, google for it. it
lets you catch the HardDeadlineExceededError and save your current job
location and restart again at the same position.

quick tip from what i've learned. google gives you extra few seconds before
they break your process with HardDeadlineExceededError, its not something
static but its around 2-3 seconds, you can do alot when you hit that. do
try: catch on that and test it.

For large datastore uploads and so on use the bulkloader tool.

-
Cheers,

def AlonCarmel(request)
 import simplejson as json
 contact = {}
 contant['email'] = 'a...@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 Thu, Jul 29, 2010 at 8:29 AM, Lu  wrote:

> Hi,
>
> My application throws 'HardDeadlineExceededError' exception and i know
> the reason is that google only allows at most 30 secs to give
> response. However, I am doing large amounts of processing on the
> server side and I cannot manage to give feedback under 30 secs.
>
> Is there any mechanism that can throw some whatever stuff back to
> client every 30 secs and meanwhile still do the processing on the
> server side?
>
> Thanks,
> Lu
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appeng...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>

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



Re: [google-appengine] Re: Access from Israel

2010-07-28 Thread Alon Carmel
Same here. https works fine. http is 404.
no hebrew, no netex. nothing.
Bezeq International ISP user too.


I tried contacting israeli google office CTO Yosi matias but no response.
Drives me insane.
I can access the appspot servers when i surf my own domain
http://www.devunity.com but no appspot for me.

-
Cheers,

def AlonCarmel(request)
 import simplejson as json
 contact = {}
 contant['email'] = 'a...@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 Thu, Jul 29, 2010 at 8:13 AM, Daniel  wrote:

> https works for me
>
> in firefox im getting "Not Found"
>
> in IE im getting 404
>
> On Jul 29, 1:41 am, "Ikai L (Google)"  wrote:
> > Can you try https?
> >
> > Also, can you tell me what error you get? Is it a 404, timeout, 500, etc?
> >
> > On Wed, Jul 28, 2010 at 1:45 PM, Daniel  wrote:
> > > it doesn't not have hebrew letters
> >
> > > and i dont have netex service... i confirmed that
> >
> > > i cant even enter thewww.appspot.com
> >
> > > i can acces it only if i browse via some free anonymous proxy that i
> > > found over the web
> >
> > > but if i remove the proxy i cant enter thewww.appspot.comno more...
> >
> > > On Jul 28, 8:43 pm, "Ikai L (Google)"  wrote:
> > > > Daniel, can you verify two things for me:
> >
> > > > 1. Do the URLs you are accessing have Hebrew characters in them?
> > > > 2. Can you call Beseq and ask them to remove the Netex service, then
> come
> > > > back and confirm that this resolves the issue?
> >
> > > > On Tue, Jul 27, 2010 at 2:31 PM, Daniel  wrote:
> > > > > Im a Bezeq international user too
> >
> > > > > and im having this annoying issue too
> >
> > > > > it drive me crazy!!! its like we surf in china or iran..
> >
> > > > > please solve this issue asap
> >
> > > > > cause i cant use anything from appspot in this way
> >
> > > > > thx ahead
> >
> > > > > On Jul 19, 10:50 pm, "Ikai L (Google)"  wrote:
> > > > > > Hey guys,
> >
> > > > > > The netex service captures URLs entered in Hebrew and searches
> for a
> > > > > correct
> > > > > > term in English. Could this be a possible cause of the 404s? Are
> > > users
> > > > > > entering Hebrew in their URLs? If you have an example URL in
> Hebrew
> > > it
> > > > > would
> > > > > > be very helpful.
> >
> > > > > > On Thu, Jul 8, 2010 at 10:30 AM, Alon Carmel  >
> > > wrote:
> > > > > > > i got to tell you, im on bezeq int and im not seeing any
> problems
> > > > > accessing
> > > > > > > appspot.com domains.
> >
> > > > > > > -
> > > > > > > Cheers,
> > > > > > > public static function AlonCarmel() {
> > > > > > > //Contact me
> > > > > > > var email = '@aloncarmel.me';
> >
> > > > > > > var twitter = '@aloncarmel';
> > > > > > > var web = 'http://aloncarmel.me';
> > > > > > > var phone = '+972-54-4860380';
> > > > > > > }
> >
> > > > > > > * 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 Mon, Jun 

Re: [google-appengine] Newbie question (html not rendering)

2010-07-27 Thread Alon Carmel
The template seems fine. we need to see the view controller code.
-
Cheers,

def AlonCarmel(request)
 import simplejson as json
 contact = {}
 contant['email'] = 'a...@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 Tue, Jul 27, 2010 at 2:34 AM, Virender  wrote:

> Hi I am following the python tutorial. Everything was fine until I
> created the template.
> Here is my index.html file
>
> 
>  
>{% for greeting in greetings %}
>  {% if greeting.author %}
>{{ greeting.author.nickname }} wrote:
>  {% else %}
>   An anonymous person wrote:
>  {% endif %}
>  {{ greeting.content|escape }}
>{% endfor %}
>
>
>   div>
>  
>
>
>{{ url_linktext }}
>
>  
> 
>
> http://localhost:8081/ displays this  (what am I doing wrong?)
>
> 
>  
>
>
>
>   div>
>  
>
>
>Login
>
>  
> 
>
> thanks,
> Virender
>
> --
> You 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] Advice about first application

2010-07-26 Thread Alon Carmel
Well, i think my first advice is to focus on learning python or java, what
ever language you learn. learn the basics, working with arrays, the syntax
etc.
Once you feel bit more comf' find a proper Framework. Django Changed my life
completely about python. there is an adapted version patched for app engine.

Third, learn the basics of building a model on the datastore, the difference
between No-rel and sql. you never did any so it might be easier for you but
its good to plan ahead.

and at last. i think the best kick off app that you can do is a blog. it
incorporates alot of basic features like templates, insert data and display
data from the datastore. editing stuff and basic user authentication to
write stuff.

thats my two cents.


-
Cheers,

def AlonCarmel(request)
 import simplejson as json
 contact = {}
 contant['email'] = 'a...@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 Mon, Jul 26, 2010 at 11:25 AM, Kay  wrote:

> Hello. I'm a web designer, interested in learning python on App
> Engine.
> I've read the "getting started" guide, wrote and understood the sample
> guestbook app, and I've read most of the python documentation on App
> Engine website. Though, I've never done any programming before, so
> these are my very first steps.
>
> I'm looking for some ideas and advice about my first application.
> Something that would be both easy to implement, as well as
> conceptually straight forward, for a rookie.
> I'm planning on developing on Google Code, so anyone can see my
> progress and hopefully give me hints.
> Thank you for your help.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appeng...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>

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

2010-07-26 Thread Alon Carmel
try clearing the security cookies using --no_cookies and --email and
--passin
-
Cheers,

def AlonCarmel(request)
 import simplejson as json
 contact = {}
 contant['email'] = 'a...@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 Mon, Jul 26, 2010 at 5:44 PM, James Yang  wrote:

> Yes, It is the only account for the app
>
>
> On Jul 24, 12:38 am, Edel SM  wrote:
> > 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-appengine@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.
> >
> > --
> > edel- 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.
>
>

-- 
You 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] new to app engine - how to handle control arrays

2010-07-26 Thread Alon Carmel
first, it depends on how your working with python on app engine.

django :
self.request.GET/POST['VARNAME'] or django request.GET/POST['VARNAME']

The .POST or .GET are dictionaries of all the passed data. you can also
access them via .REQUEST.

For example:

myarray = request.POST['myarray']

for item in myarray:
   //do something

you can also print those arrays to see the structure... dir or print.


-
Cheers,

def AlonCarmel(request)
 import simplejson as json
 contact = {}
 contant['email'] = 'a...@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 Mon, Jul 26, 2010 at 2:17 AM, mikemoum  wrote:

> Hi,
>
> I'm just getting started with app engine, and am porting a php site I
> developed as a learning tool. The input form on my page allows one to
> enter a number of participants in a small school program. As such,
> some fields are common to many people, such as last name. In my input
> form, therefore, there are a column of textboxes, with name=lname[].
> When the form is posted when the submit button is clicked, the global
> php variable, $_POST, contains the field lname[], which is an array of
> entries.
>
> It's not clear to me how to handle such an array when it is posted in
> app engine and parsed with python. How does one do this?
>
> Thanks for your replies,
> Mike
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appeng...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>

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



Re: [google-appengine] Re: Google Appengine is BROKEN

2010-07-22 Thread Alon Carmel
your development server uses your own ip to call twitter, it might be a
problem on either side, IP stack wise.
ill try reaching ikai also. you can find him on twitter @ikai but im afraid
its night time at google HQ in the states right now.
-
Cheers,

def AlonCarmel(request)
 import simplejson as json
 contact = {}
 contant['email'] = 'a...@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 9:06 AM, 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 <
> nischalshett...@gmail.com>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.DefaultActionInvocati

Re: [google-appengine] Re: Google Appengine is BROKEN

2010-07-22 Thread Alon Carmel
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'] = 'a...@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.java:
> 121)
>at twitter4j.Twitter.getOAuthRequestToken(Twitter.java:1406)
>at
>
> justunfollow.manager.impl.JustUnfollowManagerImpl.redirectURL(JustUnfollowManagerImpl.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.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.invokeActionOnly(DefaultActionInvocation.java:
> 267)
>at
>
> justunfollow.interceptor.ExceptionInterceptor.intercept(ExceptionInterceptor.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(UtilTimerStack.java:
> 455)
>at
>
> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:
> 221)
>at
>
> com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:
> 221)
>at
>
> com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.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(UtilTimerStack.java:
> 455)
>at
>
> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:
> 221)
>at
>
> com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:
> 150)
>at
>
> org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:
> 48)
>at
>
> com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:
> 86)
>at com.opensymphony.xwork2.DefaultActionInvocation
> $2.doProfiling(DefaultActionInvocation.java:224)
>at com.opensymphony.xwork2.DefaultActionInvocation
> $2.doProfiling(DefaultActionInvocation.java:223)
>at
>
> com

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

2010-07-22 Thread Alon Carmel
It could be twitter blocking calls from the appspot.com servers. it happened
before with the appspot servers being blocked by isps as malicious virus
spreading domain.

did you try using different libraries and not urlfetch?

-
Cheers,

def AlonCarmel(request)
 import simplejson as json
 contact = {}
 contant['email'] = 'a...@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 5:39 AM, 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.
>
>

-- 
You 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 Appengine is BROKEN

2010-07-22 Thread Alon Carmel
Can you give the 500 exception so maybe we can dissect it here? im pretty
familiar with the twitter api oauth process... maybe i can help..
Its definitely app engine side because all of my php twitter connect apps
work fine.
-
Cheers,

def AlonCarmel(request)
 import simplejson as json
 contact = {}
 contant['email'] = 'a...@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:33 AM, David Hewitson wrote:

> That really sucks. Guess it's just a matter of waiting it out.
>
> On Fri, Jul 23, 2010 at 6:29 AM, nischalshetty 
> wrote:
>
>> Yeah, its Google's problem. Checked out a list of twitter apps here -
>> http://appgallery.appspot.com/results?q=twitter&start=10&num=5  and
>> none of them seem to be able to connect to twitter :(
>>
>> I'm baffled to not have received any reply from a single appengine
>> engineer. I respect them all, they do a lot of work, but  hope they
>> see this and do something about it.
>>
>> -Nischal
>>
>> On Jul 23, 10:16 am, David Hewitson  wrote:
>> > @Nischal is it definitely on Google's side? Tried accessing the endpoint
>> > with CURL or similar?
>> >
>> > On Fri, Jul 23, 2010 at 6:14 AM, nischalshetty <
>> nischalshett...@gmail.com>wrote:
>> >
>> >
>> >
>> >
>> >
>> > > @David I'm hoping the same. Well over 10,000 twitter users access my
>> > > app every single day. Now everything's gone for a toss. Months of
>> > > efforts just seem to be going down the drain. To top it, I feel so
>> > > helpless!
>> >
>> > > -Nischal
>> >
>> > > On Jul 23, 10:08 am, David Hewitson  wrote:
>> > > > I'm beginning to remember some of the benefits of running my own
>> LAMP
>> > > > stack...
>> >
>> > > > Hope they get this fixed soon!
>> >
>> > > > On Fri, Jul 23, 2010 at 6:06 AM, nischalshetty <
>> > > nischalshett...@gmail.com>wrote:
>> >
>> > > > > @Shoubhik  500 keeps coming once a while (which is another
>> appengine
>> > > > > issue). But if you refresh, and click the sign in with twitter
>> button,
>> > > > > app engine is just not able to connect to twitter!
>> >
>> > > > > I really wonder where the app engine team is. My site's completely
>> > > > > unusable. The most frustrating experience ever!
>> >
>> > > > > -Nischal
>> >
>> > > > > On Jul 23, 9:02 am, "ke...@kanno.com"  wrote:
>> > > > > > I think it's because of the problem.
>> > > > > > I could see the top page but couldn't login.
>> > > > > > That's what we are yelling about
>> >
>> > > > > > On Jul 23, 12:57 pm, Shoubhik  wrote:
>> >
>> > > > > > > Hi Nischal,
>> > > > > > > its giving error 500
>> >
>> > > > > --
>> > > > > You 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> e...@googlegroups.com>> > > e...@googlegroups.com>
>> > > > > .
>> > > > > For more options, visit this group at
>> > > > >http://groups.google.com/group/google-appengine?hl=en.
>> >
>> > > > --
>> > > > David
>> >
>> > > --
>> > > You received this message because you are subscribed to the Google
>> Groups
>> > > "Google App Engine" group.
>> > > To post to this group, send email to
>> g

Re: [google-appengine] GAE + RESTful webservice

2010-07-19 Thread Alon Carmel
Pistons for python gives you a restful access to all your methods.
I personally wrote all the rest api access points myself. i like to keep it
personal without revealing my data structure.
-
Cheers,

def AlonCarmel(request)
 import simplejson as json
 contact = {}
 contant['email'] = 'a...@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 Sun, Jul 18, 2010 at 8:48 PM, ping  wrote:

> Hi,
> i want to develop a webapplication on GAE which stores and retrieves
> data from a database and make it available through RESTful
> Webservices.
> What's the best way to do this?
> Can I use Axis2? Or Restlet? Whats the general approach for
> implementing REST in GAE?
>
> 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.
>
>

-- 
You 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: Order of data

2010-07-17 Thread Alon Carmel
created_at = db.DateTimeProperty(auto_now_add=True)

updated_at = db.DateTimeProperty(auto_now=True)


I almost add that to any datastore model i got so i could always use order
by created_at desc.

Please remember that in some cases you need an index for that to use online.

Default for datastore is ascending.


-
Cheers,

def AlonCarmel(request)
 import simplejson as json
 contact = {}
 contant['email'] = 'a...@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 16, 2010 at 7:56 PM, Geoffrey Spear wrote:

> If you want to get your data in the order it was inserted, it's almost
> certainly easier to use a DatetimeProperty with auto_now_add = True
> than to try to maintain your own guaranteed sequential IDs.
>
> On Jul 16, 12:07 pm, Blixt  wrote:
> > Okay, so data will be returned in a non-determinate order unless you
> > specify keys yourself (since ids aren't guaranteed to be in order).
> > I'll make my own counter.
> >
> > Thanks!
> >
> > On Jul 16, 6:01 pm, Nate Bauernfeind 
> > wrote:
> >
> > > They will be ordered by key. You should consider watching one of the
> > > datastore tech talks.
> >
> > > On Fri, Jul 16, 2010 at 3:54 AM, Blixt  wrote:
> > > > Imagine this query:
> >
> > > > Person.all().fetch(100)
> >
> > > > Is the order of data in the datastore guaranteed, or can the order of
> > > > the entities returned change as data is inserted?
> >
> > > > --
> > > > You 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
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>

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



Re: [google-appengine] Re: Appengine datastore resets on OSX

2010-07-17 Thread Alon Carmel
I had the same issue. and still having the same issue. seems like a
permission access denied when you relaunch the server. i never have too much
data and i always write some short script that inputs data. you can always
use the syncdb to sync your online database to your local or just hold some
example db file that you can load up using the bulkloader i think.
-
Cheers,

def AlonCarmel(request)
 import simplejson as json
 contact = {}
 contant['email'] = 'a...@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 16, 2010 at 9:06 PM, Bernard Matthews <
giant.killer.monk...@gmail.com> wrote:

> Yeah, thanks everyone.  I found what you were talking about and some
> example of how to change it on the app engine website.  But sadly I'm
> so bad at using the terminal I couldn't actually get it to work.
> Still..
>
> I'm using parallels, and writing and saving it in OSX and then
> entering the data into windows where I test it.  It's a lame work
> around but I'm totally new to Unix commands so.  This is working!
> Thanks for your help.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appeng...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>

-- 
You 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] Help

2010-07-11 Thread Alon Carmel
are you saving your passwords as clear passwords?
can you elaborate a bit more? why are you checking for password on two
tables?
-
Cheers,

def AlonCarmel(request)
 import simplejson as json
 contact = {}
 contant['email'] = 'a...@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 Sun, Jul 11, 2010 at 4:59 PM, Massimiliano <
massimiliano.pietr...@gmail.com> wrote:

> Hi all,
> I'm trying to check the password of my user. But it doesn't want to work.
>
> class PAGAMENTI(db.Expando):
> data = db.DateTimeProperty(auto_now_add=True)
>
> class BIG(db.Expando):
> data = db.DateTimeProperty(auto_now_add=True)
>
> class BigHandler(webapp.RequestHandler):
>
> def get(self):
>  ..
>
> def post(self):
> password = self.request.get('password')
>  controllo = db.Query(PAGAMENTI).filter('password=',
> password).fetch(limit=1)
> controllo2 = db.Query(BIG).filter('password=', password).fetch(limit=1)
>  if len(controllo) == 1 and len(controllo2) == 0:
> big = BIG()
>  big.nome = self.request.get('nome')
> big.msg = self.request.get('msg')
>  big.password = password
> big.put()
> self.redirect('/big')
>
> Could you please help me. The if doesn't work, It always goes in the else.
>
> Thanks
>
> Max
>
>
> --
>
> My email: massimiliano.pietr...@gmail.com
> My Google Wave: massimiliano.pietr...@googlewave.com
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appeng...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>

-- 
You 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: Access from Israel

2010-07-08 Thread Alon Carmel
i got to tell you, im on bezeq int and im not seeing any problems accessing
appspot.com domains.
-
Cheers,
public static function AlonCarmel() {
//Contact me
var email = 'a...@aloncarmel.me';
var twitter = '@aloncarmel';
var web = 'http://aloncarmel.me';
var phone = '+972-54-4860380';
}

* 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 Mon, Jun 7, 2010 at 8:47 AM, rainmaker  wrote:

> This is becoming a major inconvenience...any thoughts?
>
> On May 15, 12:46 pm, Alon Carmel  wrote:
> > im from israel with bezeq international and i can access all the domains
> > mentioned with no problem.
> > -
> > Cheers,
> > public static function AlonCarmel() {
> > //Contact me
> > var email = '@aloncarmel.me';
> > var twitter = '@aloncarmel';
> > var web = 'http://aloncarmel.me';
> > var phone = '+972-54-4860380';
> >
> > }
> >
> > * 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, May 14, 2010 at 11:10 AM, ori  wrote:
> > > I'm having the same problem
> >
> > > My ISP is Bezeq International too.
> >
> > > On May 14, 9:16 am, rainmaker  wrote:
> > > > Switching to Google's DNS didn't work for me.
> > > > ISP is Bezeq International
> >
> > > > On May 12, 6:11 pm, "Ikai L (Google)"  wrote:
> >
> > > > > Have we narrowed down the cause yet? Is this a DNS issue? Does
> using
> > > 8.8.8.8
> > > > > resolve this (http://code.google.com/speed/public-dns/)?
> >
> > > > > If it is a DNS issue, what ISP are you using?
> >
> > > > > On Wed, May 12, 2010 at 10:08 AM, rainmaker <
> a.thesilent...@gmail.com
> > > >wrote:
> >
> > > > > > I can confirm the same behavior.
> >
> > > > > > On Apr 26, 9:36 pm, "Ikai L (Google)"  wrote:
> > > > > > > Can anyone else having problems switch their DNS to 8.8.8.8 and
> > > 8.8.4.4?
> > > > > > > It's starting to seem like this may be an ISP DNS resolution
> > > problem.
> >
> > > > > > > On Mon, Apr 26, 2010 at 2:03 AM, Zarko 
> > > wrote:
> > > > > > > > There seems to be a problem with the SSL certificate on
> > > > > > > > "*.appspot.com". The browser think it's a redirect to
> another
> > > site and
> > > > > > > > block it, but you can revoke it like you mentioned.
> >
> > > > > > > > If you use secure connections try https directly, it will
> > > > > > > > give you a redirect warning, but will work.
> >
> > > > > > > > Zarko
> >
> > > > > > > > On Apr 26, 10:06 am, Lior Harsat 
> wrote:
> > > > > > > > > I have the same issue.
> > > > > > > > > I did notice that if I switch to https I can access my
> servers.
> > > > > > > > > I can also verify that after I started using google DNS the
> > > problem
> > > > > > > > > was gone.
> > > > > > > > > this is good for me but I cant tell my customers to change
> > > their dns
> > > > > > > > > settings.
> > > > > > > > > please resolve this issue promptly
> >
> > > > > > > > > --
> > > > > > > > > You 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

Re: [google-appengine] Re: "Getting Started" hangup with Eclipse

2010-07-07 Thread Alon Carmel
You didnt specify if you want to develop for GAE in python or java. if your
going to use java your good to go with the GAE plugin, but if you want
pyhton you need to install PyDev which installs a perspective and some GAE
new project wizards.

haul if you need help.
-
Cheers,
public static function AlonCarmel() {
//Contact me
var email = 'a...@aloncarmel.me';
var twitter = '@aloncarmel';
var web = 'http://aloncarmel.me';
var phone = '+972-54-4860380';
}

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



2010/7/7 Jaroslav Záruba 

> 2010/7/7 Jaroslav Záruba 
>
> Unfortunately Google seem to recommend clear install with every update the
>> plugin gets,
>>
>
> Oh, looks like I was kinda wrong here. :)
>
> On Wed, Jul 7, 2010 at 3:34 PM, Jason Parekh 
>  wrote:
>
>> Yes, the clean installation is recommended *for milestones only* --
>> mainly because the code may have a few issues due to its milestone status,
>> so we wouldn't want your existing stable Eclipse environment to become
>> unusable.
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appeng...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>

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



Re: [google-appengine] Re: Datastore design question

2010-06-28 Thread Alon Carmel
i got alot of user meta data, i save them on another db model called
usermeta which is referencekey to the user model key. under the usermeta i
write duplicated data from the user table too such as user key id as string
and much more. i usually pull the usermeta only and use the user model just
for authentication keeping it clean and to the purpose.

-
Cheers,
public static function AlonCarmel() {
//Contact me
var email = 'a...@aloncarmel.me';
var twitter = '@aloncarmel';
var web = 'http://aloncarmel.me';
var phone = '+972-54-4860380';
}

* 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 Mon, Jun 28, 2010 at 9:17 AM, Robert Kluin wrote:

> The answer to this question depends on several other questions too.
> For example:
>  1) how many items are you expecting?
>  2) how often do a users items change, and how do they get changed
> (the user or something else)?
>  3) what type of querying / reporting do you need to be able to do?
>  4) what type of information would you need to store about each users item?
>
> Robert
>
>
>
>
>
>
>
> On Sun, Jun 27, 2010 at 9:59 PM, Tom Wu  wrote:
> > Hi Luís,
> >
> > If you have a "User" model, with a "items" heavy Property like
> TextProperty
> > which is not necessary for every query.
> > Which db structure is better ?
> >
> > Best Regards
> > Tom Wu
> >
> >
> > 2010/6/28 Luís Marques 
> >>
> >> Hello Phil,
> >>
> >> Anyone correct me if I'm wrong but you use one of the following
> >> options, among others.
> >>
> >> You can have a "User" model, with a "items" ListProperty. The pros: if
> >> you have the key for the user (e.g. you can use the email), then with
> >> a simple get (faster than a query) you can retrieve the entity
> >> including the items. Writing a new object is transactional. The cons:
> >> you must always get a set the entire user entity. The entity might get
> >> large if there are a lot of items. If you use custom indexes with the
> >> "items" property the index might get large quickly, especially if you
> >> use more than one ListProperty (exploding indexes).
> >>
> >> You can have a "User" model, and a "UserItem" whose parent is the
> >> User, making it part of a transaction group. Cons: you have limited
> >> QPS writes to the transaction group (about 1-10 QPS), but that's the
> >> same limitation you have to a standalone User with items. You have to
> >> query (seek) the items, although I wouldn't call that a problem
> >> without profile data. Pros: you can write individual UserItems. You
> >> can have transactions for the user and the items s/he has.
> >>
> >> You can have a "User" model and a "UserItem" with a User key
> >> reference. Cons: you can no longer have a transaction depending on the
> >> user and the items s/he has. Pros: you can write individual items
> >> without write collisions to the User.
> >>
> >> You can have a "User" and a flat list (e.g. text, non-indexed) of the
> >> corresponding items. Cons: limits the queries you can make, have to
> >> update all items at once. Pros: better index performance.
> >>
> >> Etc. I hope it was helpful and correct?
> >>
> >> Best regards,
> >> Luís
> >>
> >> --
> >> You received this message because you are subscribed to the Google
> Groups
> >> "Google App Engine" group.
> >> To post to this group, send email to google-appeng...@googlegroups.com.
> >> To unsubscribe from this group, send email to
> >> google-appengine+unsubscr...@googlegroups.com
> .
> >> For more options, visit this group at
> >> http://groups.google.com/group/google-appengine?hl=en.
> >>
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google App Engine" group.
> > To post to this group, send email to google-appeng...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-appengine+unsubscr...@googlegroups.com
> .
> > For more options, visit this group at
> > http://groups.google.com/group/google-appengine?hl=en.
> >
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appeng...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>

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



Re: [google-appengine] Re: Is there any way to get around the Urlfetch 10 second deadline limit?

2010-06-23 Thread Alon Carmel
if it takes that much time for your server to respond your likely to fall
under the 30seconds limit.
if its a data that you need to receive back i suggest you alter the 2nd
servers code to call a url on the app engine once its complete with a dump
of the data. push and not pull.
-
Cheers,
public static function AlonCarmel() {
//Contact me
var email = 'a...@aloncarmel.me';
var twitter = '@aloncarmel';
var web = 'http://aloncarmel.me';
var phone = '+972-54-4860380';
}

* 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 Wed, Jun 23, 2010 at 4:33 AM, rpalmer68 wrote:

> Thanks for the replies.
>
> I'm new to all of this, but doesn't the async method still have a
> deadline of 10 seconds from when the "urlfetch.make_fetch_call" is
> made?
>
> Now since the call goes to my server and then my server could take 15
> seconds to run it's task and retuen a simple "Data Added OK" or "Data
> Removed OK" response I can't see how using async will help at all.
>
> As I say, I'm very green so I may be missing the point completely, so
> sorry if I am.
>
> Thanks
> Richard
>
> --
> You 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] Cannot fetch dynamic content from the same app (URL Fetch API)

2010-06-22 Thread Alon Carmel
if i wanted to hack this without nick's question i'd leave urlfetch and just
output a javascript jquery ajax call to that url. that might work. but its a
terrible hack.
-
Cheers,
public static function AlonCarmel() {
//Contact me
var email = 'a...@aloncarmel.me';
var twitter = '@aloncarmel';
var web = 'http://aloncarmel.me';
var phone = '+972-54-4860380';
}

* 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 Mon, Jun 21, 2010 at 9:01 PM, PhilBeaudoin
wrote:

> I need to use the URL Fetch API to load dynamic content (a JSP or
> servlet-generated content) from the same application that uses URL
> Fetch. It looks like this is not allowed on AppEngine -- and it
> doesn't seem related to the documented limitation that URL Fetch
> cannot get its own URL. (The URL is different, even though is has the
> same domain). Another point to note is that this works if I'm using
> URL Fetch to get static content (an HTML page).
>
> * Background *
>
> I need to do this to serve content generated with HTMLUnit to make my
> app crawlable by search engines, as described in:
> http://code.google.com/web/ajaxcrawling/
>
> * AppEngine log analysis *
>
> From my browser I request
> http://puzzlebazaar.appspot.com?_escaped_fragment_=main
>
> From the AppEngine log I see that the request for
> http://puzzlebazaar.appspot.com?_escaped_fragment_=main starts, it
> goes through HTMLUnit which then uses URL Fetch to get
> http://puzzlebazaar.appspot.com#!main. Following this I get an
> IOException :
> com.philbeaudoin.gwtp.crawler.server.CrawlFilter logStackTrace:
> java.util.concurrent.ExecutionException: java.io.IOException: Timeout
> while fetching:
> http://puzzlebazaar.appspot.com#!main
>
> The page content is empty. This exception is caught, the servlet
> continues and terminates normally.
>
> Then the request for http://puzzlebazaar.appspot.com#!main starts.
> From the timings in the AppEngine logs it's clear that this request
> starts too late, that is, after the original request has terminated.
>
> * What I tried *
>
> 1) To make sure it wasn't a problem with HTMLUnit, I used URL Fetch
> directly, but got the same behavior.
> 3) I tried fetching dynamic content from the same domain but with more
> differences in the URL. (Not just the parameters.)  It fails.
> 2) I tried fetching a statically-served HTML page from the same
> domain. This works.
>
> * Questions *
>
> 1) Is this documented behavior from AppEngine?
> 2) Is there a way to work around this?
> 3) Are there any plans to allow this in the future?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appeng...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>

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



Re: [google-appengine] Re: Static images not being served

2010-06-22 Thread Alon Carmel
retry to put a-a.gif and see if it fails on that also.
-
Cheers,
public static function AlonCarmel() {
//Contact me
var email = 'a...@aloncarmel.me';
var twitter = '@aloncarmel';
var web = 'http://aloncarmel.me';
var phone = '+972-54-4860380';
}

* 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 Mon, Jun 21, 2010 at 10:56 PM, n8gray  wrote:

> On Jun 21, 12:51 pm, n8gray  wrote:
> > Hi all,
> >
> > My static images aren't being served.
> > ...
> > Thanks for any help, and please CC me with replies.
>
> Ok, sorry for replying to myself, but just after posting this I tried
> renaming my image file from "HexaLex-logo.png" to "logo.png", and that
> solved the problem.  I'm guessing the '-' is the problem.  That's
> gotta be a bug in GAE, right?
>
> Thanks,
> -n8
>
> --
> You 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] Is there any way to get around the Urlfetch 10 second deadline limit?

2010-06-22 Thread Alon Carmel
no there isnt, i myself parse large xml files for example that i download
remotely and the time for the process to run varies because of the time it
takes for the urlfetch to grab the data.
You can split the data into smaller chunks and use mapper to cycle when you
finished your time to continue posting.
You can also split it across alot of small tasks that run asyc like i did
for parsing the data into the datastore. works perfectly.

my suggestions, just split the chunks.
-
Cheers,
public static function AlonCarmel() {
//Contact me
var email = 'a...@aloncarmel.me';
var twitter = '@aloncarmel';
var web = 'http://aloncarmel.me';
var phone = '+972-54-4860380';
}

* 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 Tue, Jun 22, 2010 at 5:45 AM, rpalmer68 wrote:

> Hi,
>
> I have a GAE app that is using this line;
>
> result = urlfetch.fetch(url=url, payload=encodedParams,
> method=urlfetch.POST, deadline=10);
>
> The problem is that the server/app the GAE app is communicating with
> may have to do some external lookups from another remote databse and
> depending on servr load sometimes the response back to my GAE app can
> be 12 or 15 seconds.  This of course triggers a DownloadError.
>
> Is there any other way of performing the above task without being
> restricted to the 10 second deadline?
>
> Thanks
> Richard
>
> --
> You 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] Datastore

2010-06-14 Thread Alon Carmel
i also suggest always putting in mind that selects unlike inserts are more
problematic in datastore unlike sql. so youll want to save all the data you
may think you want in advance. remember datastore row model structure can be
altered as you go by adding more entities to the model.
i always save all the data ill need and also referencekey to stuff just for
keeping things in order.
-
Cheers,
public static function AlonCarmel() {
//Contact me
var email = 'a...@aloncarmel.me';
var twitter = '@aloncarmel';
var web = 'http://aloncarmel.me';
var phone = '+972-54-4860380';
}

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



2010/6/14 Ian Lewis 

> Ben,
>
> With non-relational databases like appengine's datastore you need to
> create data based on the way you will query it rather than the way you
> want to store it.
>
> In your case it looks like you would need to create a model to store
> the data you want to query (essentially an index that you manage). A
> model something like the following might work.
>
> PeopleOwnItemsIndex {
>person (reference to the person owning the items/people)
>owner (reference to the person owning the item)
>item (reference to the item owned)
> }
>
> You'll be querying on the person field so the query will need to go in
> your datastore-indexes.xml or index.yaml
>
> When you change owners or add items you'll need to update the data for
> this model. If you want to consolidate models you could also get only
> your own items by creating an index on person+owner and query it with
> person = me, owner = me. That would be instead of using PersonOwnItem,
> but the difference would be you would have a record for each person
> that can see the item rather than only one for the person owning the
> item.
>
> Ian
>
> On Sun, Jun 13, 2010 at 4:10 AM, Ben Woodhead 
> wrote:
> > Hello Everybody,
> >
> > I am very comfortable with SQL and relational databases and I am
> > trying to wrap my head around GAE. Below is an example of how I would
> > tackle my problem in SQL and it would be really great if someone could
> > give me some hints on how to accomplish something similar in GAE. Its
> > basically a hierarchy of ownership.
> >
> > The 2 base tables:
> >
> > table People {
> >   int personId;
> >   string name;
> > }
> >
> > table items {
> >int itemId;
> >string itemName;
> > }
> >
> > The 2 relational tables:
> > table PeopleOwnPeople {
> >int ownersId;
> >int personId;
> > }
> >
> > table PeopleOwnItems {
> >int personId;
> >int itemId;
> > }
> >
> > So now that we have a basic structure I can start to explain the idea
> > or problem. I want to be able to search for all items owned by me and
> > the people i own:
> >
> > select items.* from Items, PeopleOwnPeople, PeopleOwnItems where
> > (PeopleOwnPeople.ownersId=234 and
> > PeopleOwnPeople.personId=PeopleownItems.personId) or
> > PeopleOwnItems.personId = 234 ;
> >
> > I am looking to use GWT as my frontend to this project so I am likely
> > going to be using Java for the backend but that isn't set in stone
> > yet.
> >
> > Thanks any and all help.
> > Ben
> >
> > --
> > You 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.
> >
> >
>
>
>
> --
> ===
> 株式会社ビープラウド  イアン・ルイス
> 〒150-0021
> 東京都渋谷区恵比寿西2-3-2 NSビル6階
> email: ianmle...@beproud.jp
> TEL:03-6416-9836
> FAX:03-6416-9837
> http://www.beproud.jp/
> ===
>
> --
> You 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] Deferred Library Not Working Intermittently

2010-06-14 Thread Alon Carmel
for me its just not running the deferred the third time. i see two tasks
maybe three running then everything halts. its like somewhere along the way
the deadtimeexceeded is not firing or the deferred doesnt have enough time
to fire up upon error.
i resolved by going task wise and just spreading the load across many tasks
(300) of them instead of doing it deferred.
-
Cheers,
public static function AlonCarmel() {
//Contact me
var email = 'a...@aloncarmel.me';
var twitter = '@aloncarmel';
var web = 'http://aloncarmel.me';
var phone = '+972-54-4860380';
}

* 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 Mon, Jun 14, 2010 at 11:07 AM, Aaron Cheung wrote:

> I'd like to update this thread with a new set of observations.  Most
> importantly, I have divorced myself from the notion that this has anythign
> to do with the deferred library.
>
> When I took the datastore puts out of the deferred function, they still
> failed to complete.  When I put the puts inside a transaction, it helps a
> little bit, but the puts still fail about a third of the time.  My question
> is why this would be happening on the SDK.  There is nothing else running in
> the background when these puts are getting issued.
>
> Your thoughts are much appreciated!
>
> On Sun, Jun 13, 2010 at 2:58 PM, Alon Carmel  wrote:
>
>> having the same issue exactly. deferred lib runs two tasks then halts
>> without uppering the counter. i thought i had some issue.
>> -
>> Cheers,
>> public static function AlonCarmel() {
>> //Contact me
>> var email = 'a...@aloncarmel.me';
>> var twitter = '@aloncarmel';
>> var web = 'http://aloncarmel.me';
>> var phone = '+972-54-4860380';
>> }
>>
>> * 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 Sun, Jun 13, 2010 at 11:00 PM, Aaron Cheung 
>> wrote:
>>
>>> Hi Nick,
>>>
>>> Unfortunately, putting the update inside a transaction didn't solve the
>>> problem.  This problem is currently occuring on the SDK, where there
>>> shouldn't be any concurrency issues.  I looked into AppStats again, and I
>>> can clearly seeing the datastore.v3Commit taking place.  And, I am pretty
>>> sure the values are being passed in and set properly.  It just fails a large
>>> portion of the time.  Any other ideas?
>>>
>>> Very best and thanks for your help,
>>> Aaron
>>>
>>>
>>> On Sun, Jun 13, 2010 at 4:47 AM, Nick Johnson (Google) <
>>> nick.john...@google.com> wrote:
>>>
>>>> Hi Aaron,
>>>>
>>>> Since you're not doing the update inside a transaction, it's likely that
>>>> what's happening is that multiple tasks are updating the entity at the same
>>>> time, which results in a concurrency issue: Both tasks fetch the entity and
>>>> modify it, and the one that does the put last is the one whose results are
>>>> visible.
>>>>
>>>> Doing the update in a transaction should fix this.
>>>>
>>>> -Nick Johnson
>>>>
>>>> On Sun, Jun 13, 2010 at 8:50 AM, Aaron Cheung >>> > wrote:
>>>>
>>>>> Hi guys,
>>>>>
>>>>> I'm still having trouble debugging this error.  Would appreciate any
>>>>> thoughts!
>>>>>
>>>>> Thanks,
>>>>> Aaron
>>>>>
>>>>>
>>>>> On Sat, Jun 12, 2010 at 3:55 AM, Aaron wrote:
>>>>>
>>>>>> Hi!
>>>>>>
>>>>>> I am currently implementing the deferred library in my code, and I am
>>>>>> running into a very very strange problem.  The function that I am
>>>>>> deferring gets passed an entity key.  It does two tasks: 1) Gets the
>>>>>> entity,  retrieves a reference property, alters it, and then puts it
>>>>>

Re: [google-appengine] Deferred Library Not Working Intermittently

2010-06-13 Thread Alon Carmel
having the same issue exactly. deferred lib runs two tasks then halts
without uppering the counter. i thought i had some issue.
-
Cheers,
public static function AlonCarmel() {
//Contact me
var email = 'a...@aloncarmel.me';
var twitter = '@aloncarmel';
var web = 'http://aloncarmel.me';
var phone = '+972-54-4860380';
}

* 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 Sun, Jun 13, 2010 at 11:00 PM, Aaron Cheung wrote:

> Hi Nick,
>
> Unfortunately, putting the update inside a transaction didn't solve the
> problem.  This problem is currently occuring on the SDK, where there
> shouldn't be any concurrency issues.  I looked into AppStats again, and I
> can clearly seeing the datastore.v3Commit taking place.  And, I am pretty
> sure the values are being passed in and set properly.  It just fails a large
> portion of the time.  Any other ideas?
>
> Very best and thanks for your help,
> Aaron
>
>
> On Sun, Jun 13, 2010 at 4:47 AM, Nick Johnson (Google) <
> nick.john...@google.com> wrote:
>
>> Hi Aaron,
>>
>> Since you're not doing the update inside a transaction, it's likely that
>> what's happening is that multiple tasks are updating the entity at the same
>> time, which results in a concurrency issue: Both tasks fetch the entity and
>> modify it, and the one that does the put last is the one whose results are
>> visible.
>>
>> Doing the update in a transaction should fix this.
>>
>> -Nick Johnson
>>
>> On Sun, Jun 13, 2010 at 8:50 AM, Aaron Cheung 
>> wrote:
>>
>>> Hi guys,
>>>
>>> I'm still having trouble debugging this error.  Would appreciate any
>>> thoughts!
>>>
>>> Thanks,
>>> Aaron
>>>
>>>
>>> On Sat, Jun 12, 2010 at 3:55 AM, Aaron  wrote:
>>>
>>>> Hi!
>>>>
>>>> I am currently implementing the deferred library in my code, and I am
>>>> running into a very very strange problem.  The function that I am
>>>> deferring gets passed an entity key.  It does two tasks: 1) Gets the
>>>> entity,  retrieves a reference property, alters it, and then puts it
>>>> back 2)Sends out an email
>>>>
>>>> The email is getting sent out every time the deferred function is
>>>> called.  BUT, the first task only completes 2/3 of the time.  I have
>>>> been replicating this error over and over and have yet to find any
>>>> pattern in the failures.  Here is the deferred function
>>>>
>>>> def complete_insert(self, data, answer_key, userkey):
>>>>a = db.get(answer_key)
>>>>q = a.question
>>>>q.answercount += 1
>>>>q.answerers += [str(userkey)]
>>>>q.answerers = list(set(q.answerers))
>>>>q.answered = True
>>>>q.lastanswer = str(answer_key)
>>>>q.lastanswerdate = datetime.now()
>>>>q.put()
>>>>
>>>>mail = Mail()
>>>>followers = db.get(q.indexes.followerlist)
>>>>emails = []
>>>>for follower in followers:
>>>>mail.send(emails, "question-followers-email", params =
>>>> {"question": common.strip_html(q.question),
>>>> "details":common.strip_html(q.details), "slug":q.slug,
>>>> "answer":common.strip_html(data["answer"])} )
>>>>
>>>> A couple observations that make this even more boggling.  I can tell
>>>> when the function fails because the counter does not increment and the
>>>> other properties do not change.  However, when it fails, I can see the
>>>> put() being done in AppStats under /ah/deferred.  FURthermore, I have
>>>> checked that the values being passed into the function are the ones
>>>> that I am expecting.  (I did this by adding another put that wrote the
>>>> arguments to a test model)
>>>>
>>>> I have absolutely no idea what could be going on here.  Is this a bug?
>>>>
>>>> Very best and thanks for your time,
>>>> Aaron
>>>>
>>>> --
>>>> You received this mes

Re: [google-appengine] Re: Using GAE as external storage

2010-06-07 Thread Alon Carmel
is the data textual files? images? why not use blobstore service to store
the files using a proprietary api and write a proprietary api to download
them?
its not supposed to be an issue or am i missing the point?

-
Cheers,
public static function AlonCarmel() {
//Contact me
var email = 'a...@aloncarmel.me';
var twitter = '@aloncarmel';
var web = 'http://aloncarmel.me';
var phone = '+972-54-4860380';
}

* 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 Mon, Jun 7, 2010 at 2:32 PM, Maaartin-1  wrote:

> I'm afraid, this won't work. My problem is quite exactly as the one
> described in
> http://groups.google.com/group/gs-discussion/msg/dd3bae779fecd633?hl=en
>
> On 10-06-04 23:05, ctran wrote:
> > Google Storage for Developers or use S3 is much more suitable for your
> > purpose.
> >
> > On Jun 3, 1:18 pm, Maaartin  wrote:
> >
> >> I'm very new to GAE. I'm thinking about using GAE for storing huge
> >> quantities of data, sent and retrieved by a client. What I mean looks
> >> more like a remote file system then like a web app. Do I have to use
> >> https for the communication or is there something better?
> >>
> >> How can I store it most efficiently? The vast majority of my data
> >> belong to a single table looking like
> >> CREATE TABLE MyBlobs (id BINARY(32), content BLOB, PRIMARY KEY (id))
> >> where the contents are a couple of kilobytes long, the ids are random-
> >> looking unrelated binary strings, and all queries look like
> >> INSERT INTO MyBlobs VALUES (id1, content1), (id2, content2), (id3,
> >> content3), 
> >> or
> >> DELETE FROM MyBlobs WHERE id IN (id1, id2, id3, )
> >> or
> >> SELECT * FROM MyBlobs WHERE id IN (id1, id2, id3, )
> >> There will be no updates and no range searches nor alike.
> >>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appeng...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>

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



Re: [google-appengine] Re: 500 errors

2010-05-25 Thread Alon Carmel
roads?... where were going we dont need roads...
-
Cheers,
public static function AlonCarmel() {
//Contact me
var email = 'a...@aloncarmel.me';
var twitter = '@aloncarmel';
var web = 'http://aloncarmel.me';
var phone = '+972-54-4860380';
}

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



2010/5/26 Jaroslav Záruba 

> On Wed, May 26, 2010 at 12:51 AM, Harlan Crystal  > wrote:
>
>> Currently the admin console believes my "oldest task" in my task queue
>> was created at a time in the future.  It literally says:
>>
>> 2010-05-25 15:57:21 (0:07:31 from now)
>>
>> (note the "from now")
>>
>
> then you better believe it!
>
>
>>
>> On Tue, May 25, 2010 at 5:50 PM, Harlan Crystal
>>  wrote:
>> > -- Forwarded message --
>> > From: App Engine Team 
>> > Date: Tue, May 25, 2010 at 5:42 PM
>> > Subject: [google-appengine] Re: 500 errors
>> > To: Google App Engine 
>> >
>> >
>> > Task Queues and Cron Tasks are not running while we are waiting for
>> > the datastore to come back completely. Sorry, I've updated the
>> > downtime notify thread to point this out.
>> >
>> > On May 25, 2:38 pm, Harlan Crystal  wrote:
>> >> Logs are showing "InternalError: internal error." being thrown in all
>> my apps.
>> >>
>> >> On Tue, May 25, 2010 at 5:37 PM, Harlan Crystal
>> >>
>> >>
>> >>
>> >>  wrote:
>> >> > +1.
>> >>
>> >> > It is happening to all of my apps.  Task queues are not being
>> processed.
>> >>
>> >> > On Tue, May 25, 2010 at 5:31 PM, Juan Pablo Guereca <
>> jpguer...@gmail.com> wrote:
>> >> >> Hi, taskqueues don't work in my app, the tasks are added to the
>> queue but
>> >> >> they don't get executed ( I see no entry in the log and no retries
>> ).
>> >>
>> >> >> Cheers,
>> >> >> JP
>> >>
>> >> >> On 25/05/10 22:50, App Engine Team wrote:
>> >>
>> >> >>> App Engine is currently experiencing a datastore outage:
>> >>
>> >> >>>
>> http://groups.google.com/group/google-appengine-downtime-notify/brows...
>> >>
>> >> >>> Things are improving now, but we're still seeing some high latency.
>> >> >>> Please let us know if you are still seeing issues.
>> >>
>> >> >>> On May 25, 1:20 pm, Jeff Schnitzer  wrote:
>> >>
>> >> >>>> I'm also seeing 500 errors.  My logs are full of this:
>> >>
>> >> >>>> com.google.apphosting.api.ApiProxy$CapabilityDisabledException:
>> The
>> >> >>>> API call datastore_v3.Put() is temporarily unavailable.
>> >> >>>> at
>> >> >>>>
>> com.google.net.rpc.RpcStub$RpcCallbackDispatcher$1.runInContext(RpcStub.jav
>> >> >>>> a:1025)
>> >> >>>> at
>> >> >>>>
>> com.google.tracing.TraceContext$TraceContextRunnable$1.run(TraceContext.jav
>> >> >>>> a:444)
>> >> >>>> at
>> >> >>>>
>> com.google.tracing.TraceContext.runInContext(TraceContext.java:684)
>> >> >>>> at
>> >> >>>>
>> com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInherited
>> >> >>>> ContextNoUnref(TraceContext.java:322)
>> >> >>>> at
>> >> >>>>
>> com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInherited
>> >> >>>> Context(TraceContext.java:314)
>> >> >>>> at
>> >> >>>>
>> com.google.tracing.TraceContext$TraceContextRunnable.run(TraceContext.java:
>> >> >>>> 442)
>> >> >>>> at
>> >> >>>>
>> com.google.net.rpc.RpcStub$RpcCallbackDispatcher.rpcFinished(RpcStub.java:1
>> >> >

Re: [google-appengine] Google Apps Engine-Application

2010-05-17 Thread Alon Carmel
jaroslav i got a feeling your right. happened to me also. now it figures. :)
-
Cheers,
public static function AlonCarmel() {
//Contact me
var email = 'a...@aloncarmel.me';
var twitter = '@aloncarmel';
var web = 'http://aloncarmel.me';
var phone = '+972-54-4860380';
}

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



2010/5/17 Jaroslav Záruba 

> If I'm not mistaken you wouldn't be able to use the newly added fields in
> queries.
>
>
> On Mon, May 17, 2010 at 3:57 PM, Ravi Sharma  wrote:
>
>> Yes you can do.just add extra class(entity) or extra field in existing
>> class(entity).
>>
>> On 16 May 2010, at 08:12, megala dhinakaran 
>> wrote:
>>
>>  Hi,
>>>
>>>I create one application in ecllipse.That application contains
>>> the coding to create table in google app engine
>>>
>>> datastore.(i.e)Google Big table.In that application a created two
>>> table .After that i deployed the application.My constraints is ,is it
>>> possible to create a new table after depolyment the project and is it
>>> possible to create new column in  already exits table.
>>>
>>>
>>> Thanks in advance
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups
>>> "Google App Engine" group.
>>> To post to this group, send email to google-appeng...@googlegroups.com.
>>> To unsubscribe from this group, send email to
>>> google-appengine+unsubscr...@googlegroups.com
>>> .
>>> For more options, visit this group at
>>> http://groups.google.com/group/google-appengine?hl=en.
>>>
>>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google App Engine" group.
>> To post to this group, send email to google-appeng...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-appengine+unsubscr...@googlegroups.com
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/google-appengine?hl=en.
>>
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appeng...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>

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



Re: [google-appengine] google app engine

2010-05-17 Thread Alon Carmel
You dont add tables, you add models to the db.models. just add any or change
existing. you can do it with live data without damaging existing existing
data in those 'tables'.

tables = entities.
-
Cheers,
public static function AlonCarmel() {
//Contact me
var email = 'a...@aloncarmel.me';
var twitter = '@aloncarmel';
var web = 'http://aloncarmel.me';
var phone = '+972-54-4860380';
}

* 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 Sun, May 16, 2010 at 9:42 AM, maheswari maheswari wrote:

>
>
> I have deployed one application in google app engine. In that
> application i have created three table. Now i need to add one new
> table to the existing application. is it possible can any one help me.
>
> thanks in advance.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appeng...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>

-- 
You 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] A bunch of questions

2010-05-15 Thread Alon Carmel
Answers below in red:

2010/5/15 Paweł Gronkiewicz 

> Hello everyone :)
>
> My first post and it will be quite big. I spend last week looking at
> Google App Engine, so my head is full of questions now. There is
> surely a lot of reading ahead, but I think that best way to get it
> sorted will be by asking here. I'd like to get some hints and
> directions. And I'd like to know if all that stuff is worth looking
> into...
>
> Anyway, my project is browser-based game. The goal is to go through
> pages/tabs and modify database values [also known as building,
> recruiting, producing, spellcasting, attacking...]. So it's mostly
> about constant access to data + social aspects [forum, chat, etc]. All
> interaction between accounts occurs only once every 24h [attacks,
> spells etc; except some minor stuff [target validations, war
> declarations etc].
>
> There were some changes in programming languages etc, final decision
> was to go with Java [wicket + hibernate + spring + jboss probably],
> but a friend pointed me to Google App Engine. So my main question is,
> would it be the right direction? There are some questions/thoughts
> that come:
>
> 1. Free hosting sounds great - limits sound good enough for beta-
> testing purposes. Prices later seem competitive. And you don't have to
> worry about where you host, while serving customers from the whole
> world.
>
> 2. You can't get more reliable partner than google really.
>
Your right :) its very stable and can handle loads.

>
> 3. But what are drawbacks? Can you later host your application
> somewhere else without redoing most of it? [database access etc mostly
> comes to mind]
>
You cant host your application elsewhere because its written ontop of the
app engine, you can use the dev server you get with your python sdk to host
it elsewhere but its highly unrecommanded. you can access your datastore
database remotely by using /remote_api or writing your own proprietary api
to access your data remotely.

>
> 4. Does application identifier matter at all? It seems like everyone
> can claim anything. I guess it's just to identify your app and people
> won't see it? [if you link your domain]
>
Application identifier matters if you plan on hosting your app on the .
appspot.com domain, i assume you want your own domain. so no its doesnt
really matter.

>
> 5. I don't understand "Authentication Options " when creating app.
> What does it mean? I don't want anyone else aaccessing my app and
> source code. But I want to have my own user database for my app - not
> openID or google accounts [and people could be unhappy about having to
> use one of these just to play the game]. And I want few domains to
> link to just one app.
>
Noone can access your database, code or anything else. but its all up to
you. i recommand using the google app engine django patch which lets you run
webapps using django python framework ontop of app engine and datastore. you
can then use alot of pre-written code (middleware) to allow users to access
your app using openid,google,facebook,twitter etc and have a dedicated
datastore user base.

>
> 6. I have naked domain, just parked where I got it. How can I link it
> to google, so my app can be there? As it's just parked I cannot put
> html there. And I don't have CNET record access.
>
if you dont have CNAME records you can access you cant point your domain. if
your domain is parked on godaddy for example they got 'TotalDNS' that you
can park your domain on their DNS servers and they allow you to add CNAME
records freely. remember you cannot host naked domain. only subdomain. i.e
http://beta.mydomain.com and not http://mydomain.com etc...

>
> 7. Scalability sounds cool, but can I maintain multiple game servers
> as one app? I don't want all users to play on one.
>
the term servers is thrown around... :P dont think of servers anymore. there
arent any. its google app engine voodoo. just like you dont have ftp access
to your files is because there is no specific machine that hosts your code.
its spread around. you can just upload different .appspot applications for
different servers.
you can also host different apps under django framework.

>
> 8. Is there any way to use SMS services [liek the google one that
> sends you activation code] in our app? It'd be nice to be able to send
> notification [or account verification] this way.
>
there are alot of sms services out there that lets you send sms via their
servers with simple HTTP request. i dont think google has api for their sms
services.

>
> 9. Are there any tools to support payments from customers? Anything
> that I could just deploy, modify and be able to accept money securely?
>
I recommend using google's Payment service called 'checkout'. they let you
even add a small javascript code api that added a fully blown shopping cart.
similare to paypal but easier.

>
> 10. How do data backups work? I'd like to be able to back up my entire
> database probably every 24h or some things even more often. It

Re: [google-appengine] Re: Access from Israel

2010-05-15 Thread Alon Carmel
im from israel with bezeq international and i can access all the domains
mentioned with no problem.
-
Cheers,
public static function AlonCarmel() {
//Contact me
var email = 'a...@aloncarmel.me';
var twitter = '@aloncarmel';
var web = 'http://aloncarmel.me';
var phone = '+972-54-4860380';
}

* 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, May 14, 2010 at 11:10 AM, ori  wrote:

> I'm having the same problem
>
> My ISP is Bezeq International too.
>
> On May 14, 9:16 am, rainmaker  wrote:
> > Switching to Google's DNS didn't work for me.
> > ISP is Bezeq International
> >
> > On May 12, 6:11 pm, "Ikai L (Google)"  wrote:
> >
> >
> >
> > > Have we narrowed down the cause yet? Is this a DNS issue? Does using
> 8.8.8.8
> > > resolve this (http://code.google.com/speed/public-dns/)?
> >
> > > If it is a DNS issue, what ISP are you using?
> >
> > > On Wed, May 12, 2010 at 10:08 AM, rainmaker  >wrote:
> >
> > > > I can confirm the same behavior.
> >
> > > > On Apr 26, 9:36 pm, "Ikai L (Google)"  wrote:
> > > > > Can anyone else having problems switch their DNS to 8.8.8.8 and
> 8.8.4.4?
> > > > > It's starting to seem like this may be an ISP DNS resolution
> problem.
> >
> > > > > On Mon, Apr 26, 2010 at 2:03 AM, Zarko 
> wrote:
> > > > > > There seems to be a problem with the SSL certificate on
> > > > > > "*.appspot.com". The browser think it's a redirect to another
> site and
> > > > > > block it, but you can revoke it like you mentioned.
> >
> > > > > > If you use secure connections try https directly, it will
> > > > > > give you a redirect warning, but will work.
> >
> > > > > > Zarko
> >
> > > > > > On Apr 26, 10:06 am, Lior Harsat  wrote:
> > > > > > > I have the same issue.
> > > > > > > I did notice that if I switch to https I can access my servers.
> > > > > > > I can also verify that after I started using google DNS the
> problem
> > > > > > > was gone.
> > > > > > > this is good for me but I cant tell my customers to change
> their dns
> > > > > > > settings.
> > > > > > > please resolve this issue promptly
> >
> > > > > > > --
> > > > > > > You 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-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.
> >
> > > > > --
> > > > > Ikai Lan
> > > > > Developer Relations, Google App Engine
> > > > > Twitter:http://twitter.com/ikai
> > > > > Delicious:http://delicious.com/ikailan
> >
> > > > > 
> > > > > Google App Engine links:
> > > > > Blog:http://googleappengine.blogspot.com
> > > > > Twitter:http://twitter.

Re: [google-appengine] Is App Engine Google's Dumbest TOS..?

2010-05-13 Thread Alon Carmel
you can google around, there is a link somewhere to bypass the phone number
thing for google apps for your domain subscription.
-
Cheers,
public static function AlonCarmel() {
//Contact me
var email = 'a...@aloncarmel.me';
var twitter = '@aloncarmel';
var web = 'http://aloncarmel.me';
var phone = '+972-54-4860380';
}

* 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 Thu, May 13, 2010 at 7:52 AM, Leaf.  wrote:

> Google want us to build fast website right..?
> Google gives us CDN capabilities with App Engine (and thank you
> Google, it's an awesome tool).
> Google restrict you to a single application with the ludacrist "1
> application per phone number" TOS. How many webmaster build/run/
> develop one account..?
>
> Google is this going to change any time soon..?
>
> --
> You 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.