[google-appengine] hard to fetch a single entry

2009-03-23 Thread neoedmund
why this happens? a model has 100,000+ entries in it. q=Foo.all() e=q.get() error occurs: File /base/python_lib/versions/1/google/appengine/ext/db/ __init__.py, line 1346, in get results = self.fetch(1) File /base/python_lib/versions/1/google/appengine/ext/db/ __init__.py, line 1390,

[google-appengine] Re: hard to fetch a single entry

2009-03-23 Thread djidjadji
It probably is a Datastore timeout. If you retry it mostly works. 2009/3/23 neoedmund neoedm...@gmail.com: why this happens? a model has 100,000+ entries in it. q=Foo.all() e=q.get() error occurs:  File /base/python_lib/versions/1/google/appengine/ext/db/ __init__.py, line 1346, in

[google-appengine] Are all ListProperties implicitly indexed?

2009-03-23 Thread an0
If so, can I explicitly mark a ListProperty not to be indexed? I want the list's flexibility for some attributes, but don't want them to be indexed, (how) can I achieve this goal? Thanks in advance. --~--~-~--~~~---~--~~ You received this message because you are

[google-appengine] How to force refresh of importing modules?

2009-03-23 Thread SiVi
Hi I'm using simple structure with import module. But if i change module the changes arent shown till i change and save something in the main.py file. How i can change that so after each refresh the module would be loaded as new? --~--~-~--~~~---~--~~ You received

[google-appengine] Re: Internationalization in GAE using webapp

2009-03-23 Thread Olemis Lang
On Fri, Mar 20, 2009 at 12:58 PM, bca...@albendas.com bca...@albendas.com wrote: Hello, Hello ... I have received this message in a separate thread and I think I have already talked about this in a separate thread ... therefore I will assume that this is a continuation of the aforementioned

[google-appengine] Re: Internationalization in GAE using webapp

2009-03-23 Thread livibetter
Last month, I wrote a blog posting Using Django's I18N in Google App Engine. A simple demo [2] comes with the posting. I also used on an actual GAE app called I Thank [3], you can switch the language via Settings on top-right corner. Hope the doc can solve your questions. [1]

[google-appengine] Re: Send Base64 Email

2009-03-23 Thread oxygen
I think the function decides automatically what encoding it is necessary like this: if you have plain text it will pe plain text, if u have special characters it will be quoted printable, if you have utf8 or some special encoding it will be base64. It is less likely that u get base64 with the

[google-appengine] Re: MemCache/datastore failing

2009-03-23 Thread DarkCoiote
Everiything is working fine for while now thanks! Not used to use Google groups... that's why I took soo long to reply! Thanks again! On Mar 11, 1:15 pm, Marzia Niccolai ma...@google.com wrote: Hi, This should now be fixed.  Please let us know if you continue to see this issue.

[google-appengine] Faster server-side json?

2009-03-23 Thread Andy Freeman
According to http://blog.metaoptimize.com/2009/03/22/fast-deserialization-in-python/ , simplejson is significantly slower than cjson. I've created an issue requesting the fastest possible json at http://code.google.com/p/googleappengine/issues/detail?id=1174 .

[google-appengine] Re: What does Model.to_xml() returns?

