[google-appengine] djangoforms - basestring cannot be instantiated

2008-11-26 Thread Geoffrey Wiseman
Is this a bug, or am I doing something wrong and not realizing what it is that I'm doing wrong? :) Traceback (most recent call last): File "/appengine/google/appengine/ext/webapp/__init__.py", line 501, in __call__ handler.post(*groups) File "/projects/captchr/src/admin/criteria/criteria

[google-appengine] Re: encryption libraries

2008-11-26 Thread Leonid Evdokimov
Marzia Niccolai wrote: > There aren't many pure python implementations for encryption libraries, > for obvious performance reasons. I there full list of preinstalled libraries in GAE environment available somewhere? Yes, documentation refers to python 2.5 standard library, but there are lots of bi

[google-appengine] Memcache errors

2008-11-26 Thread Ben
Anyone shed some light on memcache KeyError: '4021' --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from

[google-appengine] domain name problem

2008-11-26 Thread Amir Michail
Hi, I'm trying to set things up so that both b4utweet.com and www.b4utweet.com are connected with b4utweet.appspot.com. After telling Google Apps to use www, I set www's CNAME to ghs.google.com in GoDaddy and also set 301 forwarding to www.b4utweet.com. But now I get this error whenever b4utwee

[google-appengine] Re: switch users based on current google account

2008-11-26 Thread warreninaustintexas
I noticed the same effect. App Engine let me log in with a GMail account, but kept showing me information from the previous account that I had used to log in. I wouldn't worry about this problem too much - it only happens in the development environment. On the production environment, the log-in

[google-appengine] Re: create an image-processing website with GAE?

2008-11-26 Thread James Yan
hey Wooble, thanks for your comments, i will take a round to EC2, see if it will be helpful. except EC2 or GAE, do you think how this "image-processing" site works: http://www.photofunia.com/ thanks. On Wed, Nov 26, 2008 at 11:20 PM, Wooble <[EMAIL PROTECTED]> wrote: > > > > On Nov 25, 9:35 pm,

[google-appengine] Appengine Admin

