[google-appengine] Re: Empty variable tag error

2009-03-09 Thread djidjadji

It is a small bug in the Django template renderer to not show the
token that causes the error in the exception message, the token
variable is passes to the Parser.error() method.
In your case the token.contents is None or False so no extra info if printed.

The only solution you have is to strip splashpage.txt to the bare
minimum and add stuff bit by bit to find the line that causes the
error.
I think you have made a typo and that is not caught by the parser.

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



[google-appengine] Re: jQuery while doing Ajax call

2009-03-09 Thread Michael O'Brien

Hi Ritesh,

the problem is that specifying dataType: xml doesn't tell jQuery it
should send the data in XML, just that it should expect XML to be
returned from the url. You need to construct the XML yourself and set
the contentType option to text/xml to actually send your data as
XML.

http://docs.jquery.com/Ajax/jQuery.ajax#options

cheers
Michael

On Mar 9, 2:07 am, Ritesh Nadhani rite...@gmail.com wrote:
 Hmm.

 I am not sure how JSON would be simpler then XML. Also, some other
 system use the same XMLRPC without any problem.

 The problem seems to be that jquery is not serializing the data to
 actual XML data and thus server is failing with ExpatParse error.

 Thoughts?

 On Sun, Mar 8, 2009 at 5:46 AM, Let Delete My Apps



 davide.rogn...@gmail.com wrote:

  Hi Ritesh Nadhani,
  I think your code is complex.

  Can you try another more simple way, for example using the JSON/JSON-P
  technique?

  View the source code of my last app:
 http://pyoohtml.appspot.com/let-delete-my-apps/home
  .
  .
  On Mar 8, 12:49 pm, Ritesh Nadhani rite...@gmail.com wrote:
  Hi

  Any idea what might be wrong with this AJAX AJAX 
  call:http://paste.pocoo.org/show/106941/-its always returning me XMLParse
  error but when done thru my Python client, it works.

  When I just do: response.write(request.raw_post_data) - i get
  var1=value1var2=value2 etc. Rather then the actual XML so the server
  is giving me all kinds of Expat parsing error.

  My code to implement an XML-RPC:http://paste.pocoo.org/show/106945/

  Django code from:http://code.djangoproject.com/wiki/XML-RPC

  --
  Riteshhttp://www.riteshn.com

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



[google-appengine] Re: email change propagation

2009-03-09 Thread ksjun

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

On 3월9일, 오후1시55분, yucc yucc2...@gmail.com wrote:
 As mentioned 
 athttp://code.google.com/appengine/docs/python/users/userobjects.html,
 I just can't figure out what's the exactly situation for While an
 email address is unique to an account at a given moment, the user can
 change the email address for the account at any time ?What does that
 mean ?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: Empty variable tag error

2009-03-09 Thread lancemiller777

 The only solution you have is to strip splashpage.txt to the bare
 minimum and add stuff bit by bit to find the line that causes the
 error.
 I think you have made a typo and that is not caught by the parser.

Correct, it was a typo in splashpage.txt
Specifically, the missing user django variable. Actual code snippet
causing problem shown below:

Bad:
input type=text name=recipient   value={{  }} size=26 /

Good:
input type=text name=recipient   value={{ user }} size=26 /

Thanks

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



[google-appengine] Re: key_name and Model API V2

2009-03-09 Thread Waldemar Kornewald

Hi Ryan,

On Mar 9, 1:23 am, ryan ryanb+appeng...@google.com wrote:
  Couldn't you allow for overriding ids while at the same time assigning
  free ones automatically?

 definitely! we've considered this internally for a while. we'd love to
 provide operations for advanced users to manage the id namespace, e.g.
 NextId(), SetNextId(), and ReserveIds(), which would all take a root
 entity as their argument.

Does this mean that I'd have to call SetNextId() if I create an entity
with a custom ID or will NextId() take care of not returning already
taken IDs even if they were set manually?

ID management is by far not as important as being able to set custom
ids. Could you please at least give that little feature a higher
priority? That would solve a major App Engine issue.

  Alternatively, would it be possible to configure models such that the
  datastore assigns an unused key_name instead of an id? Is there really
  such a huge performance problem with that? I'd accept it any time
  because the price of using key ids is just too high for us (it could
  be seen as some kind of vendor lock-in).

 this would be backward incompatible, since most existing entities use
 ids, so it's more unlikely. migrating would be doable, but painful.
 we're definitely interested in the id managament calls described
 above, though!

Why would that be backwards-incompatible? If you give us custom IDs
this feature isn't so important, anyway (though, still very useful for
our project).

What I imagined was a simple flag that you can set when calling the
constructor:

MyModel(key_name=GENERATE_RANDOM)

or a model flag:

class MyModel...
RANDOM_KEY_NAMES = True

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



[google-appengine] Why this is happening?

2009-03-09 Thread arnie

Using django templates I have written a very simple method in views.py
as below
def signin(request):
  return return_to_response('overview.html')

Though I am successfully getting the overview.html page but what is
problematic here is that the browser address bar now becomes something
like this [the query string]
?first_name=ssslast_name=aaa
How can I prevent this query string from being generated?
Thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: File Size and Total Files on Disk Limits?

2009-03-09 Thread Michael O'Brien

Hi Lee,

according to the roadmap, support for large files (and, I'd guess, as
many files as you want to pay for) is coming between now and June:

http://code.google.com/appengine/docs/roadmap.html

Until then, your best bet is probably Amazon S3.

cheers
Michael

On Mar 9, 12:11 am, Lee Olayvar leeolay...@gmail.com wrote:
 Note that i am aware of the filesize raise to 10mb, but in reality, its
 pointless in my opinion. It's basically disk filesize raise only. Given that
 you can only store 1000 files on the disk, you can't actually expect to
 store files on the disk for any real amount of time given that eventually
 you'd hit 1000 files and be hosed.

 On Sun, Mar 8, 2009 at 2:38 PM, Lee Olayvar leeolay...@gmail.com wrote:
  With the pricing system in place, has there been any talk of lifting both
  the file size limit, and the maximum of 1000 files on disk?

  My main concern though is the file size limit. With google system i'd love
  to use it but my need revolves around 50MB files, both images and audio. Any
  ideas if this will even be possibly anytime soon?

  Has google even mentioned it with all the recent pricing talk?

  --
  Lee Olayvar

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



[google-appengine] Re: Why this is happening?

2009-03-09 Thread Michael O'Brien

Your signin view should probably redirect to the overview rather than
just writing the template.

So you could use something like:

def overview(request):
   return return_to_response('overview.html')

def signin(request):
   return HttpResponseRedirect(reverse(overview))

cheers
Michael

On Mar 9, 11:41 am, arnie parvez...@rediffmail.com wrote:
 Using django templates I have written a very simple method in views.py
 as below
 def signin(request):
       return return_to_response('overview.html')

 Though I am successfully getting the overview.html page but what is
 problematic here is that the browser address bar now becomes something
 like this [the query string]
 ?first_name=ssslast_name=aaa
 How can I prevent this query string from being generated?
 Thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] This application ID or version is already in use. Why?

2009-03-09 Thread K_Reverter

When I create create an application as dituren.appspot.com

I got a 400 error This application ID or version is already in use.

But when I click the Check availability ,
 I got a message Yes, dituren is available!

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



[google-appengine] Re: iterate thru 2 stringlistproperties in template

2009-03-09 Thread Andi Albrecht

I would zip() both lists on the Python side and iterate over that
zipped lists in the template, e.g.

# Python side
newval = zip(stringlist1, stringlist2)

# Template
{%for item in newval%}
{{item.0}} and {{item.1}}
{%endfor%}

Regards,

Andi

On Mon, Mar 9, 2009 at 2:19 PM, sagey sage...@gmail.com wrote:

 Hello,

 please forgive the beginners question.

 I have a model with 2 string list properties.

 How do i iterate through each list in the template at the same time.

 What i mean is, say i wanted to output

 stringlist1value1    and stringlist2value1
 stringlist1value2    and string list2value2
 stringlist1value3    and string list2value3

 etc etc

 how would i do this?

 if i were doing this in python code i would maybe increment a
 loopcount in a for loop
 but i don't believe i can do this using django template syntax.



 


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



[google-appengine] Re: Somewhat Disappointed.

2009-03-09 Thread Joe Bowman

Server side javascript would be awesome, I have to admit.

The challenges you are running into with having to use python and
javascript is just the nature of the game right now in most shops.
Don't forget CSS, and making sure both your CSS and javascript work
across all browsers. ugh

