[google-appengine] Re: Failed when I want to donwload a file from my web app

2009-09-21 Thread Sylvain
Can you check this : http://d.hatena.ne.jp/ikasamaH/20080612 Simple example to upload, download a file. regards On 21 sep, 05:42, dingle wrote: > I am blocked by the issue and really appeciate any expert's input. --~--~-~--~~~---~--~~ You received this message b

[google-appengine] index error

2009-09-21 Thread alf
Hi gae team I have updated my indexes and appear a error message in one of them please can you help me. app-id = dbslog thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post t

[google-appengine] Re: delete (rename) an application

2009-09-21 Thread 老桃
hi Nick, now, i have ten apps. if i set someone as admin and he removes me, i have nine. may i create a new app as the tenth? On Sep 20, 2:30 am, "Nick Johnson (Google)" wrote: > Hi Benjamin, > > It's not currently possible to delete apps. What you can do is add him as an > administrator of the

[google-appengine] Re: delete (rename) an application

2009-09-21 Thread Nick Johnson (Google)
Hi Rud, If a domain was specified as the Apps domain to use when the app was created, then this is set for the app, regardless of what admins you add or remove. If the authentication settings were left at the default of using Google Accounts, this is likewise unaffected. -Nick Johnson On Sun, Sep

[google-appengine] Re: delete (rename) an application

2009-09-21 Thread Nick Johnson (Google)
On Mon, Sep 21, 2009 at 12:56 PM, 老桃 wrote: > > hi Nick, > > now, i have ten apps. if i set someone as admin and he removes me, i > have nine. may i create a new app as the tenth? > No. I've increased your max apps to 20, though. -Nick Johnson > > On Sep 20, 2:30 am, "Nick Johnson (Google)"

[google-appengine] Re: Problems using generate_records with the bulkloader

