[google-appengine] serious problem with image uploading...

2008-09-22 Thread gops
I get to the point of uploading image and viewing it. I am referencing image by its key value. The problem arise when user need to change the image. There are two alternate way to do that. First is to retrieve the previous image data. and overwrite with the new one. so as the key of the original

[google-appengine] Re: Google app engine django helper, manage.py update, and (1,0,'final')

2008-09-22 Thread Matt Brown
Aral Balkan wrote: Can someone respond as to the roadmap for Django 1.0 compatibility? The currently released version of the helper (r52) supports Django 0.96 and the early Django 1.0 alpha versions. Support for Django 1.0 final is present in the HEAD (r60) of the helper. I'd like to add

[google-appengine] Re: BadRequestError: offset may not be above 1000

2008-09-22 Thread Emmanuel Okyere
There are a few tips in the Updating Existing Entities section of this article too: http://code.google.com/appengine/articles/update_schema.html cheers, Emmanuel. On 21 Sep 2008, at 14:15, Aral Balkan wrote: Hi, I'm not sure when this changed but it seems that you cannot specify offsets

[google-appengine] Re: how can I upload files bigger than 4MB use django and gae

2008-09-22 Thread Waldemar Kornewald
Hi, On Sep 20, 4:15 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I want to upload a 200MB file in google app engine. What can I do? If you combine these you can work around the upload limitation: * Amazon S3 * S3 POST:

[google-appengine] Re: How to I use xml.sax in google app engine??

2008-09-22 Thread rmz
On Sep 20, 2:48 am, Wooble [EMAIL PROTECTED] wrote: On Sep 19, 5:32 pm, rmz [EMAIL PROTECTED] wrote: On Sep 11, 2:38 pm, marc [EMAIL PROTECTED] wrote: Sorry about that. Next time I will RTFM first. Which part of tfm was that? (Rmz) I'd assume he meant the part of the GAE

[google-appengine] Re: How to I use xml.sax in google app engine??

2008-09-22 Thread rmz
This code gives the same error as the examples above when I try it. Did you use more code than what is available in http://cibass.de/gae/AtomHandler.txt ? What fails is actually an assignment within the constructor of the URLopener class. The constructor refers to os.unlink, which fails, but I

[google-appengine] Re: App.Yaml seems to be malfunctioning

2008-09-22 Thread Wooble
The 404 errors are for favicon.ico. /newuser is a 405 error, which means there's something wrong with the handler in NewUser.py. Does your CreateNewUserPage handler have a get() method defined? On Sep 21, 4:02 am, Pranny [EMAIL PROTECTED] wrote: Hi, My App.Yaml file is as follows

[google-appengine] Re: Sample code of i18n on GAE+Django

2008-09-22 Thread A . TNG
On Mon, Sep 15, 2008 at 11:53 AM, Mathieu [EMAIL PROTECTED] wrote: Hi TNG, I used your sample code and I have been able to create localization files for my application and make them work properly. The only problem I have now is that I dont know how to switch between each languages without

[google-appengine] User Authentication

2008-09-22 Thread My3
Can we use the Google Apps users to login to our own web application. I have Google Apps account for my domain. I want my domain users to access my web application. Can i do it. Else Can i forward them to my web application after authenticating then in Google App Engine.

[google-appengine] I I can't receive smsessages .how can i get a GAE?

2008-09-22 Thread gamexg
I I can't receive smsessages .how can i get a GAE? thank you! --~--~-~--~~~---~--~~ 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

[google-appengine] mail.send size limits?

2008-09-22 Thread ron esain
Hi I get this error - The request to API call mail.Send() was too large with an attachment of 1.5 Mbytes any idea what the limit is? Works ok with an attachment of 300Kbytes or so. Is this another restriction? Cheers --~--~-~--~~~---~--~~ You received this

[google-appengine] Re: local log file

2008-09-22 Thread Marzia Niccolai
Hi Joseph, Currently, dev_appserver logs are printed to the terminal. It only prints info level logging, so to view logs in development, you will need to log at this level. -Marzia On Fri, Sep 19, 2008 at 10:03 PM, Joseph [EMAIL PROTECTED] wrote: Hi: How do I view the log file when I

