[google-appengine] Possible cursor exploit? (was Re: 1.3.1 SDK Prerelease - help us verify)

2010-02-17 Thread James Ashley
I don't have time to test this just now, and I hate to waste bandwidth on what (so far) is just idle speculation, but I did spot what looks like a potential security. I figured it'd be better to share it with the group than sit on it until I actually *do* have time to confirm/ deny. On Feb 16,

[google-appengine] Re: chunked transfer encoding

2009-02-21 Thread James Ashley
Just a gut reaction...shouldn't that be self.request.post? On Feb 20, 2:39 am, jeremy jeremy.a...@gmail.com wrote: so using netcat as a dummy host, i've confirmed the client is sending the data i expect: POST /_datum/blaaah.bin HTTP/1.1

[google-appengine] Re: Local Django Slow: Could not import strop: Disallowed C-extension or built-in module...

2009-02-18 Thread James Ashley
I get this [well, the error about strop...I haven't noticed the fcntl one] on XP running through cygwin, using the source code .zip (as opposed to the msi, in case that makes any difference). I'm about 50% certain that it's coming from the SDK, but it could easily be coming from some built-in

[google-appengine] Re: Versions and datastore consistency (was Re: Deleting a field in datastore)

2009-02-17 Thread James Ashley
On Feb 16, 5:52 pm, Alexander Konovalenko alex...@gmail.com wrote: On Tue, Feb 17, 2009 at 04:25, Sridhar Ratnakumar sridhar.ra...@gmail.com wrote: A related question - is there a way to have two versions of datastore so that I can run 'production' and 'staging' instances of my app? In

[google-appengine] RE: AE 1.1.7 defines has_key on db.Model

2009-02-17 Thread James Ashley
Google Groups doesn't give me any option to directly reply to this post. We'll see how this approach works. When this error came up, I wrote a scathing flame. And then I threw it away, mainly because it just isn't productive. Overriding the has_key() method seems like one of the least

[google-appengine] Re: Serving static files

2009-01-27 Thread James Ashley
That did the trick. Thank you [both] On Jan 26, 2:50 am, Blixt andreasbl...@gmail.com wrote: Looks to me like there's three spaces in front of static_dir: static. Try removing one of the spaces so that there are only two. Regards, Andreas On Jan 26, 5:41 am, James Ashley james.ash

[google-appengine] Re: Ok I know it's something really dumb but how to upload

2009-01-20 Thread James Ashley
Those are all fine options. But the real answer is to write 2 or 3 .BAT files (start your server, upload, and *save to source control* -- that's the most important one) and install the Windows Command Prompt Here extension. :-/ Good luck, James On Jan 19, 6:10 pm, djidjadji

[google-appengine] Re: Can not delete entity using Data Viewer and a GQL query.

2009-01-17 Thread James Ashley
This sounds to me like something that should be reported as a bug. And whoever wrote that error message should be punished with at least 10 papercuts. But that's just me. G On Jan 11, 3:33 pm, murexconsult...@googlemail.com robin_ow...@hedge-row.co.uk wrote: There was a bug in my app and some

[google-appengine] Re: why the computer says NameError: name 'execfile' is not defined

2009-01-17 Thread James Ashley
Isn't production running 2.5.ish? On Jan 12, 8:39 pm, bijiasuo2...@gmail.com bijiasuo2...@gmail.com wrote: you should install Python 2.6.1 i have successful, but i don't know why. I don't know Python --~--~-~--~~~---~--~~ You received this message because you

[google-appengine] Re: OpenID, is it good?

2009-01-17 Thread James Ashley
On Jan 12, 9:06 pm, jay j...@jaykyburz.com wrote: I thought google was participating in Open ID now? Do our app engine logins support OpenID's? OpenID still seems...fairly immature and not user friendly. Then again, it's been a while since I tried to use it. I probably have the terminology

[google-appengine] Re: Model.put() Override?

2009-01-17 Thread James Ashley
The simple answer seems to be override the db class. That's totally off the top of my head, and it may be completely unrealistic. Something like (totally untested and almost definitely wrong. Consider it pseudo-code): class my_db(google.ext.db): def put(self, *objects, **kwargs): for o

[google-appengine] Re: typical scenario

2009-01-17 Thread James Ashley
http://groups.google.com/group/google-appengine/browse_thread/thread/2baa48709bb94bd3?hl=en has an excellent answer about dispatching to multiple WSGI apps. On Jan 17, 12:11 pm, James Ashley james.ash...@gmail.com wrote: I really don't know much about WSGI, but this works for me. As I

[google-appengine] Re: Data Privacy

2009-01-17 Thread James Ashley
On Jan 17, 11:17 am, hawkett hawk...@gmail.com wrote: Hi Marzai,    Thanks for the detailed response.  It would be great to get those clarifications included in the terms of service and/or privacy policy.  I can see from my post rating that some people don't share my concern, but data

[google-appengine] Re: Data Privacy

2009-01-17 Thread James Ashley
On Jan 17, 2:54 pm, Andy Freeman ana...@earthlink.net wrote:  data privacy is probably the number one barrier to commercial cloud adoption at the moment. Some supporting evidence would be nice because only one person is raising this concern.  Maybe it's so huge a barrier that no one else

[google-appengine] Re: return a variable value from html form to python

2009-01-04 Thread James Ashley
I'm not real clear where the various errors are happening, so I'm just guessing. Just based on what I'm seeing here, it looks like you're having javascript (client-side) issues. Something about DTC? Maybe it's a variable that isn't getting initialized? Or maybe a constant that needs quotes

[google-appengine] Re: Datastore Size Scaling

2009-01-04 Thread James Ashley
On Jan 4, 6:04 pm, djidjadji djidja...@gmail.com wrote: I have done a few tests and found that the number of items in the datastore does not influence the number of mega-cycles it takes to fetch, create, delete items. That's good to know, thank you. I'll never forget the time I handed a

[google-appengine] Re: Global Time Synchronisation Guarantees

2009-01-02 Thread James Ashley
On Jan 1, 12:17 pm, Andy Freeman ana...@earthlink.net wrote: For a number of possible reasons (including the consistency of a running balance), an accounts engine might have a basic specification requirement that invoices are generated in sequence with ascending invoice numbers *and*

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

2008-12-17 Thread James Ashley
Just for clarification: There seems, to me, to be a big distinction between support for large files (to me, that sounds like serving bigger files that I upload via appcfg) and supporting large files uploaded by end-users (which, to me, implies letting the web app store data in bigger BLOBs). It

[google-appengine] Re: How can we develop apps using SVN?

2008-12-15 Thread James Ashley
Check out assembla.com. It has both source control hosting (give mercurial a try...it's a lot more flexible than SVN, the the GUI options still have their quirks) and project management features (which is what it sounds like you want). (Note: I'm not affiliated with them at all. Just a happy

[google-appengine] import semantics (was Re: handling classes across multiple .py files)

2008-12-12 Thread James Ashley
import models vs. from models import *: There might be some low-level nuance differences, but the important one (to me) is your module's name space. If you do from blah import * you wind up with everything in the other module. This *may* be what you want, but it usually isn't. If there's

[google-appengine] Re: Isolated Application Deployment Instances

2008-12-10 Thread James Ashley
Maybe I'm missing something. But it doesn't seem like it would take much effort to write a script to automate it. Something along the lines of: instance_names = ('a', 'b', 'c',...) for name in instance_names: # change the instance name in app.yaml # call appcfg.py You'd probably want to

[google-appengine] Re: suddenly, a new error in Cheetah in production GAE, doesn't occur in SDK

2008-11-18 Thread James Ashley
Marzia, I don't want to seem disagreeable, unappreciative, or anything like that. But I really have to agree with Ben on this one. It seems to me that this change introduces a bug. I've been using python for 8 years now, and I can't think of any reason for a has_key method to take only one