On Mar 9, 12:12 am, Owen o...@backspaces.net wrote:
 OK, I *love* GAE getting outa beta and charging.  Yup, I *wanna* pay,
 so that I can get what I'd like.

 BUT: the downside is that they haven't offered me what I want.  Django
 templates are fine, as is Python.  But on the client side I still have
 to wrestle with Javascript .. which is also a fine language.

 So what's my beef?  That I gotta use *two* languages.  Wimp that I am,
 I'm sorta getting tired of this.  I've written a fairly complicated
 GAE app, with Google Maps (and lately a few JS libraries), and I still
 get the two wonderful languages mixed up.

 So if I'm going to start paying, I want some love.  Either:

 1 - A Python environment that emits Javascript for the browser (think
 GWT)
 .. or
 2 - A server-side Javascript solution, like Aptana  Jaxer .

 After looking at the *huge* advances in Javascript code, I'm tempted
 to move from 1 to 2.  Lively Kernel is really nice, as is the JS
 version of Processing.org's graphics.

 But Google, as much as I love ya, you're still in beta.  I like your
 approach much more than Amazon's, and I think your getting there, but
 you're puzzling a lot of us who see you using GWT for high end apps,
 but not giving us GAE folks the full Monty.

 So what's your next move?

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



[google-appengine] Re: app-engine-patch migration problem

2009-03-09 Thread wonglik

Thx that was it :)

regards
Mateusz

On Mar 8, 11:07 pm, Waldemar Kornewald wkornew...@gmail.com wrote:
 Hi,

 On 8 Mrz., 19:39,wonglikwag...@gmail.com wrote:

  I am trying to migrate appengine-django project to use app-engine-
  path. Among other problems I get something really strange (for
  me :) ). While trying to run my app I have trouble importing my
  models :

  KindError at /

  No implementation for kind 'Club'

 In your settings.py add this:
 DJANGO_STYLE_MODEL_KIND = False

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



[google-appengine] Django Block feature and Google App Engine

2009-03-09 Thread Morten Bruhn

Hi Guys,

First of all I am a newbie, but I still hope you can help me...


I have created an app with a template - this works! :-)

class MainHandler(webapp.RequestHandler):

  def get(self):
self.response.out.write(
template.render('base.html',''))



In my main.html I have the following:

div class=container
{% block content %}

{% endblock %}
/div



And then ind my content.html i have:

{% extends 'base.html' %}
{% block content %}
som HTML
{% endblock %}


But it just won't show up on my base.html page... Why why??

Any ideas???

Kind Regards

// Morten

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



[google-appengine] can't receive Verify my Account by SMS

2009-03-09 Thread yaoyus...@gmail.com

I'm at china,simple chinese. I can't receive Verify code by SMS, 138
mobile. any help is please,thanks!

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



[google-appengine] I have an app I'd like to build - the question is GAE the right platform?

2009-03-09 Thread pierrette.mon...@googlemail.com

Hi,

So basically my background is java and scripting languages web
application development, RDMS, that sort of thing.I have a project I'd
like to build with GAE because it is expected to be very popular and
needs to scale.

I'm used to scalability issues because I build serveral large sites
which ran into issues that went beyond the sort of thing you can solve
by 'better indexing your queries' - so I do understand the need for a
mindset change and a different approach to architecture
(denormalization, etc). I also do understand that there are
limitations that are inherent to GAE and I'll have to live with it.

However, I am concerned that these limits will prevent us to even
build the application - in particular, here's a scenario I'd like to
know if it is possible to deploy or not:
- Users (probably around 50,000 for starters, to scale to 500-600K),
create 'mini websites'. Each of these sites contains various types of
media (image gallery, blog, etc).
- A 'centralized', parent site give visitors the chance to 'browse'
these sites. For example, the specs require that a page holding 'the
last 400 blog posts posted by any of the mini-sites owners' be
displayed. It should also be possible to filter all the mini sites
content by tag . So for example, if I clicked the 'cats' tag, I'd get
a recordset containing all the content that was ever posted about
cats, regardless of source (blog, images, etc). It means searching
through dozens of millions of rows for each 'table' - and there's a
'table' for each type of content (because a blog post is structured
differently from an image gallery).

Since I read so much about limitations on large queries, etc, I was
wondering if the above is even something I could consider for
implementation on GAE.

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-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: key_name and Model API V2

2009-03-09 Thread ryan

On Mar 8, 6:28 pm, Andy Freeman ana...@earthlink.net wrote:

 I assume that one of those operations allows programmers to assign the
 id to a db.Model instance for a new entity.

On Mar 9, 4:29 am, Waldemar Kornewald wkornew...@gmail.com wrote:

 ID management is by far not as important as being able to set custom
 ids. Could you please at least give that little feature a higher
 priority? That would solve a major App Engine issue.

sorry, i probably got ahead of myself by naming specific calls.
naturally, if/when we implement these features, we'd let you set a new
entity's id manually, as well as possibly do more specific things to
manage id namespaces.

we have a decent idea of how we'll implement all this in the datastore
backend, but we haven't thought at all about the developer API yet, so
you all are ahead of me. :P


On Mar 8, 6:28 pm, Andy Freeman ana...@earthlink.net wrote:

 I understand why you're considering doing that, but it would also be
 nice to have similar operations wrt no root.  I don't always have a
 reasonable way to name the root for a set of entities that I want to
 create atomically.  For such roots, auto assigned ids are perfectly
 acceptable.  However, since I currently don't get the id until after
 the put, I can't use a single put to do the root and the children
 without naming the root.  Yes, I can wrap two puts, one for the root
 and a second for the children, into a transaction, but if I also want
 the root to contain the children's keys, I can't get their names until
 after the put that sets the root's id, which means that I need to put
 the root entity twice, the second time with the children's names, and
 I can't do that in a transaction.

correct, and we've definitely run into this a few times ourselves.
happily, any feature that let you set a new entity's id manually will
naturally handle this use case.

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



[google-appengine] Re: Google AdSense on App Engine

2009-03-09 Thread Ryan Lamansky

Yes.

If you direct both AdSesnse and App Engine to the same bank account,
it will pay for itself if your advertising income covers your resource
usage fees.

-Ryan

On Mar 8, 12:11 pm, Let Delete My Apps davide.rogn...@gmail.com
wrote:
 Idea:
 Can I put AdSense on my app to receive additional computing resources,
 instead to receive money?

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



[google-appengine] Google App Engine as a Google Summer of Code mentor organization?

2009-03-09 Thread Haoyu Bai

Hi,

Google Summer of Code 2009 is started. (http://socghop.appspot.com/)
I'm wondering if App Engine will participated as a mentor organization
for GAE related open source projects?

Thanks!

-- Haoyu Bai

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



[google-appengine] Re: I have an app I'd like to build - the question is GAE the right platform?

2009-03-09 Thread Ryan Lamansky

The biggest challenge to using the app engine is adjusting to the fact
that the datastore, despite it's SQL-like outward appearance, is
basically just an object store.  Accessing or updating an individual
record has equivalent performance to updating a file on disk.

Addressing your specific concerns:
- Users: That sort of scalability shouldn't be a problem.  The most
important thing is to limit write contention on centralized
resources.
- Centralized parent site: This is the hardest part.  The 1000-item
limit is a little bit misleading, in my experience; you start having
performance problems well before you get that high.  It's almost
impossible to display 400 of anything at once on the Google app
engine; you have to find ways to show less while still making the rest
available.  It does support indexing, so you can use the equivalent of
a WHERE filter to limit results to a specific tag, for example, and
you also have the equivalent to ORDER BY, which when used together,
make simple next / previous paging possible.

Another problem is Python: the language goes all out to let you do
just about anything imaginable, the consequence is that virtually
nothing can be checked at compile-time... you have to test extensively
to make sure all the code is being exercised to avoid live problems.

-Ryan

On Mar 9, 5:45 am, pierrette.mon...@googlemail.com
pierrette.mon...@googlemail.com wrote:
 Hi,

 So basically my background is java and scripting languages web
 application development, RDMS, that sort of thing.I have a project I'd
 like to build with GAE because it is expected to be very popular and
 needs to scale.

 I'm used to scalability issues because I build serveral large sites
 which ran into issues that went beyond the sort of thing you can solve
 by 'better indexing your queries' - so I do understand the need for a
 mindset change and a different approach to architecture
 (denormalization, etc). I also do understand that there are
 limitations that are inherent to GAE and I'll have to live with it.

 However, I am concerned that these limits will prevent us to even
 build the application - in particular, here's a scenario I'd like to
 know if it is possible to deploy or not:
 - Users (probably around 50,000 for starters, to scale to 500-600K),
 create 'mini websites'. Each of these sites contains various types of
 media (image gallery, blog, etc).
 - A 'centralized', parent site give visitors the chance to 'browse'
 these sites. For example, the specs require that a page holding 'the
 last 400 blog posts posted by any of the mini-sites owners' be
 displayed. It should also be possible to filter all the mini sites
 content by tag . So for example, if I clicked the 'cats' tag, I'd get
 a recordset containing all the content that was ever posted about
 cats, regardless of source (blog, images, etc). It means searching
 through dozens of millions of rows for each 'table' - and there's a
 'table' for each type of content (because a blog post is structured
 differently from an image gallery).

 Since I read so much about limitations on large queries, etc, I was
 wondering if the above is even something I could consider for
 implementation on GAE.

 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-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: email change propagation

2009-03-09 Thread Ryan Lamansky

If 5 more people star the issue that kjsun linked to (
http://code.google.com/p/googleappengine/issues/detail?id=1019 ),
it'll be on the font page of the issues list and it'll be the first
bug on that page with an ID over 1000 :)

-Ryan

On Mar 9, 4:53 am, ksjun happy...@gmail.com wrote:
 http://code.google.com/p/googleappengine/issues/detail?id=1019

 On 3월9일, 오후1시55분, yucc yucc2...@gmail.com wrote:

  As mentioned 
  athttp://code.google.com/appengine/docs/python/users/userobjects.html,
  I just can't figure out what's the exactly situation for While an
  email address is unique to an account at a given moment, the user can
  change the email address for the account at any time ?What does that
  mean ?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: Open Sourcing some Google App Engine Apps

2009-03-09 Thread Paul Kinlan

Hi Again Everyone,

Just to let you know I have opened the source code for www.atopical.com
at https://github.com/PaulKinlan/a-topical/tree .  I call the search
engine a dynamic vertical search engine, because it searches
vertically dynamically ;)

