[google-appengine] App Engine Hack-a-thon: Tokyo, Sept 20th

2008-09-04 Thread Daniel O'Brien (Google)
Hi all, I wanted to announce that we'll be hosting a hack-a-thon event in Tokyo, Japan on September 20th. The event will run from 10am to 6pm, and will be hosted in Google's Tokyo office. For more information, including sign-up details, refer to our blog post: http://googleappengine.blogspot.co

[google-appengine] Re: How to delete unused files on app engine

2008-10-20 Thread Daniel O'Brien (Google)
If you're still planning on using TinyMCE, it may be worth looking into using zipserve if you haven't already. It should help in working around the file limit. e.g. Assuming TinyMCE's files are zipped to /tinymce.zip, add something like this as a handler in your app.yaml: - url: /tinymce/.*

[google-appengine] Re: How can I know the version I am running in Production?

2008-10-22 Thread Daniel O'Brien (Google)
It's exposed as an environment variable, so something along the lines of the following should work: """ import os version = os.environ['CURRENT_VERSION_ID'] """ Daniel On Oct 22, 7:52 pm, Mariano Benitez <[EMAIL PROTECTED]> wrote: > I need to know it inside my app so I can do something like s

[google-appengine] Re: is there a way to tell the deployer to ignore some directories and/or files?

2008-10-22 Thread Daniel O'Brien (Google)
Yep. PIL is required for the images API within the SDK, but won't work on the live servers. Daniel On Oct 22, 9:54 pm, Mariano Benitez <[EMAIL PROTECTED]> wrote: > ok that worked, now.. I use PIL, should I skip PIL too? > > Mariano > > On Oct 23, 1:53 am, Mariano Benitez <[EMAIL PROTECTED]> wrot

[google-appengine] Re: Global Template Context Processors

2008-10-24 Thread Daniel O'Brien (Google)
The Django template wrapper module we use in google.appengine.ext.webapp.template only accepts a dict, rather than Context or RequestContext instances, so doesn't support global context processors. We do also provide django.template, which does support context processors. If you take this approac

[google-appengine] Re: Common View Component

2008-11-04 Thread Daniel O'Brien (Google)
Django has some features to simplify this via RequestContext and context processors: http://docs.djangoproject.com/en/dev/ref/templates/api/#id1 Alternatively, if you don't want to pull in Django, you could do all the heavy lifting (i.e.datastore calls, memcache) in your main() method, then expos

[google-appengine] Re: user login problem

2008-11-04 Thread Daniel O'Brien (Google)
The problem you'll encounter with naked domains is random TCP errors. Testing within your actual app won't work as a result, since the request never gets that far. yejun is correct that you'll need to manage redirects through your actual registrar. How you go about doing so depends on the registr

[google-appengine] Re: user login problem

2008-11-04 Thread Daniel O'Brien (Google)
On the original problem, the naked domain issue shouldn't affect users being able to log in. Have you checked which website your login cookies are being associated with? That is, login cookies from www.eaglefeed.me aren't accessible by eaglefeed.me, which may explain the problem you're running in

[google-appengine] Re: Trouble with Zipfile, Django 1.0, GAE Django Helper

2008-11-04 Thread Daniel O'Brien (Google)
It sounds as if you've found an alternate solution, but regarding the error you ran into while following the article, the following as part of step 4 should resolve the problem: zip -r django.zip django/contrib/__init__.py django/contrib/auth django/contrib/sessions Note that you may also need t

[google-appengine] Re: and home page caching problem

2008-11-14 Thread Daniel O'Brien (Google)
Yes, unless you're doing environment-specific checks, or relying on some underlying calls that function differently between the SDK and production, your titles should remain the same. Do you have a code sample where you've seen this occur? Daniel On Nov 14, 12:27 pm, adrian <[EMAIL PROTECTED]>

[google-appengine] Re: google-app-engine-django: Specifying Datastore Path

2008-11-17 Thread Daniel O'Brien (Google)
You should be able to use dev_appserver.py rather than manage.py when running locally without running into any errors to work around the issue. e.g. manage.py runserver /path/to/my/app Becomes: dev_appserver.py --datastore_path=/path/to/my/datastore /path/to/my/ app It may be worth filing

[google-appengine] Re: Loading new pages not in the frames present in the previous page!

2008-11-18 Thread Daniel O'Brien (Google)
>From the sounds of it this is an HTML question? If so, add the attribute "target" to your link tags, with the value "_top". e.g. This will override any frames on the current page Let me know if I misunderstood the question. Daniel On Nov 18, 4:45 am, Nora <[EMAIL PROTECTED]> wrote: > Hello al

