[google-appengine] Re: GAE: Beyond computer science

2008-12-16 Thread Ben Nevile
Agree completely Amir. I'm hopeful that more APIs will be released soon that will make the process even lighter for developers. Next hurdles to come down significantly will be identity (Google Friend Connect, FB Connect) and micropayments (?) . Ben On Dec 16, 2:42 pm, Amir Michail wrote: >

[google-appengine] Re: exceeding quota grrrrrrrr

2008-12-16 Thread Ben Nevile
I should also mention that when I last checked the dashboard at about 7-7:30pm PST the outgoing bandwidth was at 56%. Ben On Dec 16, 10:40 pm, Ben Nevile wrote: > the new quota details dashboard looks very nice.  thanks for your hard > work on this mr. and ms. googs. > > but hey, how come i'v

[google-appengine] exceeding quota grrrrrrrr

2008-12-16 Thread Ben Nevile
the new quota details dashboard looks very nice. thanks for your hard work on this mr. and ms. googs. but hey, how come i've never had a problem with outgoing bandwidth before, and tonight my app is stuck in the red zone? the graph beside "outgoing bandwidth" is in the red (10.00 of 10.00 GByte

[google-appengine] Re: Efficient paging using __key__ instead of a dedicated unique property

2008-12-16 Thread Thomas Johansson
Has anybody taken on the challenge of implementing a library for this? I'd love to see one, but it's too big a task for me to tackle currently. One question springs to mind, however: What about user friendly / readable / hackable urls? How would you go about implementing e.g. ? page=10 or ?offset

[google-appengine] Re: Announcing: System Status Dashboard, Quota Details Page, and a Preview of Billing

2008-12-16 Thread yu ping322
is it restrict all the data must store in datastore,and datastore is limit every record less than 1M? that means a big PNG image and Mp3 file is not store.if i use S3 , every time i use urlfetch to get file and return to user if I use S3 bing domain,it's public to everyone not need to pass

[google-appengine] Re: Django Head Scratching...

2008-12-16 Thread Alexander Kojevnikov
>       transx = db.GqlQuery("SELECT * FROM Transaction WHERE Key = : > 1" , transx_key) transx is an instance of a GqlQuery object. To get the actual entity you should call the get() method: transx = db.GqlQuery("SELECT * FROM Transaction WHERE Key = :1" , transx_key).get() or transx = Tr

[google-appengine] Please reopen Issue 182: Mail API: python email module import fails when source code is changed ...

2008-12-16 Thread Alex Epshteyn
This dev_appserver issue has not gone away, and is still rather annoying during development. http://code.google.com/p/googleappengine/issues/detail?id=182 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App E

[google-appengine] Django Head Scratching...