It uses Yahoo Boss and searches Yahoo for the top 10 results for a
given subject, then using these results then searches those sites for
the topic your are interested in, so for example you could search for
Ipod in Tech News, it would search Yahoo for Tech News, then from
the top results search those sites for the word iPod.

So if you are interested in Yahoo Boss, you can see what I have done
(and tell me how to do it better) and how I have made it work.  You
will be able to tell from the code that it didn't take very long to
create :)

Kind Regards,
Paul Kinlan

On Mar 7, 11:17 am, Paul Kinlan paul.kin...@gmail.com wrote:
 Hi Everyone,

 Just to let you know I am in the process of open-sourcing a lot of the Apps
 that I have created.

 So far I have done

    -http://www.eweri.com- a url shortening service that gets a lot of use
    on TweetDeck (http://github.com/PaulKinlan/eweri)
    -http://www.knowyourprivacy.com- a facebook application to show you the
    ammount of data you can loose on Facebook (
    http://github.com/PaulKinlan/knowyourprivacy)
    -http://www.thetopicthing.com- a meta search engine (
    http://github.com/PaulKinlan/thetopicthing)

 Hopefully it will help all new Google App Engine Developers and show them
 what not to do :)

 I have a couple of others that I can release such aswww.twollo.comand some
 others.

 I am toying with releasingwww.FriendDeck.com, but there are some practical
 issues that I need to sort out with the CodeSigning and stuff for that to
 happen.

 Enjoy.

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



[google-appengine] Re: Open Sourcing some Google App Engine Apps

2009-03-09 Thread Amr Ellafi
Hey Paul,
Many thanks for those posting. I find them very inspiring to the open-source
community.

Keep the good work coming !

Amr

On Mon, Mar 9, 2009 at 7:17 PM, Paul Kinlan paul.kin...@gmail.com wrote:


 Hi Again Everyone,

 Just to let you know I have opened the source code for www.atopical.com
 at https://github.com/PaulKinlan/a-topical/tree .  I call the search
 engine a dynamic vertical search engine, because it searches
 vertically dynamically ;)

 It uses Yahoo Boss and searches Yahoo for the top 10 results for a
 given subject, then using these results then searches those sites for
 the topic your are interested in, so for example you could search for
 Ipod in Tech News, it would search Yahoo for Tech News, then from
 the top results search those sites for the word iPod.

 So if you are interested in Yahoo Boss, you can see what I have done
 (and tell me how to do it better) and how I have made it work.  You
 will be able to tell from the code that it didn't take very long to
 create :)

 Kind Regards,
 Paul Kinlan

 On Mar 7, 11:17 am, Paul Kinlan paul.kin...@gmail.com wrote:
  Hi Everyone,
 
  Just to let you know I am in the process of open-sourcing a lot of the
 Apps
  that I have created.
 
  So far I have done
 
 -http://www.eweri.com- a url shortening service that gets a lot of
 use
 on TweetDeck (http://github.com/PaulKinlan/eweri)
 -http://www.knowyourprivacy.com- a facebook application to show you
 the
 ammount of data you can loose on Facebook (
 http://github.com/PaulKinlan/knowyourprivacy)
 -http://www.thetopicthing.com- a meta search engine (
 http://github.com/PaulKinlan/thetopicthing)
 
  Hopefully it will help all new Google App Engine Developers and show them
  what not to do :)
 
  I have a couple of others that I can release such aswww.twollo.comand
 some
  others.
 
  I am toying with releasingwww.FriendDeck.com, but there are some
 practical
  issues that I need to sort out with the CodeSigning and stuff for that to
  happen.
 
  Enjoy.
 
  Paul Kinlan
 


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



[google-appengine] Re: Cannot Properly Catch DeadlineExceededError

2009-03-09 Thread GAEfan

Any news on this?  These timeouts are killing me.

Thanks,

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



[google-appengine] Re: Problem with bulkloader.py and Google Apps account.

2009-03-09 Thread Marzia Niccolai
Hi,

The authentication should work with either a Google Apps or Google Accounts
login.  Looking over the bulkload module, two thoughts come to my mind:

1) The docstring indicates that the username and password are cached, so if
you enter it incorrectly, that may be cached

2) If your account is both a Google Apps account and a Google Account, this
could be a problem.  Try having an admin that is only a Google Apps account,
and see if authentication works with this account.

-Marzia

On Fri, Mar 6, 2009 at 7:28 PM, Denis Moskalets denya@gmail.com wrote:


 Hi.

 I have appengine application, that supports authorization only for
 users of domain xxx (google apps for domains).
 I tried to use bulkloader.

 So, if i install remote_key hook in app.yaml like in manual (http://
 code.google.com/appengine/docs/python/tools/uploadingdata.html), i've
 500 error in logs. bulkloader haven't even ask me about login/
 password.
 I've removed line admin: yes from app.yaml and tried again.
 Bulkloader asked me about login/password. I've typed such login/
 passowrd which i type when deploy application. In Logs i've 401
 error.

 So, is there no remote_key support in applications, that connected to
 google apps for domain authorization?

 I need to upload a lot of data to my real app What can i do?
 


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



[google-appengine] Re: Open Sourcing some Google App Engine Apps

2009-03-09 Thread Marzia Niccolai
Hi Paul,

Would you like me to put these projects on our Open Source page?
http://groups.google.com/group/google-appengine/web/google-app-engine-open-source-projects

-Marzia

