[google-appengine] Re: Deleting / Hoarding of Application Ids

2009-10-12 Thread Donzo

Yes, I can and have done just that: http://www.yadayada.com goes to my
GAE.  BUT ... that only works for the non-secure, non-SSL http
(no-s) protocol.  If I want to do secure request/replies (to secure
passwords, personal data, session-tokens, etc), I need to use the
secure SSL https protocol.  On GAE, I can only do this with a URL
ending in appspot.com (because of SSL certificate issues); I cannot do
https://www.yadayada.com.  Ideally, I would've liked to have
https://yadayada.appspot.com ... but yadayada has already been taken
(probably by a gmail user who has no intent of using GAE or any idea
what it is).

On Oct 11, 10:11 pm, dennisM meade.den...@gmail.com wrote:
 If I understand the problem,

 you can point yadayada.com at your app engine application. You're not
 stuck with APPID.appspot.com. Look at:

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

 On Oct 11, 4:30 pm, Donzo para...@gmail.com wrote:

  Andy, thanks, I didn't know about the AppEngine - Gmail id
  relationship. Helps explain why so many AppEngine ids seem to already
  be taken.  BTW, I was able to reserve yada-yada.appspot.com and so
  might just live with that.

  On Oct 10, 11:08 am, Andy Freeman ana...@earthlink.net wrote:

   Note that the yadayada.appspot.com is reserved for the owner of
   yaday...@gmail.com.  This association seems reasonable, but means that
   any name recycling/reclaiming for appengine must also address gmail
   and perhaps other google accounts.

   On Oct 8, 10:09 pm, Donzo para...@gmail.com wrote:

Are there plans to enable deleting Application Ids?  Are there plans
to eventually expire (auto-delete) Application Ids reserved but
unused???

I'm just getting into GAE and am extremely interested in using it for
several web sites we now operate.  One issue is that almost all the
GAE application ids corresponding to domains we own are already
taken ... but none have a live site running.  For example, we own
yadayada.com (not really), but I've found that yadayada.appspot.com is
already reserved but doesn't have an active web site running.  This is
true for almost all of my domains, some of them rather unique so I
wonder if appspot.com is not seeing a lot of hoarding of good names
since it's free.

This is important to me because of the current inability to use https
(ssl) AND my domain name for a GAE hosted web site.  I do need to
direct my users to https for some pages ... and am willing to do so if
I can get yadayada.appspot.com.  But since that's already taken, I
would have to use something else ... which will spook some of my users
into thinking its an impostor web site (asking for id and password no
less!!!).
--~--~-~--~~~---~--~~
You 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] Prettier values for reference keys?

2009-10-12 Thread Tonny

Hi

Can someone help with this consideration:

When we're creating a ReferenceProperty on datastore objects the value
stored in the model is the key
for the referenced object (stating the obvious here, but please stay
with me), but when the reference object
has a key_name, which makes up a pretty name (understandable from the
datastore viewer), it would be nice to use that key name instead. Is
there an easy way to use that key_name instead?

I could imaging subclassing ReferenceProperty, but looking at the API,
I can't seem to find someplace to hook
in. I could write my own ReferenceProperty from scratch, subclassing
Property, but I would also like a simple
solution where I didn't reinvent all ready existing functionality.

Regards
Tonny

--~--~-~--~~~---~--~~
You 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 to Handle Spaces in static urls ...

2009-10-12 Thread djidjadji

Are you sure the images with spaces are uploaded by appcfg.py?
Look at the --verbose and --noisy options of appcfg.py, to see if the
files are uploaded.
Create a new file with a space and see if it gets uploaded.
An URL with a %20 should be handled correctly by the webserver.

There are numerous tools out there that renames files, some of them are free.
You can always write a small python script that traverses the
directory and generates
move commands. Save them in a file and run the batch file (Win) or
source (Unix) the file.

2009/10/10 ramu rslet...@gmail.com:

 I have an static director with following handler ..


 - url: /image
  static_dir: image
  expiration: 1d


 Everything inside image directory works perfectly well except .. a
 subdirectory with Images having Space in their name..

 ie ...

 /image/subdirectory/Image 345.png

 Now the browser sends the request in the form :

 /image/subdirectory/Image%20345.png


 Which fails with an 404 Error .Even when the image is there. How to
 handle this ... The other option to rename those 300 images one by one
 is rather   .. :(
 


--~--~-~--~~~---~--~~
You 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: Deleting / Hoarding of Application Ids

2009-10-12 Thread Nick Johnson (Google)
Hi Donzo,

We're not aware of anyone 'hoarding' App IDs, and such a scenario seems
unlikely, since users can only register 10 apps per verified account.

-Nick Johnson

On Fri, Oct 9, 2009 at 6:09 AM, Donzo para...@gmail.com wrote:


 Are there plans to enable deleting Application Ids?  Are there plans
 to eventually expire (auto-delete) Application Ids reserved but
 unused???

 I'm just getting into GAE and am extremely interested in using it for
 several web sites we now operate.  One issue is that almost all the
 GAE application ids corresponding to domains we own are already
 taken ... but none have a live site running.  For example, we own
 yadayada.com (not really), but I've found that yadayada.appspot.com is
 already reserved but doesn't have an active web site running.  This is
 true for almost all of my domains, some of them rather unique so I
 wonder if appspot.com is not seeing a lot of hoarding of good names
 since it's free.

 This is important to me because of the current inability to use https
 (ssl) AND my domain name for a GAE hosted web site.  I do need to
 direct my users to https for some pages ... and am willing to do so if
 I can get yadayada.appspot.com.  But since that's already taken, I
 would have to use something else ... which will spook some of my users
 into thinking its an impostor web site (asking for id and password no
 less!!!).

 



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

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-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: Prettier values for reference keys?

2009-10-12 Thread Rodrigo Moraes

On Mon, Oct 12, 2009 at 4:45 AM, Tonny wrote:
 in. I could write my own ReferenceProperty from scratch, subclassing
 Property, but I would also like a simple
 solution where I didn't reinvent all ready existing functionality.

use a StringProperty, and add some utility functions to set it from a
referenced entity or to get a entity based on the stored key_name.

-- rodrigo

--~--~-~--~~~---~--~~
You 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: Prettier values for reference keys?

2009-10-12 Thread Rodrigo Moraes

On Mon, Oct 12, 2009 at 4:45 AM, Tonny wrote:
 in. I could write my own ReferenceProperty from scratch, subclassing
 Property, but I would also like a simple
 solution where I didn't reinvent all ready existing functionality.

ignore my previous post. here's a solution that does exactly what your
looking for. add this method to your model:

def get_key_name_from_reference_property(self, prop_name):
key = getattr(self.__class__, prop_name).get_value_for_datastore(self)
   return db.Key(key).key_name()

then, you simply call it passing the ReferenceProperty name.

class MyModel(db.Model):
some_other_entity = db.ReferenceProperty()

entity = MyModel.get(...)
referenced_key_name =
entity.get_key_name_from_reference_property('some_other_entity')

that's it.

-- rodrigo

--~--~-~--~~~---~--~~
You 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] warm instances on low traffic sites