2008-11-26 Thread Valts
Hello, Today is birthday of Appengine Admin project - automatic admin interface for your Google App Engine (GAE) application. Appengine Admin is CRUD (Create, Retrieve, Update, Delete) interface for easy and convenient editing of site data. The project was made in huge inspiration from Django (h

[google-appengine] Re: Reminder: Scheduled Maintenance Tonight

2008-11-26 Thread Zeno Elea
Is this related to the timeout issues that have been happening today? On Nov 26, 5:47 pm, Marzia Niccolai <[EMAIL PROTECTED]> wrote: > Hi, > > Just a reminder that there will be scheduled maintenance tonight at 5:00 PM > PST for approximately 30 minutes.  During this time, the datastore will be >

[google-appengine] Re: Datastore Error

2008-11-26 Thread Jesse K
These errors have continued for me since this morning. In just the last hour we've had errors on about 11% of my requests. Jesse On Nov 26, 11:57 am, Marzia Niccolai <[EMAIL PROTECTED]> wrote: > Hi, > > This was posted on the downtime-notify > group:http://groups.google.com/group/google-appen

[google-appengine] Re: Connecting your own domain name via Google Apps

2008-11-26 Thread Amir Michail
On Tue, Nov 25, 2008 at 11:57 PM, Dan Sanderson <[EMAIL PROTECTED]> wrote: > On Tue, Nov 25, 2008 at 8:52 PM, Amir Michail <[EMAIL PROTECTED]> wrote: >> >> >> If so, should I get some traffic first before signing up? >> > >> > No need! Just sign up and start building. >> >> I was referring to the

[google-appengine] Re: Interesting How-to Datastore Question

2008-11-26 Thread MajorProgamming
Correct Post::: Well I figured out a sort of fix (similar to urs but doesn't require pinging from external box): I basically added a list property to MainListOfArticles that contains all the user objects that commented on that specific article [I'll call it usersThatCommented]. So every time som

[google-appengine] Re: Interesting How-to Datastore Question

2008-11-26 Thread MajorProgamming
Well I figured out a sort of fix (similar to urs but doesn't require pinging from external box): I basically added a list property to MainListOfArticles that contains all the user objects that commented on that specific article [I'll call it CommentsOnArticles]. So every time someone comments I a

[google-appengine] Reminder: Scheduled Maintenance Tonight

2008-11-26 Thread Marzia Niccolai
Hi, Just a reminder that there will be scheduled maintenance tonight at 5:00 PM PST for approximately 30 minutes. During this time, the datastore will be read only. More details can be found on the downtime notify group: http://groups.google.com/group/google-appengine-downtime-notify/browse_thre

[google-appengine] Re: Transaction isolation implications for PKs

2008-11-26 Thread ryan
hi viktor! that's a common misconception that people have after reading that article. queries and get()s *after* a put() are always consistent. this is why we say that the datastore is strongly consistent. within the same request, once a put() returns successfully, all subsequent get()s and querie

[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: Timeout - operation took too long

2008-11-26 Thread Devel63
I am as well. Single put of simple record in database with less than 100 objects total. Makes me very concerned about viability of platform. On Nov 26, 10:39 am, Fred <[EMAIL PROTECTED]> wrote: > I seem to be getting unusual timeouts too...www.bigbikemap.com > > On Nov 26, 8:28 am, ksjun <[EMAI

[google-appengine] Re: Datastore Error

2008-11-26 Thread Marzia Niccolai
Hi, This was posted on the downtime-notify group: http://groups.google.com/group/google-appengine-downtime-notify/browse_thread/thread/2fdfb64bdefed752 -Marzia On Wed, Nov 26, 2008 at 11:44 AM, Marinho Brandão <[EMAIL PROTECTED]> wrote: > > all is working again :) > > On 26 nov, 17:18, Marinho

[google-appengine] Re: Datastore Error

2008-11-26 Thread Marinho Brandão
all is working again :) On 26 nov, 17:18, Marinho Brandão <[EMAIL PROTECTED]> wrote: > Mine too. > > I guess a session function is making requests spend much mcycles. > > Since it was'nt being used more, I removed the parts was using it and > tried to update files into the server, but the followi

[google-appengine] Re: Datastore Error

2008-11-26 Thread Marinho Brandão
Mine too. I guess a session function is making requests spend much mcycles. Since it was'nt being used more, I removed the parts was using it and tried to update files into the server, but the following error is shown: 2008-11-26 17:10:44,317 ERROR appcfg.py:1334 An unexpected error occurred. A

[google-appengine] Re: Datastore Error

2008-11-26 Thread Marzia Niccolai
Hi, Our engineers are currently investigating this issue. -Marzia On Wed, Nov 26, 2008 at 11:09 AM, ksjun <[EMAIL PROTECTED]> wrote: > > Right now every put operations of my application make errors - > 'Timeout: datastore timeout: operation took too long.' > > What's wrong on the datastore? my

[google-appengine] Re: Surprisingly consistent timeouts on a simple query

2008-11-26 Thread Marzia Niccolai
Hi, Our engineers are currently investigating this issue. -Marzia On Wed, Nov 26, 2008 at 11:11 AM, Fred <[EMAIL PROTECTED]> wrote: > > Seems to fluctuate between an 'internal error' and the deadline > exceeded error. > > On Nov 26, 7:09 pm, Fred <[EMAIL PROTECTED]> wrote: > > I'm getting timeo

[google-appengine] Re: Surprisingly consistent timeouts on a simple query

2008-11-26 Thread Fred
Seems to fluctuate between an 'internal error' and the deadline exceeded error. On Nov 26, 7:09 pm, Fred <[EMAIL PROTECTED]> wrote: > I'm getting timeouts at the moment when fetching a single item from > the datastore: > > Traceback (most recent call last): >   File "/base/python_lib/versions/1/g

[google-appengine] Datastore Error

2008-11-26 Thread ksjun
Right now every put operations of my application make errors - 'Timeout: datastore timeout: operation took too long.' What's wrong on the datastore? my application id is 'lifography' --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[google-appengine] Re: Surprisingly consistent timeouts on a simple query

2008-11-26 Thread Fred
I'm getting timeouts at the moment when fetching a single item from the datastore: Traceback (most recent call last): File "/base/python_lib/versions/1/google/appengine/ext/webapp/ __init__.py", line 499, in __call__ handler.get(*groups) File "/base/data/home/apps/mycycleroute/1.329543171

[google-appengine] Update errors occur because I'm updating too much?

2008-11-26 Thread Amir Michail
Hi, I was wondering if update errors are a sign that I am updating too frequently. Amir --~--~-~--~~~---~--~~ 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-appengin

[google-appengine] Re: encryption libraries

2008-11-26 Thread Marzia Niccolai
Hi Leonid, There aren't many pure python implementations for encryption libraries, for obvious performance reasons. I know of one RSA implementation in pure python (http://stuvel.eu/rsa), though I don't know if the performance of these libraries is such that a request can be made within the App E

[google-appengine] Re: error when trying to do an upload

2008-11-26 Thread Thyako
I got this error once when my internet connection was down. It solved after I reconnected (in Ubuntu 8.10). ~Thiago On Nov 26, 11:52 am, davva <[EMAIL PROTECTED]> wrote: > Anyone know whats causing this error message when i try and do an > upload. > > D:\PROFILES>appcfg.py update d:\googleapps\h

[google-appengine] Transaction isolation implications for PKs

2008-11-26 Thread phraktle
Hi, I've read the article at http://code.google.com/appengine/articles/transaction_isolation.html and I understand the two milestones concept. However, I need clarification on the following: Is the primary key considered an index? (if so, this would mean, that a get() after a put() may not alwa

[google-appengine] Re: Using field key_name in djangoforms

2008-11-26 Thread Matt Brown
Denya wrote: > Thank you for idea about initial! > > code starting at line 803 in google.appengine.ext.db.djangoforms is from > save() method. > 'continue' statement there means that if you are editing data and > key_name passed, form processor must not try to change key_name in db, > 'cause it

[google-appengine] Re: Timeout - operation took too long

2008-11-26 Thread Fred
I seem to be getting unusual timeouts too... www.bigbikemap.com On Nov 26, 8:28 am, ksjun <[EMAIL PROTECTED]> wrote: > I am also. Just single put operation somtimes caused 'datastore > timeout: operation took too long.' > > - my application id : lifography > > My application doesn't exceed to any

[google-appengine] Re: New app for finding wallpaper images - feedback welcome :)

2008-11-26 Thread Stephen Judd
It's impossible for anyone to browse your localhost url. On Wed, Nov 26, 2008 at 8:25 AM, Bonstio <[EMAIL PROTECTED]> wrote: > > Hi all, > > My first post here.. > > I'd be grateful if you could offer any feedback you might have on my > first App Engine app. I've never written Python before so it

[google-appengine] Re: How to open .html in .py file?

2008-11-26 Thread Wooble
On Nov 26, 4:27 am, wenlong <[EMAIL PROTECTED]> wrote: > Hi, that means I can't load the static html files at the root path ? > and I must create a new folder named "static" and put all these htm > files in this folder? > > Actually, I don't know what's that prefix "static" mean ? "Static" mean

[google-appengine] Re: New Article on How Index Building Works

2008-11-26 Thread Ben Nevile
Great article, thanks GAE team! On Nov 25, 1:30 pm, Marzia Niccolai <[EMAIL PROTECTED]> wrote: > Hi, > > There have been a lot of questions on this group about index building and > Ryan Barrett, the tech lead for the datastore, took some time to write an > article on how index building > works

[google-appengine] Re: Using field key_name in djangoforms

2008-11-26 Thread Denya
Thank you for idea about initial! code starting at line 803 in google.appengine.ext.db.djangoforms is from save() method. 'continue' statement there means that if you are editing data and key_name passed, form processor must not try to change key_name in db, 'cause it's impossible :) So, my quest