2008-12-16 Thread Kevin
In my Python I have: transx_key = self.request.get('key') transx = db.GqlQuery("SELECT * FROM Transaction WHERE Key = : 1" , transx_key) template_values = { 'transx' : transx, 'debugmess':transx_key, } path = os.path.join(os.path.dirname(__file__),

[google-appengine] Re: Data is skipped

2008-12-16 Thread paptimus
Hi, Marizia. I'm sorry to cross the post. I understand this issue is fixed. But I think that the data that put while the issue is remaining are under the influence of this issue. So the way to reccover the data is to register as new entity and to delete old one. Is it correct? Thanks. On 12月17

[google-appengine] Re: Announcing: System Status Dashboard, Quota Details Page, and a Preview of Billing

2008-12-16 Thread Cameron Singe
This is great news, after finishing my first larger app on appengine (http://www.golftuts.com) its great to see even more support and features keep coming On Dec 17, 4:45 am, Marzia Niccolai wrote: > Hi, > > As many of you have already noticed, we released some Admin Console changes > today, and

[google-appengine] Re: how to submit form from static index.html

2008-12-16 Thread Alexander Kojevnikov
> I'm trying to email content that is in a container on the > webpage, so i'm submitting using a hidden input tag with value=escape > (div.innerHTML) > Discard my second comment then and use the unescape() function from the link above. -- www.muspy.com --~--~-~--~~~--

[google-appengine] Re: CPU Time calculation

2008-12-16 Thread Alexander Kojevnikov
Sorry, it was a false alarm. After monitoring how the CPU usage changes for my app in the last few hours it became clear that I'm not going to exceed the free quota. However, there's definitely a change in how the CPU usage is _presented_, even if the calculation algorithm didn't change: In the

[google-appengine] Re: how to submit form from static index.html

2008-12-16 Thread rakf1
I'm trying to email content that is in a container on the webpage, so i'm submitting using a hidden input tag with value=escape (div.innerHTML) On Dec 16, 6:18 pm, Alexander Kojevnikov wrote: > > thanks Alexander, > > > the setup and code worked, > > > one more help, - how do i unescape strin

[google-appengine] Re: Send and receive mail with embedded images

2008-12-16 Thread Alexander Kojevnikov
> When you say embedded images, do you mean as attachments, or an HTML > email with image tags? I guess Dani means something else: http://www.systemnetmail.com/faq/4.4.aspx This method allows to refer to an inline attachment using . This is the only way to be sure the recipient actually sees th

[google-appengine] Re: GqlQuery bind method - is it safe to share the same query instance between requests?

2008-12-16 Thread Alex Epshteyn
Ah, I see. It's safe because a new request will not be processed by the same instance of the python interpreter until the previous request has fully completed, right? Thanks, Ryan! On Dec 16, 7:37 pm, Ryan Barrett wrote: > hi alex! you're right to be cautious, but happily, requests are not > h

[google-appengine] Re: how to submit form from static index.html

2008-12-16 Thread Alexander Kojevnikov
> thanks Alexander, > > the setup and code worked, > > one more help, - how do i unescape string in python that was escaped > in javascript and submitted?? > > I'm submitting html that is escaped from the form - escape(data) > How do I unescape the self.request.get('data') in python and then mail

[google-appengine] Re: Announcing: System Status Dashboard, Quota Details Page, and a Preview of Billing

2008-12-16 Thread lws68825
Hi Marzia, I am in China, Google Checkout is not available in China. I suggest you provide more payment methods. On 12月17日, 上午7时59分, Marzia Niccolai wrote: > Hi, > > When billing launches, it will be available in US Dollars to any country > where its possible to use Google Checkout. > > -Marzia

[google-appengine] Re: Send and receive mail with embedded images

2008-12-16 Thread Jeff S
Hi Daniel, When you say embedded images, do you mean as attachments, or an HTML email with image tags? In either case you may find some helpful information in the docs for the mail API http://code.google.com/appengine/docs/mail/emailmessagefields.html http://code.google.com/appengine/docs/mail/a

[google-appengine] Error mac eclipse pydev appengine

2008-12-16 Thread x
I install eclipse + pydev + appengine in a Mac X and follow http://www.ibm.com/developerworks/opensource/library/os-eclipse-mashup-google-pt1/ it goes well with "hello world" aplication but with one like guest book says this error: from google.appengine.ext.webapp import template File "/A

[google-appengine] Re: Can't create application

2008-12-16 Thread Jeff S
Hi Dan, If you fill out the form listed in this FAQ answer, we can approve your account without the SMS verification. http://code.google.com/appengine/kb/sms.html#error Thank you, Jeff On Dec 16, 5:11 pm, Dan wrote: > Hello, > > Any ideas? > > Hopefully some Google employees are monitoring

[google-appengine] Re: how to submit form from static index.html

2008-12-16 Thread rakf1
thanks Alexander, the setup and code worked, one more help, - how do i unescape string in python that was escaped in javascript and submitted?? I'm submitting html that is escaped from the form - escape(data) How do I unescape the self.request.get('data') in python and then mail it ? javascrip

[google-appengine] Re: Can't create application

2008-12-16 Thread Dan
Hello, Any ideas? Hopefully some Google employees are monitoring this forum and can reset something like I've seen them do for others. Thanks, -- Dan On Dec 14, 2:04 pm, Dan wrote: > Hello, > > I frequently experience collisions between the various Google services > that are supported by Go

[google-appengine] Re: non-users need easy url

2008-12-16 Thread Dan Sanderson
Thanks for the catch on the typo, I'll make sure that gets fixed. -- Dan On Sat, Dec 13, 2008 at 11:18 PM, thebrianschott wrote: > > I think I have found an error in the documentation: in the example I > have been using where Key.from_path() is used, it should be > db.Key.from_path() [notice the

[google-appengine] CPU Time calculation

2008-12-16 Thread Alexander Kojevnikov
Has the algorithm calculating the CPU Time been changed with the recent Dashboard update? I hardly ever reached 1% of the CPU quota, and most of the time it was at 0%. But now I'm at 4% and the number increases rapidly. If things continue like this I will reach the free quota before the next rese

[google-appengine] Re: GqlQuery bind method - is it safe to share the same query instance between requests?

2008-12-16 Thread Ryan Barrett
hi alex! you're right to be cautious, but happily, requests are not handled by different threads. our python interpreters are single threaded, and handle only a single request at a time. more: http://code.google.com/appengine/docs/python/sandbox.html http://groups.google.com/group/google-appengin

[google-appengine] Re: Unable to import non-root modules; works fine in dev_appserver

2008-12-16 Thread boson
http://code.google.com/p/googleappengine/issues/detail?id=930 On Dec 16, 1:56 pm, Alexander Kojevnikov wrote: > Add an issue to the tracker and post the link here, I will definitely > star it. --~--~-~--~~~---~--~~ You received this message because you are subscr

[google-appengine] Re: Announcing: System Status Dashboard, Quota Details Page, and a Preview of Billing

2008-12-16 Thread Marzia Niccolai
Hi, When billing launches, it will be available in US Dollars to any country where its possible to use Google Checkout. -Marzia On Tue, Dec 16, 2008 at 3:48 PM, Greg wrote: > > Cool! I have a commercial app launching in January, and can't wait > for billing to arrive so I can stop worrying

[google-appengine] Re: Announcing: System Status Dashboard, Quota Details Page, and a Preview of Billing

2008-12-16 Thread Greg
Cool! I have a commercial app launching in January, and can't wait for billing to arrive so I can stop worrying about quota exceptions. The screenshot shows a country selection field, for working out tax. Is this likely to delay billing for developers from non-US countries? New Zealand in par

[google-appengine] GqlQuery bind method - is it safe to share the same query instance between requests?

2008-12-16 Thread Alex Epshteyn
I'm tempted to define an instance of GqlQuery in a global variable, then while handling each request, to call the query's bind() method to bind to it the parameters for the user who issued the request. I'm relatively new to Python, but in a language like Java, this would be a terrible idea - you

[google-appengine] Re: Updates to Dashboard and other problems

2008-12-16 Thread Paul Kinlan
Cache-Control: no-cache does seem to make a difference, however all I can confirm is that I have can see the header is present and that the results are better than before (as in they aren't the same for each request - as far as I can tell). Paul. 2008/12/16 Alexander Kojevnikov > > > I am not s

[google-appengine] GAE: Beyond computer science

2008-12-16 Thread Amir Michail
Hi, I think the GAE is a real game-changer. It will result in an explosion of creativity that will dwarf what we have seen in Web 2.0 thus far. There's a lot of interesting computer science and software engineering involved in building the GAE, but I suspect less so in terms of building apps fo

[google-appengine] Re: Updates to Dashboard and other problems

2008-12-16 Thread Alexander Kojevnikov
> I am not specifying no-cache. I will try it out tonight, I suspect   > that will fix the problem. Not sure why I have not seen it before, but   > I suspect I just never noticed. > Paul, could you post here the result of your investigation? I somehow overlooked the urlfetch()'s header parameter t

[google-appengine] Re: reading line from request.get instead of byte at a time

2008-12-16 Thread Alexander Kojevnikov
> I have an app where I need to parse and process text file via POST > method. > > When I use webapp.RequestHandler's request.get method, it returns the > content a byte a time.  I was hoping it could return a line (ie: UNIX > or Windows/DOS line).  Is there another flag/method that does this > al

[google-appengine] Re: Announcing: System Status Dashboard, Quota Details Page, and a Preview of Billing

2008-12-16 Thread Marzia Niccolai
Hi, Yes, this is a typo, it's meant to be GB-month. In terms of timeline, we are working hard on the ability purchase more resources. While a specific date has not yet been announced, expect it earlier in the new year. -Marzia On Tue, Dec 16, 2008 at 12:31 PM, BrianJinwright wrote: > > I woul

[google-appengine] Re: Unable to import non-root modules; works fine in dev_appserver

2008-12-16 Thread Alexander Kojevnikov
> Probably this issue should be documented somewhere, or at least the > odd behaviors of the server should be duplicated by the > dev_appserver.  ( Similar to this > note:http://code.google.com/appengine/docs/configuringanapp.html#Reserved_... > ) > Add an issue to the tracker and post the link h

[google-appengine] reading line from request.get instead of byte at a time

2008-12-16 Thread rslee
I have an app where I need to parse and process text file via POST method. When I use webapp.RequestHandler's request.get method, it returns the content a byte a time. I was hoping it could return a line (ie: UNIX or Windows/DOS line). Is there another flag/method that does this already for me?

[google-appengine] App Engine Chat Time

2008-12-16 Thread Marzia Niccolai
Hi, Just a reminder that we'll have our last chat time of the year tomorrow morning, Wednesday December 17, 9-10AM PST. Also, here is the list of upcoming App Engine chat times: January 7, 7-8PM PST January 21, 9-10AM PST Feb 4, 7-8PM PST Feb 18, 9-10AM PST March 4, 7-8PM PST March 19, 9-10AM PST

[google-appengine] Re: Changes in Dashboard?

2008-12-16 Thread Siva Velusamy
The dashboard quota details page is excellent. Thanks for the great addition! -Siva On Dec 16, 10:47 am, Marzia Niccolai wrote: > Hi, > > We've re-vamped the quotas page, you can read about it > here:http://googleappengine.blogspot.com/2008/12/system-status-dashboard-q... > > -Marzia > > On Tu

[google-appengine] Re: Difficulty Serving Static Image with static_files handler

2008-12-16 Thread Jesaja Everling
AFAIK, OSX is not case sensitive, while it is case preserving. One more reason to use linux! :P On Tue, Dec 16, 2008 at 7:09 PM, Dylan Lorimer wrote: > > Yes, as embarrassing as it is, case sensitivity was the problem. This > stumped me for literally 3 days! Why would it not be an issue on my >

[google-appengine] Inverted Index & Entity Groups

2008-12-16 Thread Amir Michail
Hi, Suppose you would like to store users' items in an inverted index for quick search. How do you store a new user item and index it with both steps occurring in the same transaction? Amir --~--~-~--~~~---~--~~ You received this message because you are subscri

[google-appengine] quota per registered user

2008-12-16 Thread Tony Smith
Hi, What are our chances of getting a dashboard report that will show the quota usage by registered users? My problem is that for example, I have registered user H that uses a lot of quota and I also have registered user L that uses a little quota. When user H takes the application over the quot

[google-appengine] Re: Announcing: System Status Dashboard, Quota Details Page, and a Preview of Billing

2008-12-16 Thread BrianJinwright
I would tend to agree Indra. That seems way to high. Is there an ETA on this feature? On Dec 16, 3:19 pm, indra wrote: > I think it was supposed to be $0.15 per GB-month. > Its way too high to be per GB-day. > > On Dec 17, 12:06 am, James Ashley wrote: > > > Very nice!  Thank you (and everyone

[google-appengine] Re: Announcing: System Status Dashboard, Quota Details Page, and a Preview of Billing

2008-12-16 Thread indra
I think it was supposed to be $0.15 per GB-month. Its way too high to be per GB-day. On Dec 17, 12:06 am, James Ashley wrote: > Very nice!  Thank you (and everyone else on your team, of course ). > > Just one question.  The pricing screen shot looks like it shows > storage at $0.15/GB-day.  In t

[google-appengine] Re: Unable to import non-root modules; works fine in dev_appserver

2008-12-16 Thread boson
Alexander Kojevnikov, you are the man! I changed "code" to "codpiece", and all is well. Thank you so much. Probably this issue should be documented somewhere, or at least the odd behaviors of the server should be duplicated by the dev_appserver. ( Similar to this note: http://code.google.com/a

[google-appengine] Re: Inconsistent behaviour when if __name__ == '__main__' missing

2008-12-16 Thread Dan Sanderson
Good catch! I'll make sure the docs address this case, in both samples and descriptions. Thanks! -- Dan On Mon, Dec 15, 2008 at 10:49 AM, Jeff S wrote: > > Thank you for pointing this out. It seems like most code snippets do > include the if __name__ == '__main__' but I did find one that omitte

[google-appengine] Re: Deleting stuff

2008-12-16 Thread Carter Rabasa
Some more information: app_id = twitter2ff offending model = TwitterUser On Dec 16, 1:14 pm, Carter Rabasa wrote: > I'm having the EXACT same problem, and no amount of delay seems to be > helping.  Has anyone figured this out? > > On Nov 21, 4:00 pm, Ben Nevile wrote: > > > Hi Chris - thanks

[google-appengine] Re: Deleting stuff

2008-12-16 Thread Carter Rabasa
I'm having the EXACT same problem, and no amount of delay seems to be helping. Has anyone figured this out? On Nov 21, 4:00 pm, Ben Nevile wrote: > Hi Chris - thanks for your response. A 2 second delay?  Really?  I > don't think that would help. > > 1. Another of my apps is serving 100k req / s

[google-appengine] Re: 'Contact us' form

2008-12-16 Thread Geoffrey Spear
Most likely, whatever is run by ContactUsForm isn't actually trying to send email; if it was you'd be getting an exception thrown because you can't send email from arbitrary user-entered email addresses. What do your app.yaml and the script run for ContactUsForm look like? On Dec 16, 12:20 pm, No

[google-appengine] Re: Announcing: System Status Dashboard, Quota Details Page, and a Preview of Billing

2008-12-16 Thread James Ashley
Very nice! Thank you (and everyone else on your team, of course ). Just one question. The pricing screen shot looks like it shows storage at $0.15/GB-day. In the previously released pricing plan, it was supposed to cost around $0.15-18/GB-month. Am I reading something wrong, is that a typo, o

[google-appengine] Re: Data is skipped

2008-12-16 Thread paptimus
Hi, Marzia. > > Also, have you tried adding this index to your index.yaml and uploading it > > with your application: > > > - kind: Ownership > > properties: > > - name: user > > - name: deleted > > - name: created_on > >direction: desc I added and uploaded this index according as your ad

[google-appengine] Re: Zoho Creator and GAE

2008-12-16 Thread Adam
Let's say that your AppEngine code lives in the subdirectory foo. You would use the command appcfg.py update foo/ to upload your code. On Dec 16, 1:18 pm, Ranjan wrote: > I have downloaded a Zoho app and have to upload it > > The tutorials says, To upload application files, run the appcfg.py >

[google-appengine] Re: Changes in Dashboard?

2008-12-16 Thread Marzia Niccolai
Hi, We've re-vamped the quotas page, you can read about it here: http://googleappengine.blogspot.com/2008/12/system-status-dashboard-quota-details.html -Marzia On Tue, Dec 16, 2008 at 3:49 AM, conman < constantin.christm...@googlemail.com> wrote: > > Hi, > > a few hours ago I was surprised when

[google-appengine] Announcing: System Status Dashboard, Quota Details Page, and a Preview of Billing

2008-12-16 Thread Marzia Niccolai
Hi, As many of you have already noticed, we released some Admin Console changes today, and we've also announced a System Status Dashboard ( http://code.google.com/status/appengine), and have some more details on Google App Engine's billing plans. You can read all about these announcements on our

[google-appengine] Re: Bugged out entity type crashes data viewer.

2008-12-16 Thread Marzia Niccolai
Hi, Do you have a link to a specific page that is having this issue? Also, what type of data is being stored in this entity? -Marzia On Tue, Dec 16, 2008 at 1:06 AM, Tzakie wrote: > > After hitting an enity type with serial deleted to try and rekey it. > > The entity type has become bugged. >

[google-appengine] Re: Data is skipped

2008-12-16 Thread Marzia Niccolai
Hi, I suspect this is the same issue as this one: http://code.google.com/p/googleappengine/issues/detail?id=901 We suspect that calling put() on the entities that are not being returned will fix this issue, but are investigating it and working on a fix as well. Thanks, Marzia On Mon, Dec 15, 20

[google-appengine] Share Demo: Upload file to the GAE Datastore :-)

2008-12-16 Thread lincong.javat...@gmail.com
Hi,   I noticed that lots of people asking about how to upload files to the gae datastore.   And fortunately ,after two days trying, now I get it to work :-)   Share with all of you now!   download from here: http://ihere.appspot.com/album/ or http://code.google.com/p/mouse-action/downloads/list

[google-appengine] Zoho Creator and GAE

2008-12-16 Thread Ranjan
I have downloaded a Zoho app and have to upload it The tutorials says, To upload application files, run the appcfg.py command with the update action and the name of your application's root directory. But I do not know how!! I know it's a bit dumb but do not know where to ask. --~--~-~--

[google-appengine] Send and receive mail with embedded images

2008-12-16 Thread Dani Levin
Hi! I want to migrate a mailing solution to Google App Engine. For that I need to be able to send and receive mails with embedded images. I already read that it is not possible to receive mail directly, but there are other solution with urlfetch. My problem is: How do I send a mail with embedde

[google-appengine] Re: Googe App Engine and Friend Connect...

2008-12-16 Thread Andrew Badera
You might benefit from checking out Microsoft's "Provider Models" in .NET. They address exactly this sort of abstraction. For this, you want the role and/or membership providers. Thanks- - Andy Badera - and...@badera.us - (518) 641-1280 - Google me: http://www.google.com/search?q=andrew+badera

[google-appengine] Re: Difficulty Serving Static Image with static_files handler

2008-12-16 Thread Dylan Lorimer
Yes, as embarrassing as it is, case sensitivity was the problem. This stumped me for literally 3 days! Why would it not be an issue on my Mac, but when deployed to App Engine it became an issue? Wait...I'm guessing it's the Mac's filesystem, right? Anyway, it works now... Cheers, dylan On Dec 1

[google-appengine] Re: Googe App Engine and Friend Connect...

2008-12-16 Thread bvelasquez
I see your point. Up until now, I've been relying on Google Account Login, but this is the limiting factor. I should provide my own mechanism and then link to the various providers. Much more flexible. Too bad there isn't a python library to open all this up in GAE, abstracting the authenticat

[google-appengine] Re: Updates to Dashboard and other problems

2008-12-16 Thread Paul Kinlan
Hi, Thanks for looking into the scroll problem. I am not specifying no-cache. I will try it out tonight, I suspect that will fix the problem. Not sure why I have not seen it before, but I suspect I just never noticed. Thanks for your help. Kind regards. Paul Kinlan On 16 Dec 2008, at 17:

[google-appengine] Re: Deploying to multiple Google Apps domains

2008-12-16 Thread Marzia Niccolai
Hi, At this time you can not restrict login of a single app to multiple Google Apps domain, so this scenario is not possible. You would have to deploy the same code to two different app-ids which had restricted login to corporation1 and corporation2 respectively. -Marzia On Mon, Dec 15, 2008 at

[google-appengine] Re: Updates to Dashboard and other problems

2008-12-16 Thread Marzia Niccolai
Hi, I'm looking in to the dataviewer side scroll issue. For the URLFetch issue, are you specifying no-cache in the URLFetch headers? If this is not the case, you will need to do this in order to guarantee you are circumnavigating the cache on every request. If you are specifying the no-cache he

[google-appengine] 'Contact us' form

2008-12-16 Thread Nora
Hello, I am trying to add a contact us form to my website that will run on GAE server. My code simply checks the email address correctness of the person contacting me, and sends the email to me. http://www.w3.org/TR/xhtml4/DTD/xhtml4-frameset.dtd";> Contact us