2009-10-12 Thread bFlood

hello

I noticed in the Oct 7 chat that Google is considering(?) allowing
developers paid-for warm instances of your app.

If you're interested in being able to pay for at least one instance
to be kept
warm, even with sporadic bursts of traffic, let us know in the
discussion group and issue tracker.

I guess the main question on everyone's mind is how much? a single
python instance has to be an order of magnitude less expensive then
say a small EC2 VM so I'd be interested to hear what the daily/weekly/
monthly costs would be.

cheers
brian
--~--~-~--~~~---~--~~
You 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: Heavy vs. Light entities

2009-10-12 Thread Jason Smith

Hi, Shalien. I am also dealing with so-called schema optimization.

I have a pretty simple Image model. It has a handful of metadata plus
a blob of the image content. Requests to load and fetch these entities
are what I would call pretty fast. Looking at a random example, a
request for a 29KB image completed in 92ms 40cpu_ms 21api_cpu_ms.

My understanding (someone correct me if I'm wrong) is that the main
slowdown is ListProperties, since a ListProperty with 1,000 items is
roughly like having a model with 1,000 properties.

On Oct 11, 10:09 pm, Shailen shailen.t...@gmail.com wrote:
 Consider 2 classes:

 class Light(db.Model):
   location = db.StringProperty()

 class Heavy(db.Model):
   location = db.StringProperty()
   content = db.TextProperty()
   image1 = db.BlobProperty()
   image2 = db.BLobProperty()
   image3 = db.BlobProperty()
   ..., etc., etc. ...

 I have 2 choices when getting information from the datastore: I can
 either fetch just the keys, or I can
 fetch the entities themselves. There isn't any way to fetch only a
 part of an entity (say just the location property in entities of type
 Heavy). Assuming this is correct, I have a couple of questions:

 1) If I want to access the location property in both Light and Heavy,
 is it fair to assume that accessing Light will be speedier than
 accessing Heavy, since Heavy has to fetch all sorts of data that I
 don't need but that is part of the entity?

 2) Would it make sense to break down Heavy into more lightweight
 classes for more efficient lookup?

 This question is probably best clarified by discussing what's
 happening in my actual application where I allow an Author to create
 several WriteUps. The WriteUps have numerous properties:  a heading, a
 sub-heading, a lot of text and, optionally, several images, and a few
 more properties. When displaying the contents of a WriteUp, I need to
 access all these properties. But sometimes, I need to access only 1 or
 2 lightweight properties; for instance, on a page summarizing the
 WriteUps done by an author, I need to only list the heading and sub-
 heading; I do not need to access the text or Blob data. But there is
 no way to access *just* the heading or sub-heading, right? I end up
 fetching ALL of the entity, whether I need all of it or not. Is this
 correct? Or does the datastore have some way of optimizing this?

 Reading the In the documentation (in the Queries and Indexes section),
 we are told:

 # The query is not executed until results are accessed.
 results = q.fetch(5)
 for p in results:
   print %s %s, %d inches tall % (p.first_name, p.last_name,
 p.height)

 When are results 'accessed', when fetch() is called, or when
 p.first_name, p._last_name, etc. are used? I am assuming that when
 fetch(5) is called, all 5 entities (assuming they exist) are fetched,
 and if the entities contain properties other than first_name,
 last_name or height, they are loaded up too. Is that correct?

 So now I am thinking of breaking up the WriteUps class into several
 classes, putting all the lightweight data that I need to access
 frequently in one class and all the heavy data that I rarely need to
 access in another and using ancestor relationships and transactions to
 make sure everything stays together.
 Does this make any sense, or I am fundamentally misunderstanding how
 app engine fetches data?

 - Shailen
--~--~-~--~~~---~--~~
You 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: Deleting / Hoarding of Application Ids

2009-10-12 Thread dennisM

Donzo,

Thanks for the explanation. I've never has to use SSLl, so didn't
appreciate the problem.