[google-appengine] Re: maximum reference dataset size without timeout

2008-09-22 Thread Marzia Niccolai
Hi, Adding an index here should have no effect. The reference property stores the key for the referenced value, and retrieving it is a simple get operation - the quickest there is. I doubt that the timeout is occurring for just one get - if you are operating over a large enough set of data, it

[google-appengine] Re: Delete all data for a kind

2008-09-22 Thread Marzia Niccolai
Hi, Currently there is no quick solution for deleting all entities of a specific kind. The only way this can be achieved is to write a handler that chunks the data in to manageable sizes, and then deletes the data over a series of requests. If this is something you'd like to see, please star

[google-appengine] Re: How to get a users last entry in a table

2008-09-22 Thread Marzia Niccolai
Hi, Assuming you've stored the user object and login date in your datastore, the query would like something like this: # Assume user is logged in user = users.get_current_user() last_login = Login.filter('user =', user).order('-login_time').get() -Marzia On Sat, Sep 20, 2008 at 8:42 AM,

[google-appengine] Re: NeedIndexError, but index is in index.yaml file

2008-09-22 Thread Marzia Niccolai
Hi, From the description, it seems as though Alexander is correct, and you are experiencing the below issue. However, if you would like to reply directly to me with the App Id, I can look in to it and verify if it is this or something else may be happening. Thanks, Marzia On Sun, Sep 21, 2008

[google-appengine] Re: problem in SDK 1.1.3 with FloatProperty() in local Datastore Viewer

2008-09-22 Thread Jeff S
Hi axartico, This is a know issue and a workaround has been posted in the issue tracker: http://code.google.com/p/googleappengine/issues/detail?id=710 Cheers, Jeff On Sep 19, 8:15 am, axartico [EMAIL PROTECTED] wrote: i have found a problem in Development Console with Datastore Viewer.

[google-appengine] Re: How to solve this problem(just like in in sql)

2008-09-22 Thread Marzia Niccolai
Hi, For this query you do not need to use an 'IN' query. The correct query is: db.GqlQuery(SELECT * FROM PDM_InitReportEntity WHERE Users = :1,curentuser) From http://code.google.com/appengine/docs/datastore/typesandpropertyclasses.html#ListProperty: In a query, comparing a list property to a

[google-appengine] Re: Confusions on transactions and concurrent writes to entity groups

2008-09-22 Thread Jeff S
Hi David, Even if a put request to the datastore is not run in a transaction, the operation is automatically retried. Contention is not unique to transactions. The benefit of using transactions, is that if one write in the transaction times out (due to too much contention or some other issue)

[google-appengine] Re: 1.1.3 appinfo_errors import problem

2008-09-22 Thread Jeff S
Hi Byron, Would you mind filing an issue in our tracker? http://code.google.com/p/googleappengine/issues/list This seems like something that should be fixed in future versions. Thank you, Jeff On Sep 20, 12:12 pm, byronsalty [EMAIL PROTECTED] wrote: I just got the 1.1.3 SDK today and now I'm

[google-appengine] Re: Confusions on transactions and concurrent writes to entity groups

2008-09-22 Thread Jeff S
To further clarify. All writes are transactional. Details on how the transactions work can be found in ryan's presentation from Google I/O: http://snarfed.org/space/datastore_talk.html The section on transactions specifically begins at slide 49. You can also watch the video here:

[google-appengine] Re: Strange expiration date (now + 1 day)

2008-09-22 Thread Marzia Niccolai
Hi Sylvain, My simple 'Hello World' with the Cache-Control set seems to always set this header as expected, so if you could point me to a URL in your application that you have noticed this behavior, this will help us pinpoint where this might be occurring. Also, do you set any expirations

[google-appengine] Re: Strange expiration date (now + 1 day)

2008-09-22 Thread Sylvain
Hi, Yes, i thought is was an issue with the app.yaml. So, i've removed it ('default_expiration'.). But this bug continues. One important thing : it is random. And to raise it, it was sometimes hard/long. If the Dashboad is a GAE app (like ours), it has the bug too. Check these images : I've

[google-appengine] Re: A Very Specific AJAX RPC App Engine Question