On Mon, Mar 9, 2009 at 10:17 AM, Paul Kinlan paul.kin...@gmail.com wrote:


 Hi Again Everyone,

 Just to let you know I have opened the source code for www.atopical.com
 at https://github.com/PaulKinlan/a-topical/tree .  I call the search
 engine a dynamic vertical search engine, because it searches
 vertically dynamically ;)

 It uses Yahoo Boss and searches Yahoo for the top 10 results for a
 given subject, then using these results then searches those sites for
 the topic your are interested in, so for example you could search for
 Ipod in Tech News, it would search Yahoo for Tech News, then from
 the top results search those sites for the word iPod.

 So if you are interested in Yahoo Boss, you can see what I have done
 (and tell me how to do it better) and how I have made it work.  You
 will be able to tell from the code that it didn't take very long to
 create :)

 Kind Regards,
 Paul Kinlan

 On Mar 7, 11:17 am, Paul Kinlan paul.kin...@gmail.com wrote:
  Hi Everyone,
 
  Just to let you know I am in the process of open-sourcing a lot of the
 Apps
  that I have created.
 
  So far I have done
 
 -http://www.eweri.com- a url shortening service that gets a lot of
 use
 on TweetDeck (http://github.com/PaulKinlan/eweri)
 -http://www.knowyourprivacy.com- a facebook application to show you
 the
 ammount of data you can loose on Facebook (
 http://github.com/PaulKinlan/knowyourprivacy)
 -http://www.thetopicthing.com- a meta search engine (
 http://github.com/PaulKinlan/thetopicthing)
 
  Hopefully it will help all new Google App Engine Developers and show them
  what not to do :)
 
  I have a couple of others that I can release such aswww.twollo.comand
 some
  others.
 
  I am toying with releasingwww.FriendDeck.com, but there are some
 practical
  issues that I need to sort out with the CodeSigning and stuff for that to
  happen.
 
  Enjoy.
 
  Paul Kinlan
 


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



[google-appengine] Re: Datastore errors, timeouts, general difficulties

2009-03-09 Thread Marzia Niccolai
Hi,

My apologies for not closing 452.  With the launch of billing, this issue
was fixed, we now run a process that correctly accounts for the  amount of
datastore usage.  Deletes may not immediately be reflected, but they will be
eventually.  So if you did delete all of your data this should be accounted
for, minus some delay.

What is likely is that you are seeing we now include indexes when accounting
for storage usage, which we did not previously do:
http://code.google.com/appengine/kb/billing.html#indexes

-Marzia

On Sat, Mar 7, 2009 at 7:42 AM, Brandon Thomson gra...@gmail.com wrote:


 These may be relevant:


 http://groups.google.com/group/google-appengine/browse_thread/thread/517c7da78454da66/939a67117246d120?lnk=gstq=log+storage#939a67117246d120

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

 Basically you need to get the entity before you delete or it will be
 gone without reducing your storage quota.

 On Mar 7, 2:58 am, Jonathan Ultis jonathan.ul...@gmail.com wrote:
  That should read, after deleting, I'm now using 99% of my data storage
  limit with no additional puts.
 
  On Mar 6, 6:00 pm, Jonathan Ultis jonathan.ul...@gmail.com wrote:
 
   I created a simple page that simply instantiates and stores a model
   with about 9 primitive properties. The model is filled with the same
   data each time, and that data is less than 100 bytes. I don't have
   indices on any of the properties.
 
   I did some load tests, storing approximately half a million of the
   objects at most. Some of the tests were done during the recent latency
   problems. Some were done after latency was stabilized. All tests with
   significant concurrency (50) generated fairly high timeout and quota
   exceeded error rates. So, I got significant log spew.
 
   My total data size should be around 50 megs of real user data.
 
   Today, my data usage jumped from about 0.5% of my data storage limit
   to 67% of my data storage limit without any intervening tests. That
   was surprising since that's about 10x what I really should be using.
   But, I figured that data limit might count all replicas or something
   odd. And, perhaps there's a latency between the data store and the
   data size calculation. So, I wrote a delete all page that deletes 50
   items, then redirects to itself, to delete the next 50. I just delete
   the first 50 items returned. I'm not paging or anything. The script
   works locally.
 
   I ran that delete page for a while, periodically getting annoying
   timeouts and quota exceeded. I did not run the page in parallel.
 
   Now that I'm using 99% of my data storage limit. I'm afraid I may have
   to buy data storage before I can delete more items.
 
   Any ideas?
 


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



[google-appengine] Re: appcfg.py update error after upgrading to 1.1.9 and google-appengine-patch 1.0

2009-03-09 Thread Marzia Niccolai
Hi,

Does this happen after you run the appcfg.py rollback command?

-Marzia

On Sun, Mar 8, 2009 at 9:57 PM, Will vocalster@gmail.com wrote:

 Hi there,

 I recently upgraded to GAE 1.1.9, and google-appengine-patch 1.0. The local
 test run is fine, but when I tried to upload to server using appcfg.py
 update, I got an error (see below). I'm using Python 2.5.2, Windows XP.

 Thanks in advance.

 Will

 -
 2009-03-09 12:03:13,171 ERROR appcfg.py:1235 An unexpected error occurred.
 Abort
 ing.
 Traceback (most recent call last):
   File C:\Program
 Files\Google\google_appengine\google\appengine\tools\appcfg.p
 y, line 1213, in DoUpload
 missing_files = self.Begin()
   File C:\Program
 Files\Google\google_appengine\google\appengine\tools\appcfg.p
 y, line 1009, in Begin
 version=self.version, payload=self.config.ToYAML())
   File C:\Program
 Files\Google\google_appengine\google\appengine\tools\appengin
 e_rpc.py, line 303, in Send
 f = self.opener.open(req)
   File C:\Python25\lib\urllib2.py, line 387, in open
 response = meth(req, response)
   File C:\Python25\lib\urllib2.py, line 498, in http_response
 'http', request, response, code, msg, hdrs)
   File C:\Python25\lib\urllib2.py, line 425, in error
 return self._call_chain(*args)
   File C:\Python25\lib\urllib2.py, line 360, in _call_chain
 result = func(*args)
   File C:\Python25\lib\urllib2.py, line 506, in http_error_default
 raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
 HTTPError: HTTP Error 409: Conflict
 Error 409: --- begin server output ---
 Another transaction by user vocalster.app is already in progress for this
 app an
 d major version. That user can undo the transaction with appcfg.py's
 rollback
 command.
 --- end server output ---

 


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



[google-appengine] Re: This application ID or version is already in use. Why?

2009-03-09 Thread Marzia Niccolai
Hi,

This is a known issue with the 'Check availability' functionality.  Gmail
and App Engine share the same namespace, but in Gmail when you reserve eg
d1turen, dituren is also reserved. The Check availability function does not
correctly check for this case.

So if you get the message 'This application ID or version is already in use'
you will not be able to reserve the id.

-Marzia

On Mon, Mar 9, 2009 at 6:11 AM, K_Reverter kunhua...@gmail.com wrote:


 When I create create an application as dituren.appspot.com

 I got a 400 error This application ID or version is already in use.

 But when I click the Check availability ,
  I got a message Yes, dituren is available!

 Why? Please help me!
 


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



[google-appengine] transition from appspot to own domain

2009-03-09 Thread Andy Freeman

If I start my GAE application on an appspot domain, say
andyspotofgold.appspot.com and then later decide that I'd like to have
it (also be) accessible via www.andyspotofgold.com, what do I have to
do?  (Assume that I can somehow get the rights to andyspotofgold.com.)

I'd guess that there are two alternatives, (1) getting the name
andyspotofgold.com through google apps and (2) registering it with
someone else, such as godaddy.  (I understand that I can't get
andyspotofgold.com to work with app engine.)

Note - I'm not interested in restricting users to those who are
associated with a google apps domain?

Where do I find instructions on these alternatives?

thanks,
-andy

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



[google-appengine] Re: transition from appspot to own domain

2009-03-09 Thread Wooble

The instructions are at http://code.google.com/appengine/articles/domains.html

As long as you don't want to use the Google Apps domain to
authenticate users, it really doesn't matter if you use Google Apps
from the beginning or add the domain later.  You basically just need
to register the domain as a Google Apps domain (regardless of the
registrar you use the purchase the domain), configure your DNS
appropriately, and add the domain to the app.

On Mar 9, 2:55 pm, Andy Freeman ana...@earthlink.net wrote:
 If I start my GAE application on an appspot domain, say
 andyspotofgold.appspot.com and then later decide that I'd like to have
 it (also be) accessible viawww.andyspotofgold.com, what do I have to
 do?  (Assume that I can somehow get the rights to andyspotofgold.com.)

 I'd guess that there are two alternatives, (1) getting the name
 andyspotofgold.com through google apps and (2) registering it with
 someone else, such as godaddy.  (I understand that I can't get
 andyspotofgold.com to work with app engine.)

 Note - I'm not interested in restricting users to those who are
 associated with a google apps domain?

 Where do I find instructions on these alternatives?

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



[google-appengine] Re: This application ID or version is already in use. Why?

2009-03-09 Thread Andy Freeman

Does gmail reserve names corresponding to .com domains?

On Mar 9, 11:43 am, Marzia Niccolai ma...@google.com wrote:
 Hi,

 This is a known issue with the 'Check availability' functionality.  Gmail
 and App Engine share the same namespace, but in Gmail when you reserve eg
 d1turen, dituren is also reserved. The Check availability function does not
 correctly check for this case.

 So if you get the message 'This application ID or version is already in use'
 you will not be able to reserve the id.

 -Marzia



 On Mon, Mar 9, 2009 at 6:11 AM, K_Reverter kunhua...@gmail.com wrote:

  When I create create an application as dituren.appspot.com

  I got a 400 error This application ID or version is already in use.

  But when I click the Check availability ,
   I got a message Yes, dituren is available!

  Why? Please help me!- Hide quoted text -

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



[google-appengine] Re: Google AdSense on App Engine

2009-03-09 Thread Let Delete My Apps

:-)
I thinking without a bank insecure account...
.
.
.
On Mar 9, 5:40 pm, Ryan Lamansky spam...@kardax.com wrote:
 Yes.

 If you direct both AdSesnse and App Engine to the same bank account,
 it will pay for itself if your advertising income covers your resource
 usage fees.

 -Ryan

 On Mar 8, 12:11 pm, Let Delete My Apps davide.rogn...@gmail.com
 wrote:

  Idea:
  Can I put AdSense on my app to receive additional computing resources,
  instead to receive money?

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



[google-appengine] Re: Converting model objects to JSON

2009-03-09 Thread Let Delete My Apps

Wonderful :-)

On Mar 8, 11:02 pm, Bastian Hoyer daf...@gmail.com wrote:
 On 7 Mrz., 23:23, Let Delete My Apps davide.rogn...@gmail.com wrote:

  results = []
  for app in apps:
      results.append({appname : app.appname})

 just a small tip.. you can write this as

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