On Oct 12, 2:35 am, Donzo para...@gmail.com wrote:
 Yes, I can and have done just that:http://www.yadayada.comgoes to my
 GAE.  BUT ... that only works for the non-secure, non-SSL http
 (no-s) protocol.  If I want to do secure request/replies (to secure
 passwords, personal data, session-tokens, etc), I need to use the
 secure SSL https protocol.  On GAE, I can only do this with a URL
 ending in appspot.com (because of SSL certificate issues); I cannot 
 dohttps://www.yadayada.com.  Ideally, I would've liked to 
 havehttps://yadayada.appspot.com... butyadayadahas already been taken
 (probably by a gmail user who has no intent of using GAE or any idea
 what it is).

 On Oct 11, 10:11 pm, dennisM meade.den...@gmail.com wrote:

  If I understand the problem,

  you can pointyadayada.com at your app engine application. You're not
  stuck with APPID.appspot.com. Look at:

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

  On Oct 11, 4:30 pm, Donzo para...@gmail.com wrote:

   Andy, thanks, I didn't know about the AppEngine - Gmail id
   relationship. Helps explain why so many AppEngine ids seem to already
   be taken.  BTW, I was able to reserve yada-yada.appspot.com and so
   might just live with that.

   On Oct 10, 11:08 am, Andy Freeman ana...@earthlink.net wrote:

Note that theyadayada.appspot.com is reserved for the owner of
yaday...@gmail.com.  This association seems reasonable, but means that
any name recycling/reclaiming for appengine must also address gmail
and perhaps other google accounts.

On Oct 8, 10:09 pm, Donzo para...@gmail.com wrote:

 Are there plans to enable deleting Application Ids?  Are there plans
 to eventually expire (auto-delete) Application Ids reserved but
 unused???

 I'm just getting into GAE and am extremely interested in using it for
 several web sites we now operate.  One issue is that almost all the
 GAE application ids corresponding to domains we own are already
 taken ... but none have a live site running.  For example, we own
yadayada.com (not really), but I've found thatyadayada.appspot.com is
 already reserved but doesn't have an active web site running.  This is
 true for almost all of my domains, some of them rather unique so I
 wonder if appspot.com is not seeing a lot of hoarding of good names
 since it's free.

 This is important to me because of the current inability to use https
 (ssl) AND my domain name for a GAE hosted web site.  I do need to
 direct my users to https for some pages ... and am willing to do so if
 I can getyadayada.appspot.com.  But since that's already taken, I
 would have to use something else ... which will spook some of my users
 into thinking its an impostor web site (asking for id and password no
 less!!!).
--~--~-~--~~~---~--~~
You 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: warm instances on low traffic sites

2009-10-12 Thread twink*

Add my name to the list of people that would consider paying to always
keep at least one instance warm.



On Oct 12, 8:43 am, bFlood bflood...@gmail.com wrote:
 hello

 I noticed in the Oct 7 chat that Google is considering(?) allowing
 developers paid-for warm instances of your app.

 If you're interested in being able to pay for at least one instance
 to be kept
 warm, even with sporadic bursts of traffic, let us know in the
 discussion group and issue tracker.

 I guess the main question on everyone's mind is how much? a single
 python instance has to be an order of magnitude less expensive then
 say a small EC2 VM so I'd be interested to hear what the daily/weekly/
 monthly costs would be.

 cheers
 brian
--~--~-~--~~~---~--~~
You 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] The development environment datastore is so slow

2009-10-12 Thread (jpgerek)

Hi,

I would like to develope with the same data set as in production, like
some tens of thousands of entities, but it's so slow, it needs a
couple of minutes to start the dev_appserver and each query takes long
time.

Does anyone have a solution or workaround apart from working with a
reduced data set ?

Thanks in advance

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-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] djangoforms.ModelForm for PolyModel ??

2009-10-12 Thread Janne Hukkinen

Hey!

While learning python + django + app engine + datastore, I started by
desiging models and used extensicely PolyModel class. It's a great way
to abstract common fields. However, it seems that a) PolyModel is
datastore specific and b) djangoforms therein doesn't suppor it. Am I
correct?

Are there any plans (or newbie information) to get out here?


No mention about Poly.* here:

/usr/local/google_appengine_1.2.5/google/appengine/ext/db/
djangoforms.py

I guess, in the meantime, I have to either re-design my models not to
include any PolyModels or design forms myself.

--
Janne

--~--~-~--~~~---~--~~
You 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] Is there a different way to upload Web App ?

2009-10-12 Thread assane

Hi,
I have been testing Google Wave Robot App and wanted to upload my app
from an envirement locked inside a firewall.Due to this AppCfg is not
able to conect to AppEngine DataStore.
I was wondering if it exist some otherway to upload my app (ftp or
some sort).

Thank you for your help !

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-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] Second App. The phone number has been sent already been used to confirm an account.

2009-10-12 Thread Mihail

I created one application milif123 and now I want to create a
second.
I press Create an Application, open page Verify Your Account by
SMS, where I inter Mobile Number (same as when create first app),
Send and get error The phone number has been sent too many messages
or has already been used to confirm an account. 
How can I create a second application?

--~--~-~--~~~---~--~~
You 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] one servlet stopped working

2009-10-12 Thread Per Sandström

So I just noticed that one of my servlets has stopped working. I get
att 500 error message. In the admin console, instead of a crash as I
expected, I am getting this message below. What is it? 40 seconds and
no CPU used. Is this temporary problems with google apps engine? It
has been like this all evening.

#

   1.
  10-12 09:55AM 03.698 /checklists 500 41115ms 120cpu_ms
120api_cpu_ms 0kb Apache-HttpClient/UNAVAILABLE (java 1.4),gzip(gfe)
  See details

  83.248.35.150 - - [12/Oct/2009:09:55:44 -0700] POST /checklists
HTTP/1.1 500 0 - Apache-HttpClient/UNAVAILABLE (java 1.4),gzip(gfe)


--~--~-~--~~~---~--~~
You 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: Search API Rate limiting - App Engine

2009-10-12 Thread Akshar

Whitelisting of user accounts is only possible for REST API.

The Search API is only able to whitelist IP addresses, not user
accounts.

Akshar

