long story short, I had a URL that was running 900/1500ms (app/api)
CPU, so I had to dig into it. I was surprised by just how much CPU
time some simple things are taking (or how much I think they're taking
;-). For example, with this class:
class AssocObject(db.Model):
urlPath = db.TextProperty
Hi Brad,
Are you signed in as the admin for the Google Apps domain? I think only a
domain admin can add App Engine apps to a Google Apps domain.
Thank you,
Jeff
On Mon, Aug 10, 2009 at 7:27 AM, Brad Allison wrote:
>
> I am getting the above message when I try to add my app to Google
> Apps. I
Hi jd,
You might have better luck using the search box on
http://code.google.com/appengine/. This uses a Custom Search Engine which
has a refinement tab for the discussion groups, for example I searched for
transcript refined to the discussion groups and got
http://www.google.com/custom?client=go
I'm trying to load a remote gzip file onto the Python environment, but
the downloaded file is already unzipped. Hence it gets chopped (or get
a ResponseTooLargeError).
Here is my code.
from google.appengine.ext impo
Not that I know of no.
2009/8/11 epb
>
> Ok, thanks. So there is no way to check if the user is a valid Google
> account before I store it?
>
> On Aug 11, 5:10 pm, Alkis Evlogimenos ('Αλκης Ευλογημένος)
> wrote:
> > A user object needs to be stored in the datastore before it gets its id
> > pop
Hi Jeff,
I am no longer using the rest server interface. Instead I have made my
own custom interface that handles http get/post. In addition to
creating this interface, I followed one of the approaches you
described and added a list of users to the entity that I am sharing.
This works fine, as th
Ok, thanks. So there is no way to check if the user is a valid Google
account before I store it?
On Aug 11, 5:10 pm, Alkis Evlogimenos ('Αλκης Ευλογημένος)
wrote:
> A user object needs to be stored in the datastore before it gets its id
> populated.
>
>
>
> On Tue, Aug 11, 2009 at 9:28 PM, epb
A user object needs to be stored in the datastore before it gets its id
populated.
On Tue, Aug 11, 2009 at 9:28 PM, epb wrote:
>
> I am trying to store some users in my app, but when I create a User
> instance using a valid Google account e-mail on my server, the object
> that is returned as no
On Tue, Aug 11, 2009 at 9:38 PM, Peter Petrov wrote:
>
> On Aug 11, 10:57 pm, "Nick Johnson (Google)"
> wrote:
>> That's correct. The length limitation on StringProperty is due to the
>> indexing.
>
> Does this mean that a StringProperty(indexed=False) can have unlimited
> length?
No - the leng
GAE uses a white-list of classes allowed for you to use.
this jva.rmi.server.UID may be in the black-list, because it says:
"java.lang.NoClassDefFoundError:
java.rmi.server.UID *is a restricted **class.* "
you can find the white-list classes here:
http://code.google.com/appengine/docs/java/jrewhi
On Aug 11, 10:57 pm, "Nick Johnson (Google)"
wrote:
> That's correct. The length limitation on StringProperty is due to the
> indexing.
Does this mean that a StringProperty(indexed=False) can have unlimited
length?
--~--~-~--~~~---~--~~
You received this message
On Tue, Aug 11, 2009 at 7:46 PM, Jeff Enderwick wrote:
>
> Thanks again Nick. Sorry to be a PITA. We've been told that
> TextProperty is effectively the same as StringProperty w/out the
> indexing (although the online doc indicates some max length
> differences).
That's correct. The length limita
I am trying to store some users in my app, but when I create a User
instance using a valid Google account e-mail on my server, the object
that is returned as no user_id (None is returned when I apply the
user_id()-method). This is what I do, right before I want to store the
user:
user = users.Use
Thanks again Nick. Sorry to be a PITA. We've been told that
TextProperty is effectively the same as StringProperty w/out the
indexing (although the online doc indicates some max length
differences).
What are the differences between ListProperty(db.Text) and
StringListProperty(indexed=False), and
I have been using ReportLab. Apart from the inability to embed
pictures I have been pretty happy with it.
Best Regards
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this group
This maybe what you are asking about?
http://code.google.com/appengine/articles/remote_api.html
Neal Walters
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this group, send ema
Google Data Store doesn't offer a record count of all rows of a "Kind"
on BigTable; the typical recommendation is to keep your own counter up-
to-date each time you store a record (assuming you really need it).
If you are worried about concurrency when doing this, there is a
"sharding" technique h
Your basic choices are:
1) Google Checkout
2) Paypal
3) Get your own merchant account with your bank and then find a
company that does online processing such as Authorize.Net or PayFloPro
(from Paypal). Usually you will get Visa/MC with your bank, then have
to apply with Amex/Discover separately
Hi All,
I'm really new to python and databases period, so please take it easy
on me, im trying to learn. im trying to roll my own energy monitor
and i cant really figure out how to get the number of entities in my
data store.
class PowerData(db.Model):
date = db.DateTimeProperty(auto_now_add=
Hi,
I am working on a project which needed payment so that
anybody can use his/her credit card to purchase my service, As I am
new to Google App Engine, I need your help for this part, if somebody
can suggest the text related to it that would be appreciable.thanks.
--
Rahul
--~--~--
Hi Nick
I also have 3 indexes in my app (alin) which are stuck since two days
in the building state. Could you please help me set them to the error
state so I can perform a vacuum. Is there actually a way to set the
stuck indexes to the error state myself so I and maybe others dont
have to harass
Here's all of the code from the presentation:
http://code.google.com/events/io/sessions/OfflineProcessingAppEngine.html
class Counter(db.Model):
count = db.IntegerProperty(indexed=False)
class CounterHandler(webapp.RequestHandler):
def post(self):
key = self.request.get('key')
if (me
Hello!
the last days i read a lot about google app engine but I couldn't find
the answere to one question.
I searching a solution where I can access with a non-browser-based
application the database (read/write). Is this possible with google
app engine? I found this example in the Cookbock[1]. T
My app id is vietnamix by the way.
On 10 Tháng Tám, 22:04, "Nick Johnson (Google)"
wrote:
> Hi Bryan,
>
> I've reset your indexes again.
>
> We are working on improving theindexbuilding system to the point
> where this will no longer be an issue.
>
> -Nick Johnson
>
>
>
>
>
> On Mon, Aug 10, 200
Hi,
My indexes (2 of 2) are unfortunately stuck on "Building" even though
I have little data and have tried a few update and vacuum index
commands. Could someone from the AppEngine team take a look and reset
my indexes to "Error" ?
Thanks heaps.
On 10 Tháng Tám, 22:04, "Nick Johnson (Google)"
I'm a newb myself, but I know one way. There is a method,
get_by_key_name(), where you get an entity by key_name like this:
greeting = Greeting.get_by_key_name(somekeyname)
If you give it one key_name string, it gives you one instance.
See: http://code.google.com/appengine/docs/python/datastore
On Tue, Aug 11, 2009 at 5:31 PM, Ben Nevile wrote:
>
> Hi Nick,
>
> Hooks are cool! Thanks for bringing my attention to them.
>
> Can you expand a bit on how one might handle a multi-account scenario
> using hooks? All I can imagine is a datastore hook that is smart
> enough to insert the proper
I created an extra app, named peechobloog. The indexes get stuck in
that one, too. However, I played around with the actual order of the
indexes in the index.yaml file, and it seems that this index...
- kind: Article
properties:
- name: published
direction: desc
...is causing problems. I
Hi Nick,
Hooks are cool! Thanks for bringing my attention to them.
Can you expand a bit on how one might handle a multi-account scenario
using hooks? All I can imagine is a datastore hook that is smart
enough to insert the proper filter on a query before it is executed --
is that what you had
Yes, I have run these commands, but the indexes are still stuck
(again). Since the indexes are standard Bloog (and I don't see anybody
else complaining), would it be worth a try to deploy the code into
another app to see if it would work there? Or is there anything else I
could do?
Thanks for you
Hi Nick,
On Tue, Aug 11, 2009 at 7:50 PM, Nick Johnson
(Google) wrote:
>
> On Tue, Aug 11, 2009 at 7:29 AM, Takashi Matsuo
> wrote:
>>
>> Hi Nick,
>>
>> On Thu, Jul 30, 2009 at 4:48 PM, Nick Johnson
>> (Google) wrote:
>>> Hi Takashi,
>>>
>>> If the entity being put has neither key name nor id, a
> But it's still the sexiest hosting platform on the net -
Sure the sexiest.
That's why we're here and try to convince Google to add what lacks.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Google App Engine"
Hello,
I had the same problem. As I understand, in production urllib2 is
emulated on GAE through urlfetch and the cookie-related features don't
work. As a workaround you can set "Cookie" header explicitly. Here's
some code I used:
import Cookie
#get the cookie from the response:
cookie = Cookie.
Hi Sylvain, would it be possible for you to pay for App Engine hosting
from a PayPal account (instead of the bank account), which you would
be filling up monthly?
Sorry if this is a stupid question, I haven't used App Engine billing
yet.
J.
On Aug 10, 4:49 pm, Sylvain wrote:
> Hi,
>
> Here is th
Well for starters I'd welcome more than 100 composite indexes limit, a
real paging support (next, previous, jump to a page no.), and rock
solid indexes so that app customer data don't get mixed on an index
accident. Then a big file service and freetext search indexing.
But it's still the sexiest
On Mon, Aug 10, 2009 at 8:46 PM, Peecho wrote:
>
> Thanks, I could vacuum them now.
>
> However, my second attempt does not seem to do much either. I am a
> Python newbie, so I fear I do something wrong...
> For some reason, I see only 4 indexes 'building' in my console, while
> my index.yaml actu
On Mon, Aug 10, 2009 at 6:09 PM, Ste wrote:
>
> Hi,
>
> I'm a total newbie to App Engine, and to web apps in general, with a
> background in front end web design.
>
> Anyway, I've worked through the (python) "Getting Started" guide, and
> it makes sense. Now I'm trying to change small bits and pie
Hi Liang,
For a few examples - by no means a comprehensive list - you can see
the developers who attended the App Engine developer sandbox at the
most recent Google I/O: http://code.google.com/events/io/sandbox.html
-Nick Johnson
On Tue, Aug 11, 2009 at 3:52 AM, Liang Han wrote:
>
> This is not
On Tue, Aug 11, 2009 at 7:04 AM, Jeff Enderwick wrote:
>
> So, if I want StringListProperty, but I don't want/need the indexing,
> then I ought use ListProperty(db.Text)?
A better option would be to use StringListProperty(indexed=False).
-Nick Johnson
>
> Thanks again,
> Jeff
>
> On Mon, Aug 10
I've reset quotas for me-trics and labpixiesdata. I can't reset
NiklasRTZ's index quota, since he didn't provide an App ID.
-Nick Johnson
On Tue, Aug 11, 2009 at 7:24 AM, Guy Rutenberg wrote:
>
> Hi Jeff,
>
> We are experiencing the same issue with app-id: labpixiesdata. It
> reports Datastore
On Tue, Aug 11, 2009 at 7:29 AM, Takashi Matsuo wrote:
>
> Hi Nick,
>
> On Thu, Jul 30, 2009 at 4:48 PM, Nick Johnson
> (Google) wrote:
>> Hi Takashi,
>>
>> If the entity being put has neither key name nor id, a new id will be
>> created for it when it's put, so it will always result in a new enti
I experience round-trip latency from a browser of around one second.
(My request log indicates < 25ms for many requests in the application)
Is this explainable/expected/considered acceptable? It would
certainly make "as you type" updates as per the Wave demos hard to
emulate!
I am using Java, s
42 matches
Mail list logo