[google-appengine] Re: This application ID or version is already in use. Why?

2009-03-09 Thread Marzia Niccolai
Hi,

No, Gmail names do have any correspondence to website addresses.

-Marzia

On Mon, Mar 9, 2009 at 1:11 PM, Andy Freeman ana...@earthlink.net wrote:


 Does gmail reserve names corresponding to .com domains?

 On Mar 9, 11:43 am, Marzia Niccolai ma...@google.com wrote:
  Hi,
 
  This is a known issue with the 'Check availability' functionality.  Gmail
  and App Engine share the same namespace, but in Gmail when you reserve eg
  d1turen, dituren is also reserved. The Check availability function does
 not
  correctly check for this case.
 
  So if you get the message 'This application ID or version is already in
 use'
  you will not be able to reserve the id.
 
  -Marzia
 
 
 
  On Mon, Mar 9, 2009 at 6:11 AM, K_Reverter kunhua...@gmail.com wrote:
 
   When I create create an application as dituren.appspot.com
 
   I got a 400 error This application ID or version is already in use.
 
   But when I click the Check availability ,
I got a message Yes, dituren is available!
 
   Why? Please help me!- Hide quoted text -
 
  - Show quoted text -
 


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



[google-appengine] *** BigTable vs SQLite vs MySQL ***

2009-03-09 Thread Let Delete My Apps

Back to the past:

 I planned to migrate a python app ... but my tests on google engine
was really bad, compare to sqlite or mysql.

http://groups.google.com/group/google-appengine/browse_thread/thread/b5696cc608bf76f9/afec4fdd936fa3ee?tvc=2q=slow+database#afec4fdd936fa3ee

Now?
Does the Comparison Table exists?

--
http://pyoohtml.appspot.com/let-delete-my-apps/home

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



[google-appengine] Getting __title__ is not defined error

2009-03-09 Thread Marcelo Sena

Hi, I'm getting the following error message when trying to run my
application:

   1 if __title__ == __main__:
2   main()
__title__ undefined

type 'exceptions.NameError': name '__title__' is not defined
  args = (name '__title__' is not defined,)
  message = name '__title__' is not defined


Were is the URL I'm accessing :

http://127.0.0.1:8080/

Here is the content of my app.yaml file:

application: arcthingpad
version: 1
runtime: python
api_version: 1

handlers:

- url: /stylesheets
  static_dir: stylesheets


- url: /.*
  script: arcthingpad.py

And here is the content of my arcthingpad.py file:

if __title__ == __main__:
  main()

I removed all the code logic, just to be sure I wasn't doing anything
stupid. Still I'm getting this error and the helloworld application
works normally.

Any ideas?

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



[google-appengine] Re: Somewhat Disappointed.

2009-03-09 Thread peterh

http://code.google.com/p/pyjamas/
Pyjamas is a cross-browser Web App development API that allows you to
write your client side functionality in Python.
While it looks like a desktop API, Pyjamas is a stand alone Python to
JavaScript compiler, an AJAX framework / library and a comprehensive
widget set API.


On Mar 9, 12:12 am, Owen o...@backspaces.net wrote:
 OK, I *love* GAE getting outa beta and charging.  Yup, I *wanna* pay,
 so that I can get what I'd like.

 BUT: the downside is that they haven't offered me what I want.  Django
 templates are fine, as is Python.  But on the client side I still have
 to wrestle with Javascript .. which is also a fine language.

 So what's my beef?  That I gotta use *two* languages.  Wimp that I am,
 I'm sorta getting tired of this.  I've written a fairly complicated
 GAE app, with Google Maps (and lately a few JS libraries), and I still
 get the two wonderful languages mixed up.

 So if I'm going to start paying, I want some love.  Either:

 1 - A Python environment that emits Javascript for the browser (think
 GWT)
 .. or
 2 - A server-side Javascript solution, like Aptana  Jaxer .

 After looking at the *huge* advances in Javascript code, I'm tempted
 to move from 1 to 2.  Lively Kernel is really nice, as is the JS
 version of Processing.org's graphics.

 But Google, as much as I love ya, you're still in beta.  I like your
 approach much more than Amazon's, and I think your getting there, but
 you're puzzling a lot of us who see you using GWT for high end apps,
 but not giving us GAE folks the full Monty.

 So what's your next move?

    -- Owen

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



[google-appengine] Re: a fundamental increase in App Engine transparency and locality is needed

2009-03-09 Thread Myroslav Opyr
Hi,

Thank you for stepping in. What I've found myself wasting a lot of time with
is quite inefficient navigation in GAE Status panel. Investigating current
performance graphs I find myself repeatedly visiting 27th of Feb graphs and
actual graphs and comparing scales.

Can you invest a bit more time and employ Google Finance Flash scalable
graph for performance graphs? That would help us to understand if situation
is any better over the days and what tendencies are.

And I'm interested only in Serving.Fibonacci and Datastore.Query graphs. I'd
like to have them both on single graph, like different stock symbols, but
grath would need to have double (colored?) scale for 2 overlayed graphs and
triple for three of them.

FYI, I like GregF proposal for confidence percentage for issues. It look
like you can expose any issue report that have confidence higher then 30% as
official ;)

Regards,

m.

On Fri, Mar 6, 2009 at 21:37, Jon McAlister jon...@google.com wrote:


 This is a very interesting thread. And yes, indeed, cluster stability
 and uptime and transparency are all of the utmost importance to us
 here on the App Engine team.

 I also agree that a fundamental increase in transparency would serve
 everyone's interests.

 As far as I can tell, transparency through a crisis occurs in one of
 three ways: (a) direct communication, (b) broadcasts of pr-approved
 messages, and (c) raw data.

 As an engineer, I like (c) more than (a) or (b). It's objective, and
 it can be distributed more efficiently. It's more efficient than (b)
 because we don't have to wordsmith it or get it reviewed and approved,
 it just goes out immediately. It's more efficient than (a) because it
 happens automatically; you don't take up the time of an engineer who
 would otherwise be busy trying to solve the problem.

 This is why our team has made it a priority to be very transparent
 about real time and detailed performance data with our Status Site:
 http://code.google.com/status/appengine. I encourage everyone who
 cares about their application to spend a bit of time learning that
 site. Make sure to click through to the detailed graphs as well.
 Further, if there is more data you would like us to export, then let
 us know. It is in everyone's best interests for us to export more raw
 data.

 It is my personal belief that by continuing to iterate and improve
 upon our Status Site that we will achieve the fundamental increase in
 transparency, as opposed to Daniel's proposal of dedicated hardware,
 direct communication, and promises as to when problems will be fixed.
 Although, Daniel does bring up the excellent point that there is not a
 particularly efficient way for developers to report live production
 problems other than this group. Any thoughts on systems that we should
 look into here to make this more efficient?

 Jon

 On Fri, Mar 6, 2009 at 9:25 AM, johnP j...@thinkwave.com wrote:
 
  My experience has shown that customers are generally OK with a
  response:  There is a problem.  We are aware of it and people are
  working on it.  It is estimated to be resolved in X time.
 
  So if we (as vendors) are able to act as a positive PR army for
  AppEngine, we need to be quickly armed with the data necessary to
  accurately answer the above questions.
 
  If vendors (on the front lines of PR Triage) don't have this data, a
  blame-game will start.  No, we have no %$#$% idea what's wrong.  No -
  those #$$#^%$ are not saying anything.  Etc.
 
  So far, I'd say the following.  Google has been almost good about
  keeping the information flowing.  There have been periods of 'radio
  silence'; and the official status report usually reports that There
  has been an anomaly but we have determined that nobody was affected
  (am I a nobody?).  But overall, they have responded.  And have
  resolved issues.  And have upgraded the product.  And in the end, have
  built something really special.
 
  And I agree with Greg about sleeping at night.
 
  johnP
 
 
 
  On Mar 6, 5:42 am, peterk peter.ke...@gmail.com wrote:
  It's an interesting issue...I think we're all happy for things to
  behave pretty much like a black box when stuff is working as it's
  meant to, but are we so happy with that when things aren't working?
 
  Personally I don't need to know who specifically is responsible for
  the machines my apps run on, to be able to contact them directly etc.
  And I don't think that's really a viable option.
 
  However, I agree more feedback on causes and fix schedules when things
  go south would be good, along with frequent updates. I think 'naming
  and shaming' Google on infrastructure let downs, on your app, would be
  an option for you too, to lay the responsibility with Google.
  Significant issues, particularly on popular apps with decent
  visibility, are surely embarassing for Google given their reputation.
  Serving them a dose of that embarassment by telling your visitors 1)
  we're Google's infrastructure, 2) they're having 

[google-appengine] query.count(1000) equal to exception Timeout()

2009-03-09 Thread magocrab

Whenever the query returns a large number of results and using the
count() function to count the value of returned results, generates the
exception Timeout() (Raised when the datastore operation exceeds the
maximum amount of time allowed for datastore operations).