On Oct 9, 10:27 pm, Kevin Pierce kpie...@vendasta.com wrote:
 From the linked to api
 It is possible to whitelist both accounts and IP addresses

 If your calls are made by signing with your account, it should result in an
 account based limit.
 Get your account whitelisted and you should be ok.

 At least this is what I am hoping to be able to do.





 On Fri, Oct 9, 2009 at 8:11 PM, Akshar akshar.d...@gmail.com wrote:

  Hi All-

  I have an app on the GAE using the twitter search API and it is
  getting heavily rate limited again this past couple of days.

 http://apiwiki.twitter.com/Rate-limitingstates that for cloud
  platforms like Google App Engine, applications without a static IP
  addresses cannot receive Search whitelisting.

  I am looking for any workarounds to avoid getting HTTP 503 response
  codes to twitter search requests from app engine?

  Twitter API thread about detailed discussion on the above problem
  (with no easy solution):

 http://groups.google.com/group/twitter-development-talk/browse_thread...

  Akshar

 --
 Kevin Pierce
 Software Architect
 VendAsta Technologies Inc.
 kpie...@vendasta.com
 (306)955.5512 ext 103www.vendasta.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: Indexes building for 3 days

2009-10-12 Thread Jeff S (Google)
Apologies, I've move these indexes to the error state, so you'll need to
re-vacuum.

Thank you,

Jeff

On Sun, Oct 11, 2009 at 11:05 AM, visadm543 visadm...@gmail.com wrote:


 Thank you.  I vacuumed the indexes and tried again, with a subset of
 28 indexes.  It has been 48 hours and they are still building.  Any
 help is appreciated.

 On Oct 8, 4:04 pm, Jeff S (Google) j...@google.com wrote:
  I've reset your index count and moved the stuck indexes into the error
  state. I think the issue may have been related to the fact that this
  app had 100 indexes, which is the upper limit. Would it be possible to
  use fewer indexes? If not, we can discuss the possibility of allowing
  this app to have more.
 
  Thank you,
 
  Jeff
 
  On Oct 8, 1:51 pm, visadm543 visadm...@gmail.com wrote:
 
   The indexes for my app have been in the building state since the
   morning of 10/5.  App ID is vispipe.  Any help is appreciated.
 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-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: The development environment datastore is so slow

2009-10-12 Thread Rodrigo Moraes

On Sun, Oct 11, 2009 at 2:06 PM, (jpgerek) wrote:
 Does anyone have a solution or workaround apart from working with a
 reduced data set ?

There's nothing to do with the current implementation which is indeed
very simple and can't handle large data sets (everything is loaded
into memory and there's no indexing at all, afaik). The alternative
would be to set an environment with a real database. I'm afraid
however that the current options are at a very early stage of
development. One recently announced was TyphoonAE, which uses mongoDB
for the database backend:

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

I never tested it myself, though.

-- rodrigo

--~--~-~--~~~---~--~~
You 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: Search API Rate limiting - App Engine

2009-10-12 Thread Kevin Pierce
Thanks for the clarification.I overlooked that is Searching you are
interested.

On Mon, Oct 12, 2009 at 11:35 AM, Akshar akshar.d...@gmail.com wrote:


 Whitelisting of user accounts is only possible for REST API.

 The Search API is only able to whitelist IP addresses, not user
 accounts.

 Akshar

 On Oct 9, 10:27 pm, Kevin Pierce kpie...@vendasta.com wrote:
  From the linked to api
  It is possible to whitelist both accounts and IP addresses
 
  If your calls are made by signing with your account, it should result in
 an
  account based limit.
  Get your account whitelisted and you should be ok.
 
  At least this is what I am hoping to be able to do.
 
 
 
 
 
  On Fri, Oct 9, 2009 at 8:11 PM, Akshar akshar.d...@gmail.com wrote:
 
   Hi All-
 
   I have an app on the GAE using the twitter search API and it is
   getting heavily rate limited again this past couple of days.
 
  http://apiwiki.twitter.com/Rate-limitingstates that for cloud
   platforms like Google App Engine, applications without a static IP
   addresses cannot receive Search whitelisting.
 
   I am looking for any workarounds to avoid getting HTTP 503 response
   codes to twitter search requests from app engine?
 
   Twitter API thread about detailed discussion on the above problem
   (with no easy solution):
 
  http://groups.google.com/group/twitter-development-talk/browse_thread.
 ..
 
   Akshar
 
  --
  Kevin Pierce
  Software Architect
  VendAsta Technologies Inc.
  kpie...@vendasta.com
  (306)955.5512 ext 103www.vendasta.com
 



-- 
Kevin Pierce
Software Architect
VendAsta Technologies Inc.
kpie...@vendasta.com
(306)955.5512 ext 103
www.vendasta.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: Is there a different way to upload Web App ?

2009-10-12 Thread Janne
Hey,
Proxy wouldn't help you?

http://code.google.com/appengine/docs/python/tools/uploadinganapp.html#Using_an_HTTP_Proxy

http://code.google.com/appengine/docs/java/tools/uploadinganapp.html#Using_an_HTTP_Proxy

--
Janne

On Sun, Oct 11, 2009 at 11:13 PM, assane assane...@gmail.com wrote:


 Hi,
 I have been testing Google Wave Robot App and wanted to upload my app
 from an envirement locked inside a firewall.Due to this AppCfg is not
 able to conect to AppEngine DataStore.
 I was wondering if it exist some otherway to upload my app (ftp or
 some sort).

 Thank you for your help !

 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-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: Will reducing model size improve performance?

2009-10-12 Thread Andy Freeman

 There's no need to use a new model name: You can simply create new entities
 to replace the old ones, under the current model name. If you're using key
 names, you can construct a new entity with the same values as the old ones,
 and store that.

Note the precise wording.  You can't just put() the instance that you
read from the datastore, the instance that doesn't have the properties
that you've deleted, you have to get(), make a new db.Model instance
with the same key, populate its properties from the instance that you
got, and put the new instance.  If you're not using key names, you
can't create that new db.Model instance (as of 1.2.5) because you
can't create an instance with a specified id.