2009-03-23 Thread Marcelo Sena
So I tried a more direct approach to this problem: function stateChanged() { if (xmlHttp.readyState==4) { if (xmlHttp.responseXML==null)alert(Null); var xmlDoc=xmlHttp.responseXML.documentElement; document.getElementById(companyname).innerHTML=

[google-appengine] Re: bulkloader Nulls and Defaults

2009-03-23 Thread Mat
I referred to this post for the question#1 to handle null values: http://code.google.com/p/googleappengine/issues/detail?id=595 But I still don't know how to handle default values without having the need to enter anything in the csv file... On Mar 20, 5:24 pm, Mat matdrap...@gmail.com wrote:

[google-appengine] Re: Datastore newbie question

2009-03-23 Thread Nora
Could you please tell me where is this datastore storedI tried to test with some data but I am unable to clear its contents. I used the --clear_datastore option but I keep getting the message that it is unable to find the datastore files! Thank you very much, Nora On Mar 20, 5:49 pm,

[google-appengine] Re: Faster server-side json?

2009-03-23 Thread bFlood
agreed. starred the issue. cpickle would be nice too On Mar 23, 10:55 am, Andy Freeman ana...@earthlink.net wrote: According tohttp://blog.metaoptimize.com/2009/03/22/fast-deserialization-in-python/ , simplejson is significantly slower than cjson. I've created an issue requesting the

[google-appengine] Bandwidth quota calculation and DoS attacks

2009-03-23 Thread codermarc
I was recently the victim of a DoS attack against an App Engine app. The attacker requested a 2.3mb file approximately 13k times over 1.5 hours, and at least 6k of the requests were successful before by bandwidth quota was exceeded. All of the requests were coming from a single IP address in

[google-appengine] Created a new account and a new app, now app has vanished

2009-03-23 Thread Able Pear Software
I created a new account about a half hour ago and added a new app after confirming via SMS. After submitting all the Create an Application form, I was redirected right back to http://appengine.google.com/start, and even logging out and back in, there's no sign of the app or the App Engine

[google-appengine] disappearing Expando dynamic_properties in the dev server

2009-03-23 Thread pat
I've been developing an appengine site which uses the expando class to store info. I can successfully store a property in the development server. I verify the info is there with the developer console, but when I run code I have the following problems: - the hasattr(myobj, attr_name) function

[google-appengine] You are not authorized to access this application

2009-03-23 Thread Brian
Is anyone else getting this message when trying to view the dashboard of an application? On the My Applications screen at http://appengine.google.com/ I clicked 'Create an Application' and entered the following info: Application Identifier: slopeofmoney Application Title: Slope of Money I did

[google-appengine] Re: how to activate appspot.com Account for google app

2009-03-23 Thread poustevnik
I have the same problem. http://appengine.google.com/a/bozz.cz -- ## Account Verification Needed The account you attempted to sign in to is not yet activated. The associated email address needs verification. In order to verify that the email address associated with your account is correct, we

[google-appengine] We're sorry... but your query looks similar to automated requests from a computer virus or spyware application.

2009-03-23 Thread Yaa
Another downfall for google.. fix it please. We're sorry... ... but your query looks similar to automated requests from a computer virus or spyware application. To protect our users, we can't process your request right now. We'll restore your access as quickly as possible, so try

[google-appengine] Google app engine ... how to access website of company?

2009-03-23 Thread Aaron
Hi, I just got hired in a company that claims they use google as their web hosting service. I currently never knew google has hosting services. They told me that they are using google apps engine. Now I am new to this scene. I have experience with making websites for others. I am used to having

[google-appengine] Re: Ideas for a bit more advanced search

2009-03-23 Thread Hannes
Good work. I like this idea and it seems to be the most flexible solution for complex search at the moment. Anyone care to comment on performance and bottlenecks? What are the problems with this solution? One that I can think of is that the database will become huge because of all word

[google-appengine] We're sorry... ... but your query looks similar to automated requests from a computer viWe're sorry... ... but your query looks similar to automated requests from a computer vir

2009-03-23 Thread bwh...@dappervision.com
Our team received this message from all of our app engines a few minutes ago and we want to know how this happened and how to avoid it in the future. All we are doing to posting content to the site and then we get banned across the board. I'm sorry if my web behavior is virus like but I think

[google-appengine] Re: Cant Access My App - 403 Forbidden

2009-03-23 Thread wrickr.com
my app has the same problem On Mar 22, 7:16 am, Brandon Thomson gra...@gmail.com wrote: Yep, it is working again now. Phew! On Mar 21, 7:47 pm, Arun Shanker Prasad arunshankerpra...@gmail.com wrote: Hi, I also think there was a disruption in Google's service. There was no

[google-appengine] Locked out

2009-03-23 Thread Mr Dynamite
I can't upload a new version of my app, and when I try to sign in to the dashboard I get a message saying that google's security certificate has expired. Any suggestions? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[google-appengine] Testing for Boolean = None?

2009-03-23 Thread nwalt...@sprynet.com
I'm using Django, and have a form where a user can add a new database row. My my model declares the following field: adminApproved = db.BooleanProperty() In the user form, I have excluded the adminApproved field, thus when I go to the GAE Admin and browse the rows, the boolean field has a value

[google-appengine] Re: Odd problem with urlfetch from picasa servers

2009-03-23 Thread notcourage
Did you ever find the solution? Is photo.media.thumbnail[1].url the URL for the actual image? Or a page containing it? I don't understand how to upload an image to picasa since gd_client.InsertPhotoSimple requires a filename and an appengine app doesn't have access to the file system, does it?

[google-appengine] Uploading an app from behind an authenticated proxy?

2009-03-23 Thread Fabio Bertone
Hi, I need to update one of my applications, but I am behind a proxy requiring authentication. I discovered how to update using an http proxy ( http://code.google.com/intl/it-IT/appengine/docs/python/tools/uploadinganapp.html#Using_an_HTTP_Proxy ), but not how to handle authentication. Do you

[google-appengine] IE Problem with POST - 400 Bad request: Your client has issued a malformed or illegal request

2009-03-23 Thread spiewko
Hello, I having the following errors TCP errors: 400 Bad request: Your client has issued a malformed or illegal request after sending POST requests from IE 6.0. While the same requests works with FF. In development (localhost and SDK) - the are no errors. This is happening with app I developing

[google-appengine] Re: Faster server-side json?

2009-03-23 Thread peterk
Starred, and thanks for finding that. One of the requests I expect to be the most popular in my app spits out json, so the faster the better! On Mar 23, 3:29 pm, bFlood bflood...@gmail.com wrote: agreed. starred the issue. cpickle would be nice too On Mar 23, 10:55 am, Andy Freeman

[google-appengine] parser module

2009-03-23 Thread Gareth Nelson
Hi I've been trying to get web.py running on GAE and running into issues with the templating engine, following the sample code here: http://groups.google.com/group/webpy/browse_thread/thread/e716a79c8092b4c0 When testing my app with the -d option to dev_appserver it gives an error when trying

[google-appengine] Re: parser module

2009-03-23 Thread 'Αλκης Ευλογημένος
You can't use native (c-extension) modules with app engine. Neither with the devappserver nor with the production environment. http://code.google.com/appengine/docs/python/runtime.html#Pure_Python On Mon, Mar 23, 2009 at 5:55 PM, Gareth Nelson gar...@garethnelson.comwrote: Hi I've been

[google-appengine] Re: IE Problem with POST - 400 Bad request: Your client has issued a malformed or illegal request

2009-03-23 Thread spiewko
The same with gea samples like cccwiki: http://code.google.com/p/google-app-engine-samples/source/browse/trunk/cccwiki erros in IE 6.0 after POST. This not happens every time. I also notice that after refreshing the POST req (after getting error) it always OK. On 23 Mar, 16:37, spiewko

[google-appengine] Re: Internationalization in GAE using webapp

2009-03-23 Thread Olemis Lang
On Mon, Mar 23, 2009 at 8:01 AM, livibetter livibet...@gmail.com wrote: Last month, I wrote a blog posting Using Django's I18N in Google App Engine. Interesting ... however I am not very sure about {%trans %} blocks ... I left you a *quick* message in your blog since I would not like to start

[google-appengine] Re: Internationalization in GAE using webapp

2009-03-23 Thread livibetter
Interesting ... however I am not very sure about {%trans %} blocks ... I left you a *quick* message in your blog since I would not like to start a flamewar here ... and I still wanna know your (and everybody else's ... ;) opinion about that ... ;) I have left comment on my blog. So I leave

[google-appengine] Re: Ideas for a bit more advanced search

2009-03-23 Thread ArtemGr
On 22 фев, 00:36, Steffen 'stefreak' Neubauer stefr...@stefreak.de wrote: I want to implement a search that is a bit advanced and searching for some ideas on how to implement it. For now, my ranking is an int property for each document, i'll sort the results by that property. To search my

[google-appengine] Re: Bandwidth quota calculation and DoS attacks

2009-03-23 Thread boson
Kind of scary if it's really that easy to shut down a GAE application from a script running on a single IP address for less than an hour. I think we would all like to hear from Google how they plan to deal with this problem in the general sense: a) in terms of preventing apps from going offline

[google-appengine] Re: Bandwidth quota calculation and DoS attacks

2009-03-23 Thread boson
Some relevant references: Marzia Niccolai (Google) said this in Sep 2008: On the broader issue of denial-of-service attacks, these are an unfortunate reality in the web world. While we don't currently offer applications any specific protections against attacks of this nature, this is something

[google-appengine] Use my Google Apps account for app engine

2009-03-23 Thread Ronn Ross
Hello, I subscribed to google apps premium addition. I attempt to sign in to google apps to upload my app and it won't let me gain access. Are you allowed to use your google apps account to create apps in app engine. Thanks --~--~-~--~~~---~--~~ You received this

[google-appengine] Re: Datastore newbie question

2009-03-23 Thread OliWeiD
When I start on a (german) windows-xp with that options I get the following messages (edited) INFO 2009-03-23 20:19:15,861 appengine_rpc.py] Server: appengine.google.com INFO 2009-03-23 20:19:15,908 dev_appserver.py] Attempting to remove file at c:\dokume~1\myname\lokale~1\temp

[google-appengine] Re: parser module

2009-03-23 Thread Gareth Nelson
Yet someone is using web.py in the production environment, and web.py uses the parser module: http://webpy.appspot.com/ On Mar 23, 5:10 pm, Alkis Evlogimenos ('Αλκης Ευλογημένος) evlogime...@gmail.com wrote: You can't use native (c-extension) modules with app engine. Neither with the

[google-appengine] Re: parser module

2009-03-23 Thread 'Αλκης Ευλογημένος
The error you are getting is because of the C-extension. I do not know how they did it, it is possible they disabled the C-extension and reverted to a pure python implementation. 2009/3/23 Gareth Nelson gar...@garethnelson.com Yet someone is using web.py in the production environment, and

[google-appengine] Re: Blocking bad IPs

2009-03-23 Thread xml2jsonp
I'm thinking to develope a free app like this: http://pyoohtml.appspot.com/let-delete-my-apps/home to sensibilize the GAE Team. Have you an idea? On Mar 23, 2:29 am, Sargis Dallakyan food@gmail.com wrote: Thank you for starring these issues. I've got another spammer today with IP  address

[google-appengine] Re: How to do editing??

2009-03-23 Thread xml2jsonp
:-) Can you set a default value? first_name = self.request.get(first_name, default_value=) -- Web Blue Screen of Death http://pyoohtml.appspot.com/web-blue-screen-of-death On Mar 22, 11:09 am, arnie parvez...@rediffmail.com wrote: Will using value={{first_name}} inside the input tag cause

[google-appengine] Re: Faster server-side json?

2009-03-23 Thread xml2jsonp
Starred :-) -- Web Blue Screen of Death http://pyoohtml.appspot.com/web-blue-screen-of-death On Mar 23, 3:55 pm, Andy Freeman ana...@earthlink.net wrote: According tohttp://blog.metaoptimize.com/2009/03/22/fast-deserialization-in-python/ , simplejson is significantly slower than cjson.