[google-appengine] Re: Using field key_name in djangoforms

2008-11-26 Thread Jesaja Everling
You are right. I have tried, and it behaves the same way for me. You can work around this issue by passing the key_name as initial data to your form: form = TestForm(instance = entry, initial={'key_name': entry.key().name()}) It seems this is on purpose, the relevant code starts at line 803 i

[google-appengine] encryption libraries

2008-11-26 Thread Leonid Evdokimov
Greetings to everyone! Are there any libraries for symmetric encryption available at GAE? Asymmetric encryption would be cool too, but symmetric encryption is enough for me, and I really don't want to use some trivial obfuscation. I've found rijndael.py that is pure python, but it does not look

[google-appengine] How to use "--passin" option on Windows?

2008-11-26 Thread troorl
Hi. I want to upload my projects without inputing password every time. On Linux I made simple script in one line: echo "my_password" | python appcfg.py --passin -- [EMAIL PROTECTED] update /path/to/my/project/ How can I use this method on Windows? --~--~-~--~~~---~--

[google-appengine] Re: How to open .html in .py file?

2008-11-26 Thread wenlong
Hi, that means I can't load the static html files at the root path ? and I must create a new folder named "static" and put all these htm files in this folder? Actually, I don't know what's that prefix "static" mean ? --~--~-~--~~~---~--~~ You received this messa

[google-appengine] error when trying to do an upload

2008-11-26 Thread davva
Anyone know whats causing this error message when i try and do an upload. D:\PROFILES>appcfg.py update d:\googleapps\helloworld\ ( I enter my username and password twice here ) 2008-11-26 13:49:07,232 ERROR appcfg.py:1336 An unexpected error occurred. Aborting. Traceback (most recent call last)

[google-appengine] New app for finding wallpaper images - feedback welcome :)

2008-11-26 Thread Bonstio
Hi all, My first post here.. I'd be grateful if you could offer any feedback you might have on my first App Engine app. I've never written Python before so it's been interesting learning it. http://localhost:8080/?size=o Thanks! --~--~-~--~~~---~--~~ You receiv

[google-appengine] Re: create an image-processing website with GAE?

2008-11-26 Thread Wooble
On Nov 25, 9:35 pm, "James Yan" <[EMAIL PROTECTED]> wrote: > nobody have a talk about this? :-) You can use any pure python modules. If someone's written a pure python image processing library, you're in luck. I haven't searched for one, but it seems unlikely one exists. otherwise, you're pr

[google-appengine] Re: Using field key_name in djangoforms

2008-11-26 Thread Denya
No, i mean a little bit another thing. When i open page with form and want to edit some data (it means that i create form by passing db entity instance) the input field key_name appears, but it is empty (in db it's not empty) I understand, that i can't edit this. But i want this to be not empty w

[google-appengine] Re: Timeout - operation took too long

2008-11-26 Thread ksjun
I am also. Just single put operation somtimes caused 'datastore timeout: operation took too long.' - my application id : lifography My application doesn't exceed to any quota. (<1%) One of this error was occured at Nov 26,2008 AM 12:06 (PST). File "/base/python_lib/versions/1/goo