Is there any solution to this problem?


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



[google-appengine] geopy (Django module) supported on app engine?

2009-03-09 Thread arbi

Hi,

I would like to know whether geopy's Django module (to geocode
addresses) is supported on app engine. Does anyone know? How to know?

If not supported, is there any solution to bring geopy to the
server?

Thx a lot

Arbi

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



[google-appengine] Re: Somewhat Disappointed.

2009-03-09 Thread nima dilmaghani
If you wait until the Google IO conference, there just may be an
announcement there that satisfies you.
Cheers,

Nima

On Mon, Mar 9, 2009 at 1:52 PM, peterh peter.hau...@gmail.com wrote:


 http://code.google.com/p/pyjamas/
 Pyjamas is a cross-browser Web App development API that allows you to
 write your client side functionality in Python.
 While it looks like a desktop API, Pyjamas is a stand alone Python to
 JavaScript compiler, an AJAX framework / library and a comprehensive
 widget set API.


 On Mar 9, 12:12 am, Owen o...@backspaces.net wrote:
  OK, I *love* GAE getting outa beta and charging.  Yup, I *wanna* pay,
  so that I can get what I'd like.
 
  BUT: the downside is that they haven't offered me what I want.  Django
  templates are fine, as is Python.  But on the client side I still have
  to wrestle with Javascript .. which is also a fine language.
 
  So what's my beef?  That I gotta use *two* languages.  Wimp that I am,
  I'm sorta getting tired of this.  I've written a fairly complicated
  GAE app, with Google Maps (and lately a few JS libraries), and I still
  get the two wonderful languages mixed up.
 
  So if I'm going to start paying, I want some love.  Either:
 
  1 - A Python environment that emits Javascript for the browser (think
  GWT)
  .. or
  2 - A server-side Javascript solution, like Aptana  Jaxer .
 
  After looking at the *huge* advances in Javascript code, I'm tempted
  to move from 1 to 2.  Lively Kernel is really nice, as is the JS
  version of Processing.org's graphics.
 
  But Google, as much as I love ya, you're still in beta.  I like your
  approach much more than Amazon's, and I think your getting there, but
  you're puzzling a lot of us who see you using GWT for high end apps,
  but not giving us GAE folks the full Monty.
 
  So what's your next move?
 
 -- Owen

 



-- 
Nima

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



[google-appengine] How big memcache can grow

2009-03-09 Thread Rhyo

friends, new to app engine please let me know what is the maximum keys
that can be added to memcache. Please let me how correct is it to add
temporary information of a million users to memcache with a separate
key of few bytes to each user and key expire time of 5
minutes.assuming that million users are online at single point of time

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



[google-appengine] DownloadError: ApplicationError: 5 Using GData Provisioning API

2009-03-09 Thread David Cifuentes

Hello,

I'm getting this error when I'm using the GData Provisioning API to
create user accounts from GAE. The weird thing is that it works well
on the development environment and even in the production server the
accounts are actually being created in Apps. I've read about this
error in other threads but there is no final solution. Can I just
catch and ignore this error?? is there a way to check if the account
was created or not depending on the availability of the provisioning
API??

/base/data/home/apps/wiivalley/1.331910885804920038/common/zip-
packages/django-1.0.2.zip/django/core/handlers/base.py, line 86, in
get_response
response = callback(request, *callback_args, **callback_kwargs)
  File /base/data/home/apps/wiivalley/1.331910885804920038/
registration/views.py, line 67, in activate
account = RegistrationProfile.objects.activate_user
(activation_key)
  File /base/data/home/apps/wiivalley/1.331910885804920038/
registration/models.py, line 85, in activate_user
service.CreateUser(user_name=user.username,
family_name=user.last_name, given_name=user.first_name,
password=profile.sha_password, password_hash_function='SHA-1')
  File /base/data/home/apps/wiivalley/1.331910885804920038/gdata/apps/
service.py, line 340, in CreateUser
return gdata.apps.UserEntryFromString(str(self.Post(user_entry,
uri)))
  File /base/data/home/apps/wiivalley/1.331910885804920038/gdata/
service.py, line 1147, in Post
media_source=media_source, converter=converter)
  File /base/data/home/apps/wiivalley/1.331910885804920038/gdata/
service.py, line 1232, in PostOrPut
headers=extra_headers)
  File /base/data/home/apps/wiivalley/1.331910885804920038/atom/
service.py, line 176, in request
data=data, headers=all_headers)
  File /base/data/home/apps/wiivalley/1.331910885804920038/gdata/
auth.py, line 704, in perform_request
return http_client.request(operation, url, data=data,
headers=headers)
  File /base/data/home/apps/wiivalley/1.331910885804920038/gdata/alt/
appengine.py, line 144, in request
method=method, headers=all_headers, follow_redirects=False))
  File /base/python_lib/versions/1/google/appengine/api/urlfetch.py,
line 273, in fetch
raise DownloadError(str(e))
DownloadError: ApplicationError: 5

Thanks for any help.

David Cifuentes
Eforcers.com
Bogotá, 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
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Algorithm advice: Help design a twist on the digg scoring model

2009-03-09 Thread esilver

Hi folks,

I have an algorithm question for the group that I've been toying with
for awhile and really want to get some fresh thoughts on. It's kind of
a twist on the digg scoring model, so I thought it might be
interesting for a lot of people on this list.

My site is http://www.wordds.com. It's basically like Google Reader +
Digg for feature-length articles from magazines. Content is not user-
contributed; instead we crawl about a dozen popular magazine sites.

Presently the home page lists recent articles, sorted into categories
based on word count. The algorithm that scores each article to
determine the order they appear on the home page (which is the same as
the recent page) sucks. I wrote it so I can say so. I'm constantly
dissatisfied and am manually tuning it too much.

The key requirement I am trying to satisfy is heterogeneity. I don't
want clumps of articles from the same source appearing next to each
other in any given word-count bucket.

Let's focus on one word count bucket, and say we are loading data from
three magazines, A, B, and C, represented by three arrays of articles:
[A1, A2, A3], [B1, B2], [C1, C2, C3, C4, C5]. If we are loading these
articles at the same time, the proper display order should be: [A1,
B1, C1, A2, B2, C2, A3, C3, C4, C5]. Any ordering of A1, B1, and C1 is
fine, any ordering of A2, B2, C2 is fine, etc, so we could reasonably
have [B1, C1, A1, A2, C2, B2, ...], but we should never have [A1, A2,
B1, C1, ...]

As we go further out in time, this restriction gets relaxed, such that
if we load a new source D a month later, where its array of articles
is [D1, D2, D3], it would be acceptable to have [D1, D2, A1, D3, B1,
C1, ...]

What I've realized is that some magazine sources publish daily/weekly
(duh), others publish monthly (duh), and the algorithm I have in place
is causing the daily/weekly magazines to rise too fast in my recent
results. Therefore, let's say that A publishes daily, B publishes
weekly, and C publishes monthly. On day 2, A publishes the following 2
new articles: [A4, A5]. The proper 'recent articles' display order
should now be:

[A4, B1, C1, A5, B2, C2, A1, C3, ...]

There are also source-specific recent pages. Thus, if you filter just
on source A, the proper display order is:
[A4, A5, A1, A2, A3]. Again, the order of article display for articles
loaded at the same time is arbitrary, so [A5, A4, A1, ...] is
acceptable too.

Back to our 'recent articles' home page: because source B publishes
weekly, it should hold its spot as the second article in the list for
up to a week. Let's say B gets lazy and doesn't publish (writers
strike). A continues its daily schedule, so now it's OK if B starts
losing some ground: one display order could be: [A10, A11, C1, A9, B1,
C2, ]

Notice that C is still holding its positions in the display order
because he publishes monthly. Eventually C would refresh and kick out
its older articles from the top of the list. And if C didn't refresh
it would be slowly replaced by A or other sources that did.

* * *

I read the article at http://code.google.com/appengine/articles/overheard.html
that talks about voting and decay. That works great for my voting
code, but not for my recent articles code. Here is my 'recent' scoring
algorithm:

# wc_bucket is the word count bucket this article is in
# wc_bucket_ct is a per-source dictionary

created = (now - datetime.datetime(2008, 10, 1)).days

if wc_bucket not in wc_bucket_ct:
   wc_bucket_ct[wc_bucket] = 1

strata = wc_bucket_ct[wc_bucket]
wc_bucket_ct[wc_bucket] = strata + 1

rnd = ((settings.DAY_SCALE * 14) / strata) + random.random() # up to a
2-wk boost
score = (created * settings.DAY_SCALE) + rnd


You can see in this code that I'm breaking up articles into various
strata and then adding a random amount to get that heterogeneity.
DAY_SCALE is set to 2, meaning each additional day is worth 2 more
points. But, this code totally doesn't capture the daily/weekly/
monthly aspect of sources, which I think is a piece of state I will
have to manually add.