[google-appengine] Re: We're sorry... ... but your query looks similar to automated requests from a computer viWe're sorry... ... but your query looks similar to automated requests from a computer v

2009-03-23 Thread xml2jsonp
:-O -- Web Blue Screen of Death http://pyoohtml.appspot.com/web-blue-screen-of-death On Mar 22, 6:31 am, bwh...@dappervision.com e133tc1p...@gmail.com wrote: Our team received this message from all of our app engines a few minutes ago and we want to know how this happened and how to avoid it

[google-appengine] Re: Extracting a City from a PostalAddress

2009-03-23 Thread Jeremy Truax
I'd also be interested in knowing this. Having a separate PostalAddress property seems like it comes in handy but if you can only query on the whole Address, it is only slightly useful. On Mar 11, 11:36 am, David Wolfe davidgameswo...@gmail.com wrote: The PostalAddressProperty appears to be

[google-appengine] Problem with version control

2009-03-23 Thread Mike
When I try to access a non-default version via the 'latest' url, I get a 404 not-found error. When i upload that same version as version 1 (the default), I see no issues. This has been the case for the last day or so, and did not have a problem with this previously. Any ideas?

[google-appengine] NOT a BOT

2009-03-23 Thread zackdbarn...@gmail.com
Just trying to locate all references to a particular person on sites owned by the University of Oregon (uoregon.edu). This person will be leaving the university soon and we need to have a plan to update all web content, but I keep getting the message below when I get deep into the search results.

