[google-appengine] Re: Access to App Engine admin page

2010-02-25 Thread dominity
Thanx for replay.

No, I'm using gmail account: create2c...@gmail.com.
I've tried to clear cookie for Firefox and IE. Buy It gave no results.
Every type I'm going to http://appengine.google.com google're
prompting to type user credentials, then I'm being redirected to
google search page.
BTW, when I'm redirected to google search page here is address of this
page:
http://www.google.com.ua/accounts/SetSID/?ssdc=1&sidt=%2FY0lCScBAAA%3D.XnUcDVPK2S5qkZqsPh7kM6rUg0kmwv7EwsVYbP2lF38A5s3AAx6eULfZhwQ7NYW6Yl8zFZzopq0WsLTf5fHQFqB3FmctQpce8sBz%2BACOuZetdPHRtV6ck6mDTvt2ewYvh%2BkEHKh1BzhSL7RrDO4%2Fshol40fO%2FVgkIRVNWFDZPm3POJJojt1EdmawHUWVLgZkd1SuCNKHMWAiIlns6zDrklcQyDIJW2%2BwaH8FAVa79%2F9P0VHBN9CejVjnO3nVPMV%2Bx5PrfGL98zu0l2ykAV80%2BKWtkI4zITdFtQGakZ6CydiWpAwax0usCUlBu%2BZqo8Jb.u%2BPetP5CLfBqE78v5KGDGg%3D%3D&service=ah&continue=https%3A%2F%2Fwww.google.com%2Faccounts%2FServiceLogin%3Fpassive%3Dtrue%26go%3Dtrue%26continue%3Dhttps%253A%252F%252Fappengine.google.com%252F_ah%252Flogin%253Fcontinue%253Dhttps%253A%252F%252Fappengine.google.com%252F%26service%3Dah%26ltmpl%3Dae%26fss%3D1%26sig%3D82de203f7d79342baffaaba3cfa0e5db.
I can see that link contains 'continue' parameter, so maybe there is
problem with redirection? Or maybe some scripts don't do what they
have to do?

Best regards, Alexander.

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



[google-appengine] Re: how to write the output of a django template into a frame?

2010-02-25 Thread sjh
Thanks that was just the help I needed. I realized I could put the
charting code at a different location pointed to here in frame, i.e.

class SpectrumResults(webapp.RequestHandler):

def post(self):

self.response.out.write('')


class SpectrumChart(webapp.RequestHandler):

def get(self):

mytitle ='"Hello World"'
mydata='t:40,20,50,20,100|80,80,80,80,80'
template_values = {'mytitle': mytitle,
   'mydata': mydata}

path = os.path.join(os.path.dirname(__file__), "index.html")
self.response.out.write(template.render(path,
template_values))


On Feb 25, 7:14 pm, dburns  wrote:
> template.render returns you the contents of the template, and you are
> trying to provide that to the src attribute.  The src attribute should
> be the LOCATION, not the content.
>
> Seehttp://www.w3schools.com/TAGS/tag_iframe.asp
>
> Should be something like:
> self.response.out.write(' height="400">')
>
> (and then your 'myframe' url returns the contents you currently have
> in x).
>
> On Feb 25, 7:49 pm, sjh  wrote:
>
>
>
> > Hi
>
> > I am having a nightmare of a time trying to figure out how to get the
> > google chart api to work with GAE. I can use a template to generate my
> > chart but I need to put that output into a a frame and I am stuck.
> > Here is the call:
>
> > def post(self):
> >         mytitle ='"Hello World"'
> >         mydata='t:40,20,50,20,100|10,10,10,10,10'
> >         template_values = {'mytitle': mytitle,
> >                            'mydata': mydata}
>
> >         path = os.path.join(os.path.dirname(__file__), "index.html")
> >         x=template.render(path, template_values)
> >         self.response.out.write(' > height="400">')
>
> > X -- marks where I am stuck
>
> > Here is the template (index.html)
>
> > http://www.w3.org/1999/xhtml";>
> >   
> >   
> >   
> >     // Send the POST when the page is loaded,
> >     // which will replace this whole page with the retrieved chart.
> >     function loadGraph() {
> >       var frm = document.getElementById('post_form');
> >       if (frm) {
> >        frm.submit();
> >       }
> >     }
> >   
> >   
> >   
> >    > id='post_form'>
> >     
> >   
> >   
> >   
> >   
> >   
> > 
> > 
>
> > Any suggestions would be much appreciated.
>
> > thanks, Simon

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



[google-appengine] Google App Engine "final release"?

2010-02-25 Thread Thomas Wiradikusuma
Hi guys, just wondering, when will Google App Engine come out from
"preview release" and reach 1.0?
Sorry for the one-liner.

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



[google-appengine] Re: how to write the output of a django template into a frame?

2010-02-25 Thread dburns
template.render returns you the contents of the template, and you are
trying to provide that to the src attribute.  The src attribute should
be the LOCATION, not the content.

See http://www.w3schools.com/TAGS/tag_iframe.asp

Should be something like:
self.response.out.write('')

(and then your 'myframe' url returns the contents you currently have
in x).



On Feb 25, 7:49 pm, sjh  wrote:
> Hi
>
> I am having a nightmare of a time trying to figure out how to get the
> google chart api to work with GAE. I can use a template to generate my
> chart but I need to put that output into a a frame and I am stuck.
> Here is the call:
>
> def post(self):
>         mytitle ='"Hello World"'
>         mydata='t:40,20,50,20,100|10,10,10,10,10'
>         template_values = {'mytitle': mytitle,
>                            'mydata': mydata}
>
>         path = os.path.join(os.path.dirname(__file__), "index.html")
>         x=template.render(path, template_values)
>         self.response.out.write(' height="400">')
>
> X -- marks where I am stuck
>
> Here is the template (index.html)
>
> http://www.w3.org/1999/xhtml";>
>   
>   
>   
>     // Send the POST when the page is loaded,
>     // which will replace this whole page with the retrieved chart.
>     function loadGraph() {
>       var frm = document.getElementById('post_form');
>       if (frm) {
>        frm.submit();
>       }
>     }
>   
>   
>   
>    id='post_form'>
>     
>   
>   
>   
>   
>   
> 
> 
>
> Any suggestions would be much appreciated.
>
> thanks, Simon

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



Re: [google-appengine] GAE/J Low Level API Transaction management.

