On Tue, Feb 10, 2009 at 11:03 AM, Ian Lewis wrote:
> The documentation seemed to suggest that the more root entities you have the
> more it can distribute your query so it should be faster, but I'm curious
> about entity groups and what, if any, advantage there is to putting entities
> in an ent
Um, this might be a dumb question, but the SVN source tree doesn't
seem to reflect the latest version. It looks like it's stuck at r34
which according to the release notes is version 1.1.8.
Is there a new repository or am I hallucinating?
I usually just get the latest version via SVN but this seem
On Tue, Feb 10, 2009 at 9:45 AM, Jason DeFontes wrote:
>
> Is there a simple way to have a calculated property that automatically
> updates itself any time an entity is saved? For example:
>
> class Article(db.Model):
> body = db.StringProperty()
> word_count = db.IntegerProperty()
You should
On Feb 10, 7:06 pm, David Symonds wrote:
> On Tue, Feb 10, 2009 at 9:45 AM, Jason DeFontes wrote:
>
> > Is there a simple way to have a calculated property that automatically
> > updates itself any time an entity is saved? For example:
>
> > class Article(db.Model):
> > body = db.StringProperty
what is wrong with this:
from django.utils import simplejson
...
obj = simplejson.loads("{'id':'KS1-0','type':'activity','units':
1,'priceper':450}")
self.response.out.write("" + obj.type + "");
I get the error:
File "C:\Program Files\Google\google_appengine\lib\django\django\utils
\simp
On Feb 10, 5:23 pm, Rein Petersen wrote:
> obj = simplejson.loads("{'id':'KS1-0','type':'activity','units':
> 1,'priceper':450}")
The string of JSON is wrapped with double quote. ( http://json.org/ )
This will work
obj = simplejson.loads('{"id":"KS1-0","type":"activity","units":
1,"pricep
Hi,
now that sdk 1.1.9 disallows access to "skipped" files, the
LoadAppengineEnvironment() function in the django helper isn't
working. It makes a call to LoadAppConfig, which tries to read
app.yaml. Since this is a skipped file (it's actually marked as
skipped when LoadAppConfig is first called)
as well as the CNAME pointing to ghs.google.com, you also need to
configure Google Apps for your Domain to enable that domain for your
app. You should be able to do this at the following URL (replace the
Xs with the app_id for your app):
http://appengine.google.com/deployment/newdomain?app_id=XXX
Michael,
Hmm, it seems to be running ok here for me.
On Tue, Feb 10, 2009 at 7:00 PM, mcobrien wrote:
>
> Hi,
>
> now that sdk 1.1.9 disallows access to "skipped" files, the
> LoadAppengineEnvironment() function in the django helper isn't
> working. It makes a call to LoadAppConfig, which tries
Hi Michael,
mcobrien wrote:
> now that sdk 1.1.9 disallows access to "skipped" files, the
> LoadAppengineEnvironment() function in the django helper isn't
> working. It makes a call to LoadAppConfig, which tries to read
> app.yaml. Since this is a skipped file (it's actually marked as
> skipped w
Michael,
Ah, I may not have been running the current version from svn.
Matt,
Thanks for fixing it,
On Tue, Feb 10, 2009 at 7:35 PM, Matt Brown wrote:
>
> Hi Michael,
>
> mcobrien wrote:
> > now that sdk 1.1.9 disallows access to "skipped" files, the
> > LoadAppengineEnvironment() function in
Matt,
thanks a lot, that fixed it for me. I'll be sure to file an issue if I
see anything else strange.
cheers
M
On Feb 10, 10:35 am, Matt Brown wrote:
> Hi Michael,
>
> mcobrien wrote:
> > now that sdk 1.1.9 disallows access to "skipped" files, the
> > LoadAppengineEnvironment() function in t
Thx for the tip, but it's not the case. What I don't get is why does
it work on the dev_appserver and not once uploaded?
Here is my app.yaml
application: wetlabmanager
version: 1
runtime: python
api_version: 1
handlers:
- url: /static
static_dir: static
- url: /.*
script: main.py
My index
On Feb 10, 5:46 am, Alexander Kojevnikov
wrote:
> On Feb 10, 3:35 pm, "Brett C." wrote:
>
> > On Feb 3, 10:15 am, Bret wrote:
>
> > > How is Best Buy's Giftag using custom authentication?
>
> > >http://www.giftag.com
>
> > By rolling their own solution. Nothing says you have to use App
> > Engi
On Feb 10, 10:57 pm, Waldemar Kornewald wrote:
> Actually, the Giftag guys use app-engine-patch. ;)
>
As if there is a better alternative :)
Thanks for your work Waldemar!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Gro
Hi everyone,
please grab our new app-engine-patch 1.0beta release. Major new
features: support for Django's admin interface, the media generator
(combines and compresses your JS/CSS files for faster site load
times), and self-contained apps.
http://code.google.com/p/app-engine-patch/
We need test
On Mon, Feb 9, 2009 at 11:46 PM, Alexander Kojevnikov <
alexan...@kojevnikov.com> wrote:
>
> On Feb 10, 3:35 pm, "Brett C." wrote:
>
> You can use django.contrib.auth [1] with app-engine-patch [2]
>
> [1] http://docs.djangoproject.com/en/dev/topics/auth/
> [2] http://code.google.com/p/app-engine-
Hi,
I have a similar problem, except that I'm using Django 0.96 included
in the SDK and App Engine Helper for Django rev 53 (following the
instructions in the README, it's the latest revision that works with
0.96). Updating to r73 would mean having to update to a more recent
version of Django and
Hi Dan,
On Feb 10, 5:05 am, Dan Sanderson wrote:
> As for bundling Django, we plan to upgrade the bundled Django with the next
> major version of the Python runtime environment. Upgrading Django 0.96 to
> 1.0 in place does not meet our criteria for a backwards compatible change,
> and so cannot
Is there any tutorial on this for a newbie ? .. does just having a
reference property is enough or do we need to recode things
specifically ? ..
On Feb 10, 12:59 pm, David Symonds wrote:
> On Tue, Feb 10, 2009 at 1d1:03 AM, Ian Lewis wrote:
> > The documentation seemed to suggest that the more
I'm getting an error similar to the errors about not being able to access
skipped files with appengine-django but this time I'm getting an error about
not being able to access the PIL module file Image.py
I'm getting a different error pertaining to PIL now. This may or may not be
related to appeng
Change line nosegae.py:125 to:
dev_appserver.FakeFile.SetAllowedPaths('', paths)
--~--~-~--~~~---~--~~
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@google
It is a simple two step process.
(1) Do a query that gets you all of the Location s with the birthplace
that you're interested in.
(2) For each Location from (1), use its name to do a query that gets
you the Person s.
Remember, a given GAE datastore query looks at only one kind of
entity.
If y
Look at db.DateTimeProperty, specifically its definition of
get_value_for_datastore.
get_value_for_datastore has access to model_instance so it can look at
other properties.
You should think about how your property knows the name of the other
property that it looks at.
On Feb 9, 2:45 pm, Jason
Hi, just heard about the new bulkuploader in 1.19, sounds great, well done,
gae team.
One question about bulkupload, is it possible to upload blob type?
Any tutorial or hints are really appreciated. I have googled, but not much
useful information.
Thanks.
--~--~-~--~~~---
Many thanks!
On Feb 9, 7:48 pm, Jack wrote:
> BTW, the new SDK has just hithttp://code.google.com/appengine/downloads.html
> .
>
> On Feb 10, 11:07 am, Jack wrote:
>
> > The warning won't break anything. It's caused by some internal changes
> > in preparation for the next SDK release. Once the
Has anyone figured out how to make the remote API work yet? Is documentation
coming soon?
On Mon, Feb 9, 2009 at 10:12 PM, Bill wrote:
>
> Buried in the change log is an innocuous line about the remote API.
> From the module:
> "This allows easy remote access to the App Engine datastore, and
> p
Awesome, can't wait to try it out!
On Feb 10, 7:39 am, Waldemar Kornewald wrote:
> Hi everyone,
> please grab our new app-engine-patch 1.0beta release. Major new
> features: support for Django's admin interface, the media generator
> (combines and compresses your JS/CSS files for faster site loa
I am not quite sure, but it seems to me the zipimport/loading of our
app is only a problem in the early evening (Germany)/forenoon PST
It's now 8:00 am PST and our app failes serving - just on time as it
was the days before.
It's not that we get more traffic/less traffic at this time of the
day.
I've noticed this too -- there seem to be more frequent reloads during
the (GMT) evening.
I add a message to the log the first time an instance is created (by
tracking a module-level variable) so it's easy to see the effect on
the ms-cpu figure. One thing I've noticed by the way is that it
*isn't
On 10 Feb., 17:22, mcobrien wrote:
> What kind of slowdown are you seeing with appengine-patch btw? What's
> the typical ms-cpu reading for those first requests? I'm using the
> django helper and I'm logging 1500-1800 ms-cpu for each initial call.
> This is enough to delay rendering but not enoug
Hi Waldemar -
Making it practical to include libraries and frameworks with app code is the
priority. We'd rather support multiple compatible frameworks equally well
than support a custom version of just one. As I've ranted about before, I
think most app developers need control over their depende
Thanks for the suggestions. Neither option seems ideal to me:
overriding Model.put() has the db.put() hole; creating a subclass of
Property seems like a lot of leakage for logic that should really
belong in the Model class. Oh well, I will deal if that's all there is.
--~--~-~--~~-
get_or_insert() uses get_by_key_name() in a transaction and can detect
if a (root) entity exists.
I am trying to understand how GAE can use get_by_key_name() for root
level entities and promise transactional uniqueness.
It seems like a contradiction: root level entities are independent and
root
Hi,
If this is not the case, could you provide the full error and the code that
causes it.
-Marzia
On Tue, Feb 10, 2009 at 3:13 AM, dbikard wrote:
>
> Thx for the tip, but it's not the case. What I don't get is why does
> it work on the dev_appserver and not once uploaded?
>
> Here is my app.y
Hey thanks for the reply - that was the problem. Thanks again :)
On Feb 10, 4:41 am, livibetter wrote:
> On Feb 10, 5:23 pm, Rein Petersen wrote:
>
> > obj = simplejson.loads("{'id':'KS1-0','type':'activity','units':
> > 1,'priceper':450}")
>
> The string of JSON is wrapped with double quot
Hi,
I downloaded version 1.1.9 - 02/09/09 of the google app engine
tonight, and I tried out the helloworld app.
Trying to access http://localhost:8080/ from either firefox or IE
fails with a "Connection Interrupted". But, I then tried it with the
cygwin util wget (which just grabs a web page)
Hi guys an gals,
Where can I access the database online for the app I've built? Like a
PHPMyAdmin interface for it?
I can get to the dashboard, but that just has my apps and no link to a
database.
Chars,
d
--~--~-~--~~~---~--~~
You received this message because
Hi
I'm not sure if this is the correct forum - if not could someone direct
me to the right place.
We user gmail to communicate with our users. I'm trying to change the
password of users who forget their gmail passwords using code rather
than changing these passwords manually - has anyone got an
after installing 1.1.99 i get the following message on an app that
previous worked.
I've tried uninstalling 1.1.9 and reinstalling. i've tried
uninstalling 1.1.9 and installing 1.1.7 and i still get the same
message. I'm hoping someone can help please?
C:\Program Files\Google\google_appengine\goo
怎么好像google apps绑域名不能绑根域名了例如我想要http://mysite.com绑到我的app
engine,但是却绑不了,以前是可以的,现在绑必须输入http://xxx.mysite.com前面的xxx,郁闷
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this group, send
I use this
a=eval("{'id':'KS1-0','type':'activity','units':1,'priceper':450}")
print a['type']
On Feb 10, 5:23 pm, Rein Petersen wrote:
> what is wrong with this:
>
> from django.utils import simplejson
> ...
> obj = simplejson.loads("{'id':'KS1-0','type':'activity','units':
> 1,'priceper':4
Have the same problem. I cannot play with iPhone a static wav file
placed on a app engine server. Though with IIS it works without
problems.
Could u finally solve the problem?
-Kirill
On Jan 11, 4:34 pm, dloomer wrote:
> I'm trying to stream a small .mp4 movie from my app to an iPhone, and
> can
I'm new to GAE, so naturally I wanted to dive right in and create an
app.
However, I can't seem to create a new application using my normal
google account.
No matter what application-id I try to use (even silly ones like
adsfasdf-245432532-gsfgdasjgfldsj), I get:
Sorry, "typerlc-test1" is not
Hi all:
Our have used google apps for a long time, now I wrote a google
app and want users of our company can login this app with their google
apps account, how can I achieve it? appreciate your help!
--~--~-~--~~~---~--~~
You received this message because y
Dan, so there's no need to rewrite our URL Fetch calls to get more
performance or functionalities, is there?
And I guess this issue is still open:
http://code.google.com/p/googleappengine/issues/detail?id=445
Are you working on this? We need to set/unset HTTP-referer to
connect to remote A
Hello Guys - I'm very novice on Python and GAE. While solving a IT
problem today I thought it would be useful to have an GAE application
that would resolve MX records for a given domain. If doable on GAE,
maybe you can let me know some start points.
Thank you!
Alfredo
--~--~-~--~~---
> It also benefits from locality. Entity groups are stored close
> together (needed to make transactions fast), which is why lots of
> small entity groups makes the overall application faster (because they
> can be spread out). If you do a bunch of processing on groups of
> entities in a single re
Hi,
You can browse and query the datastore from the admin console:
http://appengine.google.com
Just click on the 'Data Viewer' link on the left hand side.
-Marzia
On Tue, Feb 10, 2009 at 4:48 AM, Dan Course wrote:
>
> Hi guys an gals,
>
> Where can I access the database online for the app I'
Hi,
Instructions on configuring your app's authentication to use Google Apps is
available here:
http://code.google.com/appengine/articles/auth.html
And it also contains the link for instructions on deploying that application
to your custom domain.
-Marzia
On Mon, Feb 9, 2009 at 11:16 PM, zhouch
I have faced a similar problem on win XP, but council has not helped.
The question is set only in Eсlipse, but not in a command line. Who
can will prompt - what to do? Thanks!
On Feb 10, 10:02 am, Alexander Kojevnikov
wrote:
> On Feb 10, 12:03 pm, "c_greger...@mac.com"
> wrote:
>
> > I am runni
Hi cz,
You are correct, I am finishing the svn update now. Apologies for the
delay.
Thank you,
Jeff
On Feb 10, 12:02 am, cz wrote:
> Um, this might be a dumb question, but the SVN source tree doesn't
> seem to reflect the latest version. It looks like it's stuck at r34
> which according to th
I agree and plan to keep labels and values for options (alternating
list or dictionary) and optionValueFromQuery getparameter tag we get
from library or make. (EL tags can do it so django tags can.)
{{currentOptionLabel}}
Thank you
Niklas
--~--~-~--~~~---~--~~
You
Hi,
Can you try a browser that isn't Chrome, and let us know if it works? Also,
is the error you are seeing when you check the availability of an app id, or
when you actually try to register the app id (or both)?
-Marzia
On Mon, Feb 9, 2009 at 10:29 PM, Richard Colley wrote:
>
> I'm new to GAE
Hi sagey,
This message looks like it's coming as part of the update check, which
has not significantly changed recently. It's possible there was a
transient network issue somewhere, do you still see this happening?
Can you access the admin console from your computer?
--Matthew
On Feb 10, 5:13 a
Hello Ian,
How are you accessing PIL? Are you using the Images API* , or are you
importing from PIL directly?
--Matthew
* http://code.google.com/appengine/docs/python/images/
On Feb 10, 5:47 am, Ian Lewis wrote:
> I'm getting an error similar to the errors about not being able to access
> skipp
thanks to everyone!!!
On Feb 9, 9:44 pm, niklasr wrote:
> I includehttp://appfilesbrowser.googlecode.com/files/GAEAppFileBrowser.rar
> and download deployed source to local. Datastore backup solution seems
> to be approcket.
> regards
> Niklas
--~--~-~--~~~---~--~--
Ok, urlencoding solved the problem. Thanks again...
On Feb 8, 3:22 pm, admin go2 wrote:
> You should use POST instead of GET. Since GET request would hit the google
> cache server.
> If you must use GET request, please try this
> urlhttp://server/index.php?auth=authstring&random=a_random_numbe
There's no need to rewrite existing URL Fetch calls. httplib support is
just intended to make it easier to use other libraries that depend on
httplib/urllib/urllib2.
The HTTP referrer issue you mention has been acknowledged. I don't have any
information on its status to report, but I feel your pa
Hi, everyone
I've coded my application for some period and now I think it requires
a refactoring in the structure.
In my app.yaml I have all the paths pointing to a main.py.
And my main.py you can see here:
http://code-area.appspot.com/codepiece?code=3204
I described my doubts there.
Thanks,
Ro
hello,
I've found the cause it was my network proxy disallowing the update
check. I've changed my proxy settings and it now works fine
On 10/02/2009, Matthew Blain wrote:
>
> Hi sagey,
>
> This message looks like it's coming as part of the update check, which
> has not significantly changed rec
I'll try again.
Lazy import delays imports until absolutely necessary. With or
without app caching, this will minimize the amount of work for any
given usage.
However, given app caching AND a cpu quota bump for the startup usage,
preemptive import should reduce the possibility of "out of quota"
I'm sure this is something stupid on my end but I just can't see it...
everything worked fine until I checked out the latest versions of GAE
and appengine helper (r41, r74).
On startup (in main.py) I get this exception:
...\appengine_django\__init__.py in InstallModelForm()
515 """Replace D
Since you're creating a property whose value really does depend on the
value of another property, it's unclear (to me) why you think that
that dependence shouldn't be an aspect of the dependent property, that
is, something that is part of its descriptor.
That said, it's more than a little annoyin
Oh, and here's what the beginning of main.py looks like:
# Standard Python imports.
import os
import sys
import logging
import settings
# Fix (hack) for missing unlink
if os.name == 'nt':
os.unlink = lambda: None
from appengine_django import InstallAppengineHelperForDjango
InstallAppengineHe
Not quite right - I think the "faster" property refers to the fact
that reads/writes can happen in parallel (because they're split over
multiple machines), not because of the actual geographical location of
the servers (not that this wouldn't help as well, but I don't believe
GAE currently
hi its fixed.. error was in the earliar version of appengine..
urlfetch was not working on dev_appserver..
Now its working fine
On Feb 2, 11:54 pm, Marzia Niccolai wrote:
> Hi,
>
> Not knowing anything about YQL, it seems like the error message my
> indicate that the URL query parameter for a ca
Am I missing something??? bulkload.Loader has been around since
release? What is new with "remote api" the name and the docs?
On Feb 10, 11:28 am, Dan Sanderson wrote:
> There's no need to rewrite existing URL Fetch calls. httplib support is
> just intended to make it easier to use other librar
Mine is blowing up as well, except on:
:
Application configuration could not be read from "./app.yaml"
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this group, send email to g
On Feb 11, 11:16 am, jamesv wrote:
> Mine is blowing up as well, except on:
>
> :
> Application configuration could not be read from "./app.yaml"
http://groups.google.com/group/google-appengine/msg/9cb48e2e5d12aaae
--~--~-~--~~~---~--~~
You received this message
现在不行了
2009/2/10 蚂蚁 :
> 怎么好像google apps绑域名不能绑根域名了
> 例如我想要http://mysite.com绑到我的app
> engine,但是却绑不了,以前是可以的,现在绑必须输入http://xxx.mysite.com前面的xxx,郁闷
> >
>
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Google App Engine"
After installing 1.1.9 on Ubuntu 8.04 by renaming 1.1.8 to
google_appengine.old and unziping the distribution to /opt, I get ...
Traceback (most recent call last):
File "/opt/google_appengine/dev_appserver.py", line 60, in
run_file(__file__, globals())
File "/opt/google_appengine/dev_app
Hmm, looks like SCRIPT_DIR became script_dir in a few places.
On Feb 10, 8:21 pm, TLH wrote:
> After installing 1.1.9 on Ubuntu 8.04 by renaming 1.1.8 to
> google_appengine.old and unziping the distribution to /opt, I get ...
>
> Traceback (most recent call last):
> File "/opt/google_appengine
I installed yaml via apt-get install python-yaml. Now the error
message is :
File "/opt/google_appengine/google/appengine/tools/dev_appserver.py",
line 3110, in SetupTemplates
header = open(os.path.join(template_dir, HEADER_TEMPLATE)).read()
IOError: [Errno 2] No such file or directory: '/op
Matthew,
I'm using the images api. Up until 1.1.9 my understanding was that importing
PIL wouldn't work in production (and with 1.1.9 it's enforcing it on the
dev_server?). Let me pull out the code here,
models.py
class UserProfileImage(db.Model):
user = db.ReferenceProperty(UserProperties, re
Today, I've just released gaeoauth.
Gaeoauth is a small django application for verifying oauth signed
request in Google App Engine Environment. It also enables you to
associate opensocial user (domain:opensocial_viewer_id style) with
django user on GAE.
You can add gaeoauth.middleware.OpenSocial
Matthew,
I also wanted like to mention that this happens to me on every request which
is why I suspected appengine-django. I don't actually import the image api
unless I am saving a profile image.
On Wed, Feb 11, 2009 at 11:34 AM, Ian Lewis wrote:
> Matthew,
>
> I'm using the images api. Up unt
I have encountered a curious difficulty. Here's how my project
directory is set up:
./
app.yaml
css/
clear.css
green.css
form.html -> html/form.html
form.py
html/
blank.html
form.html
index.yaml
I've solved it yet!
Ronald Kaiser
On Feb 10, 5:25 pm, Kaiser wrote:
> Hi, everyone
> I've coded my application for some period and now I think it requires
> a refactoring in thestructure.
> In my app.yaml I have all the paths pointing to a main.py.
> And my main.py you can see
> here:http://c
See
http://code.google.com/appengine/docs/python/tools/configuration.html#Static_File_Handlers
"For efficiency, App Engine stores and serves static files separately
from application files. Static files are not available in the
application's file system. If you have data files that need to be rea
I found that this seems unrelated to the message about the PIL module and
was related to the local datastore I was using.
On Wed, Feb 11, 2009 at 12:36 PM, Ian Lewis wrote:
> Matthew,
>
> I also wanted like to mention that this happens to me on every request
> which is why I suspected appengine-
Thanks, I was looking at those threads, but I think my problem is
unrelated since the module in question is accessible via PYTHONPATH
and shouldn't have anything to do with skipped files. Also, as I
stated previously, I have the latest version of GAE and the django
helper checked out (r41 and r74
Ah ha, it turns out that you are correct Alexander, my appengine tree
is checked out to ./.google_appengine and invisible files inside the
app directory are of course in the skip-file list...
On Feb 10, 9:45 pm, cz wrote:
> Thanks, I was looking at those threads, but I think my problem is
> unre
@Aramaki
Its driving me crazy too.
But I guess the real reason is multiple teams at google are working on
supporting different languages and they don't have a clear timeline on
which one is going to be ready on time as per their roadmap. Thus they
want to keep it open for now.
Most likely its g
84 matches
Mail list logo