The problem is in db.Model._to_entity() (and maybe
db.Expando._to_entity()).  If the instance was created from a protocol
buffer, put() tries to reuse said protocol buffer, and it still
contains values for properties that you've deleted.  These values are
not deleted by _to_entity() so they end up being sent back to the
datastore.

I've filed http://code.google.com/p/googleappengine/issues/detail?id=2251
.


On Oct 10, 1:29 pm, Nick Johnson (Google) nick.john...@google.com
wrote:
 On Sat, Oct 10, 2009 at 6:27 PM, Jason Smith 
 j...@proven-corporation.comwrote:







  Thanks for the help guys. I think this is an important matter to have
  cleared up.

  It's bedtime here (GMT+7) however tomorrow I think I will do some
  benchmarks along the lines of the example I wrote up in the SO
  question.

  At this point I would think the safest thing would be to completely
  change the model name, thereby guaranteeing that you will be writing
  entities with fresh keys. However I suspect it's not necessary to go
  that far. I'm thinking that on the production datastore, changing the
  model definition and then re-put()ing the entity will be what's
  required to realize a speed benefit when reducing the number of
  properties on a model. But the facts will speak for themselves.

 There's no need to use a new model name: You can simply create new entities
 to replace the old ones, under the current model name. If you're using key
 names, you can construct a new entity with the same values as the old ones,
 and store that.

 You can also use the low-level API in google.appengine.api.datastore; this
 provides a dict-like interface from which you can delete unwanted fields.

 -Nick Johnson





  On Oct 11, 12:17 am, Andy Freeman ana...@earthlink.net wrote:
In other words: if I want to reduce the size of my entities, is
it necessary to migrate the old entities to ones with the new
definition?

   I'm pretty sure that the answer to that is yes.

             If so, is it sufficient to re-put() the entity, or must I
save under a wholly new key?

   I think that it should be sufficient re-put() but decided to test that
   hypothesis.

   It isn't sufficient in the SDK - the SDK admin console continues to
   show values for properties that you've deleted from the model
   definition after the re-put().  Yes, I checked to make sure that those
   properties didn't have values before the re-put().

   I did the get and re-put() in a transaction, namely:

   def txn(key):
       obj = Model.get(key)
       obj.put()
   assert db.run_in_transaction(txn, key)

   I tried two things to get around this problem.  The first was to add
   db.delete(obj.key()) right before obj.put().  (You can't do obj.delete
   because that trashes the obj.)

   The second was to add obj.old_property = None right before the
   obj.put() (old_property is the name of the property that I deleted
   from Model's definition.)

   Neither one worked.  According to the SDK's datastore viewer, existing
   instances of Model continued to have values for old_property after I
   updated them with that transaction even with the two changes, together
   or separately.

   If this is also true of the production datastore, this is a big deal.

   On Oct 10, 4:44 am, Jason Smith j...@proven-corporation.com wrote:

Hi, group. My app's main cost (in dollars and response time) is in the
db.get([list, of, keys, here]) call in some very high-trafficked code.
I want to pare down the size of that model to the bare minimum with
the hope of reducing the time and CPU fee for this very common
activity. Many users who are experiencing growth in the app popularity
probably have this objective as well.

I have two questions that hopefully others are thinking about too.

1. Can I expect the API time of a db.get() with several hundred keys
to reduce roughly linearly as I reduce the size of the entity?
Currently the entity has the following data attached: 9 String, 9
Boolean, 8 Integer, 1 GeoPt, 2 DateTime, 1 Text (avg size ~100 bytes
FWIW), 1 Reference, 1 StringList (avg size 500 bytes). The goal is to
move the vast majority of this data to related classes so that the
core fetch of the main model will be quick.


[google-appengine] Re: djangoforms.ModelForm for PolyModel ??

2009-10-12 Thread Andrew Chilton

Hi Janne,

2009/10/12 Janne Hukkinen h...@sci.fi:
 While learning python + django + app engine + datastore, I started by
 desiging models and used extensicely PolyModel class. It's a great way
 to abstract common fields. However, it seems that a) PolyModel is
 datastore specific and b) djangoforms therein doesn't suppor it. Am I
 correct?

I have played with DjangoForms using PolyModels recently and yes, they
are supported. It all works just as well as with normal Models.

One gotcha I did find however was that at first I couldn't figure out
how to tell Django not to output the 'class' hierarchy on the form
(since that is set inside the PolyModel base class and not by the
user). I tried to hide 'class' and '__class' but figured out it was
just one underscore '_class'. The code I used was as follows:

class MyPolyModelForm(djangoforms.ModelForm):
  class Meta:
model = MyPolyModel
exclude = ['_class']

Hope that helps.

Note: See this article for more information about models and forms:
http://code.google.com/appengine/articles/djangoforms.html

Cheers,
Andy

-- 
contact: Andrew Chilton
website: http://www.chilts.org/

--~--~-~--~~~---~--~~
You 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: Deleting / Hoarding of Application Ids

2009-10-12 Thread puresight

PROBLEM: Since you cannot use the same DNS name for both http  https
when using GAE, you need some way to assure your users  customers
that they are not being phished.

SOLUTION IDEA: Some kind of 3rd party verification  assurance of
website owner/controller identity which can be displayed  linked to
that 3rd party, e.g. Verisign 
http://www.verisign.com/ssl/secured-seal/index.html

My solution idea isn't a solution, but a category of potential
solutions.  The need is to assure visitors of authentic identity
behind the website; the answer is to have a trusted partner (e.g.
thawte? microsoft? joeplumber?) vouch for you.

Anyone have a real product solution in this line of thinking?

Monty
@puresight


--~--~-~--~~~---~--~~
You 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] Broadcasting real-time notifications using XMPP - possible?