2010-02-25 Thread Jeff Schnitzer
Looks good to me, but I don't work for Google so the only help I can
offer is starring the issue :-(

Jeff

On Thu, Feb 25, 2010 at 5:44 PM, Patrick Twohig
 wrote:
> Jeff,
>
> I made an issue regarding it, let me know if my unit test left anything out.
>
> Thanks,
> Patrick.
>
> http://code.google.com/p/googleappengine/issues/detail?id=2879
>
> On Fri, Feb 19, 2010 at 1:16 AM, Patrick Twohig 
> wrote:
>>
>> I had that suspicion, but, I wasn't 100% sure.  I wonder if it's an issue
>> that shows up in production or just local datastore.
>>
>> Pat.
>>
>> On Thu, Feb 18, 2010 at 1:34 PM, Jeff Schnitzer 
>> wrote:
>>>
>>> I just created a unit test for this case (there wasn't one before) and
>>> sure enough, it fails.  Looks like a bug in appengine.  Create an
>>> issue, I'll star it.
>>>
>>> The failing unit test is the last one in this file:
>>>
>>> http://code.google.com/p/objectify-appengine/source/browse/trunk/src/com/googlecode/ob
>>> jectify/test/QueryTests.java
>>>
>>> FWIW, our implementation is the ancestor() method:
>>>
>>> http://code.google.com/p/objectify-appengine/source/browse/trunk/src/com/googlecode/objectify/impl/QueryImpl.java
>>>
>>> Javadocs are on the interface class:
>>>
>>> http://objectify-appengine.googlecode.com/svn/trunk/javadoc/com/googlecode/objectify/Query.html
>>>
>>> Jeff
>>>
>>> On Thu, Feb 18, 2010 at 11:22 AM, Patrick Twohig
>>>  wrote:
>>> > Duly noted.  However, I'm not about to rewrite a bulk of my code over a
>>> > single issue I'm having.  At the time I started this, I hadn't realized
>>> > Objectify existed and tried using JDO which turned out to be a gigantic
>>> > nightmare, so I slimmed it down and wrote my own wrapper similar to
>>> > Objectify.  Right now the only pressing issue is that ancestor queries
>>> > aren't working as expected and it's driving me nuts.  Could you perhaps
>>> > point me to some source in Objectify that executes an ancestor query
>>> > that I
>>> > may be able to see?
>>> >
>>> > On Wed, Feb 17, 2010 at 10:05 PM, Jeff Schnitzer 
>>> > wrote:
>>> >>
>>> >> The documentation I wrote up here might help:
>>> >>
>>> >> http://code.google.com/p/objectify-appengine/wiki/Concepts
>>> >>
>>> >> You might consider using something like Objectify (or Twig, or
>>> >> SimpleDS, etc) instead of the Low-Level API.
>>> >>
>>> >> Jeff
>>> >>
>>> >> On Wed, Feb 17, 2010 at 9:23 PM, Patrick Twohig
>>> >>  wrote:
>>> >> > Aside from the Javadocs, does there exist any further documentation
>>> >> > on
>>> >> > the
>>> >> > GAE/J low-level API.  I've had a handfull of issues with it so far
>>> >> > and
>>> >> > I'm
>>> >> > at a bit of a loss.  I'm having trouble with ancestor queries.
>>> >> > Specifically, I'm not getting any child entities when I look for
>>> >> > objects
>>> >> > with no kind specified and just an ancestor.  However, the
>>> >> > equivalent
>>> >> > code
>>> >> > in python performs as expected.
>>> >> >
>>> >> > I was also curious how GAE/J organizes transactions.  From what I
>>> >> > gather
>>> >> > in
>>> >> > the documentation, each transaction is organized in a ThreadLocal
>>> >> > stack.
>>> >> > Every time you call DatastoreService.beginTransaction() it creates a
>>> >> > new
>>> >> > transaction, pushes it on the thread local stack then when it's
>>> >> > done,
>>> >> > it's
>>> >> > popped of.  I was curious if it may be possible to add a method that
>>> >> > can
>>> >> > provide the current transaction given a particular key somehow.
>>> >> >
>>> >> >
>>> >> > --
>>> >> > Patrick H. Twohig.
>>> >> >
>>> >> > Namazu Studios
>>> >> > P.O. Box 34161
>>> >> > San Diego, CA 92163-4161
>>> >> >
>>> >> > --
>>> >> > You received this message because you are subscribed to the Google
>>> >> > Groups
>>> >> > "Google App Engine" group.
>>> >> > To post to this group, send email to
>>> >> > google-appeng...@googlegroups.com.
>>> >> > To unsubscribe from this group, 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.
>>> >>
>>> >
>>> >
>>> >
>>> > --
>>> > Patrick H. Twohig.
>>> >
>>> > Namazu Studios
>>> > P.O. Box 34161
>>> > San Diego, CA 92163-4161
>>> >
>>> > --
>>> > You received this message because you are subscribed to the Google
>>> > Groups
>>> > "Google App Engine" group.
>>> > To post to this group, send email to google-appeng...@googlegroups.com.
>>> > To unsubscribe from this group, send email to
>>> > google-appengine+unsubscr...@googlegroups.com.
>>> > For more 

Re: [google-appengine] GAE/J Low Level API Transaction management.

2010-02-25 Thread Patrick Twohig
Jeff,

I made an issue regarding it, let me know if my unit test left anything out.

Thanks,
Patrick.

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

On Fri, Feb 19, 2010 at 1:16 AM, Patrick Twohig
wrote:

> I had that suspicion, but, I wasn't 100% sure.  I wonder if it's an issue
> that shows up in production or just local datastore.
>
> Pat.
>
>
> On Thu, Feb 18, 2010 at 1:34 PM, Jeff Schnitzer wrote:
>
>> I just created a unit test for this case (there wasn't one before) and
>> sure enough, it fails.  Looks like a bug in appengine.  Create an
>> issue, I'll star it.
>>
>> The failing unit test is the last one in this file:
>>
>> http://code.google.com/p/objectify-appengine/source/browse/trunk/src/com/googlecode/ob
>> jectify/test/QueryTests.java
>>
>> FWIW, our implementation is the ancestor() method:
>>
>> http://code.google.com/p/objectify-appengine/source/browse/trunk/src/com/googlecode/objectify/impl/QueryImpl.java
>>
>> Javadocs are on the interface class:
>>
>> http://objectify-appengine.googlecode.com/svn/trunk/javadoc/com/googlecode/objectify/Query.html
>>
>> Jeff
>>
>> On Thu, Feb 18, 2010 at 11:22 AM, Patrick Twohig
>>  wrote:
>> > Duly noted.  However, I'm not about to rewrite a bulk of my code over a
>> > single issue I'm having.  At the time I started this, I hadn't realized
>> > Objectify existed and tried using JDO which turned out to be a gigantic
>> > nightmare, so I slimmed it down and wrote my own wrapper similar to
>> > Objectify.  Right now the only pressing issue is that ancestor queries
>> > aren't working as expected and it's driving me nuts.  Could you perhaps
>> > point me to some source in Objectify that executes an ancestor query
>> that I
>> > may be able to see?
>> >
>> > On Wed, Feb 17, 2010 at 10:05 PM, Jeff Schnitzer 
>> > wrote:
>> >>
>> >> The documentation I wrote up here might help:
>> >>
>> >> http://code.google.com/p/objectify-appengine/wiki/Concepts
>> >>
>> >> You might consider using something like Objectify (or Twig, or
>> >> SimpleDS, etc) instead of the Low-Level API.
>> >>
>> >> Jeff
>> >>
>> >> On Wed, Feb 17, 2010 at 9:23 PM, Patrick Twohig
>> >>  wrote:
>> >> > Aside from the Javadocs, does there exist any further documentation
>> on
>> >> > the
>> >> > GAE/J low-level API.  I've had a handfull of issues with it so far
>> and
>> >> > I'm
>> >> > at a bit of a loss.  I'm having trouble with ancestor queries.
>> >> > Specifically, I'm not getting any child entities when I look for
>> objects
>> >> > with no kind specified and just an ancestor.  However, the equivalent
>> >> > code
>> >> > in python performs as expected.
>> >> >
>> >> > I was also curious how GAE/J organizes transactions.  From what I
>> gather
>> >> > in
>> >> > the documentation, each transaction is organized in a ThreadLocal
>> stack.
>> >> > Every time you call DatastoreService.beginTransaction() it creates a
>> new
>> >> > transaction, pushes it on the thread local stack then when it's done,
>> >> > it's
>> >> > popped of.  I was curious if it may be possible to add a method that
>> can
>> >> > provide the current transaction given a particular key somehow.
>> >> >
>> >> >
>> >> > --
>> >> > Patrick H. Twohig.
>> >> >
>> >> > Namazu Studios
>> >> > P.O. Box 34161
>> >> > San Diego, CA 92163-4161
>> >> >
>> >> > --
>> >> > You received this message because you are subscribed to the Google
>> >> > Groups
>> >> > "Google App Engine" group.
>> >> > To post to this group, send email to
>> google-appeng...@googlegroups.com.
>> >> > To unsubscribe from this group, send email to
>> >> > google-appengine+unsubscr...@googlegroups.com
>> .
>> >> > For more options, visit this group at
>> >> > http://groups.google.com/group/google-appengine?hl=en.
>> >> >
>> >>
>> >> --
>> >> You received this message because you are subscribed to the Google
>> Groups
>> >> "Google App Engine" group.
>> >> To post to this group, send email to google-appengine@googlegroups.com
>> .
>> >> To unsubscribe from this group, send email to
>> >> google-appengine+unsubscr...@googlegroups.com
>> .
>> >> For more options, visit this group at
>> >> http://groups.google.com/group/google-appengine?hl=en.
>> >>
>> >
>> >
>> >
>> > --
>> > Patrick H. Twohig.
>> >
>> > Namazu Studios
>> > P.O. Box 34161
>> > San Diego, CA 92163-4161
>> >
>> > --
>> > You received this message because you are subscribed to the Google
>> Groups
>> > "Google App Engine" group.
>> > To post to this group, send email to google-appeng...@googlegroups.com.
>> > To unsubscribe from this group, 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 goog

[google-appengine] Cloud2db (Universal database for cloud computing)

2010-02-25 Thread Sandeep Sathaye
Dear member:

Cloud2db  is pleased to announce the availability
of Cloud2db Server which provides a standards-based abstraction layer over
Google Datastore (Bigtable).  This product provides you with performance and
scalability of GAE along with structure, standards and interoperability of
RDBMS, SQL and JDBC.

With Cloud2db, you will be able to manage your data on Google Datastore by
using established concepts of RDBMS, SQL and JDBC, and thereby preserving
your existing investments in tools, technologies, frameworks and skills.

Here are Cloud2db features:

   - Manage data on Google Datastore using familiar concepts of RDBMD, SQL
  - Referential integrity (Primary Keys, Foreign Keys)
  - Role Based Security
  - Joins (Inner Join, Left Outer Join, Theta Join, Cross Join)
  - Subqueries (Exists, Not Exists, In)
  - DDL & DML
  - Transactions
  - ANSI SQL stored functions
  - Views
  - BLOB and CLOB support


   - Use any JDBC compliant tools and frameworks in the market to interact
   with the Google Datastore. For example.
  - Squirrel SQL (database management)
  - Power Architect (data modeling)
  - Jasper Reports (reporting)
  - Hibernate (Object To Relational mapping)
  - All JDBC compliant tools


   - Port exiting RDBMS instances to Google Datastore

Please visit our website http://www.cloud2db.com and try out the free trial
version of our product by registering at
http://cloud2db.appspot.com/website/registration.html. Please visit google
group Cloud2db  to share your
feedback and thoughts.

Sincerely,

Sandeep Sathaye
Founder and Chief Architect
Cloud2db

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



[google-appengine] how to write the output of a django template into a frame?

2010-02-25 Thread sjh
Hi

I am having a nightmare of a time trying to figure out how to get the
google chart api to work with GAE. I can use a template to generate my
chart but I need to put that output into a a frame and I am stuck.
Here is the call:

def post(self):
mytitle ='"Hello World"'
mydata='t:40,20,50,20,100|10,10,10,10,10'
template_values = {'mytitle': mytitle,
   'mydata': mydata}

path = os.path.join(os.path.dirname(__file__), "index.html")
x=template.render(path, template_values)
self.response.out.write('')

X -- marks where I am stuck

Here is the template (index.html)

http://www.w3.org/1999/xhtml";>
  
  
  
// Send the POST when the page is loaded,
// which will replace this whole page with the retrieved chart.
function loadGraph() {
  var frm = document.getElementById('post_form');
  if (frm) {
   frm.submit();
  }
}
  
  
  
  

  
  
  
  
  



Any suggestions would be much appreciated.

thanks, Simon

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, 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: Facebook developers: Please star this issue

2010-02-25 Thread Jeff Schnitzer
On Thu, Feb 25, 2010 at 1:28 PM, vivpuri  wrote:
> First, it is a facebook issue

No, it is NOT a Facebook issue.  It's an issue with any system that
relies on cookies or third-party code that is sensitive to domain.  It
just happens to be a particularly nasty problem with Facebook.

I want to deploy my beta code to appengine and test it *with no other
changes whatsoever*.  If you take testing seriously, you want this as
well.

Forcing beta testers to use XX.latest.example.appspot.com presents an
entirely new set of cookies to the system.  It's not a question of "go
to this new URL and see what happens", it's "go to this new URL, log
in again, get back to the same UI state you were in, and hope that the
original problem wasn't caused by cookies that are now masked".

> Second, you can create a tmp facebook app for testing that points to
> the versioned appengine app. Still debugging for existing users is a
> pain. It would be better that facebook let you point app to a sandbox
> server/url

This adds *yet another* variable to the testing process, and quite a
dangerous one at that.  For different applications:

 * The app settings in facebook might be different depending on what
engineer was testing that day

 * The social graph of "friends who have installed your app" are
wildly different

 * Data you have persisted in Facebook for the user (using their data
apis) is totally different.

 * If you record information based on these last two points, you can
easily trash your live data.

Of course Facebook could *partially* solve this problem by allowing a
second domain for testing. But this still doesn't solve the cookie
issues.  It would be *far* better for developers if we could visit two
urls, sharing cookies but running different code:

http://www.example.com
http://XX.latest.example.com

Jeff

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



Re: [google-appengine] Re: Facebook developers: Please star this issue

2010-02-25 Thread Waleed Abdulla
I guess it depends on your definition of "issue". For me it's a problem
because, in addition to the testing use case mentioned earlier, I have two
other cases where I need to run a FB app on separate domains but I can't.

1. I have a short domain that I use in some cases for sharing content (to
keep the url shorter), and although it's really only a different domain for
the main site, Facebook Connect will not work on that. I have to use iframe
tricks to get around the restrictions.

2. Even in a regular Facebook app that runs inside facebook, I sometimes
want to point different functionality to different domains for load
balancing purposes (e.g. have canvas pages render from
server1.example.comand tab pages from
server2.example.com). Again, I can't do that.


Apologies for deviating a little from the main topic of the thread, though.
It would be nice to be able to use multiple domains with a Facebook app, but
it's clearly something to be discussed with facebook, not on this list.

Waleed




On Thu, Feb 25, 2010 at 2:45 PM, Scott Hernandez
wrote:

> This isn't a facebook issue at all. Facebook just exhibits this
> behavior, like many others.
>
> Really, you need to be able to run against the different versions of
> you app using your custom domain. Think cookies; you cannot access
> cookies on other domains. You cannot test "real world" behavior if you
> have to test on a different domain, than the ones you actual deploy
> on.
>
> On Thu, Feb 25, 2010 at 1:28 PM, vivpuri  wrote:
> > First, it is a facebook issue
> > Second, you can create a tmp facebook app for testing that points to
> > the versioned appengine app. Still debugging for existing users is a
> > pain. It would be better that facebook let you point app to a sandbox
> > server/url
> >
> > Vivek
> >
> > On Feb 25, 4:12 pm, Waleed Abdulla  wrote:
> >> It's a good issue to raise, but shouldn't that be raised to Facebook
> >> instead? They need to allow running FB Connect apps on more than one
> >> domain.
> >>
> >> Waleed
> >>
> >> On Thu, Feb 25, 2010 at 11:15 AM, Jeff Schnitzer  >wrote:
> >>
> >>
> >>
> >> > If you are currently developing a Facebook Connect app or plan to
> >> > develop a Facebook Connect app, please star this issue:
> >>
> >> >http://code.google.com/p/googleappengine/issues/detail?id=2878
> >>
> >> > If you haven't noticed, you soon will:  You cannot test your FB
> >> > Connect app using XX.latest.example.appspot.com.  FB Connect requires
> >> > that you specify a single domain for your application (example.com)
> >> > and all other domains (example.appspot.com) fail.  This makes it
> >> > impossible to simply deploy a new version of your code and run it
> >> > against your live data.
> >>
> >> > The requested feature:  Please allow us to run XX.latest versions on
> >> > our custom domains.
> >> > Example:  XX.latest.example.com
> >>
> >> > Like me, you're probably testing in dev mode with an alternate FB app
> >> > key, crossing your fingers, and hoping it works when real users touch
> >> > your new code.  Or maybe you dare to test in vivo with your alternate
> >> > app key, but things don't work quite the same because the live data
> >> > contains users who haven't authorized your alternate app key.  Like
> >> > me, you've probably exposed real-world users to bugs because you can
> >> > only test against live data by deploying it to the default domain.
> >>
> >> > Please star the issue.
> >>
> >> > Thanks,
> >> > Jeff
> >>
> >> > --
> >> > You received this message because you are subscribed to the Google
> Groups
> >> > "Google App Engine" group.
> >> > To post to this group, send email to
> google-appeng...@googlegroups.com.
> >> > To unsubscribe from this group, send email to
> >> > google-appengine+unsubscr...@googlegroups.com 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.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options

[google-appengine] Re: App Engine not listing my apps

2010-02-25 Thread Wooble
Have you tried going to appengine.google.com/a/olh.me ?

On Feb 25, 4:04 pm, olh  wrote:
> Same problem here. My GAE account was created today.
>
> On Feb 11, 2:02 am, Hendy Irawan  wrote:
>
> > When I go tohttps://appengine.google.com/Ialways get redirected 
> > tohttps://appengine.google.com/startandprompted to create a new
> > application.
>
> > I can create new applications and deploy to an app ID I already
> > created (from my own memory). However I cannot list/manage existing
> > apps.
>
> > Thank you.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, 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: Facebook developers: Please star this issue

2010-02-25 Thread Scott Hernandez
This isn't a facebook issue at all. Facebook just exhibits this
behavior, like many others.

Really, you need to be able to run against the different versions of
you app using your custom domain. Think cookies; you cannot access
cookies on other domains. You cannot test "real world" behavior if you
have to test on a different domain, than the ones you actual deploy
on.

On Thu, Feb 25, 2010 at 1:28 PM, vivpuri  wrote:
> First, it is a facebook issue
> Second, you can create a tmp facebook app for testing that points to
> the versioned appengine app. Still debugging for existing users is a
> pain. It would be better that facebook let you point app to a sandbox
> server/url
>
> Vivek
>
> On Feb 25, 4:12 pm, Waleed Abdulla  wrote:
>> It's a good issue to raise, but shouldn't that be raised to Facebook
>> instead? They need to allow running FB Connect apps on more than one
>> domain.
>>
>> Waleed
>>
>> On Thu, Feb 25, 2010 at 11:15 AM, Jeff Schnitzer wrote:
>>
>>
>>
>> > If you are currently developing a Facebook Connect app or plan to
>> > develop a Facebook Connect app, please star this issue:
>>
>> >http://code.google.com/p/googleappengine/issues/detail?id=2878
>>
>> > If you haven't noticed, you soon will:  You cannot test your FB
>> > Connect app using XX.latest.example.appspot.com.  FB Connect requires
>> > that you specify a single domain for your application (example.com)
>> > and all other domains (example.appspot.com) fail.  This makes it
>> > impossible to simply deploy a new version of your code and run it
>> > against your live data.
>>
>> > The requested feature:  Please allow us to run XX.latest versions on
>> > our custom domains.
>> > Example:  XX.latest.example.com
>>
>> > Like me, you're probably testing in dev mode with an alternate FB app
>> > key, crossing your fingers, and hoping it works when real users touch
>> > your new code.  Or maybe you dare to test in vivo with your alternate
>> > app key, but things don't work quite the same because the live data
>> > contains users who haven't authorized your alternate app key.  Like
>> > me, you've probably exposed real-world users to bugs because you can
>> > only test against live data by deploying it to the default domain.
>>
>> > Please star the issue.
>>
>> > Thanks,
>> > Jeff
>>
>> > --
>> > You received this message because you are subscribed to the Google Groups
>> > "Google App Engine" group.
>> > To post to this group, send email to google-appeng...@googlegroups.com.
>> > To unsubscribe from this group, send email to
>> > google-appengine+unsubscr...@googlegroups.com> >  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.



[google-appengine] How long does JCache instance stay alive?

2010-02-25 Thread xcdesz
I am confused about how JCache works with Google's cloud, and have
some basic questions that I havent been able to find answers for..

Suppose I am using JCache to store query results (i.e; a list of blog
postings), so that users do not have to hit the datastore when
initially logging on to a site.  If I have a low-traffic situation,
where one user logs in and logs out after a few minutes, and another
user might not log on for another hour or so -- do those query results
stay in JCache long enough for the other user to see the cached
results of the previous user?

I'm trying to reduce the "loading request" time by using cached
results instead of the datastore.  Is this possible, or does the
JCache instance (and JVM, for that matter) die pretty quickly after
inactivity.  Does JCache live and die with the JVM -- or is it
somewhere else?

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



[google-appengine] Admin page redirects to /start

2010-02-25 Thread olh
I created a GAE account today and every time I try to access the Admin
Console I am redirected to http://appengine.google.com/start.

Obviously it's normal when you first log-in with your GAE account. But
every time I create a new app, following the redirect to /start, I am
again redirected to /start.

For real, 2012 is comming; that explains these GAE issues.

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



[google-appengine] Re: App Engine not listing my apps

2010-02-25 Thread olh
Same problem here. My GAE account was created today.

On Feb 11, 2:02 am, Hendy Irawan  wrote:
> When I go tohttps://appengine.google.com/I always get redirected 
> tohttps://appengine.google.com/startand prompted to create a new
> application.
>
> I can create new applications and deploy to an app ID I already
> created (from my own memory). However I cannot list/manage existing
> apps.
>
> Thank you.

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



[google-appengine] Python inheritance vs Polymodel

2010-02-25 Thread Jairo Vasquez Moreno
Hi all,

I would like to refactor all my models but I need some assistance. Now I
have 4 separated models, each of them has a rate of 2 per second creation of
the entity.  From how I'm modeling the new scheme of models there is a new
parent model that have 4 childs. The problem is that with the current write
rate of those models I started to see "too much contention error", I think
that is caused because for each write GAE create index entries.

I know that if I create a polymodel all four kind of entities will be stored
in GAE as one model kind (parent) so I think for each child index everything
will go now to the same entity so everything will go worst.

Is it better if I just use db.Model for the parent model and use python
inheritance for childs? What do I lost from GAE functions or something if I
don't user polymodel? Am I wrong about indexes and contention for
polymodel-child entities?

Thanks in advance

-- 
Jairo Vasquez Moreno
Mentez Developer
www.mentez.com
Medellin - Colombia

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



[google-appengine] Re: Status Update on the February 24th App Engine Outage

2010-02-25 Thread vivpuri
I dont have issue with transactional reads/writes, but one of my
queues did get hung up pretty badly. It was the 'default' queue. None
of the tasks were getting executed. Noticed after almost 1 day.
Eventually purging helped. Now it is another matter that Task Queue
page in Admin Console keeps throwing HTTP 500 after the purge :(

Vivek

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



[google-appengine] Re: Facebook developers: Please star this issue

2010-02-25 Thread vivpuri
First, it is a facebook issue
Second, you can create a tmp facebook app for testing that points to
the versioned appengine app. Still debugging for existing users is a
pain. It would be better that facebook let you point app to a sandbox
server/url

Vivek

On Feb 25, 4:12 pm, Waleed Abdulla  wrote:
> It's a good issue to raise, but shouldn't that be raised to Facebook
> instead? They need to allow running FB Connect apps on more than one
> domain.
>
> Waleed
>
> On Thu, Feb 25, 2010 at 11:15 AM, Jeff Schnitzer wrote:
>
>
>
> > If you are currently developing a Facebook Connect app or plan to
> > develop a Facebook Connect app, please star this issue:
>
> >http://code.google.com/p/googleappengine/issues/detail?id=2878
>
> > If you haven't noticed, you soon will:  You cannot test your FB
> > Connect app using XX.latest.example.appspot.com.  FB Connect requires
> > that you specify a single domain for your application (example.com)
> > and all other domains (example.appspot.com) fail.  This makes it
> > impossible to simply deploy a new version of your code and run it
> > against your live data.
>
> > The requested feature:  Please allow us to run XX.latest versions on
> > our custom domains.
> > Example:  XX.latest.example.com
>
> > Like me, you're probably testing in dev mode with an alternate FB app
> > key, crossing your fingers, and hoping it works when real users touch
> > your new code.  Or maybe you dare to test in vivo with your alternate
> > app key, but things don't work quite the same because the live data
> > contains users who haven't authorized your alternate app key.  Like
> > me, you've probably exposed real-world users to bugs because you can
> > only test against live data by deploying it to the default domain.
>
> > Please star the issue.
>
> > Thanks,
> > Jeff
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google App Engine" group.
> > To post to this group, send email to google-appeng...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-appengine+unsubscr...@googlegroups.com > 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.



[google-appengine] Re: GAE Bug about memcache

2010-02-25 Thread Jairo Vasquez
Thanks a lot.

On Feb 25, 10:50 am, "Nick Johnson (Google)" 
wrote:
> Hi Jairo,
>
> If you're memcaching entities the obvious way (memcache.set(key, a_model)),
> your models are being pickled (using the Python 'pickle' module). When
> they're restored, pickle looks for the original definition of the class,
> using the module name that was pickled along with the entity. If you move
> the definition, it won't be able to find them.
>
> This isn't a memcache bug, but rather an inevitable consequence of how
> pickling works.
>
> For details on an alternate way to memcache models, see my post 
> here:http://blog.notdot.net/2009/9/Efficient-model-memcaching
>
> -Nick Johnson
>
> On Wed, Feb 24, 2010 at 8:59 PM, Jairo Vasquez Moreno <
>
>
>
>
>
> jairo.vasq...@gmail.com> wrote:
> > Hi all,
>
> > I moved my models to another folder and then when I uploaded those changes,
> > there was a memcache error saying that model was not found. I had to do
> > flush_all and everything started to work. Is that a memcache bug? Is
> > memcache using the path of the model for data saved in memcache?
>
> > --
> > Jairo Vasquez Moreno
> > Mentez Developer
> >www.mentez.com
> > Medellin - Colombia
>
> >  --
> > You received this message because you are subscribed to the Google Groups
> > "Google App Engine" group.
> > To 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.
>
> --
> Nick Johnson, Developer Programs Engineer, App Engine
> Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number:
> 368047

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, 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] Facebook developers: Please star this issue

2010-02-25 Thread Waleed Abdulla
It's a good issue to raise, but shouldn't that be raised to Facebook
instead? They need to allow running FB Connect apps on more than one
domain.

Waleed




On Thu, Feb 25, 2010 at 11:15 AM, Jeff Schnitzer wrote:

> If you are currently developing a Facebook Connect app or plan to
> develop a Facebook Connect app, please star this issue:
>
> http://code.google.com/p/googleappengine/issues/detail?id=2878
>
> If you haven't noticed, you soon will:  You cannot test your FB
> Connect app using XX.latest.example.appspot.com.  FB Connect requires
> that you specify a single domain for your application (example.com)
> and all other domains (example.appspot.com) fail.  This makes it
> impossible to simply deploy a new version of your code and run it
> against your live data.
>
> The requested feature:  Please allow us to run XX.latest versions on
> our custom domains.
> Example:  XX.latest.example.com
>
> Like me, you're probably testing in dev mode with an alternate FB app
> key, crossing your fingers, and hoping it works when real users touch
> your new code.  Or maybe you dare to test in vivo with your alternate
> app key, but things don't work quite the same because the live data
> contains users who haven't authorized your alternate app key.  Like
> me, you've probably exposed real-world users to bugs because you can
> only test against live data by deploying it to the default domain.
>
> Please star the issue.
>
> Thanks,
> Jeff
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appeng...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>

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



[google-appengine] Re: I just received 9 emails about yesterday's outage.

2010-02-25 Thread theillustratedlife
Yeah.

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



[google-appengine] Re: Billing currently disabled on all App Engine applications

2010-02-25 Thread App Engine Team
As of 11am February 25th, billing is now re-enabled.

On Feb 24, 11:32 pm, App Engine Team 
wrote:
> At 3pm February 24th, we have temporarily disabled billing on all App
> Engine applications in the wake of the unexpected morning outage.
> While billing is disabled, your application will continue to use up to
> your existing budget values, but we will not issue charges as a result
> of that usage. We will also not be charging for resource usage before
> and during the outage on the 24th.  We will update this thread once
> billing has been re-enabled.

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



[google-appengine] Status Update on the February 24th App Engine Outage

2010-02-25 Thread App Engine Team
We continue to work diligently in the wake of yesterday's unforeseen
App Engine outage on a number of issues, so we wanted to provide you
an update with our current list of tasks.

- Applications will not be charged for any App Engine resource usage
that occurred during Feb 24th, 2010.

- We are still working on fix for writes and transactional reads
affecting a small number of datastore entity groups.  We have
determined that approximately 25 application IDs have been affected by
this issue.  If you feel you are having difficulties with certain
entity groups in your application, please respond to this thread with
your App ID.

- We are working hard on putting together a detailed post mortem that
we will be making public.  We expect to have this available to you
next week.

Again we sincerely apologize for yesterday's service disruption.  We
take App Engine's reliability very seriously and we are confident we
can use the hard lessons learned from yesterday's event to improve our
offering to you.

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



[google-appengine] Access to App Engine admin page

2010-02-25 Thread dominity
Hi, guys.

I've got a problem with accessing App Engine admin page.
Every time I try to go to http://appengine.google.com page that
prompts me to type my user credentials appears. Then I'm redirected to
google search engine page. I can see that in address there is continue
parameter with link to app engine admin page, but nothing happens.

I was trying both FireFox and IE without success. Could you help me
any advise?

Best regards, Alexander.

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



[google-appengine] Re: how to upgrade my sdk from 1.3.0 to 1.3.1 in eclipse

2010-02-25 Thread Maarten Zeinstra
On Feb 19, 9:42 am, Seth  wrote:
> So I tried what I said, and I'm not in any better shape.
>
> I uninstalled all the google plugins, restarted, and then reinstalled
> the google plugins (gwt, appengine).
>
> Now when I try to start my webapp from within Eclipse, I get this
> error:
>
> Error occurred during initialization of VM
> agent library failed to init: instrument
> Error opening zip file or JAR manifest missing : /Users/sethladd/
> eclipse/plugins/com.google.appengine.eclipse.sdkbundle.
> 1.3.0_1.3.0.v200912141120/appengine-java-sdk-1.3.0/lib/agent/appengine-
> agent.jar
>
> Not sure why it's trying to reference 1.3.0
>
> Might have to uninstall Eclipse and try a completely fresh install.
>


I have a different problem to start with, which ended in uninstalling
GWT and reinstalling it, however now I
have the same error as above, my SVN project refers to the 1.3.0 SDK
and I cannot find how to compile to project with the installed 1.3.1
version

Has anyone solved this?



> On Feb 18, 10:24 pm, Seth  wrote:
>
> > Try manually uninstalling all your google plugins.
>
> > If you are using Galileo (as it sounds like you are because you
> > mentioned the 3.5 plugin repository), then you can use this link:
>
> >http://eclipse.dzone.com/articles/ten-tips-installing-plugins
>
> > which helps you uninstall plugins.  Then, reinstall the Google plugins
> > as normal.
>
> > On Feb 16, 11:01 am, Warren Goldman  wrote:
>
> > > Receiving this message when debugging my google app in eclipse;
>
> > > 
> > > There is a new version of the SDK available.
> > > ---
> > > Latest SDK:
> > > Release: 1.3.1
> > > Timestamp: Mon Feb 08 17:00:41 CST 2010
> > > API versions: [1.0]
>
> > > ---
> > > Your SDK:
> > > Release: 1.3.0
> > > Timestamp: Mon Dec 14 12:47:37 CST 2009
> > > API versions: [1.0]
>
> > > ---
> > > Please visithttp://code.google.com/appengineforthelatest SDK.
> > > 
>
> > > Not sure what to do about this.
>
> > > Using this update url in eclipse (galileo 
> > > 3.5);http://dl.google.com/eclipse/plugin/3.5(doingupdatehas no affect)
>
> > > The download of the sdk for 1.3.1 (http://
> > > googleappengine.googlecode.com/files/appengine-java-sdk-1.3.1.zip) is
> > > quite different that 1.3.0  folder structure in eclipse
> > > has folder com.google.appengine.eclipse.sdkbundle.
> > > 1.3.0_1.3.0.v200912141120
> > > in plugins dir.
>
> > > any help is appreciated.

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



[google-appengine] Datastore timeout error trapping - help needed please.

2010-02-25 Thread rpalmer68
Hi everybody,

I need some help as a newbie GAE coder please.

I found this really helpful cookbook entry about handling datastore
timeouts and have implemented it in my code;
http://appengine-cookbook.appspot.com/recipe/autoretry-datastore-timeouts

It's been working well and I've been getting timeout warnings and
retries instead of Time out errors just fine until about the 9th Feb
and then I started getting the following errors coming up in my logs
every now a then;

---
datastore timeout: operation took too long.
  Traceback (most recent call last):
   File "/base/python_lib/versions/1/google/appengine/ext/webapp/
__init__.py", line 507, in __call__handler.get(*groups)  File "/
base/data/home/apps/avi-web2/3.340039246064113396/online.py", line
188, in get
   count=q.count(2)
   File "/base/python_lib/versions/1/google/appengine/ext/db/
__init__.py", line 1585, in countresult =
raw_query.Count(limit=limit, rpc=rpc)
File "/base/python_lib/versions/1/google/appengine/api/
datastore.py", line 1211, in Countraise _ToDatastoreError(err)
Timeout: datastore timeout: operation took too long.
-

Can anybody help me trap these errors using the code in the cookbook
please?

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



Re: [google-appengine] Access to App Engine admin page

2010-02-25 Thread Ikai L (Google)
Do you have any custom domains? Even if you don't, give clearing your
cookies a shot.

On Thu, Feb 25, 2010 at 10:39 AM, dominity  wrote:

> Hi, guys.
>
> I've got a problem with accessing App Engine admin page.
> Every time I try to go to http://appengine.google.com page that
> prompts me to type my user credentials appears. Then I'm redirected to
> google search engine page. I can see that in address there is continue
> parameter with link to app engine admin page, but nothing happens.
>
> I was trying both FireFox and IE without success. Could you help me
> any advise?
>
> Best regards, Alexander.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appeng...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>


-- 
Ikai Lan
Developer Programs Engineer, Google App Engine
http://googleappengine.blogspot.com | http://twitter.com/app_engine

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, 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] I just received 9 emails about yesterday's outage.

2010-02-25 Thread Ikai L (Google)
Is this from the downtime notify group?

On Thu, Feb 25, 2010 at 10:28 AM, theillustratedlife <
bren...@appsforartists.com> wrote:

> I didn't get any of yesterday's downtime notify messages until just
> now, when I got all nine of them.
>
> Something is broken at Google.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appeng...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>


-- 
Ikai Lan
Developer Programs Engineer, Google App Engine
http://googleappengine.blogspot.com | http://twitter.com/app_engine

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



[google-appengine] Facebook developers: Please star this issue

2010-02-25 Thread Jeff Schnitzer
If you are currently developing a Facebook Connect app or plan to
develop a Facebook Connect app, please star this issue:

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

If you haven't noticed, you soon will:  You cannot test your FB
Connect app using XX.latest.example.appspot.com.  FB Connect requires
that you specify a single domain for your application (example.com)
and all other domains (example.appspot.com) fail.  This makes it
impossible to simply deploy a new version of your code and run it
against your live data.

The requested feature:  Please allow us to run XX.latest versions on
our custom domains.
Example:  XX.latest.example.com

Like me, you're probably testing in dev mode with an alternate FB app
key, crossing your fingers, and hoping it works when real users touch
your new code.  Or maybe you dare to test in vivo with your alternate
app key, but things don't work quite the same because the live data
contains users who haven't authorized your alternate app key.  Like
me, you've probably exposed real-world users to bugs because you can
only test against live data by deploying it to the default domain.

Please star the issue.

Thanks,
Jeff

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



[google-appengine] Re: MMS to Email Gateway failures

2010-02-25 Thread A1programmer
Unfortunately, I cannot provide more details.  All I have at my hands
are the API, and the Documentation.  And the rest is beyond my
control. Beyond my application logs, I have nothing.

I have an open ticket
http://code.google.com/p/googleappengine/issues/detail?id=2810

 (actually, there are similar tickets open).
http://code.google.com/p/googleappengine/issues/detail?id=1800
http://code.google.com/p/googleappengine/issues/detail?id=1891

It would be great if I could actually send an email that looks like
it's who it's really coming from.  Sounds silly, I know.

If you had an email in your inbox, from
"abf198h236kj3h46j2h34lklgh23k4j6" would you open it ?

Who wouldn't reject an email coming from 3-
yf9swuod0qgjsotigskxxoloi.iusjkxxoiq.yosvyutmsgor@apphosting.bounces.google.com
  ?
Of course it looks like spam...

The emails are sent from mx.google.com, but the domain is
apphosting.bounces.google.com. Maybe the google SPF records are not
set up correctly.


On Feb 23, 8:18 am, "Nick Johnson (Google)" 
wrote:
> Hi,
>
> I'm afraid we can't offer much help without more details. Sending mail from
> App Engine is fully functional, which means your receivers are blocking or
> dropping your emails. You need to take that up with them.
>
> -Nick Johnson
>
> On Mon, Feb 22, 2010 at 10:22 PM, A1programmer 
> wrote:
>
>
>
>
>
> > All,
> >  I still cannot get this to work, unfortunately.  Does anyone have
> > any suggestions?
>
> > Anyone from Google?
>
> > Thanks!
>
> > On Feb 17, 4:20 pm, A1programmer  wrote:
> > > I can send pictureMMSemails to my mobile phone if I manually log
> > > into the Google Apps GMail interface, but I'm having problems
> > sendingMMS(picture) messages programmatically from app engine code.
>
> > > I'm trying to use the Email toMMSgateway method for Verizon, AT&T,
> > > and Sprint.  All three fail.
>
> > > Again, if I log into my Google Apps account and send an email from
> > > ad...@domain.com through gmail, it works fine, but if I try sending
> > > through app engine code, it is never received (using @vwzpix.net, for
> > > Verizon Wireless).
>
> > > The crazy part, is, that if I send to the nonMMSaddress ( @vtext.com
> > > for verizon), the message is received.
>
> > > Does anyone have any idea why this may be, or can offer suggestions?
> > > As it looks now, if I can get this to work nicely on another platform,
> > > I'm going to have to move my stuff off of my GAE (paid account).
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google App Engine" group.
> > To 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.
>
> --
> Nick Johnson, Developer Programs Engineer, App Engine
> Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number:
> 368047

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



[google-appengine] Lots of spikes in the dashboard.

2010-02-25 Thread master outside
I looked that display for requests/second for 6 hrs, and 12 hrs I got
what looked like alternating points of 0 and about 2.5. Normal for the
app is between 2 and 3. What is going on?

6 hrs:

https://www.google.com/chart?chxt=x,y&chd=e:AGAgAyBMBeB4CLClC3DRDjD9EPEpE7FVFoGBGUGuHAHaHsIGIYIyJFJeJxKLKdK3LJLjL1MPMhM7NONnN6OUOmPAPSPsP-QYQrRERXRxSDSdSvTJTbT1UHUhU0VNVgV6WMWmW4XSXkX-YRYqY9ZWZpaDaVavbBbbbucHcaczdGdgdyeMeee4fKfkf3gQgjg8hPhph7iVinjBjUjtkAkZkslGlYlymEmemwnKndn2oJoio1pPphp7qNqnq6rTrmr.sSsss-tYtquEuXuwvDvcvvwIwbw1xHxhxzyNygy5zMzlz40S0k0-1Q1q192W2p3C3V3u4B4b4t5H5a5z6G6f6y7L7e748K8k829Q9j98,AAgiAAgIAAgzAAhIAAg7AAfIAAg3AAgmAAiAAAf3AAfmAAgvAAhvAAieAAhzAAgmAAgVAAgIAAgRAAhZAAfmAAhNAAiRAAgeAAemAAh3AAfRAAfeAAfZAAhNAAgyAAhjAAeyAAgFAAbRAAhvAAgeAAg3AAhzAAfVAAgZAAgNAAgNAAiRAAjqAAj3AAmiAAnVAAmqAAlvAAoNAAlvAAkNAAo3AAnqAAqAAAr8AArzAAsqAAqRAArmAAp8AApzAAqmAAreAAtVAAszAAsiAAtEAAuIAAuAAAvEAAvzAAuEAAtNAAviAAvvAAtIAAtRAAtNAAsmAAviAAxVAAuRAAsRAAtEAAteAAo8AAuVAArR&chxp=0,97.1,48.5,0.0|1,20.0,40.0,60.0,80.0,100.0&chxs=&chg=0,20.00,1,2&chco=0077cc&chm=R,7f7f7f,0,0.971,0.972|R,7f7f7f,0,0.485,0.487|R,7f7f7f,0,0.000,0.001|B,eaf0f4,0,0,0&chs=750x185&cht=lxy&chxl=0%3A%7Cnow%7C-3hr%7C-6hr%7C1%3A%7C0.800%7C1.60%7C2.40%7C3.20%7C4.00&chls=2,0,0

at 12 hrs;

https://www.google.com/chart?chxt=x,y&chd=e:ADAQAZAmAvA8BFBTBcBpByB.CICVCeCrC0DCDLDYDhDuD3EEENEaEjExE6FHFQFdFmFzF8GJGSGgGpG2G.HMHVHiHrH4IBIPIYIlIuI7JEJRJaJnJwJ-KHKUKdKqKzLALJLWLfLtL2MDMMMZMiMvM4NFNONcNlNyN7OIOROeOnO0O9PLPUPhPqP3QAQNQWQjQsQ6RDRQRZRmRvR8SFSSSbSpSyS.TITVTeTrT0UBUKUYUhUuU3VEVNVaVjVwV5WHWQWdWmWzW8XJXSXfXoX2X.YMYVYiYrY4ZBZOZXZlZuZ7aEaRaaanawa9bGbTbdbqbzcAcJcWcfcsc1dCdMdZdidvd4eFeOebekexe7fIfRfefnf0f9gKgTgggqg3hAhNhWhjhsh5iCiPiZimivi8jFjSjbjojxj-kIkVkekrk0lBlKlXlgltl3mEmNmamjmwm5nGnPncnmnzn8oJoSofooo1o-pLpVpiprp4qBqOqXqkqtq6rErRrarnrwr9sGsTscspsztAtJtWtftst1uCuLuYuiuvu4vFvOvbvkvxv6wHwRwewnw0w9xKxTxgxpx2yAyNyWyjysy5zCzPzYzlzvz80F0S0b0o0x0-1I1U1e1r102B2K2X2g2t233D3N3a3j3w354G4P4c4m4y485J5S5f5o515-6L6V6h6r647B7O7X7k7t768E8Q8a8n8w899G9T9c9p9z9.-J-V,AArEAAqmAAriAAqNAArNAAp8AApVAApZAAriAAovAAp8AAqEAAqeAApmAAoeAAoiAAmRAAliAAk8AAmZAAmZAAmzAAjvAAniAAmAAAmEAAmZAAlvAAlEAAmvAAmmAAqZAApiAAoNAAoEAAkiAAlzAAmAAAlvAAlZAAlvAAmRAAnIAAmIAAlIAAlVAAmZAAOVAAnRAAkmAAjqAAkEAAjqAAlqAAlIAAjzAAjqAAmEAAkRAAkVAAmNAAlIAAkVAAj3AAjZAAiRAAhVAAiZAAgZAAfEAAeZAAgmAAeNAAdqAAdqAAfAAAfRAAfRAAgEAAfvAAfAAAe3AAgqAAg7AAheAAfZAAgIAAeZAAfVAAhAAAgiAAgIAAgzAAhIAAg7AAfIAAg3AAgmAAiAAAf3AAfmAAgvAAhvAAieAAhzAAgmAAgVAAgIAAgRAAhZAAfmAAhNAAiRAAgeAAemAAh3AAfRAAfeAAfZAAhNAAgyAAhjAAeyAAgFAAbRAAhvAAgeAAg3AAhzAAfVAAgZAAgNAAgNAAiRAAjqAAj3AAmiAAnVAAmqAAlvAAoNAAlvAAkNAAo3AAnqAAqAAAr8AArzAAsqAAqRAArmAAp8AApzAAqmAAreAAtVAAszAAsiAAtEAAuIAAuAAAvEAAvzAAuEAAtNAAviAAvvAAtIAAtRAAtNAAsmAAviAAxVAAuRAAsRAAtEAAteAAo8AAuVAArR&chxp=0,97.6,73.2,48.8,24.4,0.0|1,20.0,40.0,60.0,80.0,100.0&chxs=&chg=0,20.00,1,2&chco=0077cc&chm=R,7f7f7f,0,0.976,0.977|R,7f7f7f,0,0.732,0.733|R,7f7f7f,0,0.488,0.489|R,7f7f7f,0,0.244,0.245|R,7f7f7f,0,0.000,0.001|B,eaf0f4,0,0,0&chs=750x185&cht=lxy&chxl=0%3A%7Cnow%7C-3hr%7C-6hr%7C-9hr%7C-12hr%7C1%3A%7C0.800%7C1.60%7C2.40%7C3.20%7C4.00&chls=2,0,0

at 24 hours:

https://www.google.com/chart?chxt=x,y&chd=e:AFAQAbAmAxA8BHBSBdBoB0B.CKCVCgCrC2DBDMDXDjDuD5EEEPEaElEwE7FGFSFdFoFzF-GJGUGfGqG1HBHMHXHiHtH4IDIOIZIkIwI7JGJRJcJnJyJ9KIKTKfKqK1LALLLWLhLsL3MCMOMZMkMvM6NFNQNbNmNxN9OIOTOeOpO0O.PKPVPgPsP3QCQNQYQjQuQ5RERPRbRmRxR8SHSSSdSoSzS-TKTVTgTrT2UBUMUXUiUtU5VEVPVaVlVwV7WGWRWcWoWzW-XJXUXfXqX1YAYLYXYiYtY4ZDZOZZZkZvZ6aGaRacanaya9bIbTbebpb1cAcLcWchcsc3dCdNdYdkdvd6eFeQebemexe8fHfTfefpf0f.gKgVgggrg2hChNhYhjhuh5iEiPiailixi8jHjSjdjojzj-kJkUkgkrk2lBlMlXliltl4mDmPmamlmwm7nGnRncnnnyn9oJoUofoqo1pApLpWphpsp4qDqOqZqkqvq6rFrQrbrnryr9sIsTsesps0s.tKtWthtst3uCuNuYujuuu5vFvQvbvmvxv8wHwSwdwow0w.xKxVxgxrx2yByMyXyjyuy5zEzPzazlzwz70G0S0d0o0z0-1J1U1f1q112B2M2X2i2t243D3O3Z3k3w374G4R4c4n4y495I5T5f5q516A6L6W6h6s637C7O7Z7k7v768F8Q8b8m8x899I9T9e9p909.-K-V,X1X1XbXoXEEgOZRqRORsUXh1WbW-WvWMWZWsXAWmXKYEXeY-ZRY7XmX-XKXMYvZTbGaka3ZqZiY-bTZbaPbZcXbRaTbVb5bic1cRbtbmcTdReAeVdzdCdid5eReeeodVeCdNc-cidecXe3dXdRdEcCbeZgbPbIbba7aIZqZvYoZRYxYVYmXZWCYMX7YXZAYbY1YvXzXCXsXxX7XeW1XIYiXeW7YiXMWmW5VxXRW-WoWIXiXPW7WgXXX7YPYPYZYmXqY7Y7ZXZAY7YXYvX1YzYgXzXbXTYAYTXKXXYPYIX3XzYIYPXeXRXoX5YqX1Z1W-a1Y7ZMXPXkXAXqWoXGWxWvV3WZVmWCVmVmVbUmUbViVTVxVGVmU-UqUsVxUXU-VCVPUzUPURTISxSeTMTMTZR3TxTATCTMS3SiTXTTVMUxUGUCSRS5TAS3SsS3TITkTESkSqTMHKToSTR1SCR1S1SkR5R1TCSISKTGSkSKR7RsRIQqRMQMPiPMQTPGO1O1PgPoPoQCP3PgPbQVQdQvPsQEPMPqQgQRQEQZQkQdPkQbQTRAP7PzQXQ3RPQ5QTQKQEQIQsPzQmRIQPPTQ7PoPvPsQmQZQxPZQCNoQ3QPQbQ5PqQMQGQGRIR1R7TRTqTVS3UGS3SGUbT1VAV-V5WVVIVzU-U5VTVvWqWZWRWiXEXAXiX5XCWmXxX3WkWoWmWTXxYqXIWIWiWvUeXKVo&chxp=0,97.6,73.2,48.8,24.4,0.0|1,20.0,40.0,60.0,80.0,100.0&chxs=&chg=0,20.00,1,2&chco=0077cc&chm=R,7f7f7f,0,0.976,0.977|R,7f7f7f,0,0.732,0.733|R,7f7f7f,0,0.488,0.489|R,7f7f7f,0,0.244,0.245|R,7f7f7f,0,0.000,0.001|B,eaf0f4,0,0,0&chs=750x185&cht=lxy&chxl=0%3A%7Cnow%7C-6hr%7C-12hr%7C-18hr%7C-24hr%7C1%3A%7C0.800%7C1.60%7C2.40%7C3.20%7C4.00&chls=2,0,0

app id: collarcmds

-- 
You received this message because you are subsc

[google-appengine] Re: Multiple Google Apps accounts with single App Engine application?

2010-02-25 Thread theillustratedlife
I've had mixed results doing this.

We have two apps, myapp and test-myapp.  Myapp is mapped to both
www.myapp.com and app.mycompany.com.  Test-myapp is mapped to
beta.mycompany.com.  Whenever I try to map it to beta.myapp.com, I get
this error:

You do not have the permissions necessary to install this application.


Mike Repass was going to look into this for me.  He had me create a
forum post about it, but he's no longer with Google so I can't really
follow up.

http://www.google.com/support/forum/p/Google+Apps/thread?tid=22e050756b1b9772&hl=en

Can you help please, Nick?

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



[google-appengine] I just received 9 emails about yesterday's outage.

2010-02-25 Thread theillustratedlife
I didn't get any of yesterday's downtime notify messages until just
now, when I got all nine of them.

Something is broken at Google.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, 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: Value indexed when None?

2010-02-25 Thread Ikai L (Google)
There's no significant difference. Check out this article about how things
are stored:

http://code.google.com/appengine/articles/storage_breakdown.html

The value
doesn't change how we query our indexes for values with None or -1.

On Wed, Feb 24, 2010 at 9:45 PM, Jairo Vasquez wrote:

> Yes it is and I can search using property=None but my question was
> more about what is more efficient, filter with property=None or use a
> value like '-1' and filter property='-1'
>
> Thanks for the replies
>
> On Feb 24, 9:23 pm, "Ikai L (Google)"  wrote:
> > I believe so. What have you observed when saving your models?
> >
> > On Wed, Feb 24, 2010 at 12:55 PM, Jairo Vasquez  >wrote:
> >
> >
> >
> >
> >
> > > Thanks Ikai,
> >
> > > But what is the difference between empty values and None when you
> > > define a Model in GAE? Because you just define a property without a
> > > default value and when you create an instance of that entity, the
> > > value will be None isn't it?
> >
> > > On Feb 24, 1:36 pm, "Ikai L (Google)"  wrote:
> > > > That *should* create an index. We index null values, but we don't
> index
> > > > empty values. That is, if you have an entity:
> >
> > > > Animal {
> > > > String name;
> > > > int age;
> >
> > > > }
> >
> > > > And create 100 entities, then add:
> >
> > > > Animal {
> > > >String name;
> > > >int age;
> > > >String nickname;
> >
> > > > }
> >
> > > > The 100 entities that were created will have an EMPTY nickname and
> will
> > > not
> > > > be queryable by this attribute, but Animals created after the change
> that
> > > > populate this field will be indexable.
> >
> > > > On Tue, Feb 23, 2010 at 9:58 PM, Jairo Vasquez Moreno <
> >
> > > > jairo.vasq...@gmail.com> wrote:
> > > > > Hi Nick,
> >
> > > > > I know every write to Datastore creates an index entry for each
> > > indexable
> > > > > value. But when a value is not set (None) will an index entry be
> > > created?
> >
> > > > > My doubt is, is it better to let a property None and then filter by
> > > > > property=None or set the with something e.g property="-1" and then
> > > filter by
> > > > > property="-1". Because I'm leaving a property as None and then
> doing
> > > some
> > > > > stuff with those entity with None but this is generating more
> > > > > DeadLineExcedeed errors as expected (even decreasing the number of
> > > entities
> > > > > to fetch) so I think maybe the filter is getting to much time and I
> > > don't
> > > > > know what else could be.
> >
> > > > > Thanks in advance.
> >
> > > > > --
> > > > > Jairo Vasquez Moreno
> > > > > Mentez Developer
> > > > >www.mentez.com
> > > > > Medellin - Colombia
> >
> > > > >  --
> > > > > You 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.
> >
> > > > --
> > > > Ikai Lan
> > > > Developer Programs Engineer, Google App Enginehttp://
> > > googleappengine.blogspot.com|http://twitter.com/app_engine
> >
> > > --
> > > You received this message because you are subscribed to the Google
> Groups
> > > "Google App Engine" group.
> > > To post to this group, send email to google-appengine@googlegroups.com
> .
> > > To unsubscribe from this group, send email to
> > > google-appengine+unsubscr...@googlegroups.com e...@googlegroups.com>
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/google-appengine?hl=en.
> >
> > --
> > Ikai Lan
> > Developer Programs Engineer, Google App Enginehttp://
> googleappengine.blogspot.com|http://twitter.com/app_engine
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appeng...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>


-- 
Ikai Lan
Developer Programs Engineer, Google App Engine
http://googleappengine.blogspot.com | http://twitter.com/app_engine

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



[google-appengine] Re: More detailed informations about outages

2010-02-25 Thread Manny
nerd rage is hilarious

On Feb 25, 12:32 pm, Eli Jones  wrote:
> I demand you post videos to You Tube of the GAE team frantically cursing,
> angrily casting blame, and furiously banging on their keyboards while
> investigating yesterdays outage.  Maybe grappling on the floor or throwing
> things.
>
> "I TOLD you that relying on mulitmastermode hotspot failover for
> transcontinental datacenter backup sites WOULDN'T WORK!  Who unplugged all
> 200 superredundant fiber routers just to plug in their hot plate?"
>
> And then possibly, personal essays from everyone involved describing their
> feelings during the event..  How did it make you feel?  Were you
> professionally detached and getting the job done (Determined.. like steel)?
>  Were you worried that this outage implied you've become a total failure,
> and it brought up all of these issues with your father and how he was going
> to call you up and say, "You're just like your mother!  Good for nothing...
> (grumble..).. not highly available.."?  Were you angry at someone else who
> you just knew was the reason this outage occurred?
>
> What did you eat that morning? (Was it morning, late night... evening?)
>  Were you eating right then?  Were you thinking about maybe eating?  Did you
> get an e-mail alert indicating System A was down?  And you're like dammit..
> and then you got an e-mail alert saying Systems A and B failed in the
> failover process for System A.. and you're like stopping eating and going to
> a computer.. and then you get the phone call that all Backup Systems Ai, Bi
> for Primary Failover Systems Ai, Bi have failed and there is a wild
> hobogoblin loose in one of the offices and he's eaten the head of the Team
> App Engine Disaster Recovery (TEADR)? And you're like.. "Why didn't we
> purchase that Anti-Hobogoblin Sytem?  That's what I said.. I said, 'You
> never know... you never know when the hobogoblins strike... ..until its too
> late.."
>
> And yes.. I want real time updates next time.. possibly a Disaster Recover
> Webcast.. maybe you could hire someone to follow team members around and
> live blog the whole thing.
>
> I think, if you devote more of your resources to these things... real live
> customer service (instead of wasting time fixing things and improving the
> backend.. you need to shift a lot of these scarce resources to white glove
> customer appreciation b.s.)  We need more of that facade of direct eye
> contact, "Yes I understand your concerns"-reassurances instead of real work.
>  So.. when the backend doesn't get better because all of the resources
> slowly move towards this kabuki play business model.. and things start
> breaking.. We can feel better about it because the GAE team will be right
> there, telling us that.. they understand our frustrations.. and the issue is
> being taken very seriously indeed and everything is being done to fix the
> problem and don't worry it'll be okay.
>
> Yes, yes.. I know that the reasonable, serious and well-considered response
> from the GAE Team is and will be:  "We can do better. And we will be even
> more transparent next time.  And we will keep working just as hard on the
> back end while now devoting even more energy to responding to people's
> e-mails about 'how am i supposed to sign up if I don't have a mobile phone'
>  or 'how do I do a join in GQL.. can I use a different database with
> appengine?' or maybe 'Why doesn't GAE support PHP? GAE must support PHP!' "
>
> Anyway.. I look forward to the Post Mortem.. it's always instructive to read
> them.. and if you read between the lines, there's always a little dramaturgy
> that you can fill in.
>
> On Thu, Feb 25, 2010 at 11:09 AM, Nick Johnson (Google) <
>
>
>
> nick.john...@google.com> wrote:
> > Hi,
>
> > We've already committed to publishing a full postmortem on the most recent
> > outage, as we did for our other major outage in July last year (
> >https://groups.google.com/group/google-appengine/msg/ba95ded980c8c179...).
> > Such reports take a while to prepare, however, and in the middle of a
> > crisis, it's obviously necessary to prioritize fixing the issue over
> > documenting it.
>
> > -Nick Johnson
>
> > On Wed, Feb 24, 2010 at 8:34 PM, Flips  wrote:
>
> >> I want to know *more*. It is not very satisfying if you just confirm
> >> the outage, wait an hour and tell us that there are new problems. Half
> >> an hour later you announced that all applications are in read-only
> >> mode and the next status update is that the problem is solved.
>
> >> Specifically I want you to notify me if you know what the cause of the
> >> problem is and tell me how much time you approximately need to fix it.
>
> >> Problem       Switch to the seccond datacenter
> >> On Feb 24, 7:50 pm, "Ikai L (Google)"  wrote:
> >> > We have the downtime notify list for this specific purpose:
>
> >> >http://groups.google.com/group/google-appengine-downtime-notify
>
> >> > On Wed, Feb 24, 2010 at 9:28 AM, Flips  wrote:
> >> > > If you want to know mo

[google-appengine] Re: java.lang.NoClassDefFoundError: Could not initialize class org.datanucleus.store.appengine.DatastoreFieldManager

2010-02-25 Thread Miroslav Genov
Any idea was is causing it? I'm asking because my application got the
same exception today. Here is the stack trace:
Caused by: java.lang.NoClassDefFoundError: Could not initialize class
org.datanucleus.store.appengine.DatastoreFieldManager
at
org.datanucleus.store.appengine.DatastorePersistenceHandler.fetchObject(DatastorePersistenceHandler.java:
443)
at
org.datanucleus.state.JDOStateManagerImpl.validate(JDOStateManagerImpl.java:
4263)
at
org.datanucleus.ObjectManagerImpl.findObject(ObjectManagerImpl.java:
2444)
at
org.datanucleus.jdo.JDOPersistenceManager.getObjectById(JDOPersistenceManager.java:
1671)
at
org.datanucleus.jdo.JDOPersistenceManager.getObjectById(JDOPersistenceManager.java:
1767)
at com.evo.adm.security.SidManagerJdo.getUserBySid(SidManagerJdo.java:
120)
at com.evo.adm.security.SidManagerJdo$$EnhancerByGuice$$fcd4ce08.CGLIB
$getUserBySid$4()
at com.evo.adm.security.SidManagerJdo$$EnhancerByGuice$$fcd4ce08$
$FastClassByGuice$$4752e310.invoke()
at
com.google.inject.internal.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:
228)
at com.google.inject.internal.ProxyFactory
$1.intercept(ProxyFactory.java:48)
at com.evo.adm.security.SidManagerJdo$$EnhancerByGuice$
$fcd4ce08.getUserBySid()
at
com.evo.adm.contract.server.rpc.RpcServiceImpl.execute(RpcServiceImpl.java:
58)
at sun.reflect.GeneratedMethodAccessor101.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Method.java:43)
at
com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:
562)