[google-appengine] Re: You are not authorized to access this application

2009-03-23 Thread Brian
Solved. I finally came across this issue in the bug tracker: http://ru.ly/03 It was due to the fact that I have both a normal google account and a google apps account. I needed to access google apps at http://appengine.google.com/a/YOURDOMAIN Sweet. :) Cheers, Brian On Mar 21, 1:22 am,

[google-appengine] geopt query?

2009-03-23 Thread pedepy
I just watched that talk about geo data on youtube (i think it was from google IO?)... and it made me really think ... what queries can be performed on geopt properties, if any ? are any kinds of spatial query features planned for gql and the datastore? it seems that right now, these

[google-appengine] updating schema

2009-03-23 Thread thebrianschott
There is an earlier thread updating schema but I can't figure out how to add to that thread, so I am making a new post. I have been attempting to apply the code snippets at http://code.google.com/appengine/articles/update_schema.html to update my datastore to add a boolean field named

[google-appengine] Re: Problem with version control

2009-03-23 Thread Mike
apparently the upload was corrupt. the problem was with version 2 the following seemed not to have worked: -deleting the version 2 from the server -uploading a new copy as version 2 but this did work: -upload a copy as version 3 -delete version 2 (and 3) -upload as version 2 weird On Mar

[google-appengine] Re: geopt query?

2009-03-23 Thread lock
You can do equality type checks, but that's about it :-( . A quick search of this group for geohash should point you in the right direction though. On Mar 24, 10:41 am, pedepy paul.ro...@gmail.com wrote: I just watched that talk about geo data on youtube (i think it was from google IO?)...

[google-appengine] python2.6 break gae

2009-03-23 Thread Coonay
i suspuct json in python 2.6 break gae,which always throws error: 'str' object has no attribute 'format', so i downgrade to python2.5. and use json imported from danjo, my app runs ok, --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[google-appengine] Cold app startup stats in case you're curious

2009-03-23 Thread cz
I added some timing code to see how expensive a cold app startup is. This is a Django1.x app so YMMV. The typical numbers are: Zipimport of Django: 180ms Appengine-django-helper monkeypatching: 430ms Misc imports, app-specific patching, etc: 20ms

[google-appengine] Re: @login_required usage

2009-03-23 Thread arnie
For a logged in user I have created a session as below request.session['myid'] = somevalue This will create an entry in Session datastore table. When the user logout I need to clear this session key how can I do this? request.session.delete[request.session.get('myid')] does not work