2009-10-12 Thread Kris

Can I bounce an idea off anyone who's interested?  I'm looking for an
efficient way to get realtime updates to a large-ish number of client
apps, and I'm wondering if using App Engine+Google's Talk servers
might be the way to do it.

I need to get timely messages to 100-5000 thousand clients, with
reasonable (99%?) reliability.  I know I can do this with Google Talk
at a very small scale - if someone IMs me I'll get the message through
Gmail on one computer, iChat on another and Google Talk on my iPhone,
all at the same time.  But that's just 3 clients on the same account.
Could this work at scale?

Let's say I create an account - clients-of-kris-12...@gmail.com - and
have my all my client apps connect as that user.  They're all coded to
listen for updates from their buddy - server-of-kris-54...@gmail.com -
which is part of my App Engine project.  As far as I understand,
they'll all hear everything the server is announcing, roughly at the
same time.

Does anyone know that this would/wouldn't work?  And if it would work,
does anyone know the billing implications?  I'd rather the App Engine
team billed me for 5000 messages and were happy to do so, than billed
me for one but felt I was abusing the system.


(Sorry - I realise this may be more of a Google Talk question than an
App Engine question.  If anyone wants to point me to a low-level GTalk
forum instead, please 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-use phone number for SMS?

2009-10-12 Thread kiren

Hello,

I have an app engine account for personal use.  Now I want to create a
new account for my company.  However, when I try to verify my new
account by SMS, it complains because my phone number has already been
used to confirm an account (I only have one mobile phone for both
personal and work.)  Is there a workaround for this?

Thanks
Kiren
--~--~-~--~~~---~--~~
You 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: What are your top three issues in appengine?

2009-10-12 Thread George Sudarkoff

1. Full-text search
2. Incoming email
3. HTTPS on Google 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] Cannot add more apps to account

2009-10-12 Thread Cynthia Kurtz

I've been trying to create a second app on my GAE account (Dashboard -
Show all applications - Create an application button). I get sent to
the SMS page, which from what read on this forum will probably just
say the phone number has already been used, since I already did that
when I created the first app. (I have to drive half an hour to find
out, so I'll take everybody else's word for it. Not everybody has cell
phone service at home you know!)

Here is what I think may be causing this problem. I started the GAE
account with my own email address (the one I post from on here). Later
I added a gmail address to my Google account, as part of trying to get
the bulkloader to work. The gmail address took over the account and
shouldered my poor email aside, so that now whenever I try to login
with my own email the gmail account shows instead. There is evidently
no way to *remove* the gmail beast either.

My suspicion is that I can't add another app because it's looking for
my *original* email link-up, which no longer works because of the
gmail takeover. Help?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-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: Second App. The phone number has been sent already been used to confirm an account.

2009-10-12 Thread OvermindDL1

On Sun, Oct 11, 2009 at 12:12 PM, Mihail milif...@gmail.com wrote:

 I created one application milif123 and now I want to create a
 second.
 I press Create an Application, open page Verify Your Account by
 SMS, where I inter Mobile Number (same as when create first app),
 Send and get error The phone number has been sent too many messages
 or has already been used to confirm an account. 
 How can I create a second application?

That method will create a new account.  You can create new
applications from within your accounts dashboard.

--~--~-~--~~~---~--~~
You 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] GAE production error at this moment? : Class-key is a derived property and cannot be set.

2009-10-12 Thread Alan Xing
E 10-12 03:02PM 22.599 Class-key is a derived property and cannot be set.

--~--~-~--~~~---~--~~
You 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] What changed? Site is completely down.

2009-10-12 Thread bvelasquez

datastore_types.py:641File /base/python_lib/versions/1/google/
appengine/api/datastore_types.py, line 641, in __str__
if self._str is None:
AttributeError: 'Key' object has no attribute '_str'


I am getting this error across the site now.  Nothing on my end has
changed.  I cannot convert the key object to a string.

Barry
--~--~-~--~~~---~--~~
You 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] AttributeError: 'Key' object has no attribute '_str'

2009-10-12 Thread nasim

I am getting this error in my app right now.

  File /base/data/home/apps/ubuntu-apps/1.331603182473664271/common/
django/template/loader_tags.py, line 111, in render
return self.template.render(context)
  File /base/data/home/apps/ubuntu-apps/1.331603182473664271/common/
django/template/__init__.py, line 176, in render
return self.nodelist.render(context)
  File /base/data/home/apps/ubuntu-apps/1.331603182473664271/common/
django/template/__init__.py, line 768, in render
bits.append(self.render_node(node, context))
  File /base/data/home/apps/ubuntu-apps/1.331603182473664271/common/
django/template/__init__.py, line 781, in render_node
return node.render(context)
  File /base/data/home/apps/ubuntu-apps/1.331603182473664271/common/
django/template/__init__.py, line 802, in render
output = force_unicode(self.filter_expression.resolve(context))
  File /base/data/home/apps/ubuntu-apps/1.331603182473664271/common/
django/utils/encoding.py, line 52, in force_unicode
s = unicode(str(s), encoding, errors)
  File /base/python_lib/versions/1/google/appengine/api/
datastore_types.py, line 641, in __str__
if self._str is None:
AttributeError: 'Key' object has no attribute '_str'
--~--~-~--~~~---~--~~
You 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: What changed? Site is completely down.

2009-10-12 Thread Jon McAlister

It's an issue in the 1.2.6 release we're pushing out to the backends
today. If you tell me your app id (off-list is ok) I can move your app
to a 1.2.5 appserver and that will fix this your app.

And yes, we're working on a real fix too right now.

On Mon, Oct 12, 2009 at 3:47 PM, bvelasquez bvelasq...@gmail.com wrote:

 datastore_types.py:641    File /base/python_lib/versions/1/google/
 appengine/api/datastore_types.py, line 641, in __str__
    if self._str is None:
 AttributeError: 'Key' object has no attribute '_str'


 I am getting this error across the site now.  Nothing on my end has
 changed.  I cannot convert the key object to a string.

 Barry
 