Regards,
 Miroslav

On Jan 28, 7:58 am, Miroslav Genov  wrote:
> Hello,
>
> 7 hours after last deploy of my application I got the following exception:
>
> java.lang.NoClassDefFoundError: Could not initialize class
> org.datanucleus.store.appengine.DatastoreFieldManager
>    at
> org.datanucleus.store.appengine.query.DatastoreQuery$3.fetchFields(Datastor 
> eQuery.java:511)
>
>    at
> org.datanucleus.state.JDOStateManagerImpl.loadFieldValues(JDOStateManagerIm 
> pl.java:841)
>
>    at
> org.datanucleus.state.JDOStateManagerImpl.initialiseForHollowAppId(JDOState 
> ManagerImpl.java:284)
>
>    at
> org.datanucleus.state.StateManagerFactory.newStateManagerForHollowPopulated 
> AppId(StateManagerFactory.java:116)
>
>    at
> org.datanucleus.ObjectManagerImpl.findObjectUsingAID(ObjectManagerImpl.java 
> :2117)
>
>    at
> org.datanucleus.store.appengine.query.DatastoreQuery.entityToPojo(Datastore 
> Query.java:522)
>
>    at
> org.datanucleus.store.appengine.query.DatastoreQuery.entityToPojo(Datastore 
> Query.java:490)
>
>    at
> org.datanucleus.store.appengine.query.DatastoreQuery.access$300(DatastoreQu 
> ery.java:108)
>
>    at
> org.datanucleus.store.appengine.query.DatastoreQuery$6.apply(DatastoreQuery 
> .java:604)
>
>    at
> org.datanucleus.store.appengine.query.DatastoreQuery$6.apply(DatastoreQuery 
> .java:596)
>
>    at
> org.datanucleus.store.appengine.query.LazyResult.resolveNext(LazyResult.jav 
> a:94)
>
>    at
> org.datanucleus.store.appengine.query.LazyResult.resolveAll(LazyResult.java 
> :116)
>
>    at
> org.datanucleus.store.appengine.query.LazyResult.size(LazyResult.java:110)
>    at
> org.datanucleus.store.appengine.query.StreamingQueryResult.size(StreamingQu 
> eryResult.java:124)
>
>    at
> com.evo.adm.contract.server.ContractDaoJdo.findAll(ContractDaoJdo.java:140)
>    at
> com.evo.adm.contract.server.ContractServiceImpl.findAll(ContractServiceImpl 
> .java:250)
>
>    at
> com.evo.adm.contract.server.ContractServiceImpl$$EnhancerByGuice$$815fbed1. 
> CGLIB$findAll$12()
>
>    at
> com.evo.adm.contract.server.ContractServiceImpl$$EnhancerByGuice$$815fbed1$ 
> $FastClassByGuice$$da19b7a9.invoke()
>
>    at
> com.google.inject.internal.cglib.proxy.MethodProxy.invokeSuper(MethodProxy. 
> java:228)
>
>    at
> com.google.inject.internal.ProxyFactory$1.intercept(ProxyFactory.java:48)
>
> Does anyone have an idea what is causing it ?
>
> Regards,
>  Miroslav

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, 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: More detailed informations about outages