Anyhow, if anyone on this list likes these sorts of algorithmic
puzzles and is inclined to propose an elegant solution, I'm all ears.
If I haven't explained anything well enough, let me know. And who
knows, maybe this would make a good interview question for someone :-)

Cheers folks,
-Eric


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



[google-appengine] Re: Getting __title__ is not defined error

2009-03-09 Thread Paul Roy

have you tried __name__ instead of __title__ ..?

Sent from my iPhone

On 09-03-09, at 15:28, Marcelo Sena marceloslace...@gmail.com wrote:


 Hi, I'm getting the following error message when trying to run my
 application:

   1 if __title__ == __main__:
2   main()
 __title__ undefined

 type 'exceptions.NameError': name '__title__' is not defined
  args = (name '__title__' is not defined,)
  message = name '__title__' is not defined


 Were is the URL I'm accessing :

 http://127.0.0.1:8080/

 Here is the content of my app.yaml file:

 application: arcthingpad
 version: 1
 runtime: python
 api_version: 1

 handlers:

 - url: /stylesheets
  static_dir: stylesheets


 - url: /.*
  script: arcthingpad.py

 And here is the content of my arcthingpad.py file:

 if __title__ == __main__:
  main()

 I removed all the code logic, just to be sure I wasn't doing anything
 stupid. Still I'm getting this error and the helloworld application
 works normally.

 Any ideas?

 

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



[google-appengine] brick vs appengine

2009-03-09 Thread appengine lubber

http://imgur.com/IFGN.png

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



[google-appengine] urlfetch json UnicodeDecodeError

2009-03-09 Thread Bemmu

I have a MySpace REST url, for which I am getting the contents. I
think that content is UTF-8 encoded, although I'm not totally sure.

response = urlfetch.fetch(url)

If I then do json.read(response), I get the following:
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position
0: ordinal not in range(128)

What am I doing wrong?

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



[google-appengine] Re: Getting __title__ is not defined error

2009-03-09 Thread Marcelo de Sena Lacerda
Yeah I tried to stop this message after I sent it, well I'll try to be more
careful when renaming fields,
 thanks anyway!

On Mon, Mar 9, 2009 at 9:32 PM, Paul Roy paul.ro...@gmail.com wrote:


 have you tried __name__ instead of __title__ ..?

 Sent from my iPhone

 On 09-03-09, at 15:28, Marcelo Sena marceloslace...@gmail.com wrote:

 
  Hi, I'm getting the following error message when trying to run my
  application:
 
1 if __title__ == __main__:
 2   main()
  __title__ undefined
 
  type 'exceptions.NameError': name '__title__' is not defined
   args = (name '__title__' is not defined,)
   message = name '__title__' is not defined
 
 
  Were is the URL I'm accessing :
 
  http://127.0.0.1:8080/
 
  Here is the content of my app.yaml file:
 
  application: arcthingpad
  version: 1
  runtime: python
  api_version: 1
 
  handlers:
 
  - url: /stylesheets
   static_dir: stylesheets
 
 
  - url: /.*
   script: arcthingpad.py
 
  And here is the content of my arcthingpad.py file:
 
  if __title__ == __main__:
   main()
 
  I removed all the code logic, just to be sure I wasn't doing anything
  stupid. Still I'm getting this error and the helloworld application
  works normally.
 
  Any ideas?
 
  

 



-- 
Marcelo Sena

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



[google-appengine] Expected Database Performance with Millions of Rows?

2009-03-09 Thread lenza

App Engine.  Here is the situation:

I have a database with about about 50k rows of type A, and maybe 500k
rows of type B.

Type A contains:
  - ReferenceProperty (to type B)
  - DateTimeProperty
  - IntegerPropery
  - 3 x StringProperty (at most 5 bytes each)

I am performing the following query:

def myQuery():
   query = A.all().filter('intProperty', val).filter('date =', date)
   itemAs = [itemA for itemA in query]
   itemBs = [itemA.typeB for itemA in itemAs]
   return itemBs

Even under no load, when retuning a modest number of elements, this
function takes so long!  For example, I'm looking at a log entry where
for 36 items the database took 0.4s to create the list of itemAs and
2.2s to create the list of itemB's.  Does this seem excessive?  What
can I do to speed this up?  I was planing on these databases to grow
10x in size (although the queries will return the same number of
items) so this is concerning.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Getting 500's when trying to accept new TOS?

2009-03-09 Thread Othman

Am using app engine to run Reitveld.

Been running great so far, but started getting some capability errors
today.

When I tried logging into the management console, I am presented with
new Terms of Service. However, when I try accepting these, I get a
500. Have other people been experiencing anything like this?

Thanks,
Othman

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



[google-appengine] Re: Getting 500's when trying to accept new TOS?

2009-03-09 Thread Marce

Hi,

Please try this again.  I have a feeling it may have been related to
the scheduled downtime:
http://groups.google.com/group/google-appengine-downtime-notify/browse_thread/thread/16d46fbc268d1ad1

-Marzia

On Mar 9, 6:36 pm, Othman oth...@gmail.com wrote:
 Am using app engine to run Reitveld.

 Been running great so far, but started getting some capability errors
 today.

 When I tried logging into the management console, I am presented with
 new Terms of Service. However, when I try accepting these, I get a
 500. Have other people been experiencing anything like this?

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



[google-appengine] Re: App did not scale as expected?

2009-03-09 Thread GregF

Just checking that the problems didn't start exactly a week ago -
appengine has been struggling between the scheduled maintenance last
Monday till this Monday. Test again now, and see if it is working
better - my app is flying now.

Also check you can't use memcache to good effect, and get() and put()
multiple objects in one call. Memcache in particular can do amazing
things, and is surprisingly spacious - Someone let slip there is
something like 100M per app, so you can probably get all your data in
there.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: jQuery while doing Ajax call

2009-03-09 Thread Ritesh Nadhani

Aaah, after working over the weekend finally figured it out. Its
because jScript does not serialize/desrialize XML objects. So i had to
use one of the plugins out there to do the same.

Now I can do the XMLRPC calls and it works.

On Mon, Mar 9, 2009 at 1:32 AM, Michael O'Brien mich...@mcobrien.org wrote:

 Hi Ritesh,

 the problem is that specifying dataType: xml doesn't tell jQuery it
 should send the data in XML, just that it should expect XML to be
 returned from the url. You need to construct the XML yourself and set
 the contentType option to text/xml to actually send your data as
 XML.

 http://docs.jquery.com/Ajax/jQuery.ajax#options

 cheers
 Michael

 On Mar 9, 2:07 am, Ritesh Nadhani rite...@gmail.com wrote:
 Hmm.

 I am not sure how JSON would be simpler then XML. Also, some other
 system use the same XMLRPC without any problem.

 The problem seems to be that jquery is not serializing the data to
 actual XML data and thus server is failing with ExpatParse error.

 Thoughts?

 On Sun, Mar 8, 2009 at 5:46 AM, Let Delete My Apps



 davide.rogn...@gmail.com wrote:

  Hi Ritesh Nadhani,
  I think your code is complex.

  Can you try another more simple way, for example using the JSON/JSON-P
  technique?

  View the source code of my last app:
 http://pyoohtml.appspot.com/let-delete-my-apps/home
  .
  .
  On Mar 8, 12:49 pm, Ritesh Nadhani rite...@gmail.com wrote:
  Hi

  Any idea what might be wrong with this AJAX AJAX 
  call:http://paste.pocoo.org/show/106941/-its always returning me XMLParse
  error but when done thru my Python client, it works.

  When I just do: response.write(request.raw_post_data) - i get
  var1=value1var2=value2 etc. Rather then the actual XML so the server
  is giving me all kinds of Expat parsing error.

  My code to implement an XML-RPC:http://paste.pocoo.org/show/106945/

  Django code from:http://code.djangoproject.com/wiki/XML-RPC

  --
  Riteshhttp://www.riteshn.com

 --
 Riteshhttp://www.riteshn.com
 




-- 
Ritesh
http://www.riteshn.com

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



[google-appengine] Re: Query latency is not resolved

2009-03-09 Thread Myroslav Opyr
Hi,

thanks to the maintenance that finished an hour ago we see big improvement.
CPU is still twice slow but we seem to be able to finish our processes
(quite CPU intensive BTW) before deadline.

I'll report more tomorrow.

Regards,

m.

On Sun, Mar 8, 2009 at 03:30, GregF g.fawc...@gmail.com wrote:


 On Mar 8, 4:21 am, Myroslav Opyr myros...@quintagroup.com wrote:
  Google Engineers know more, but don't share with us. From outside it
 appears
  as if some heavy apps launched in production mode on GAE (when additional
  paid quotas allowed that), and that brought whole GAE infrastructure to
  knees, exposing bottlenecks, and forcing Google to increase processing
  power.

 From what Google has said, the issue is due to the hardware upgrade
 last week, not heavy new apps. They seem confident that it will return
 to previous performance next Monday evening when they do the second
 scheduled maintenance. I'm guessing they are changing infrastructure
 and had to swap out something that is causing all the issues. I
 wouldn't be surprised if things are actually better than before after
 Monday.
 