2009-09-21 Thread Nick Johnson (Google)
Hi Col, Can you try loading from CSV (eg, remove your generate_records method) and let us know if you see the same problem? Also, can you please include the complete stacktrace? -Nick Johnson On Sat, Sep 19, 2009 at 12:28 PM, Col Wilson < col.wilson.em...@googlemail.com> wrote: > > loaders = [Th

[google-appengine] Re: index error

2009-09-21 Thread alf
did vacuum again and solve problement. many thanks alberto On Sep 21, 12:57 pm, alf wrote: > Hi gae team > > I have updated my indexes and appear a error message in one of them > please can you help me. > > app-id = dbslog > > thanks. --~--~-~--~~~---~--~~ You re

[google-appengine] Re: Storage Data overhead magic

2009-09-21 Thread Denya
Hey, is there anybody there? I can't understand, why my queries fails. app-id: classificators-ru Query: SELECT * FROM KladrStreetRecord WHERE name = 'Грузинская Б.' Returns one record with city_code = '770' (type 'string') Query: SELECT * FROM KladrStreetRecord WHERE city_code = '77

[google-appengine] Re: Is default sort order by __key__ for query without a specified order?

2009-09-21 Thread Nick Johnson (Google)
Hi, Yes, all queries not explicitly sorted by __key__ implicitly end with a '__key__ asc' sort order. -Nick Johnson On Fri, Sep 18, 2009 at 12:37 PM, skyleecm wrote: > > hi, > for query without a specified sort order, > is the query results ordered by __key__? > > thanks. > Cheemeng > > > > -

[google-appengine] Re: Storage Data overhead magic

2009-09-21 Thread Nick Johnson (Google)
Hi Denya, Your indexes should be fixed now. -Nick Johnson On Mon, Sep 21, 2009 at 3:30 PM, Denya wrote: > Hey, is there anybody there? > I can't understand, why my queries fails. > > app-id: classificators-ru > > Query: > SELECT * FROM KladrStreetRecord WHERE name = 'Грузинская Б.' > > Returns

[google-appengine] Re: Storage Data overhead magic

2009-09-21 Thread Denya
Thank you, Nick.Now it works. What was the problem? Can i hope that the problem doesn't recur? What happens if I delete and then re-create indexes? It is very strange thing. 2009/9/21 Nick Johnson (Google) > Hi Denya, > Your indexes should be fixed now. > > -Nick Johnson > > > On Mon, Sep 21,

[google-appengine] Re: Storage Data overhead magic

2009-09-21 Thread Nick Johnson (Google)
Hi Denya, The problem was due to a known bug with composite indexes that very rarely causes them to become out of date for some records. You can use your app as normal - it's unlikely to recur. -Nick Johnson On Mon, Sep 21, 2009 at 4:43 PM, Denya wrote: > Thank you, Nick.Now it works. > > What

[google-appengine] How to Keep Python Applications Warm/Spooled Up

2009-09-21 Thread pdub
I have a Python-based application deployed on the App Engine. The application framework (Django App Engine Patch) is a little bit heavyweight, so it takes some time to start up and load all the necessary modules, but once it's loaded it's quite fast. From my logs, it looks like the application i

[google-appengine] Re: How to Keep Python Applications Warm/Spooled Up

2009-09-21 Thread Joshua Smith
How about creating a cron job in the application itself and pinging more frequently? I have a statistics-collection cron in one of my apps that runs once a minute. So I suppose I'm doing exactly what you describe, and I certainly do not see much of any variation in response times. Of cour

[google-appengine] Re: How to Keep Python Applications Warm/Spooled Up

2009-09-21 Thread pdub
Thanks Josh, I actually did have a cron job running in App Engine itself. I tried running an external job because I wasn't sure whether or not external and internal requests are routed differently. Are you running a custom app framework like Django or are you mostly sticking to stuff built into

[google-appengine] Re: compare to db.key's

2009-09-21 Thread NealWalters
I'm not sure this is the best answer, but try this, it might get your working in the interim: if str(B.ref) == str(familarKeyFromA): Neal Walters --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine"

[google-appengine] Re: How to Keep Python Applications Warm/Spooled Up

2009-09-21 Thread Joshua Smith
I'm using strictly built-in stuff. Also, my apps are not that big, so I suspect they decompress pretty quickly. On Sep 21, 2009, at 12:13 PM, pdub wrote: > > Thanks Josh, I actually did have a cron job running in App Engine > itself. I tried running an external job because I wasn't sure whet

[google-appengine] Re: Bulkloading and searchableModel problem

2009-09-21 Thread Webysther
I'm not clear, the problem not persist using just PolyModel, but on code: class WorldRegion(search.SearchableModel, polymodel.PolyModel): cityName = db.StringProperty() regionName = db.StringProperty() countryName = db.StringProperty() latitude = db.FloatProperty() longitude =

[google-appengine] Re: How to Keep Python Applications Warm/Spooled Up

2009-09-21 Thread vivpuri
I think Django 1.0 is also supported. http://code.google.com/p/googleappengine/issues/detail?id=872 On Sep 21, 12:13 pm, pdub wrote: > Thanks Josh, I actually did have a cron job running in App Engine > itself.  I tried running an external job because I wasn't sure whether > or not external and

[google-appengine] Access to all accounts in domain

2009-09-21 Thread Konstantyn Pr
I am administrator of some domain in google apps (small company). My chief needs to get an access to all accounts in domain (an ability to read all incoming and outgoing mail). What can i do? Help me plz. --~--~-~--~~~---~--~~ You received this message because you

[google-appengine] How to retrieve key() value from a query

2009-09-21 Thread ideamonk
I wish to get the unique key specified to the rows that are returned by a GQL query. How do I do that... I tried this, but it didn't work... def getShortyId(shorturl): result = db.GqlQuery("SELECT * FROM snapSite WHERE shorty = :1", shorturl) return result.key()

[google-appengine] Re: Using Google App Engine to store users data from Android App.

2009-09-21 Thread Moto
Great Joshua thanks for your reply... I'll look into amazon might be of help... I think that Android/Google should allow developers to include a special database access to the phone users gmail database to store application data... This way apps can always sync up just like contacts do on andro

[google-appengine] Re: Can't update indexes and cron jobs have stopped running

2009-09-21 Thread Peter
We're currently having some problems with cron and index building. Working on it... On Sep 19, 5:14 pm, Paul Kinlan wrote: > Hi, > I also actually think cron isn't running either.  I recently uploaded a new > version of my app and none of the tasks have run yet. > > One thing, I reckon an update

[google-appengine] Re: Update stuck on uploading index definitions (Error 500)

2009-09-21 Thread Peter
Yes, we are aware of the problem and are currently working on it. Apologies for the inconvenience. On Sep 19, 5:35 pm, Stephen Mayer wrote: > Same here ... just posted about in another post.  Must be a problem > with all apps right now. > > Stephen > > On Sep 19, 4:27 pm, jorge wrote: > > > Sam

[google-appengine] Response - Content Type

2009-09-21 Thread nl65
Is there any limitation on the Content-Type response header? It seems that setting it to "taxt/javascript" blocks the response. Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To

[google-appengine] Stuck Index

2009-09-21 Thread Romain
My app is: http://appengine.google.com/datastore/indexes?&app_id=romanhippo&version_id=1 My code works fine on my local machine. (I am using the eclipse plugin for 3.4) I have the index in my datastore.indexes.xml The query I am trying to make is: ...

[google-appengine] Mobile versions?

2009-09-21 Thread Jim Duchek
Hi. I've searched but I've been unable to find the answer to this: Is there a (hopefully, trivial) way to display a different page depending on whether or not the user is accessing the app from a mobile device? I could parse the request header for the User-Agent field myself, but that could get

[google-appengine] Google Apps account and Google account conflict

2009-09-21 Thread MindVirus
I have a Google Apps domain (dvir.us) and I am a user of it (min). That makes my Google Apps account m...@dvir.us. I also have a Google account (m...@dvir.us). I registered an app for the app engine (stonedspuds) under my Google Apps account. Now I can't login to an admin-only page, because when

[google-appengine] Upload data to development server

2009-09-21 Thread rc
Hi, I am new to the Google app engine. I have developed a simple app which has a datastore component. I want to upload some data to the development server. I am using the 'appcfg.py upload_data' but I am getting a login/password prompt and I am not sure what to put there. I tried using my gmail a

[google-appengine] AppEngine is down?

2009-09-21 Thread Dima U
Doesn't look like scheduled maintenance. http://code.google.com/status/appengine returns 500 Internal Server Error status. My app doesn't work. Dies like this: File "/base/python_lib/versions/1/google/appengine/ext/db/ __init__.py", line 2757, in __get__ instance = get(reference_id) Fil

[google-appengine] Re: Mobile versions?

2009-09-21 Thread vivpuri
Try this: http://mobify.me/features/#branding-pack On Sep 20, 7:28 am, Jim Duchek wrote: > Hi.  I've searched but I've been unable to find the answer to this: > Is there a (hopefully, trivial) way to display a different page > depending on whether or not the user is accessing the app from a > mo

[google-appengine] Re: Mobile versions?

2009-09-21 Thread vivpuri
Or http://www.tera-wurfl.com/ or http://detectmobilebrowsers.mobi/ On Sep 21, 1:10 pm, vivpuri wrote: > Try this:http://mobify.me/features/#branding-pack > > On Sep 20, 7:28 am, Jim Duchek wrote: > > > > > Hi.  I've searched but I've been unable to find the answer to this: > > Is there a (ho

[google-appengine] Re: Google Apps account and Google account conflict

2009-09-21 Thread vivpuri
use this url: http://appengine.google.com/a/dvir.us On Sep 20, 8:43 pm, MindVirus wrote: > I have a Google Apps domain (dvir.us) and I am a user of it (min). > That makes my Google Apps account m...@dvir.us. > > I also have a Google account (m...@dvir.us). > > I registered an app for the app e

[google-appengine] Re: Poor app performance: periods of very high latency

2009-09-21 Thread Michael
I'm having the same problem (app: sovpad) Except from my logs can be found here: http://groups.google.com/group/google-appengine-python/browse_thread/thread/36c250f488929b1f On Sep 19, 1:05 am, bvelasquez wrote: > I'm experiencing this also (app: jacob-6).  2 Sept. is when I started > noticing

[google-appengine] Re: How to retrieve key() value from a query

2009-09-21 Thread vivpuri
for res in results: print res.key() print res.key().id() print res.key().name() On Sep 19, 3:51 pm, ideamonk wrote: > I wish to get the unique key specified to the rows that are returned > by a GQL query. How do I do that... > I tried this, but it didn't work... > > def getShortyId(shortur

[google-appengine] Random google.appengine.runtime.DeadlineExceededError.

2009-09-21 Thread Rahul
Hi I am facing random "google.appengine.runtime.DeadlineExceededError" on my application. It shows: Error: Server Error The server encountered an error and could not complete your request. If the problem persists, please report your problem and mention this error message and the query that cause

[google-appengine] Re: How to Keep Python Applications Warm/Spooled Up

2009-09-21 Thread Jason C
There are currently some issues with application spin-up time, which is impacting a number of Django (and webapp) applications. You can see more info here: http://code.google.com/p/googleappengine/issues/detail?id=1695 Please star it if appropriate. j On Sep 21, 11:08 am, vivpuri wrote: >

[google-appengine] Re: How to Keep Python Applications Warm/Spooled Up

2009-09-21 Thread pdub
Yes, this feature request seems like a useful idea and earns a star from me. It would also be interesting to better understand the routing algorithms - if App Engine could dynamically slice out multi-node clusters for individual apps and make an effort to route all requests to the nodes in these

[google-appengine] KeyName using appcfg.py

2009-09-21 Thread Elias Torres
Is there a way to set keyname while using appcfg.py upload_data? --~--~-~--~~~---~--~~ 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 uns

[google-appengine] Re: Response - Content Type

2009-09-21 Thread nl65
resolved = no problem to use "text/javascrip"! On Sep 20, 5:18 pm, nl65 wrote: > Is there any limitation on the Content-Type response header? > > It seems that setting it to "taxt/javascript" blocks the response. > > Thanks. --~--~-~--~~~---~--~~ You received thi

[google-appengine] Re: KeyName using appcfg.py

2009-09-21 Thread Nick Johnson (Google)
Hi Elias, Yes, you can do this by overriding the 'generate_key' method of the Loader class. See this post for more details: http://blog.notdot.net/2009/9/Advanced-Bulk-Loading-part-2-Customization -Nick Johnson On Mon, Sep 21, 2009 at 7:34 PM, Elias Torres wrote: > > Is there a way to set keyn

[google-appengine] Gmail implementation

2009-09-21 Thread Cornel
Hello guys! I have a curiosity. From what i understand Gmail is implemented on the same infrastructure that app-engine now offers to developers. The email filters option in Gmail has the following options: from: to: subject: has the words: doesn't have: has attachment: If i were to implement su

[google-appengine] Re: Gmail implementation

2009-09-21 Thread ryan
hi cornel! On Sep 21, 12:58 pm, Cornel wrote: > > I have a curiosity. From what i understand Gmail is implemented on the > same infrastructure that app-engine now offers to developers. this is true, but at a much lower level than you've interpreted it. gmail uses GFS, Chubby, and other internal

[google-appengine] Re: get_or_insert: Was it get or insert?

2009-09-21 Thread ryan
...and consider starring this issue: http://code.google.com/p/googleappengine/issues/detail?id=1030 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to goo

[google-appengine] Re: Webapp URL Handling and Default variable values

2009-09-21 Thread djidjadji
Perform a fetch() or get() on the GQLQuery object before accessing the objects as a list. IMG = PROFILES.gql("WHERE name = :1",nameId).fetch(10) 2009/9/15 Larkin2 : > > Actually, I take that back: > > class avatar(webapp.RequestHandler): >  def get(self,nameId='Larkin'): >    IMG = PROFILES.gql(

[google-appengine] Re: [appengine-java] can xmpp api send and receive messages using gmail ids?

2009-09-21 Thread Jason (Google)
A Gmail address is a valid Jabber ID, so yes, you should be able to do this. Along the same lines, you can use Google Talk to send and receive XMPP messages to/from your App Engine app. - Jason On Sun, Sep 20, 2009 at 8:26 AM, Prashant wrote: > Hi, > > > is it possible to use xmpp api to send an

[google-appengine] View this page "Google App Engine Open Source Projects"

2009-09-21 Thread Jason (Google)
Added GAE Testbed Click on http://groups.google.com/group/google-appengine/web/google-app-engine-open-source-projects - or copy & paste it into your browser's address bar if that doesn't work. --~--~-~--~~~---~--~~ You received this message because you are subscri

[google-appengine] How to separate development and production servers?

2009-09-21 Thread Bemmu
I'm thinking out loud here in case someone has better ideas on how I should be doing this. I have an OpenSocial application with a Python App Engine back-end, and would like to make a copy of it to use for development, so that users don't experience strange problems when I make mistakes. I notice

[google-appengine] I had an email account with my domain.I changed hosts now i cannot get into my email

2009-09-21 Thread Ricos
How do i access my old email at my domain.It was setup with google mail.I'm assuming google apps --~--~-~--~~~---~--~~ 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-

[google-appengine] Re: Stuck Index

2009-09-21 Thread Jeff S (Google)
Hello Romain, I'm guessing that the problem was that your index had not yet completed building since it had just been uploaded. Are you still seeing the same error? Thank you, Jeff On Sun, Sep 20, 2009 at 12:46 PM, Romain wrote: > > My app is: > > http://appengine.google.com/datastore/indexes

[google-appengine] Most convenient way to separate dev and production servers

2009-09-21 Thread Bemmu
I have an OpenSocial application with a Python App Engine back-end, and would like to make a copy of it to use for development, so that users don't experience strange problems when I make mistakes. I notice that there is versioning available, but I would like a separate data store too. It would b

[google-appengine] Re: Random google.appengine.runtime.DeadlineExceededError.

2009-09-21 Thread Jason C
There hasn't been an official response (or answer) yet. It continues to happen often for us, and it dramatically impacts our testing environment, because it does not get enough traffic to remain a hot instance. Please visit: http://code.google.com/p/googleappengine/issues/detail?id=1695 and s

[google-appengine] Re: Access to all accounts in domain

2009-09-21 Thread Takashi Matsuo
Hi Konstantyn, This group might not be a right place for your question. Perhaps you can visit Google Apps Forum hosted at: http://www.google.com/support/forum/p/Google+Apps?hl=en Regards, -- Takashi Matsuo The father of kay framework On Sat, Sep 19, 2009 at 8:42 PM, Konstantyn Pr wrote: >

[google-appengine] App went off line at 12 noon PST for 5 minutes ... what happened?

2009-09-21 Thread Rob Osborne
One of my apps stopped responding today at around 3pm EST or 12pm PST for about 5 minutes. Dynamic pages errored on a db timeout and the static pages took 12+ seconds to respond. The app was in use at the time so this wasn't a pre-loading issue. A test version of the app shows a spike on the cr

[google-appengine] Incoming email support - Soon?

2009-09-21 Thread mscwd01
Hey, I have an idea for an app which would require the ability to allow users to send emails to my app. Can anyone let me know when support for incoming emails may be added to the App Engine? Thanks --~--~-~--~~~---~--~~ You received this message because you are su

[google-appengine] Re: App went off line at 12 noon PST for 5 minutes ... what happened?

2009-09-21 Thread Brandon Thomson
There was a message in the downtime notify group. The datastore wasn't accepting any writes for a while. On Sep 21, 7:28 pm, Rob Osborne wrote: > One of my apps stopped responding today at around 3pm EST or 12pm PST > for about 5 minutes.  Dynamic pages errored on a db timeout and the > static p

[google-appengine] Re: Random google.appengine.runtime.DeadlineExceededError.

2009-09-21 Thread Brandon Thomson
Since this seemed to start with the last maintenance cycle maybe we will get lucky and it will go away after the maint tomorrow. On Sep 21, 6:15 pm, Jason C wrote: > There hasn't been an official response (or answer) yet. It continues > to happen often for us, and it dramatically impacts our tes

[google-appengine] Re: Is default sort order by __key__ for query without a specified order?

2009-09-21 Thread skyleecm
thanks, Nick afaik, this bit of information is not in the App Engine documentation. Maybe, it can be added there as well. thanks. Cheemeng On Sep 21, 11:06 pm, "Nick Johnson (Google)" wrote: > Hi, > Yes, all queries not explicitly sorted by __key__ implicitly end with a > '__key__ asc' sort or

[google-appengine] Re: KeyName using appcfg.py

2009-09-21 Thread Elias Torres
Excellent! I read the whole cookbook series and you've now answered most of my questions on the subject. Why isn't that series part of the official documentation? -Elias On Sep 21, 3:58 pm, "Nick Johnson (Google)" wrote: > Hi Elias, > > Yes, you can do this by overriding the 'generate_key' meth