[google-appengine] Re: Since 1.1.5 import cgi/urllib/traceback/etc fails (on MacOS)

2008-10-09 Thread Greg
Is there anywhere we can download 1.1.4 of the helper in the mean time? It'd be nice to get back to coding again. Greg On Oct 8, 10:49 pm, "Marzia Niccolai" <[EMAIL PROTECTED]> wrote: > Hi, > > Thanks.  Did you also have the output of the dev_appserver logs console when > this happens?  And what

[google-appengine] Re: datastore transaction question

2008-10-09 Thread Josh Heitzman
In this scenario "Update both the User and the Thing using a single db.put([thing, user])" the thing and the user won't be updated in the same transaction, so the put of the thing could succeed while the put of the user failed. On Oct 9, 9:29 pm, johnP <[EMAIL PROTECTED]> wrote: > Why not simply

[google-appengine] database

2008-10-09 Thread amshuhu
HI GAE friends How can we add/delete a field in data, in my app their are 3 fields eg: 1.name 2.phoneno 3.email I need to add address field instead of phoneno field and also insert another field as contact ,i dont know how to add/ delete so please gui

[google-appengine] a way to determine image size would be greatly appreciated

2008-10-09 Thread cz
If there was just one thing to add to the Image api, a way to determine the image size would be highest on my list. It just seems so easy to add... would it not be possible to stuff a couple of integers (height,width) along with the image data into the image service response ProtocolMessage? Mayb

[google-appengine] Re: datastore transaction question

2008-10-09 Thread johnP
Why not simply have the reference in the Thing, pointing to the User? Then use the idiom: x = user.thing_set.fetch(1000) to get the User's Things? Update both the User and the Thing using a single db.put([thing, user]) johnP On Oct 9, 2:19 pm, Josh Heitzman <[EMAIL PROTECTED]> wrote: > I ran

[google-appengine] Re: webapp template inheritance problem

2008-10-09 Thread MHblue
After talking to some people on #django it seems that with Django, template searches always begin with the template_dirs, which would include /templates/ and further, relative template paths do not work. However, for me on GAE, {% extend 'base.html' %} does not work if the template is not in the

[google-appengine] Re: webapp template inheritance problem

