Trying to move away from the standard thinking of relational databases, I
looked around but couldn't find a solid document to get up to speed so I
chose to pick up a fairly complicated scenario and brainstorm about it:
Quick Overview: Trying to model: Students get group Assignments in a Class.
Stu
ehy all .. it feels like ive already asked this before but i cant
remember ..
anyway, i have entities of a kind that have a stringlistproperty. Im
trying to query for entities who's list contain a particular item.
for instance, entity A's list is foo, bar, bob ... I want to query for
entities wh
I am having the same issue.
I have also added favicon url in app.yaml.
Here's how my app.yaml looks like:
application: wallpipetest
version: 1
runtime: python
api_version: 1
handlers:
# static files url
- url: /static/
static_dir: static/
- url: /favicon.ico
static_files: static/img/favicon
Ok, i've filled a bug with a screenshot
http://code.google.com/p/googleappengine/issues/detail?id=1134
Regards
On Mar 9, 7:22 pm, Marzia Niccolai wrote:
> Hi,
>
> Did you file an issue for this? Also, in that issue could you (or did you?)
> provide a screenshot? That would be helpful.
>
> -Mar
Thanks for your response, Ryan.
That's not exactly what I meant, at the behavior of a transaction
would be a bit much.
I'm just interested in increased performance wherever possible.
On Mar 9, 8:13 pm, Ryan Lamansky wrote:
> If they're in the same entity group, you can put and delete in a
> s
Hi,
I am trying to make the tutorial to bring a django app to app
engine :http://code.google.com/intl/fr-FR/appengine/articles/
appengine_helper_for_django.html
In fact, I got a "no module named django" error while running the
server.
Here is the traceback :
ERROR:root:Exception encountered hand
Are you using firefox with addons ? Some addons (like the javascript
library detector) add a second request to do their work.. so perhaps
try using a different browser to make sure it's not browser related.
--~--~-~--~~~---~--~~
You received this message because you
As far as I know:
query = A.all().filter('intProperty', val).filter('date >=', date)
This is one read. Hence the relatively fast performance for getting
itemAs.
But this:
itemBs = [itemA.typeB for itemA in itemAs]
..is n reads, where n is the number of itemAs you have. In your case,
an extra
Great that worked thx
On Sun, Mar 8, 2009 at 7:10 PM, GregF wrote:
>
> Yes you can, and as you suggest, it is a very good idea. Just create
> one file called my_models.py with the model definitions (say Cat and
> Dog), and in your other files just use "from my_models import Cat".
>
>
> >
>
--~-
Doh, I just thought of this as one potential simple way to improve
your itemB dereferencing:
http://code.google.com/appengine/docs/python/datastore/modelclass.html#Model_get
Create a list of the keys to your itemBs without dereferencing them,
then pass the list to itemB.get(). I think this perfo
Hi Paul,
Kudos to you!! You are doing a great service to the open source and
Google App Engine community.
Thank you.
cheers,
~KEGan
On Mar 7, 7:17 pm, Paul Kinlan 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.
>
>
But I don't think anyone already reserved "d1turen" or "dituren" as
Gmail username or Appspot Id.
Can anyone tell me why "dituren" is reserved?
On 3月10日, 上午2时43分, Marzia Niccolai wrote:
> Hi,
>
> This is a known issue with the 'Check availability' functionality. Gmail
> and App Engine share th
I actually already noticed a big jump (500MB) in stored data when they went
live with billing, so I think I've already seen the increase described in
that thread. This Jump is much larger and the only google activity it
coincides with is some hardware upgrade. Hopefully I can get to the bottom
of
Hi,
I had exactly the same problem of "importing django error". The
warning I got is :
[WARNING:root:Blocking access to skipped file "/Users/brouard/
mysite/.google_appengine/lib/django/django/foo"]
Can Brett or Nuno help me?
I have the 1.1.9 version of appengine. The SDK folder
(google_appengin
I am working on a blog article on GAE and using it as a CDN per the yslow
suggestions. I have a few questions I would like to verify.
1) Is this data geographically dispersed and served from a location closest
to the user? I thought that it was, but saw a recent post stating that all
datastor oper
On Mar 10, 10:17 am, "Steve Robillard"
wrote:
> 1) Is this data geographically dispersed and served from a location closest
> to the user? I thought that it was, but saw a recent post stating that all
> datastor operations were done from a single datacenter.
Google's not going to reveal that,
Hi,
even if Google is serving data from single datacenter, it can be still
faster to deliver data from app hosted at Google then from your own server.
The reason is that Google has edge servers (proxies) in many datacenters
around the world. These servers have good connectivity to Google Datacent
Ok.. thanks Ryan.
But the problem is that the queries are varied and are performed by
users, would have to generate many counters, besides, this is the
function that has to perform count().
On Mar 9, 10:09 pm, Ryan Lamansky wrote:
> Increment a stored counter as you add values then check that
Hi,
Yes, it has already been reserved.
-Marzia
On Tue, Mar 10, 2009 at 6:04 AM, K_Reverter wrote:
>
> But I don't think anyone already reserved "d1turen" or "dituren" as
> Gmail username or Appspot Id.
>
> Can anyone tell me why "dituren" is reserved?
>
> On 3月10日, 上午2时43分, Marzia Niccolai wr
When I try and upload my app using appcfg.py I can get to where you
have to enter in a password then I am unable to type in anything. I am
trying to upload the helloworld example so I haven't been able to do
it once.
Any ideas?
--~--~-~--~~~---~--~~
You received t
Hi Morten,
Not sure if it's a typo or not, but the issue might be the template
you're rendering with MainHandler. Try template.render
('content.html',''))
On Mar 9, 12:05 am, Morten Bruhn wrote:
> Hi Guys,
>
> First of all I am a newbie, but I still hope you can help me...
>
> I have created an
I think it is easy to check by using URLFetch to query other site then
check IP.
just my idea;)
On Mar 10, 10:19 pm, Myroslav Opyr wrote:
> Hi,
>
> even if Google is serving data from single datacenter, it can be still
> faster to deliver data from app hosted at Google then from your own server
Hi,
The homepage of my app displays a list of items with their content
(might as well think of it as a blog), and you can also link to
individual items. I'd like to use the same set of templates for both
cases.
So my handlers look something like this:
I have a google app engine account, I only one application,I have 10
applications remaining. but I can not create new application, It is
show me "Already Exists This application ID or version is already in
use.", I have checked application ID availability, I don't understand
why I can not
I created a model with fixed content that requires ~250b serialized,
including all field names, the key, and the kind name, and parent
(None). I added 312000 of those to the datastore, for 75 megs of raw
data. There are 8 indexable fields, The indices should require no more
than 176 megs of additi
it's done.
I specify the port by "-p 80", then it's ok
On Mar 9, 12:40 pm, Allen wrote:
> I set a to post data to database [ db.TextProperty() ], and
> then use "self.redirect()" switch to an other page.
>
> while there're not many inputed characters, it's ok. But when I inpute
> more characte
Or better, take your raw data size excluding BlobProperty and
TextProperty and multiply by 15x. I'm not sure what the multiplier is
on the unindexed properties yet.
On Mar 10, 9:28 am, Jonathan Ultis wrote:
> I created a model with fixed content that requires ~250b serialized,
> including all fi
Thanks for the response peter. It is my understanding that a
ReferenceProperty IS actually just a Key (http://code.google.com/
appengine/docs/python/datastore/
typesandpropertyclasses.html#ReferenceProperty). If it isn't, how do
I get the key of itemB without dereferencing itemB? There is no
Ke
Hi,
Could you post at least a sample of your model?
I have used the GQL query to find if a string is in the kinds list
property and it's working.
My model sample,
Post(db.Model):
tag = db.StringListProperty(required=True)
Post.all().filter('tag =', some_tag).get()
Thanks,
Arun Shanker Prasad
We have a new application that receives _very_ little load. So little,
in fact, that each request spins up a new application instance. We are
using Django trunk and the import overhead is high. All of this yields
a long request (e.g., 8802ms) using a lot of CPU (e.g., 3247ms-cpu).
With very littl
(I am new to Python and Google App Engine, please forgive me if my
questions seem basic).
I'm having a helluva time trying to manage multiple user timezones in
my Google App Engine application.
Here are my constraints:
1. If a user enters the time on an input, it will be local time
(includin
This thew me off too, there are no echo characters, but your typing is
accepted.
Just type it as best you can and hit enter.
On Mar 10, 12:05 am, "n...@cornell.edu" wrote:
> When I try and upload my app using appcfg.py I can get to where you
> have to enter in a password then I am unable to typ
Hi Ritesh,
I didn't see any obvious issue with your code snippet, so more context
would be helpful. Also it seems that _get_user_nick_name may not
return what is expected.
def _get_user_nick_name(self):
return self.user
I think you want to return self.user.nickname()
Thank you,
Jeff
I got same issue but it was fixed after I deployed my project with
- url: /remote_api
script: $PYTHON_LIB/google/appengine/ext/remote_api/handler.py
login: admin
On Mar 8, 10:29 am, Pavel Byles wrote:
> When I follow the article
> from:http://code.google.com/appengine/articles/bulkload.htm
My code never reaches. Even if the first lines of code that execute
are
import logging
logging.info("Berfore anything ...");
I see nothing in the logs. So, don't know really what's going on.
Looks like a gae bug to me. I'll try with a fresh app id to see what
happens
-U
On Mar 3, 5:43 pm, Nic
Yeah, sorry, you're right..with regard to a batch get, I'm not sure
there's any way to just get the itemB keys without dereferencing the
whole object..
A thought crossed my mind that you could try storing the key id or
name as strings in itemA and then construct a list of keys by casting
the id s
Hello Jeff,
On Tue, Mar 10, 2009 at 10:46 AM, Jeff S wrote:
>
> Hi Ritesh,
>
> I didn't see any obvious issue with your code snippet, so more context
> would be helpful. Also it seems that _get_user_nick_name may not
> return what is expected.
>
> def _get_user_nick_name(self):
> return s
How frequently are you hitting appengine 'cold', requiring a start-up?
I'm running an app on django using app-engine-patch. Just testing and
so forth, it averages around 1 request every 5 to 10 seconds. Just
looking over my last 60 requests or so, I don't see any evidence of
'cold starts', all re
I tried Chrome and IE right now and they only send request once.
Since, I have been testing on FF all this time, so never realized if
this could be the case.
Thanks,
Pankaj Vishwani
On Mar 10, 3:47 am, Bastian Hoyer wrote:
> Are you using firefox with addons ? Some addons (like the javascript
As of right now, we are seeing instance start-ups around every 2-3
seconds - every 2-4 requests.
We are using http://code.google.com/p/google-app-engine-django/ as the
shim.
j
On Mar 10, 12:23 pm, peterk wrote:
> How frequently are you hitting appengine 'cold', requiring a start-up?
>
> I'm ru
That sounds like very strange behaviour.
I don't have much experience with django helper..I remember using it
before switching to appengine patch, but I don't remember having these
kinds of issues with it. I wasn't really looking out for them though,
mind you.
The only reassurance I can provide
Ok, so I figured out the source of my misfortune.
For some mysterious reason, in google app for domains the
my_app_id.appspot.com url wasn't listed
So, I deleted the my_app_id service in google app for domains and
added it back in, with all the other custom urls, etc. Did it from
google app engi
Hi
Can I dynamically authenticate a user with Google Accounts?
Then I can use users.get_current_user().
--
Ritesh
http://www.riteshn.com
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
can you post the query ?
Sebastian E. Ovide
On Fri, Mar 6, 2009 at 9:07 PM, Brandon Thomson wrote:
>
> For me even fetching 1-2 entities can be too many and cause a Timeout.
> It seems to depend on the complexity of the query.
>
> I recommend you don't do any querie
So, I got some help from StackOverflow on this one.
Careful use of the dateutil library seemed to solve my problem. It is
fairly robust and a much smaller footprint from PyTZ.
On Mar 10, 11:06 am, mawcs wrote:
> (I am new to Python and Google App Engine, please forgive me if my
> questions see
The datastore seems to be unusually zippy today, whatever you googly
types did yesterday sure worked. Beautiful!
thanks,
- Claude
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to
You don't need to set up an appspot.com URL under Google Apps for your
domain.
On Mar 10, 2:52 pm, Ubaldo Huerta wrote:
> Ok, so I figured out the source of my misfortune.
>
> For some mysterious reason, in google app for domains the
> my_app_id.appspot.com url wasn't listed
>
> So, I deleted t
On Mar 10, 3:13 pm, Ritesh Nadhani wrote:
> Hi
>
> Can I dynamically authenticate a user with Google Accounts?
>
> Then I can use users.get_current_user().
If by "programmatically" you mean you know the user's username and
password and fill it in for them, no. Allowing you to do that would
be
I concur with Ryan's comments.
I'll add that I've found that the more one is used to and comfortable
with Java, the more likely they are to be particularly challenged and
frustrated by Python. Particularly, if you *really like* Java, you
will most likely really despise Python. Likewise, the mor
The answer to your general question is yes, you can programmatically
login to Google Accounts. See my post here for the steps involved:
http://groups.google.com/group/google-appengine/browse_thread/thread/bbb2b83d577fedd8/69df83cd23850d58?lnk=gst&q=android#69df83cd23850d58
But what exactly ar
Ha! That was so easy. It worked. Thank you so much!
On Mar 10, 1:11 pm, mawcs wrote:
> This thew me off too, there are no echo characters, but your typing is
> accepted.
>
> Just type it as best you can and hit enter.
>
> On Mar 10, 12:05 am, "n...@cornell.edu" wrote:
>
> > When I try and uploa
Seconded. Much appreciate the effort you put in during what I guess
was a pretty stressful week.
Cheers!
Greg.
On Mar 11, 8:36 am, cz wrote:
> The datastore seems to be unusually zippy today, whatever you googly
> types did yesterday sure worked. Beautiful!
> thanks,
> - Claude
--~--~-~-
Hi -
My app uses memcache-backed sessions, and we just had a hiccup when
some users saw their session die - and more worryingly at least one
user suddenly got another user's session.
Anyone else notice a glitch at about 14:00 EST 10th March? Or should I
be looking at my session implementation? A
Not so hurry.
As for pytz footprint, it's ~600kB in size and can be lightning fast
if combined with caching in memcache (caching of tzinfo? why not...).
Combine this with Babel and you'll get everything you'd want to do
l10n.
On 10 Mar, 20:21, mawcs wrote:
> So, I got some help from StackOverfl
memcache loosing data is to be expected. its not designed for storing
original data.
session transfer suggests an issue, or maybe a id or hash collision.
see also
http://code.google.com/status/appengine/detail/memcache/2009/03/10#ae-trust-detail-memcache-set-error_rate
On 10/03/2009, Greg wr
On Mar 10, 11:10 am, peterk wrote:
> A survey of read cost as entity numbers increase would indeed be
> interesting however..I've been making the assumption that read speed
> is roughly constant regardless of the number of entities
> underneath...but that is just an assumption. Maybe a google pe
somehow youre answering a question i had in a different post, which it
turns out was just a typo...
On Mar 10, 12:51 pm, Arun Shanker Prasad
wrote:
> Hi,
>
> Could you post at least a sample of your model?
>
> I have used the GQL query to find if a string is in the kinds list
> property and it'
On Mar 11, 6:06 am, mawcs wrote:
> I'm having a helluva time trying to manage multiple user timezones in
> my Google App Engine application.
I have wrangled with time display for years, and my solution is to
store everything as a unix datestamp (time.time()). When the user logs
in, use a bit of
This is useful stuff Ryan, thanks very much for weighing in here.
Sorry if some redundant points are being raised here.. my lingering
question in light of your post is regarding the variation in
performance between itemAs' construction and itemBs' if both boil down
to the same read behaviour on t
On Mar 10, 4:38 pm, peterk wrote:
> Sorry if some redundant points are being raised here.. my lingering
> question in light of your post is regarding the variation in
> performance between itemAs' construction and itemBs' if both boil down
> to the same read behaviour on the datastore. To walk th
Hi Nick,
Sorry for the delay here. Been working hard these last few days to
resolve these latency issues, which are looking good now. I'd like to
help you figure out the issue here, so please bear with me since I'm
not looking at your app's source code. =)
I believe Marzia stated elsewhere that
Actually, that is normal behavior. This has been discussed in previous
threads.
GAE seems to aggressively purge it's app cache, average app lifetime
appears to be under 2 seconds. Appengine-patch may be marginally
faster but both require Django1.x to be imported via zipimport, which
is pretty expe
This should be a firefox bug cause by your incorrect html code.
Can you post your html code here?
go2.appspot.com
Pankaj Vishwani wrote:
>I tried Chrome and IE right now and they only send request once.
>Since, I have been testing on FF all this time, so never realized if
>this could be the c
Hello
On Tue, Mar 10, 2009 at 1:04 PM, Wooble wrote:
>
>
>
> On Mar 10, 3:13 pm, Ritesh Nadhani wrote:
>> Hi
>>
>> Can I dynamically authenticate a user with Google Accounts?
>>
>> Then I can use users.get_current_user().
>
> If by "programmatically" you mean you know the user's username and
>
Hello
On Tue, Mar 10, 2009 at 1:55 PM, lenza wrote:
>
> The answer to your general question is yes, you can programmatically
> login to Google Accounts. See my post here for the steps involved:
>
>
> http://groups.google.com/group/google-appengine/browse_thread/thread/bbb2b83d577fedd8/69df83cd2
cmd> set HTTP_PROXY="http://cache.mycompany.com:3128";
cmd> appcfg.py update myapp
File "C:\PROGRA~1\Python26\lib\urllib2.py", line 383, in open
response = self._open(req, data)
File "C:\PROGRA~1\Python26\lib\urllib2.py", line 401, in _open
'_open', req)
File "C:\PROGRA~1\Python26
Hi all,
I am new to python and django.
Trying to do a request like http://someurl/?AA.AA=abc with
RequestContext.
and render in template {{ request.AA.AA }} , It got "Could not parse
the remainder"
The ?AA.AA=abc isn't not define by me. Is any way to deal with this
problem ?
Best Regar
I was curious what my error template does with this
DeadlineExceededError but no cigar.
I use the webapp.RequestHandler.handle_exception() but it does not
seem to get called for DeadlineExceededError. In dev server runtime/
__init__.py DeadlineExceededError is derived from Exception or
BaseExcepti
There was nothing wrong with the html code, since I had a blank html
file when I was trying to debug this problem.
Anyways, I figured out why FF was sending multiple requests.
The reason was YSlow. I had set YSlow to "AutoRun". And that was
making the second call.
Sorry to bother you all.
Thanks
69 matches
Mail list logo