2008-09-22 Thread Downtown
Thank you . I have everything working. I appreciate your feedback. On Sep 12, 3:16 pm, Adam Fisk [EMAIL PROTECTED] wrote: Couple of quick points here: 1) In your example (Downtown), you don't need to use eval.  When you specify handleAs: 'json' the response is already JSON (already evaled

[google-appengine] Re: Unit test failure with 1.1.3 release

2008-09-22 Thread Jason Etheridge
On Mon, Sep 22, 2008 at 5:33 AM, I.K. [EMAIL PROTECTED] wrote: I'm suffering with the same problem since upgrading to 1.1.3. I have always included the first argument here: stub = datastore_file_stub.DatastoreFileStub(u'myTemporaryDataStorage', '/dev/ null', '/dev/null') Do you have any

[google-appengine] Re: Urlfetch works fine at localhost but errors out after uploading

2008-09-22 Thread gmalquestion
On Sep 22, 9:12 pm, Downtown [EMAIL PROTECTED] wrote: 1) Any work around on this issue?  Can I run a procedure off line looping urlfetch until I get what I need? 2) I have noticed that if you request a feed (using urlfetch) several times in a row it will not timeout.  It is like Google App

[google-appengine] Admin Users

2008-09-22 Thread Sam G
GAE Group, Quick question... I've got a Google App Engine app setup for authentication with a GAFYD account. I had thought that the is_current_user_admin() method returns True if the user has admin privs for the GA domain. I guess not - it isn't working for my Google Apps Admin. Upon closer

[google-appengine] Re: Urlfetch works fine at localhost but errors out after uploading

2008-09-22 Thread Downtown
Thanks for pointing this out but you need to clarify in red letters that the Dev environment does not behave the same as Prod or there is an imposed 5 second timeout. Since your application must respond to the user's request within several seconds, a URL fetch action to a slow remote server may

[google-appengine] Re: Strange expiration date (now + 1 day)

2008-09-22 Thread Barry Hunter
On Mon, Sep 22, 2008 at 7:33 PM, Sylvain [EMAIL PROTECTED] wrote: Hi, Yes, i thought is was an issue with the app.yaml. So, i've removed it ('default_expiration'.). But this bug continues. One important thing : it is random. And to raise it, it was sometimes hard/long. If the Dashboad

[google-appengine] Re: Problem Setting Date property to None

2008-09-22 Thread jtbrne
Same problem here...any solutions? On Aug 19, 9:01 am, Arun Shanker Prasad [EMAIL PROTECTED] wrote: Hi, I have a fewdatefields, until recently I just used a text field to get the value and store it in the GAE datastore, it maps thedatein into y-m-d format. I needed to change the format and

[google-appengine] Re: Problem Setting Date property to None

2008-09-22 Thread jtbrne
There has to be a better way, but I can't figure it out and this isn't very important to my problem. The problem seems to be that the django form won't actually set a dbmodel DateProperty to None. There does not appear to be an issue with the StringProperty. entity = data.save(commit=False)

[google-appengine] Re: Denial of Service Attack on a GAE Application

2008-09-22 Thread Sharp-Developer.Net
Starred - I think it's gonna be even more impotant when we get paid service. -- Alex http://sharp-developer.net/ On Sep 20, 5:31 am, Tony Smith [EMAIL PROTECTED] wrote: Hi, I created an issue for this request. Please star it if you feel it's important to you.

[google-appengine] Re: I I can't receive smsessages .how can i get a GAE?

2008-09-22 Thread Alexander Kojevnikov
I I can't receive smsessages .how can i get a GAE? http://code.google.com/appengine/kb/sms.html#error --~--~-~--~~~---~--~~ 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] Re: Admin Users

2008-09-22 Thread Alexander Kojevnikov
It's under Administration / Developers. You need to add a new developer (AKA admin) and then click on the link in the confirmation e- mail -- http://www.muspy.com On Sep 23, 6:58 am, Sam G [EMAIL PROTECTED] wrote: GAE Group, Quick question... I've got a Google App Engine app setup for

[google-appengine] Dashboard - Logs - How to clear them? - What is the Date-Time reference?