[google-appengine] Re: Getting only the key of a reference property

2008-11-18 Thread Daniel O'Brien (Google)
You're correct in your concern: At present we don't support the sort of lazy loading that would enable you to fetch a referenced entity's key without fetching the actual entity. One option is to store the key itself as a separate property. You could even keep the existing ReferenceProperty if you

[google-appengine] Re: Getting only the key of a reference property

2008-11-18 Thread Daniel O'Brien (Google)
Correction to my previous post: This is possible, as Rafe demonstrated in a separate topic: http://groups.google.com/group/google-appengine/browse_thread/thread/ae8ab7cb83e5f609?fwc=1 Daniel On Nov 18, 11:58 am, "Daniel O'Brien (Google)" <[EMAIL PROTECTED]> wrote: >

[google-appengine] Re: Compressed string extractable in appengine?

2008-11-20 Thread Daniel O'Brien (Google)
The following should work, if you haven't tried something along these lines already. Java: String inputString = "Hello, world!"; byte[] input = inputString.getBytes("UTF-8"); byte[] output = new byte[100]; Deflater compresser = new Deflater(); compresser.setInput(input);

[google-appengine] Re: Content-Encoding?

2008-11-24 Thread Daniel O'Brien (Google)
Not at present - Marzia responded with a list of headers that cannot be changed in a previous question along the same lines: http://groups.google.com/group/google-appengine/browse_thread/thread/69232c3e1934173e Currently all incoming requests go through our serving infrastructure - we don't allow

[google-appengine] Re: unicode problem with django custom tag

2008-11-26 Thread Daniel O'Brien (Google)
Relying on setdefaultencoding isn't ideal, especially if you're working with code that you plan on making reusable. The proper solution normally involves decoding your input data using the proper encoding when it's retrieved (e.g. some.data.decode ('utf-8')). How you go about doing so depends on

[google-appengine] Re: dynamic plotting & matplotlib

2008-12-01 Thread Daniel O'Brien (Google)
We only support pure Python modules at present, and as far as I know matplotlib depends on several compiled modules that we don't provide ourselves (e.g. numpy). Other developers may have some experience with alternatives or workarounds though. Daniel On Dec 1, 7:28 am, gratefulfrog <[EMAIL PROT

[google-appengine] Re: Problems with arabic characters

2008-12-01 Thread Daniel O'Brien (Google)
Do you happen to know exactly where the error is occuring, and can you provide code samples from where you're retrieving the form data, and the line where the actual exception occurs? At some point your input string is being treated as ASCII. Attempting to encode an already valid utf-8 string wit

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

2008-12-01 Thread Daniel O'Brien (Google)
It's worth filing this as a feature request (or defect) in the public issue tracker, if you haven't already: http://code.google.com/p/googleappengine/issues/list As far as I know this method has existed since 1.1.6: Some developers ran into issues involving cheetah, which assumes that any has_ke

[google-appengine] Re: ImportError: No module named feedparser

2008-12-11 Thread Daniel O'Brien (Google)
feedparser isn't currently included as part of the SDK, or within the production environment. You can confirm which third party libraries we do provide under the "lib" directory of your SDK install. Daniel On Dec 10, 5:28 pm, L wrote: > I thought feedparser is in SDK. ^_^ > I have to copy feedp

[google-appengine] Re: Non-returning ajax upload

2008-12-11 Thread Daniel O'Brien (Google)
The SDK is single-threaded, but our production servers aren't, so a request should still process until it either completes or hits a deadline and regardless of how many other processes are running at any given time. Daniel On Dec 10, 8:15 am, gvan wrote: > In part of my app the user uploads a f

[google-appengine] Re: You have sent too many SMS verification messages?

2008-12-11 Thread Daniel O'Brien (Google)
It's something we need to help with once you've hit the error message in question. Try filling out the SMS issues form: http://appengine.google.com/waitlist/sms_issues Daniel On Dec 11, 7:15 am, Shedokan wrote: > I get this message every time I'm trying sending a message to my > cellphone. > at

[google-appengine] App Engine Gurus

2009-01-15 Thread Daniel O'Brien (Google)
Hello everyone, Some of you may have noticed the recent addition of a "guru" listing at the top of our main groups page. We've selected a few top contributors to the App Engine community to act as App Engine Gurus. Gurus will continue to post normally in the group, but are now officially noted fo