--~--~-~--~~~---~--~~
You 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: What changed? Site is completely down.

2009-10-12 Thread bvelasquez

jacob-6 is the app-id.  Thank you!

On Oct 12, 3:49 pm, Jon McAlister jon...@google.com wrote:
 It's an issue in the 1.2.6 release we're pushing out to the backends
 today. If you tell me your app id (off-list is ok) I can move your app
 to a 1.2.5 appserver and that will fix this your app.

 And yes, we're working on a real fix too right now.

 On Mon, Oct 12, 2009 at 3:47 PM, bvelasquez bvelasq...@gmail.com wrote:

  datastore_types.py:641    File /base/python_lib/versions/1/google/
  appengine/api/datastore_types.py, line 641, in __str__
     if self._str is None:
  AttributeError: 'Key' object has no attribute '_str'

  I am getting this error across the site now.  Nothing on my end has
  changed.  I cannot convert the key object to a string.

  Barry


--~--~-~--~~~---~--~~
You 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: AttributeError: 'Key' object has no attribute '_str'

2009-10-12 Thread Jon McAlister

It's an issue in the 1.2.6 release we're pushing out to the backends
today. I've moved your app to a 1.2.5 appserver to temporarily fix it.

And yes, we're working on a real fix too right now.


On Mon, Oct 12, 2009 at 3:48 PM, nasim nasim.ha...@gmail.com wrote:

 I am getting this error in my app right now.

  File /base/data/home/apps/ubuntu-apps/1.331603182473664271/common/
 django/template/loader_tags.py, line 111, in render
    return self.template.render(context)
  File /base/data/home/apps/ubuntu-apps/1.331603182473664271/common/
 django/template/__init__.py, line 176, in render
    return self.nodelist.render(context)
  File /base/data/home/apps/ubuntu-apps/1.331603182473664271/common/
 django/template/__init__.py, line 768, in render
    bits.append(self.render_node(node, context))
  File /base/data/home/apps/ubuntu-apps/1.331603182473664271/common/
 django/template/__init__.py, line 781, in render_node
    return node.render(context)
  File /base/data/home/apps/ubuntu-apps/1.331603182473664271/common/
 django/template/__init__.py, line 802, in render
    output = force_unicode(self.filter_expression.resolve(context))
  File /base/data/home/apps/ubuntu-apps/1.331603182473664271/common/
 django/utils/encoding.py, line 52, in force_unicode
    s = unicode(str(s), encoding, errors)
  File /base/python_lib/versions/1/google/appengine/api/
 datastore_types.py, line 641, in __str__
    if self._str is None:
 AttributeError: 'Key' object has no attribute '_str'
 


--~--~-~--~~~---~--~~
You 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: AttributeError: 'Key' object has no attribute '_str'

2009-10-12 Thread Taylor Hughes

My app is also affected; the app key is dnzo if you could also push me
back to 1.2.5 for now I'd appreciate it.



On Oct 12, 3:51 pm, Jon McAlister jon...@google.com wrote:
 It's an issue in the 1.2.6 release we're pushing out to the backends
 today. I've moved your app to a 1.2.5 appserver to temporarily fix it.

 And yes, we're working on a real fix too right now.



 On Mon, Oct 12, 2009 at 3:48 PM, nasim nasim.ha...@gmail.com wrote:

  I am getting this error in my app right now.

   File /base/data/home/apps/ubuntu-apps/1.331603182473664271/common/
  django/template/loader_tags.py, line 111, in render
     return self.template.render(context)
   File /base/data/home/apps/ubuntu-apps/1.331603182473664271/common/
  django/template/__init__.py, line 176, in render
     return self.nodelist.render(context)
   File /base/data/home/apps/ubuntu-apps/1.331603182473664271/common/
  django/template/__init__.py, line 768, in render
     bits.append(self.render_node(node, context))
   File /base/data/home/apps/ubuntu-apps/1.331603182473664271/common/
  django/template/__init__.py, line 781, in render_node
     return node.render(context)
   File /base/data/home/apps/ubuntu-apps/1.331603182473664271/common/
  django/template/__init__.py, line 802, in render
     output = force_unicode(self.filter_expression.resolve(context))
   File /base/data/home/apps/ubuntu-apps/1.331603182473664271/common/
  django/utils/encoding.py, line 52, in force_unicode
     s = unicode(str(s), encoding, errors)
   File /base/python_lib/versions/1/google/appengine/api/
  datastore_types.py, line 641, in __str__
     if self._str is None:
  AttributeError: 'Key' object has no attribute '_str'
--~--~-~--~~~---~--~~
You 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: AttributeError: 'Key' object has no attribute '_str'

2009-10-12 Thread Jon McAlister

Moved dnzo.