2008-09-22 Thread djidjadji
I have 2 questions about the Dashboard Logs window. What is the reference of the Data-Time used in the log messages? It's not UTC (as used in the Datastore). Is it PST? And how much does this time differ from UTC? How do I clear the log messages? Every time I look at the log window I see a lot

[google-appengine] Re: NeedIndexError, but index is in index.yaml file

2008-09-22 Thread djidjadji
Hi Marzia, Yes Alexander is correct. I have read the issue and have exact the same problem. In my index.yaml file there is also the following entry as the first index, placed by devappserver.py. === - kind: FooA ancestor: yes === This is because in some

[google-appengine] memcache: is it distributed or local?

2008-09-22 Thread djidjadji
To speed up the response for most queries I use memchache to store part of the generated html. When the objects change that are used for this memcache entry I call memcache.delete(key) then I redirect myself to the page that will generate the memcache content for this key. What I see is that

[google-appengine] Re: local log file

2008-09-22 Thread Brian Clapper
On 9/22/08 12:09 PM, Marzia Niccolai wrote: Hi Joseph, Currently, dev_appserver logs are printed to the terminal. It only prints info level logging, so to view logs in development, you will need to log at this level. Am I missing something? I believe I've used the -d (--debug) parameter

[google-appengine] Re: local log file

2008-09-22 Thread Marzia Niccolai
Hi, Ahhh yes, I've just gotten in the habit of doing everything .info because that is the level by default. -Marzia On Mon, Sep 22, 2008 at 5:36 PM, Brian Clapper [EMAIL PROTECTED]wrote: On 9/22/08 12:09 PM, Marzia Niccolai wrote: Hi Joseph, Currently, dev_appserver logs are printed to

[google-appengine] Re: Admin Users

2008-09-22 Thread Marzia Niccolai
Hi, After adding a new Admin, you need to re-upload the application for the 'is_current_user_admin' bit to be flipped to true for the new developer. -Marzia On Mon, Sep 22, 2008 at 3:57 PM, Alexander Kojevnikov [EMAIL PROTECTED] wrote: It's under Administration / Developers. You need to add

[google-appengine] Re: How to create SOAP server in GAE

2008-09-22 Thread Greg
You are right that appengine does the webserving for you. To provide a SOAP service, you simply need to... - Decode the XML contained in the request - Do something with it - Encode the response in XML. I'll leave it to you to google for python XML modules. Cheers! Greg. On Sep 23, 5:00 am,

[google-appengine] Re: NeedIndexError, but index is in index.yaml file

2008-09-22 Thread Alexander Kojevnikov
Marzia, Can we expect this to be fixed any time soon? This bug is very annoying. As mentioned by djidjadji, workarounds can be very resource- intensive. Usage of indices (vs manual filtering) is encouraged in the docs, but this bug makes it impossible with a very obscure error message. Thanks!

[google-appengine] I cannot receive gae verify code.

2008-09-22 Thread 叮叮当当
Hi, I am an chinese, i have try to use China Mobile phone to receive my verify code and China Unicom 133 to receive verify code , but after wait for several days, i still did not receive any verify code. i have google this problem, it is the fault of China Mobile China Unicom, they drop

[google-appengine] Comment system - preview, edit?

2008-09-22 Thread David Underhill
The system for commenting on an application would be a bit better if one could preview the post, and perhaps edit it if needed. Also, it is easy to miss the stars portion of the comment and rate the application 0 stars on accident. Just some thoughts! ~ David

[google-appengine] Having trouble uploading application.

2008-09-22 Thread [EMAIL PROTECTED]
I'm sorry, this is going to sound very beginner-ish (because I am one obviously). I've made my application and I'm trying to upload it but I keep running into problems. I'm using Ubuntu, and I go into the terminal and type /home/*username*/Documents/google_appengine/ appcfg.py update

[google-appengine] Re: User Authentication

2008-09-22 Thread My3
Sam, Yes i am currently using it. But i want to host an application elsewhere which has to be used only by these Google Apps users. So for that can i use Google App engine to forward the authentication. Or else can i use any other authentication. My3 On Sep 22, 3:57 pm, Sam G [EMAIL