2010-02-25 Thread Nick Johnson (Google)
Hi,

We've already committed to publishing a full postmortem on the most recent
outage, as we did for our other major outage in July last year (
https://groups.google.com/group/google-appengine/msg/ba95ded980c8c179?pli=1).
Such reports take a while to prepare, however, and in the middle of a
crisis, it's obviously necessary to prioritize fixing the issue over
documenting it.

-Nick Johnson

On Wed, Feb 24, 2010 at 8:34 PM, Flips  wrote:

> I want to know *more*. It is not very satisfying if you just confirm
> the outage, wait an hour and tell us that there are new problems. Half
> an hour later you announced that all applications are in read-only
> mode and the next status update is that the problem is solved.
>
> Specifically I want you to notify me if you know what the cause of the
> problem is and tell me how much time you approximately need to fix it.
>
> Problem   Switch to the seccond datacenter
> On Feb 24, 7:50 pm, "Ikai L (Google)"  wrote:
> > We have the downtime notify list for this specific purpose:
> >
> > http://groups.google.com/group/google-appengine-downtime-notify
> >
> >
> >
> >
> >
> > On Wed, Feb 24, 2010 at 9:28 AM, Flips  wrote:
> > > If you want to know more about outages please star this feature
> > > request:
> >
> > >http://code.google.com/p/googleappengine/issues/detail?id=2867
> >
> > > --
> > > You 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>
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/google-appengine?hl=en.
> >
> > --
> > Ikai Lan
> > Developer Programs Engineer, Google App Enginehttp://
> googleappengine.blogspot.com|http://twitter.com/app_engine
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appeng...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>


-- 
Nick Johnson, Developer Programs Engineer, App Engine
Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number:
368047

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



Re: [google-appengine] GAE Bug about memcache

2010-02-25 Thread Nick Johnson (Google)
Hi Jairo,

If you're memcaching entities the obvious way (memcache.set(key, a_model)),
your models are being pickled (using the Python 'pickle' module). When
they're restored, pickle looks for the original definition of the class,
using the module name that was pickled along with the entity. If you move
the definition, it won't be able to find them.

This isn't a memcache bug, but rather an inevitable consequence of how
pickling works.

For details on an alternate way to memcache models, see my post here:
http://blog.notdot.net/2009/9/Efficient-model-memcaching

-Nick Johnson

On Wed, Feb 24, 2010 at 8:59 PM, Jairo Vasquez Moreno <
jairo.vasq...@gmail.com> wrote:

> Hi all,
>
> I moved my models to another folder and then when I uploaded those changes,
> there was a memcache error saying that model was not found. I had to do
> flush_all and everything started to work. Is that a memcache bug? Is
> memcache using the path of the model for data saved in memcache?
>
> --
> Jairo Vasquez Moreno
> Mentez Developer
> www.mentez.com
> Medellin - Colombia
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appeng...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>



-- 
Nick Johnson, Developer Programs Engineer, App Engine
Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number:
368047

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



[google-appengine] Re: indexes in building state for quite a while ...

2010-02-25 Thread Prawyn

Ikai L,

Thanks For your Help.



On Feb 24, 4:00 am, "Ikai L (Google)"  wrote:
> The indexes have been moved to error. Go ahead and vacuum them.
>
>
>
>
>
> On Mon, Feb 22, 2010 at 10:32 PM, Prawyn  wrote:
> > Hi Team,
> > I am waiting for more that three days. There is no reply
> > (indexes in building state for quite a while ...    - Subject of my
> > previous post),
> > please make all the building status to Error, so that I can delete
> > all.
>
> > My app id is os247test
>
> > Thanks,
> > Prawyn.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google App Engine" group.
> > To post to this group, send email to google-appeng...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-appengine+unsubscr...@googlegroups.com > e...@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-appengine?hl=en.
>
> --
> Ikai Lan
> Developer Programs Engineer, Google App 
> Enginehttp://googleappengine.blogspot.com|http://twitter.com/app_engine

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, 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 Google Apps accounts with single App Engine application?

2010-02-25 Thread Nick Johnson (Google)
Hi David,

On Thu, Feb 25, 2010 at 11:09 AM, David Pärsson wrote:

> Hi,
>
> Is it possible to connect multiple domains with different Google Apps
> accounts to a single App Engine application?
>
> Let's say that I have two Google Apps accounts, one for foo.com and
> another for bar.com. Hence, j...@foo.com and j...@bar.com are two
> different accounts with separate inboxes and all that.
> * Can i connect both www.foo.com and www.bar.com to one single App
> Engine application?
>

Yes.


> * If so, can the users j...@foo.com and j...@bar.com log in to this
> application using the Google Accounts authentication?
>

No, unless those accounts are also Google accounts (
https://www.google.com/accounts/NewAccount).

-Nick Johnson


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


-- 
Nick Johnson, Developer Programs Engineer, App Engine
Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number:
368047

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



[google-appengine] Re: Multiple Google Apps accounts with single App Engine application?

2010-02-25 Thread David Pärsson
It seems my example email addresses were obfuscated, but they should
be joe (at) foo.com and joe (at) bar.com. I.e. the same name before
the @ sign.

On Feb 25, 12:09 pm, David Pärsson  wrote:
> Hi,
>
> Is it possible to connect multiple domains with different Google Apps
> accounts to a single App Engine application?
>
> Let's say that I have two Google Apps accounts, one for foo.com and
> another for bar.com. Hence, j...@foo.com and j...@bar.com are two
> different accounts with separate inboxes and all that.
> * Can i connect bothwww.foo.comandwww.bar.comto one single App
> Engine application?
> * If so, can the users j...@foo.com and j...@bar.com log in to this
> application using the Google Accounts authentication?

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



[google-appengine] Multiple Google Apps accounts with single App Engine application?

2010-02-25 Thread David Pärsson
Hi,

Is it possible to connect multiple domains with different Google Apps
accounts to a single App Engine application?

Let's say that I have two Google Apps accounts, one for foo.com and
another for bar.com. Hence, j...@foo.com and j...@bar.com are two
different accounts with separate inboxes and all that.
* Can i connect both www.foo.com and www.bar.com to one single App
Engine application?
* If so, can the users j...@foo.com and j...@bar.com log in to this
application using the Google Accounts authentication?

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



[google-appengine] This is a preview release of Google App Engine

2010-02-25 Thread Davide Cerbo
Hi all, I have seen this phrase on AppEngine homepage:
http://appengine.google.com/
Exists a date for a stable release?
bye bye,
Davide

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, 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] Looping task in Taskqueue

2010-02-25 Thread Iap
Hi,
I have tried the work-around same as the one provided by Eli below, I think
that it works.
I set a serial number (the counter) for every generated tasks.
For every 3 seconds there is an execution.
Now, the serial number goes to 57470 counts. (almost 2 days)


2010/2/25 Eli Jones 

> You just need to add a try: except: (if you're using Python) to handle
> TombstonedTaskError and TaskAlreadyExistsError.
>
> I use a taskadd function that looks like this:
>
> def taskAdd(name,counter,delay=0,wait=.5):
> try:
> taskqueue.add(name = name,url = '/mytasks/doTask',
>   countdown = delay, params = {'counter' : counter} )
> except (taskqueue.TaskAlreadyExistsError,
> taskqueue.TombstonedTaskError), e:
> pass
> except:
> from time import sleep
> sleep(wait)
> taskAdd(name,counter,delay,2*wait)
>
> Once a task is done.. it adds a new one back to the queue like so:
>
> counter = int(self.request.get('counter')) + 1
> taskAdd(name+str(counter),counter)
>
> That way.. if you get any error besides one indicating the Task is already
> there.. it just tries to add the task again a little later.
>
> Of course.. you give it whatever delay you want.. in case you don't want it
> to start immediately.
>

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