2008-10-09 Thread MHblue
OK I took the "try... except" out to see errors. Here's what's happening. My folder / template structure: /templates/base.html /templates/section.html <-- inherits from base.html {% extends "base.html" %} /templates/section/item.html <-- inherits from section.html {% extends "../section.ht

[google-appengine] page not refreshing properly

2008-10-09 Thread ae
I have a Sign Out link that signs somebody out and redirects them back to where they were (same url but with slightly different content)... but the page doesn't seem to refresh properly all the time. What's the best way to solve this? Thanks. --~--~-~--~~~---~--~~

[google-appengine] Setting up your dev environment

2008-10-09 Thread Angel
Blog post for setting up a development environment. I tried to be OS neutral and tried to minimize link-outs for more info, so a noob does'nt have to go all over the place and figure how the pieces fit together. http://appmecha.wordpress.com/2008/10/09/gae-setup/ Comments welcome! -angel --~--~-

[google-appengine] Re: unable to add 'www' subdomain for app engine service

2008-10-09 Thread Adam Fisk
littleshoot.org. I didn't realize it was a www issue at first, but it definitely is. I'm able to add multiple other subdomains no problem. On Oct 9, 1:33 pm, "Marzia Niccolai" <[EMAIL PROTECTED]> wrote: > Hi Adam, > > With which domain are you experiencing this issue? > > -Marzia > > On Thu, Oc

[google-appengine] Re: Problem creating new application!!!

2008-10-09 Thread DXD
Great! It has been fixed. Thank you guys a lot. David. On Oct 9, 4:20 pm, "Marzia Niccolai" <[EMAIL PROTECTED]> wrote: > This issue should now be fixed. > > -Marzia > > On Thu, Oct 9, 2008 at 4:10 PM, Marzia Niccolai <[EMAIL PROTECTED]> wrote: > > Hi, > > > This is an issue with the Admin Consol

[google-appengine] Newbie question - save geocode to the Datastore

2008-10-09 Thread Yang
Hi, I am sorry for such newbie question... I would appreciate any help. I am trying to write a simple code which allows a user to place markers on a map and save them. Those saved markers would be displayed to everyone. There are more thing I want to do past it, but I am stuck at saving the mar

[google-appengine] Re: unique identifier for server process

2008-10-09 Thread yejun
Or create an empty datastore object. Its id will be globally unique. On Oct 9, 12:30 pm, Tony Arkles <[EMAIL PROTECTED]> wrote: > I just used a random number within an import (since imports only > happen once per instance, it should persist for the lifetime of the > process) > > On Oct 9, 12:56 a

[google-appengine] webapp template inheritance problem

2008-10-09 Thread MHblue
Hi there, I have a simple request handler that is supposed to take a URL and map it to template files where/when they exist [see #1, below] and it works *except* where I have a template inside a folder (/templates/ folder/thisone.html) that inherits from a template in its parent / templates/ folde

[google-appengine] Re: Modeling mutual references

2008-10-09 Thread yejun
You don't have to give class for ReferenceProperty. first = db.ReferenceProperty() On Oct 9, 6:53 pm, acuth <[EMAIL PROTECTED]> wrote: > Is it possible to have two models reference each other? I can't get > this to work and haven't been able to find this limitation in the > documentation. As a si

[google-appengine] Re: ImportError: No module named wsgiref.handlers (in hello, world application)

2008-10-09 Thread Brett Hoerner
On Oct 9, 5:23 pm, "Marzia Niccolai" <[EMAIL PROTECTED]> wrote: > I'm fairly certain it was > this:http://code.google.com/p/googleappengine/issues/detail?id=778 > > We are looking in to it. Thanks, let me know if I can provide any more information to help. Brett --~--~-~--~~

[google-appengine] Re: Problem creating new application!!!

2008-10-09 Thread Marzia Niccolai
This issue should now be fixed. -Marzia On Thu, Oct 9, 2008 at 4:10 PM, Marzia Niccolai <[EMAIL PROTECTED]> wrote: > Hi, > > This is an issue with the Admin Console, and we hope to have it fixed > shortly. > > -Marzia > > > On Thu, Oct 9, 2008 at 4:04 PM, Marzia Niccolai <[EMAIL PROTECTED]> wrot

[google-appengine] Re: Problem creating new application!!!

2008-10-09 Thread Marzia Niccolai
Hi, This is an issue with the Admin Console, and we hope to have it fixed shortly. -Marzia On Thu, Oct 9, 2008 at 4:04 PM, Marzia Niccolai <[EMAIL PROTECTED]> wrote: > Hi David, > > What is the app id you were trying to register? > > -Marzia > > > On Thu, Oct 9, 2008 at 4:00 PM, DXD <[EMAIL PRO

[google-appengine] Re: Problem creating new application!!!

2008-10-09 Thread Marzia Niccolai
Hi David, What is the app id you were trying to register? -Marzia On Thu, Oct 9, 2008 at 4:00 PM, DXD <[EMAIL PROTECTED]> wrote: > > I got a problem creating a new application. The app identifier was > confirmed to be available; the app title was set to be the same as the > identifier. The auth

[google-appengine] Problem creating new application!!!

2008-10-09 Thread DXD
I got a problem creating a new application. The app identifier was confirmed to be available; the app title was set to be the same as the identifier. The authentication option was set to the default. But when I hit "Save", it always said "Server Error A server error has occurred" And the app was

[google-appengine] Modeling mutual references

2008-10-09 Thread acuth
Is it possible to have two models reference each other? I can't get this to work and haven't been able to find this limitation in the documentation. As a simple example, consider: class Book(db.Model): title = db.StringProperty() first = db.ReferenceProperty(Page) class Page(db.M

[google-appengine] Re: unique identifier for server process

2008-10-09 Thread Jon McAlister
A random number computed at startup is your best bet. We intentionally do not provide a way to learn the real process id or the id of the machine. On Oct 8, 11:56 pm, Josh Heitzman <[EMAIL PROTECTED]> wrote: > The state of the process is not of interest, just which instance of > many processes it

[google-appengine] Re: ImportError: No module named wsgiref.handlers (in hello, world application)

2008-10-09 Thread Marzia Niccolai
I'm fairly certain it was this: http://code.google.com/p/googleappengine/issues/detail?id=778 We are looking in to it. Thanks, Marzia On Thu, Oct 9, 2008 at 2:05 PM, Brett Hoerner <[EMAIL PROTECTED]>wrote: > > I'm trying to use AppEngine with MacPorts Python on OS X. I've > changed my Python b

[google-appengine] ImportError: No module named wsgiref.handlers (in hello, world application)

2008-10-09 Thread Brett Hoerner
I'm trying to use AppEngine with MacPorts Python on OS X. I've changed my Python binary to /opt/local/bin/python, but now I'm having import problems (in a brand new app with the default hello world code). Below is some information my sys.path, etc. This is just proving my MacPorts Python works

[google-appengine] Re: exceptions.SystemError?

2008-10-09 Thread Alexander Kojevnikov
I get the same error from time to time. I'm using Django 1.0 with app- engine-patch. I starred the issue and included my stacktrace. On Oct 10, 1:34 am, Aral Balkan <[EMAIL PROTECTED]> wrote: > Is anyone else seeing errors similar to the following. It seems to > happen randomly -- possibly follo

[google-appengine] Re: unable to add 'www' subdomain for app engine service

2008-10-09 Thread Marzia Niccolai
Hi Adam, With which domain are you experiencing this issue? -Marzia On Thu, Oct 9, 2008 at 1:27 PM, Adam Fisk <[EMAIL PROTECTED]> wrote: > > I have the exact same problem. Any solutions? The unfortunately > result is *my site is completely down.* This makes it virtually > impossible to port

[google-appengine] Re: datastore transaction question

2008-10-09 Thread Josh Heitzman
I ran into a similar problem with the strategy game I'm working on. The game world is divided up into areas and each area can have a more then one player's troops in it at a time. I've modeled these with three entities, player, area, and areaplayer. When a player has his troops do something in a

[google-appengine] Re: datastore transaction question

2008-10-09 Thread yejun
Maybe you can store money and ownership relation in a single entity group. ListProperty only works with key value not reference, so they won't be dereferenced automatically. If you want to access partial information about thing without pulling the blob value, you need to make a separated kind in d

[google-appengine] Re: unable to add 'www' subdomain for app engine service

2008-10-09 Thread Adam Fisk
I have the exact same problem. Any solutions? The unfortunately result is *my site is completely down.* This makes it virtually impossible to port a www.* site, which would account for, well, most of the sites on the Internet. -Adam On Oct 9, 11:13 am, ajablo <[EMAIL PROTECTED]> wrote: > Hel

[google-appengine] Re: datastore transaction question

2008-10-09 Thread David
thanks for the replies. as i mentioned in the question, the Thing will become a product and could be sold to another user at a later date. A list of keys is also what ive been using, as a referenece property in the Thing causes the blobs to pulled from the data store (they can be quite large, wel

[google-appengine] GAE Bless America

2008-10-09 Thread Davide Rognoni
http://finance.google.com/finance?q=Google "God Bless The Globalized World" --~--~-~--~~~---~--~~ 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@googlegrou

[google-appengine] Re: 404 Server Not Found Error?

2008-10-09 Thread Adam Fisk
I'm experiencing this now with a second subdomain I've just added to Google Apps. I get the not found, and Google Apps also seems to fail to recognize I've added a new subdomain. I go to "Add a new URL", and I add it, but then nothing appears below my original URL. Did this just eventually go a

[google-appengine] DownloadError: ApplicationError: 2 ?

2008-10-09 Thread Jean-Lou Dupont
What is the significance of "DownloadError: ApplicationError: 2" errors? I got to " user_service_pb.py " but couldn't find any meaningful explanation. I get this error whilst accessing Freebase through their API e.g. http://www.freebase.com/api/service/mqlread?queries= jld. --~--~-~--

[google-appengine] Re: datastore transaction question

2008-10-09 Thread Bill
> Have you seen: "Entity Groups, Ancestors and Paths" > ?http://code.google.com/appengine/docs/datastore/keysandentitygroups.html Good point. If a Thing will never be used for another User (e.g., it's not a product), you could make the Thing part of a User's entity group. --~--~-~--~---

[google-appengine] Re: GAE Obfuscator?

2008-10-09 Thread Jorge Vargas
have you heard of MACOSX? this isn't really new... anyway I'm going to stop replying as you seem to be trolling about how bad google is, and to be honest that's a discussion I'll prefer not to have with strangers. On Wed, Oct 8, 2008 at 1:37 PM, Davide Rognoni <[EMAIL PROTECTED]> wrote: > > ...an

[google-appengine] Re: Simple Graphics App

2008-10-09 Thread yejun
I think what Op want is a standalone .Net application with gdata. Maybe he can also use GAE as a rpc server to store some data. On Oct 9, 3:28 pm, Davide Rognoni <[EMAIL PROTECTED]> wrote: > IE or Linux: "Mono is a cross platform, open source .NET development > framework."http://www.mono-project.

[google-appengine] Re: datastore transaction question

2008-10-09 Thread Davide Rognoni
Have you seen: "Entity Groups, Ancestors and Paths" ? http://code.google.com/appengine/docs/datastore/keysandentitygroups.html On Oct 9, 7:04 pm, David <[EMAIL PROTECTED]> wrote: > Hi, a question for all you datastore gurus: > > If I have: > > class User(db.Model): >     money = db.IntegerProper

[google-appengine] Re: datastore transaction question

2008-10-09 Thread Bill
If there aren't a huge number of Things for each User, then your approach sounds workable. A User would have a ListProperty of keys to Things. Your transaction on the User would add the key to a previously created (before the txn) Thing and adjust the money property. You could garbage collect u

[google-appengine] Re: Why Google App Engine is broken and what Google must do to fix it.

2008-10-09 Thread Jorge Vargas
On Thu, Oct 9, 2008 at 6:09 AM, Filip <[EMAIL PROTECTED]> wrote: > > >> Lets look at it from a performance perspective. >> >> 1- 1MB datastructure - which unit of data (leaving files outside) >> should be bigger than 1mb? IMO that's a badly design datastore. >> 2- 1000 query limit, which user is g

[google-appengine] Re: Simple Graphics App

2008-10-09 Thread Davide Rognoni
IE or Linux: "Mono is a cross platform, open source .NET development framework." http://www.mono-project.com/Main_Page "600 Million Internet Users At Risk Due To Browser" http://www.webguild.org/2008/07/600-million-internet-users-at-risk-due-to-browser.php On Oct 8, 10:30 pm, Wooble <[EMAIL PRO

[google-appengine] datastore transaction question

2008-10-09 Thread David
Hi, a question for all you datastore gurus: If I have: class User(db.Model): money = db.IntegerProperty(required=True) class Thing(db.Model): cost = db.IntegerProperty(required=True) stuff = db.BlobProperty(required=True) I need to allow a user to create a new thing and then ref

[google-appengine] Re: unable to add 'www' subdomain for app engine service

2008-10-09 Thread ajablo
Hello, the domain in question is probud.info At the very begining it returned a 404, but it seemed like it originated from google page creator team (???) Then I configured google sites (it was google pages before I guess) in my apps profile to use 'www' prefix and it worked perfectly for sites. W

[google-appengine] Re: Since 1.1.5 import cgi/urllib/traceback/etc fails (on MacOS)

2008-10-09 Thread Gijsbert
Tried that, problem remains. From my main.py I log sys.path and it contains /opt/local/Library/Frameworks/Python.framework/Versions/2.5/ lib/python2.5, where urllib.py* can be found. More info: which python2.5 /opt/local/bin/python2.5 python2.5 Python 2.5.2 (r252:60911, Jul 22 2008, 00:43:13) [

[google-appengine] Re: How to use timeutil module in GAE?

2008-10-09 Thread Marzia Niccolai
Hi, Please read the following FAQ on what python libraries are available with Google App Engine: http://code.google.com/appengine/kb/general.html#libraries -Marzia On Wed, Oct 8, 2008 at 8:28 PM, Kang <[EMAIL PROTECTED]> wrote: > > I cannot import that module in GAE. Wish your help. > > p.s. I

[google-appengine] Re: inconsistent indexes

2008-10-09 Thread Marzia Niccolai
Hi, I can see one problem off the bat. The fetch() method returns an iterator, so even if there are no results in the query, it would not be None, thus your assert would always succeed. I don't see any reason why the two count statements would be different. Can I see the actual code that is bei

[google-appengine] mistake in your FAQ page

2008-10-09 Thread cm_gui
http://code.google.com/appengine/kb/general.html#create should it be 10 applications per developer? http://code.google.com/appengine/articles/quotas.html --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App E

[google-appengine] Re: mistake in your FAQ page

2008-10-09 Thread Marzia Niccolai
Hi, Thanks, this will be updated to reflect the new limit. -Marzia On Thu, Oct 9, 2008 at 9:27 AM, cm_gui <[EMAIL PROTECTED]> wrote: > > http://code.google.com/appengine/kb/general.html#create > > should it be 10 applications per developer? > > http://code.google.com/appengine/articles/quotas.h

[google-appengine] Re: unable to add 'www' subdomain for app engine service

2008-10-09 Thread Marzia Niccolai
Hi, Can you please reply with the domain experiencing the issue? Also if you go to www.yourdomain.com and it does not return a 404, what is shown would indicate what service it's currently mapped to. -Marzia On Thu, Oct 9, 2008 at 5:31 AM, ajablo <[EMAIL PROTECTED]> wrote: > > Hello, > All my

[google-appengine] Re: Linking directly to the Google Accounts "new account" page + feature request and UX complaint!

2008-10-09 Thread Bill
> As far as the UI concerns, what do you think about the "new account" > button for the sign-in page onhttp://moderator.appspot.com/?We are > experimenting there, and could make that the default for all > applications. It would be great if Google provided a customizable sign-in page like moderato

[google-appengine] Re: 'module' object has no attribute 'getaddrinfo'

2008-10-09 Thread Jeff S
There was a change in introduced in version 1.2.0 of the gdata-python- client which requires use of a new function to swap out the HTTP request mechanism. gdata.alt.appengine.run_on_appengine(client) Please see instructions here: http://code.google.com/appengine/articles/gdata.html . Unfortunat

[google-appengine] Re: unique identifier for server process

2008-10-09 Thread Tony Arkles
I just used a random number within an import (since imports only happen once per instance, it should persist for the lifetime of the process) On Oct 9, 12:56 am, Josh Heitzman <[EMAIL PROTECTED]> wrote: > The state of the process is not of interest, just which instance of > many processes it is

[google-appengine] Re: Linking directly to the Google Accounts "new account" page + feature request and UX complaint!

2008-10-09 Thread Feris Thia
Hi Jon, How can we create a custom sign in / new account like the one in moderator.appspot.com ? Regards, Feris On Mon, Oct 6, 2008 at 9:24 AM, Jon <[EMAIL PROTECTED]> wrote: > You can send users to https://www.google.com/accounts/NewAccount > > As far as the UI concerns, what do you think abou

[google-appengine] Re: Linking directly to the Google Accounts "new account" page + feature request and UX complaint!

2008-10-09 Thread Alex Vartan
Thanks, Jon. Does appending redirect information to NewAccount work as it does for createLoginUrl? The button looks OK. I actually used to work for Google in marketing and remember when webteam standardized on that button, I'm not a huge fan of it, but I know it's used everywhere now. Personally

[google-appengine] inconsistent indexes

2008-10-09 Thread tigrillo
Hello; There's an unexpected indexes behavior; I noticed it doing as follow: now = datetime.datetime.now() entity1 = Task.gql("WHERE date_f <= :1 ORDER BY date_f ASC", now).get() if entity1 != None: entity2 = Task.gql("WHERE date_f = :1", entity1.date_f).fetch(limit=1, offset=0) a

[google-appengine] Re: Cannot create naked or alternate domains for my GAE app.

2008-10-09 Thread Dennis
I created Issue 777 for naked domain support: http://code.google.com/p/googleappengine/issues/detail?id=777 On Sep 8, 7:30 pm, "Paul Kinlan" <[EMAIL PROTECTED]> wrote: > Yeah I had to do this one as well. > > I don't think Google solution is a long term viable solution for the > majority of use

[google-appengine] Longer timeouts - but not cpu

2008-10-09 Thread Joel
Similar to the problem of wanting resource intensive requests... I would find it convenient to be able to mark some of my URLs with a general timeout for that url. Due to using urlfetch in certain ways I may be able to determine that my timeout should be closer to 20 seconds. But I'm not using

[google-appengine] exceptions.SystemError?

2008-10-09 Thread Aral Balkan
Is anyone else seeing errors similar to the following. It seems to happen randomly -- possibly following a datastore write. The only thing that fixes the app after it happens is to re-deploy. Thoughts? Issue link: http://tinyurl.com/4c2z2v Thanks, Aral 500 Error at /admin/ () : Parent module

[google-appengine] unable to add 'www' subdomain for app engine service

2008-10-09 Thread ajablo
Hello, All my attempts to add 'www' subdomain to host my app as a AppEngine service in Google Apps fail silently. No error message. I can add any other subdomain, like 'temp' or whatever with success. And I would like to assure that there are no other services configured to use 'www' subdomain. Ma

[google-appengine] Re: Why Google App Engine is broken and what Google must do to fix it.

2008-10-09 Thread Filip
> Lets look at it from a performance perspective. > > 1- 1MB datastructure - which unit of data (leaving files outside) > should be bigger than 1mb? IMO that's a badly design datastore. > 2- 1000 query limit, which user is going to want 1000 results? > 3- Short CPU, it is common knowledge that a

[google-appengine] Re: Where are the codes of GAE SDK Development Console?

2008-10-09 Thread Barry Hunter
I think you need to look in http://code.google.com/p/googleappengine/source/browse/#svn/trunk/google/appengine/tools its not a real file, so look at admin_dispatcher of http://code.google.com/p/googleappengine/source/browse/trunk/google/appengine/tools/dev_appserver.py which in turn takes to htt

[google-appengine] Re: Updating index.yaml

2008-10-09 Thread Arun Shanker Prasad
The error from the server seemed to be something wrong on googles side, as it is working correctly now.. Sorry for the delay in posting it here On Sep 24, 8:16 am, Arun Shanker Prasad <[EMAIL PROTECTED]> wrote: > Hi Marzia, > >   Thank you very much for the quick reply. > >    The # AUTOGENER

[google-appengine] Where are the codes of GAE SDK Development Console?

2008-10-09 Thread GAEFans
Hi, I know the 'templates' of URL 'http://127.0.0.1:8000/_ah/admin/ datastore', i.e, C:\Program Files\Google\google_appengine\google \appengine\ext\admin\templates, but How can I find the 'views.py' of that URL ? Thanks. --~--~-~--~~~---~--~~ You received this m

[google-appengine] Re: Where does the development Datastore put its data?

2008-10-09 Thread pr3d4t0r
On Oct 8, 11:11 pm, "David Symonds" <[EMAIL PROTECTED]> wrote: > On Thu, Oct 9, 2008 at 5:03 PM, pr3d4t0r <[EMAIL PROTECTED]> wrote: > > Where does the development Datastore put its data?  It's not in the > > application directory, so I assume it's somewhere under /usr, /var, or > > maybe even /tm

[google-appengine] How many time does the application have to throw a result

2008-10-09 Thread Aramaki
in api->sandbox docs you can read: spawn a sub-process or thread. A web request to an application must be handled in a single process within a few seconds. Processes that take a very long time to respond are terminated to avoid overloading the web server. In order to avoid the ugly server error

[google-appengine] Re: Help: I want to have an app engine space!!

2008-10-09 Thread wenxin ren
thank you every much. 2008/10/9 sfox <[EMAIL PROTECTED]> > Use China Mobile for Carrier name. > > 2008/10/9 wenxin ren <[EMAIL PROTECTED]> > >> thanks a lot. >> >> for my poor english, would you please make me clear about the carrier >> name? >> what does this mean? does carrier means the compani