On Mon, Oct 12, 2009 at 4:03 PM, Taylor Hughes tay...@taylorhugh.es wrote:

 My app is also affected; the app key is dnzo if you could also push me
 back to 1.2.5 for now I'd appreciate it.



 On Oct 12, 3:51 pm, Jon McAlister jon...@google.com wrote:
 It's an issue in the 1.2.6 release we're pushing out to the backends
 today. I've moved your app to a 1.2.5 appserver to temporarily fix it.

 And yes, we're working on a real fix too right now.



 On Mon, Oct 12, 2009 at 3:48 PM, nasim nasim.ha...@gmail.com wrote:

  I am getting this error in my app right now.

   File /base/data/home/apps/ubuntu-apps/1.331603182473664271/common/
  django/template/loader_tags.py, line 111, in render
     return self.template.render(context)
   File /base/data/home/apps/ubuntu-apps/1.331603182473664271/common/
  django/template/__init__.py, line 176, in render
     return self.nodelist.render(context)
   File /base/data/home/apps/ubuntu-apps/1.331603182473664271/common/
  django/template/__init__.py, line 768, in render
     bits.append(self.render_node(node, context))
   File /base/data/home/apps/ubuntu-apps/1.331603182473664271/common/
  django/template/__init__.py, line 781, in render_node
     return node.render(context)
   File /base/data/home/apps/ubuntu-apps/1.331603182473664271/common/
  django/template/__init__.py, line 802, in render
     output = force_unicode(self.filter_expression.resolve(context))
   File /base/data/home/apps/ubuntu-apps/1.331603182473664271/common/
  django/utils/encoding.py, line 52, in force_unicode
     s = unicode(str(s), encoding, errors)
   File /base/python_lib/versions/1/google/appengine/api/
  datastore_types.py, line 641, in __str__
     if self._str is None:
  AttributeError: 'Key' object has no attribute '_str'
 


--~--~-~--~~~---~--~~
You 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: GAE production error at this moment? : Class-key is a derived property and cannot be set.

2009-10-12 Thread gvanrossum

On Oct 12, 3:18 pm, Alan Xing alanx...@gmail.com wrote:
 E 10-12 03:02PM 22.599 Class-key is a derived property and cannot be set.

What's your app id, please?
--~--~-~--~~~---~--~~
You 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: AttributeError: 'Key' object has no attribute '_str'

2009-10-12 Thread Taylor Hughes

Thanks!


On Oct 12, 4:10 pm, Jon McAlister jon...@google.com wrote:
 Moved dnzo.



 On Mon, Oct 12, 2009 at 4:03 PM, Taylor Hughes tay...@taylorhugh.es wrote:

  My app is also affected; the app key is dnzo if you could also push me
  back to 1.2.5 for now I'd appreciate it.

  On Oct 12, 3:51 pm, Jon McAlister jon...@google.com wrote:
  It's an issue in the 1.2.6 release we're pushing out to the backends
  today. I've moved your app to a 1.2.5 appserver to temporarily fix it.

  And yes, we're working on a real fix too right now.

  On Mon, Oct 12, 2009 at 3:48 PM, nasim nasim.ha...@gmail.com wrote:

   I am getting this error in my app right now.

    File /base/data/home/apps/ubuntu-apps/1.331603182473664271/common/
   django/template/loader_tags.py, line 111, in render
      return self.template.render(context)
    File /base/data/home/apps/ubuntu-apps/1.331603182473664271/common/
   django/template/__init__.py, line 176, in render
      return self.nodelist.render(context)
    File /base/data/home/apps/ubuntu-apps/1.331603182473664271/common/
   django/template/__init__.py, line 768, in render
      bits.append(self.render_node(node, context))
    File /base/data/home/apps/ubuntu-apps/1.331603182473664271/common/
   django/template/__init__.py, line 781, in render_node
      return node.render(context)
    File /base/data/home/apps/ubuntu-apps/1.331603182473664271/common/
   django/template/__init__.py, line 802, in render
      output = force_unicode(self.filter_expression.resolve(context))
    File /base/data/home/apps/ubuntu-apps/1.331603182473664271/common/
   django/utils/encoding.py, line 52, in force_unicode
      s = unicode(str(s), encoding, errors)
    File /base/python_lib/versions/1/google/appengine/api/
   datastore_types.py, line 641, in __str__
      if self._str is None:
   AttributeError: 'Key' object has no attribute '_str'
--~--~-~--~~~---~--~~
You 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: GAE production error at this moment? : Class-key is a derived property and cannot be set.

2009-10-12 Thread Rafe

  It looks like you are trying to set a 'class' attribute on a
PolyModel instance.  Have you been doing anything like this (maybe
created your own 'class' property) or is this something that started
happening with the new API release?

On Oct 12, 3:18 pm, Alan Xing alanx...@gmail.com wrote:
 E 10-12 03:02PM 22.599 Class-key is a derived property and cannot be set.
--~--~-~--~~~---~--~~
You 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] Copy a Document in GAE

2009-10-12 Thread codingJoe

Can anyone provide a step by step or point me in the direction on how
to do this?

In my GAE I want to programatically make a folder in Google Docs named
MyFolder.

Then I want to put a copy of a couple template files into MyFolder
and replace certain values inside those files with variables.

Example:  copy template files into MyFolder

/template_files_directory
  | - A_template.doc
  | - B_template.doc

in A_template.doc replace {$foo} with string bar

I think I will need to use the DOCs API but I'm not sure how to do
it.  Advice?

Joe...


--~--~-~--~~~---~--~~
You 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: Broadcasting real-time notifications using XMPP - possible?

2009-10-12 Thread niklasr

XMPP multicast certainly is doable for instance via the official good
gae xmpp project already achieving similar functions, broadcasting
answers to questions when answers appear, is
http://code.google.com/appengine/articles/using_xmpp.html
and seems able to do what you want with small modification (to
multicasting) just calling xmpp functions accordingly. I test it
smallscale awaiting it's very scalable.
--~--~-~--~~~---~--~~
You 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: Heavy vs. Light entities

2009-10-12 Thread Shailen

Hi Jason,

Thanks for replying. Unfortunately, I do end with a ListProperty-like
situation by allowing multiple images per entity. So, if a user
decides to use, say, 15 images, with each image in the 100k (or more)
range, the fetch costs could start to add up. Minimizing image sizes
and capping he number of images would help, of course, but I think
splitting the entity would be a good idea.

- Shailen


--~--~-~--~~~---~--~~
You 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: Newbie AppEngine Form problem

2009-10-12 Thread GAEfan

Watch for typos, as Python is case-sensitive (Textarea vs. TextArea):

justification = forms.CharField(widget=forms.Textarea)

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