-- 
.
Myroslav Opyr   ▪   CTO   ▪Quintagroup   ▪   http://quintagroup.com
˙

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



[google-appengine] Re: appcfg.py update error after upgrading to 1.1.9 and google-appengine-patch 1.0

2009-03-09 Thread Will
No, before it. After that, I did run appcfg.py rollback, seemingly
successfully.

One note is I am unable to access code.google.com from China. Not sure if it
is relevant.

Thanks,

Will

On Tue, Mar 10, 2009 at 2:40 AM, Marzia Niccolai ma...@google.com wrote:

 Hi,

 Does this happen after you run the appcfg.py rollback command?

 -Marzia


 On Sun, Mar 8, 2009 at 9:57 PM, Will vocalster@gmail.com wrote:

 Hi there,

 I recently upgraded to GAE 1.1.9, and google-appengine-patch 1.0. The
 local test run is fine, but when I tried to upload to server using
 appcfg.py update, I got an error (see below). I'm using Python 2.5.2,
 Windows XP.

 Thanks in advance.

 Will

 -
 2009-03-09 12:03:13,171 ERROR appcfg.py:1235 An unexpected error occurred.
 Abort
 ing.
 Traceback (most recent call last):
   File C:\Program
 Files\Google\google_appengine\google\appengine\tools\appcfg.p
 y, line 1213, in DoUpload
 missing_files = self.Begin()
   File C:\Program
 Files\Google\google_appengine\google\appengine\tools\appcfg.p
 y, line 1009, in Begin
 version=self.version, payload=self.config.ToYAML())
   File C:\Program
 Files\Google\google_appengine\google\appengine\tools\appengin
 e_rpc.py, line 303, in Send
 f = self.opener.open(req)
   File C:\Python25\lib\urllib2.py, line 387, in open
 response = meth(req, response)
   File C:\Python25\lib\urllib2.py, line 498, in http_response
 'http', request, response, code, msg, hdrs)
   File C:\Python25\lib\urllib2.py, line 425, in error
 return self._call_chain(*args)
   File C:\Python25\lib\urllib2.py, line 360, in _call_chain
 result = func(*args)
   File C:\Python25\lib\urllib2.py, line 506, in http_error_default
 raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
 HTTPError: HTTP Error 409: Conflict
 Error 409: --- begin server output ---
 Another transaction by user vocalster.app is already in progress for this
 app an
 d major version. That user can undo the transaction with appcfg.py's
 rollback
 command.
 --- end server output ---




 


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



[google-appengine] Re: Query latency is not resolved

2009-03-09 Thread Brandon Thomson

See 
http://code.google.com/status/appengine/detail/datastore/2009/03/09#ae-trust-detail-datastore-query-latency

Obviously it is too early to tell but it looks like it is back to
similar levels as before the previous maintenance.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: *** BigTable vs SQLite vs MySQL ***

2009-03-09 Thread Ryan Lamansky

The App Engine datastore is pretty slow for individual actions.  It's
specialty is being able to do those things with 50,000 concurrent
users.

-Ryan

On Mar 9, 4:32 pm, Let Delete My Apps davide.rogn...@gmail.com
wrote:
 Back to the past:

  I planned to migrate a python app ... but my tests on google engine

 was really bad, compare to sqlite or mysql.

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

 Now?
 Does the Comparison Table exists?

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



[google-appengine] Re: query.count(1000) equal to exception Timeout()

2009-03-09 Thread Ryan Lamansky

Increment a stored counter as you add values then check that result.
It runs instantly and there's no upper limit.

-Ryan

On Mar 9, 6:37 pm, magocrab guayu@gmail.com wrote:
 Whenever the query returns a large number of results and using the
 count() function to count the value of returned results, generates the
 exception Timeout() (Raised when the datastore operation exceeds the
 maximum amount of time allowed for datastore operations).

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



[google-appengine] Re: How big memcache can grow

2009-03-09 Thread Ryan Lamansky

The last I heard, Google's memcache allows about 100MB of data.  After
that, it starts pushing things out in a least-recently-used order.

Nothing is guaranteed with memcache, though.  You have to design your
app to still function even if the cache isn't holding anything very
long.

-Ryan

On Mar 9, 6:29 pm, Rhyo dantuluri.ki...@gmail.com wrote:
 friends, new to app engine please let me know what is the maximum keys
 that can be added to memcache. Please let me how correct is it to add
 temporary information of a million users to memcache with a separate
 key of few bytes to each user and key expire time of 5
 minutes.assuming that million users are online at single point of time
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: Combining a db.delete() and a db.put() into one trip

2009-03-09 Thread Ryan Lamansky

If they're in the same entity group, you can put and delete in a
single atomic transaction.  It still takes two calls, but they either
both succeed or both fail.

-Ryan

On Mar 9, 8:01 pm, James thelevybre...@gmail.com wrote:
 You can save or delete a list of entities at once. Is there any way to
 delete one entity and save another entity?

 I haven't yet found one, but it would be useful to know this pattern
 if it exists.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Unbelieveable jump in stored data.

2009-03-09 Thread Josh Cronemeyer
This afternoon I had less than 1GB stored data, which took me several months
to accumulate.  This evening the dashboard is telling me I have used nearly
3GB stored data!  It doesn't look like my traffic levels or number of users
have changed significantly.

This has to be wrong. Could it be related to the recent hardware changes
mentioned on the app engine system status page?  Has anyone else noticed
anything with stored data reporting?

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



[google-appengine] Re: Unbelieveable jump in stored data.

2009-03-09 Thread Jonathan Ultis

According to this message, google may be counting index sizes in the
quota now.

http://groups.google.com/group/google-appengine/msg/a16edddcc6db424f

On Mar 9, 8:25 pm, Josh Cronemeyer joshuacroneme...@gmail.com wrote:
 This afternoon I had less than 1GB stored data, which took me several months
 to accumulate.  This evening the dashboard is telling me I have used nearly
 3GB stored data!  It doesn't look like my traffic levels or number of users
 have changed significantly.

 This has to be wrong. Could it be related to the recent hardware changes
 mentioned on the app engine system status page?  Has anyone else noticed
 anything with stored data reporting?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: Somewhat Disappointed.

2009-03-09 Thread Tim Hoffman

Here is my guess

I would consider a likely second language for gae will be Javascript.
google has v8, it runs javascript fast and in a controlled
environment,
sure there may not be heaps of hi-level framworks, but I could
imagine
it would be a good candidate.  (lots of control over the runtime which
is exactly what google needs to do)

Just my 2c worth.

T

P.S. Me I would stick with python ;-)


On Mar 10, 7:19 am, nima dilmaghani nim...@gmail.com wrote:
 If you wait until the Google IO conference, there just may be an
 announcement there that satisfies you.
 Cheers,

 Nima



 On Mon, Mar 9, 2009 at 1:52 PM, peterh peter.hau...@gmail.com wrote:

 http://code.google.com/p/pyjamas/
  Pyjamas is a cross-browser Web App development API that allows you to
  write your client side functionality in Python.
  While it looks like a desktop API, Pyjamas is a stand alone Python to
  JavaScript compiler, an AJAX framework / library and a comprehensive
  widget set API.

  On Mar 9, 12:12 am, Owen o...@backspaces.net wrote:
   OK, I *love* GAE getting outa beta and charging.  Yup, I *wanna* pay,
   so that I can get what I'd like.

   BUT: the downside is that they haven't offered me what I want.  Django
   templates are fine, as is Python.  But on the client side I still have
   to wrestle with Javascript .. which is also a fine language.

   So what's my beef?  That I gotta use *two* languages.  Wimp that I am,
   I'm sorta getting tired of this.  I've written a fairly complicated
   GAE app, with Google Maps (and lately a few JS libraries), and I still
   get the two wonderful languages mixed up.

   So if I'm going to start paying, I want some love.  Either:

   1 - A Python environment that emits Javascript for the browser (think
   GWT)
   .. or
   2 - A server-side Javascript solution, like Aptana  Jaxer .

   After looking at the *huge* advances in Javascript code, I'm tempted
   to move from 1 to 2.  Lively Kernel is really nice, as is the JS
   version of Processing.org's graphics.

   But Google, as much as I love ya, you're still in beta.  I like your
   approach much more than Amazon's, and I think your getting there, but
   you're puzzling a lot of us who see you using GWT for high end apps,
   but not giving us GAE folks the full Monty.

   So what's your next move?

      -- Owen

 --
 Nima
--~--~-~--~~~---~--~~
You 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
-~--~~~~--~~--~--~---