[google-appengine] Re: Images API still limited to 1MB
Hi I suppose you need to remember app engine is a horizontally scalable application framework and not a cpu intensive cluster. Whilst google's infrastructure might seem massive I imigine it is not infinately scalable. So limiting image sizes - thus limiting the potential intensive ness of image operations which would block a single process which is an app engine instance for a very long time is a good thing. (asynchonous processing from queues which wouldn't block interactive services is a different ball game and I would imagine different limits will be placed once work queues become available) In the meantime, I am using picassaweb by getting users to upload photos via picassaweb, organising via folders and tagging, and then grabbing the gallery urls (mostly public) using them within app engine, and in fact not really manipluaing images from app engine at all. Mainly providing a layet of meta data and organisation beyond what picasaweb provides and presenting those images in a non image management context. Not sure what you mean by problems with ClientLogin and captchas - can't say I have encountered those apart from signup or incorrect passwords repeatedly entered. Rgds T On Apr 19, 1:12 pm, Anuraag Agrawal anura...@gmail.com wrote: Indeed the entire API is limited to 1MB, but the point of discussion I'd like to make is that for data-related API calls like the datastore and memcache, it's easy to come up with hardware/implementation constraints that would warrant such a limit, and there are usually relatively simple ways to work around them. For a processing API call like an image API call, there should be no dependence on BigTable or any sort of clustering, so the limit seems a little arbitrary, especially in light of the request limit increase to 10MB which does not seem to have any value for image requests. I'm honestly hoping it's just an oversight that will be fixed in the short term. In the interim, using an external image API seems to be the best solution indeed. Right now, I'm looking into the Imageshack API which seems to offer enough functionality, but can you go into how you use the Picasa API? It seems to be very well suited to importing a user's photos, but to upload and manage photos as a website would require using ClientLogin, and since ClientLogin uses a captcha, it doesn't work well on app engine. Or at least, that's what's written in the App Engine Data API docs. Thanks. On Apr 18, 10:55 pm, Tim Hoffman zutes...@gmail.com wrote: Why don't you stick the images in Picasa and just manage them through app engine ? Thats what I am doing T On Apr 18, 4:28 pm, Anuraag Agrawal anura...@gmail.com wrote: When App Engine raised its request size limit from 1MB to 10MB, it seemed like we would finally be able to use it for an image sharing website as while reasonably sized digital camera images over 1MB are very likely, it'd take an extremely professional camera image to break the 10MB limit, which seemed like an acceptable limit to place on a user's file uploads since those users are probably knowledgeable enough to resize the images themselves anyways. API calls were still limited to 1MB, and as the examples listed on the blog post were memcache and datastore, it seemed to make sense since App Engine is probably still designed to place a 1MB limit on its datastore entries. This seemed like it'd be ok since it should be possible to use the images API to resize any input images to less than 1MB before storing them in the datastore, completely acceptable for our task. However, after trying this and looking into some server errors, it seems the images API is also limited to 1MB input files (which fits with the 1MB limit on API calls, the fact just didn't register at first). At least, that's how I'm interpreting the RequestTooLargeError (The request to API call images.Transform() was too large) I get when submitting a 1.5MB file. Is the limit on the images API by design/constraint? I imagine image API calls aren't split across computers in a cluster or anything and are run in place, with possibly some temp memory that's cleared immediately, which makes having a limit smaller than the request size seem a little strange to me. A 1MB limit on image files makes it hard to support user submitted image uploads in a practical setting. I know it's possible to split the image over datastore entries just to store them, but we also need to be able to resize them to generate thumbnails, etc. And if anyone's come up with a workaround splitting the input file into parts to resize in parts, it'd be nice to hear. While PNG uses DEFLATE and might not work, JPEG as far as I know cosine transforms blocks independently so it seems like it could be possible. Though it'd probably increase the load on the servers more than just having a 1MB API call limit.
[google-appengine] Re: entity stuck at the wrong end of the index
On Apr 16, 12:08 pm, ryan ryanb+appeng...@google.com wrote: the discussion here is pretty on target. thanks, all! beyond the points already raised, i'd guess this is caused either by writes (puts or deletes) that returned errors, and therefore didn't update all indices, or an index consistency bug that we're currently working on: http://code.google.com/p/googleappengine/issues/detail?id=901 in both cases, a successful put() on the entity in question will fix the problem. we're still working on issue 901, and we definitely expect to have that resolved soon. as for put() and delete() calls that return errors (like timeouts), we're always working to reduce those, but they'll unfortunately always be possible, so you'll want to plan for that. What is the recommended way to deal with such an error? I'd be okay with the put failing entirely, or eventually updating the indexes automatically once the situation resolves, but partially updating indexes sounds like it can only lead to trouble - particularly if the error condition preventing the put from completing continues for an extended period of time (how long do tablet servers take to be replaced if one fails?) --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Retrieving Large Query Sets Containing Inequality Operators
Hi Chris, You can do this by adding an extra attribute to the object that contains the date and a sequence number. The extra attribute is an IntegerProperty. It has arbitrary precision, unlimited bit length. If you store (long(datetime.toordinal(myRecord.date))128)+long(sequenceNum) you can store a lot of entities on one date, 2**128. If you set sequenceNum starting at 1 you can use your query that sets startDate = (long(datetime.toordinal(someDate1))128)+long(0) endDate = (long(datetime.toordinal(someDate2))128)+long(0) query = Record.all().filter('dateEx ', startDate).filter('dateEx ', endDate) if you fetch 100 objects use the value of dateEx of the last object retrieved as the new startDate for the next batch. When you store a new entity: get the object with the highest value of dateEx with the same ordinal value, add 1L and set as the dateEx value of the new entity This should be done in a transaction or some kind of Critical section to ensure unique sequence numbers 2009/4/20 Chris Spencer chriss...@gmail.com: Thanks, but I don't see how that's relevant. Like I said, the ordering of an object's key has no correlation to an object's date. I'm not trying to simply page. That's trivial using the method listed in your link. What I'm trying to do is page through a set of objects limited by a date range. Chris 2009/4/19 秦锋 feng.w@gmail.com: CHeck this: http://google-appengine.googlegroups.com/web/efficient_paging_using_key_instead_of_a_dedicated_unique_property.txt?gda=7FbhWXcAAACSStSWrftt07H4FK2Rtvurv5Qi9dmYyYZMEnTZCjCsYQQgER4RQV57mxjvIzAWBZmQ3TeCdbqm30Qz_AwgYlIpRbcWRj3jGGBm-fgbnPJIYc4-hXRRmo3Xgj6KgtSLBeZ45alvcyXc30EbEX-RNDZveV4duv6pDMGhhhZdjQlNAw On 4月19日, 下午12时32分, Chris chriss...@gmail.com wrote: I have the model: class Record(db.Model): date = db.DateProperty() Over 1000 Record instances may contain the same date value. The instances are also not created in the order of their dates. I'm trying to query all instances whose date is within a given range. I need to be able to query sets larger than the default max of 1000. I was thinking of doing something like: Record.all().filter('date ', startDate).filter('date ', endDate) But this would limit me at most to the first 1000 records. How would I get the next 1000 records, maintaining the range query? I can't use the last date value from the previous query as the startDate for the next query, since there's no guarantee that the date value has changed. For example, I could have 2000 instances with the date 2008-1-1, so the first and second query sets have identical filter parameters. Intuitively, I could accomplish this by simply filtering on the previous key value (e.g. .filter('key ', lastKeyValue)). Unfortunately, App Engine currently prohibits filtering with inequality operators on more than one property. Am I correct in understanding that there's essentially no way to query all instances within a specific date range, due to this limitation? This issue keeps coming up for me, and has been a huge deal-breaker in a lot of potential projects I've been working on for App Engine. Any advice on how I could work around it would be appreciated. Chris --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Concurrency Threading...
Hi guys, I have built a program that is (hopefully) concurrency safe. I would like to test this thoroughly using a testing module that I have written. Unfortunately I cant seem to get app engine to run two threads concurrently to simulate two users taking action at the same time. Currently I am using .start() on a number of threads, each of which should then go off and access certain datastructures to test their safety. Unfortunately I can only seem to get app engine to serve each threads requests, from start to finish, in the order they were created. Could somebody please give me some pointers. Thanks for the help in advanced. Regards, Elliott R --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Retrieving Large Query Sets Containing Inequality Operators
Thanks, that's a good thought. I agree that it should be done in a transaction. However, I don't believe App Engine allows you to run queries in a transaction. Chris 2009/4/20 djidjadji djidja...@gmail.com: Hi Chris, You can do this by adding an extra attribute to the object that contains the date and a sequence number. The extra attribute is an IntegerProperty. It has arbitrary precision, unlimited bit length. If you store (long(datetime.toordinal(myRecord.date))128)+long(sequenceNum) you can store a lot of entities on one date, 2**128. If you set sequenceNum starting at 1 you can use your query that sets startDate = (long(datetime.toordinal(someDate1))128)+long(0) endDate = (long(datetime.toordinal(someDate2))128)+long(0) query = Record.all().filter('dateEx ', startDate).filter('dateEx ', endDate) if you fetch 100 objects use the value of dateEx of the last object retrieved as the new startDate for the next batch. When you store a new entity: get the object with the highest value of dateEx with the same ordinal value, add 1L and set as the dateEx value of the new entity This should be done in a transaction or some kind of Critical section to ensure unique sequence numbers 2009/4/20 Chris Spencer chriss...@gmail.com: Thanks, but I don't see how that's relevant. Like I said, the ordering of an object's key has no correlation to an object's date. I'm not trying to simply page. That's trivial using the method listed in your link. What I'm trying to do is page through a set of objects limited by a date range. Chris 2009/4/19 秦锋 feng.w@gmail.com: CHeck this: http://google-appengine.googlegroups.com/web/efficient_paging_using_key_instead_of_a_dedicated_unique_property.txt?gda=7FbhWXcAAACSStSWrftt07H4FK2Rtvurv5Qi9dmYyYZMEnTZCjCsYQQgER4RQV57mxjvIzAWBZmQ3TeCdbqm30Qz_AwgYlIpRbcWRj3jGGBm-fgbnPJIYc4-hXRRmo3Xgj6KgtSLBeZ45alvcyXc30EbEX-RNDZveV4duv6pDMGhhhZdjQlNAw On 4月19日, 下午12时32分, Chris chriss...@gmail.com wrote: I have the model: class Record(db.Model): date = db.DateProperty() Over 1000 Record instances may contain the same date value. The instances are also not created in the order of their dates. I'm trying to query all instances whose date is within a given range. I need to be able to query sets larger than the default max of 1000. I was thinking of doing something like: Record.all().filter('date ', startDate).filter('date ', endDate) But this would limit me at most to the first 1000 records. How would I get the next 1000 records, maintaining the range query? I can't use the last date value from the previous query as the startDate for the next query, since there's no guarantee that the date value has changed. For example, I could have 2000 instances with the date 2008-1-1, so the first and second query sets have identical filter parameters. Intuitively, I could accomplish this by simply filtering on the previous key value (e.g. .filter('key ', lastKeyValue)). Unfortunately, App Engine currently prohibits filtering with inequality operators on more than one property. Am I correct in understanding that there's essentially no way to query all instances within a specific date range, due to this limitation? This issue keeps coming up for me, and has been a huge deal-breaker in a lot of potential projects I've been working on for App Engine. Any advice on how I could work around it would be appreciated. Chris --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Concurrency Threading...
http://code.google.com/intl/fr/appengine/docs/python/runtime.html#The_Sandbox An App Engine application cannot: -spawn a sub-process or thread. A web request to an application must be handled in a single process within a few seconds. Processes that take a very long time to respond are terminated to avoid overloading the web server. On 20 avr, 13:11, eli elliott.rosent...@gmail.com wrote: Hi guys, I have built a program that is (hopefully) concurrency safe. I would like to test this thoroughly using a testing module that I have written. Unfortunately I cant seem to get app engine to run two threads concurrently to simulate two users taking action at the same time. Currently I am using .start() on a number of threads, each of which should then go off and access certain datastructures to test their safety. Unfortunately I can only seem to get app engine to serve each threads requests, from start to finish, in the order they were created. Could somebody please give me some pointers. Thanks for the help in advanced. Regards, Elliott R --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Google Geocoding not working
hello marzia has the Maps team addressed this issue yet? I received a couple 620 errors this morning (different error from above but related) thanks brian On Apr 1, 11:24 am, Donnie Demuth donnie.dem...@gmail.com wrote: Thanks Marzia, That's excellent, and I'm glad to know that I'm not overlooking something obvious! For now geo-coding is a point-on-the-map process :-) I'll keep my eyes open for the update. On Mar 30, 11:45 am, Marzia Niccolai ma...@google.com wrote: Hi, TheMapsteam is working on this so that it shouldn't be an issue for App Engine apps in the future. -Marzia On Mon, Mar 30, 2009 at 5:09 AM, Barry Hunter barrybhun...@googlemail.comwrote: On 30/03/2009, bFlood bflood...@gmail.com wrote: I think its because everyone shares the same group of ip addresses so everything from the GAE servers are triggering some daily limits on thegooglemapsservers. the same thing is happening when too many gae apps hit the twitter api. the gmaps keys are based on the domain name but I think there might be another ip based limit since this issue comes and goes. The geocoding limits are based on the IP address of the request. There is both a requests per day and a rate limit. The key just needs to match the domain but no throttling is based on it. the gmaps team would probably need to whitelist the GAE ip addresses for this to work as expected. Perhaps someone should suggest it here: http://code.google.com/p/gmaps-api-issues/ cheers brian On Mar 28, 1:28 pm, Donnie Demuth donnie.dem...@gmail.com wrote: Hi Ehmo, did you find the solution for this? I'm running into the same problem. I know the key is correct but the geo-coding service is throwing the 601. Are you still using the proxy or did you ditch the app engine completely? On Feb 17, 4:54 am, ehmo disku...@gmail.com wrote: I did register it for API key but it's not working. I tried almost everything, and now i just made another script on another domain, which is doing all this thing instead of GAE. But it's annoying if i can't usegoogleservice ingoogleservice. ehmo Barry wrote, I beleive you need to register the key for the {appid}. appspot.com domain, due to the way urlfetch sends the HTTP referer header. (even if you However appengine is a shared system and urlfetch uses a proxy and the API geocoder limits requests by IP address. For that reason Jarek's advice to use the ajax method is probably best - that way the request comes from the users IP which is less likly to be throttled. On 17/02/2009, ehmo disku...@gmail.com wrote: Hey guys, i'm trying to useGoogleGeocoding service http://code.google.com/apis/maps/documentation/geocoding/index.html via http. I generated API key for actual domain and it's not working {u'Status': {u'code': 610, u'request': u'geocode'}, u'name': u'Brno'}. 610 mean it's not good key for this domain. I tryied it on another hosting with php, it's working. I tryied it on another hosting with same python lib and it's working too. I tryied to use urlfetch and urllib2, nothing works. Any idea? Maybe it's because of header restrictions, but i really don't know. That link, which is called is ok, coz if i'll try it in browser, everything works. All data are encoded before posting, there is 100% not problem. Thnx for help -- Barry -www.nearby.org.uk-www.geograph.org.uk- --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] how to set --datastore_path from manage.py
I've look high and low so my apologies if I've missed the answer. How does one set --datastore_path= when using mange.py? I'm having the problem where my datastore get's cleaned out randomly and need to move datastore from /tmp. Thanks in advance for the help! Dave --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Retrieving Large Query Sets Containing Inequality Operators
You can use a unique counter for all the entities. 2**128 is a lot. You can use a sharded counter to generate the unique id's, it uses a transaction. 2009/4/20 Chris Spencer chriss...@gmail.com: Thanks, that's a good thought. I agree that it should be done in a transaction. However, I don't believe App Engine allows you to run queries in a transaction. Chris 2009/4/20 djidjadji djidja...@gmail.com: Hi Chris, You can do this by adding an extra attribute to the object that contains the date and a sequence number. The extra attribute is an IntegerProperty. It has arbitrary precision, unlimited bit length. If you store (long(datetime.toordinal(myRecord.date))128)+long(sequenceNum) you can store a lot of entities on one date, 2**128. If you set sequenceNum starting at 1 you can use your query that sets startDate = (long(datetime.toordinal(someDate1))128)+long(0) endDate = (long(datetime.toordinal(someDate2))128)+long(0) query = Record.all().filter('dateEx ', startDate).filter('dateEx ', endDate) if you fetch 100 objects use the value of dateEx of the last object retrieved as the new startDate for the next batch. When you store a new entity: get the object with the highest value of dateEx with the same ordinal value, add 1L and set as the dateEx value of the new entity This should be done in a transaction or some kind of Critical section to ensure unique sequence numbers 2009/4/20 Chris Spencer chriss...@gmail.com: Thanks, but I don't see how that's relevant. Like I said, the ordering of an object's key has no correlation to an object's date. I'm not trying to simply page. That's trivial using the method listed in your link. What I'm trying to do is page through a set of objects limited by a date range. Chris 2009/4/19 秦锋 feng.w@gmail.com: CHeck this: http://google-appengine.googlegroups.com/web/efficient_paging_using_key_instead_of_a_dedicated_unique_property.txt?gda=7FbhWXcAAACSStSWrftt07H4FK2Rtvurv5Qi9dmYyYZMEnTZCjCsYQQgER4RQV57mxjvIzAWBZmQ3TeCdbqm30Qz_AwgYlIpRbcWRj3jGGBm-fgbnPJIYc4-hXRRmo3Xgj6KgtSLBeZ45alvcyXc30EbEX-RNDZveV4duv6pDMGhhhZdjQlNAw On 4月19日, 下午12时32分, Chris chriss...@gmail.com wrote: I have the model: class Record(db.Model): date = db.DateProperty() Over 1000 Record instances may contain the same date value. The instances are also not created in the order of their dates. I'm trying to query all instances whose date is within a given range. I need to be able to query sets larger than the default max of 1000. I was thinking of doing something like: Record.all().filter('date ', startDate).filter('date ', endDate) But this would limit me at most to the first 1000 records. How would I get the next 1000 records, maintaining the range query? I can't use the last date value from the previous query as the startDate for the next query, since there's no guarantee that the date value has changed. For example, I could have 2000 instances with the date 2008-1-1, so the first and second query sets have identical filter parameters. Intuitively, I could accomplish this by simply filtering on the previous key value (e.g. .filter('key ', lastKeyValue)). Unfortunately, App Engine currently prohibits filtering with inequality operators on more than one property. Am I correct in understanding that there's essentially no way to query all instances within a specific date range, due to this limitation? This issue keeps coming up for me, and has been a huge deal-breaker in a lot of potential projects I've been working on for App Engine. Any advice on how I could work around it would be appreciated. Chris --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: appcfg.py update_cron Server Error (500)
Monitor issue 1333 in the public tracker to track this bug. On Apr 18, 8:53 am, Jonathan-23andMe jhan...@23andme.com wrote: I would like to second a request for this fix :) My app too starts with a didgit. On Apr 17, 6:57 am, Kai yikai.1...@gmail.com wrote: Thank for your reply, Anthony Definitely, the name of my app begins with a digit. OK, I will wait for next release. On Apr 17, 1:08 pm, Anthony Baxter anthonybax...@gmail.com wrote: Does your appid begin with a digit? Turns out I found a bug in cron that means the upload breaks in that case. A fix should be out next week, I hope. Anthony On Apr 16, 1:33 am, Kai yikai.1...@gmail.com wrote: I am testing my new GAE app with thecronjob functionality. Everything works fine in my local SDK environment. But when updating my python code to GAE server, the error occur: Uploadingcronentries. Error 500: --- begin server output --- Server Error (500) A server error has occurred. --- end server output --- Any clue? --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: appcfg.py update_cron Server Error (500)
It shouldn't require a release to fix, it's a backend issue. On Apr 17, 11:57 pm, Kai yikai.1...@gmail.com wrote: Thank for your reply, Anthony Definitely, the name of my app begins with a digit. OK, I will wait for next release. On Apr 17, 1:08 pm, Anthony Baxter anthonybax...@gmail.com wrote: Does your appid begin with a digit? Turns out I found a bug in cron that means the upload breaks in that case. A fix should be out next week, I hope. Anthony On Apr 16, 1:33 am, Kai yikai.1...@gmail.com wrote: I am testing my new GAE app with thecronjob functionality. Everything works fine in my local SDK environment. But when updating my python code to GAE server, the error occur: Uploadingcronentries. Error 500: --- begin server output --- Server Error (500) A server error has occurred. --- end server output --- Any clue? --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Cron Job Fails 301 Error
Do you get any sort of useful traceback in the error logs for your application? You should hopefully see these just like a normal request error. On Apr 18, 7:09 am, drthink drgenejo...@gmail.com wrote: I am using Google App Engine with Django. I have started using theCronjobs functionality but when the GAE system uses it I keep getting a 301 error, however the URL which activates the job runs fine. My setup is below any ideas? When I call the URL it runs fine. I am stuck. Cheers DrG *** App.yaml - url: /admin/.* script: main.py login: admin - url: /.* script: main.py *** urls.py ### Admin URLS (r'^admin/cron/(?Pcronjob[a-zA-Z0-9_.-]+)/$', 'admin.cron.views.cronjobs'), *** admin.cron.views.cronjobs def cronjobs(request, cronjob): strMessage = Start Job br / strMessage += Started: %s br / % cronjob if cronjob == RunFriendlyURL: strMessage = strMessage + RunFriendlyURL() strMessage += Finished: %s br / % cronjob return HttpResponse(strMessage) --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] serving google app to my own domain
How can i serve a google app to my own domain? --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Made a few GAE Java Tutorials
On Apr 15, 9:25 am, Leandro lemi...@gmail.com wrote: Hello I'm Leandro and Ive made a few tutorials for the brnd new Java version of the Google App Engine. You hava done a great work! Below Is the live version and the svn from google code. -http://code.google.com/p/gae-java-tutorial1/ Also commented the post here... -http://www.lemil.com.ar/blog/index.php/2009/04/java-google-app-engine/ Cheers! Leandro. --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: can not connecton to localhost:8080
It would be great if somebody could PLEASE explain this a little bit further. I'm having the same issue, I can start a server for a helloworld sample, but I can't browse it! I have Vista Ultimate 64, logged with administrator privileges, and already tried with shuttind down the firewall, starting the CMD as an administrator.. and notthing seems to happen.. everytime I go to http://localhost:8080 I get the internet explorer can't display the page you requested Installation of the appengine sdk and python was done step-by-step according to the Getting Started Guide. On Apr 17, 2:12 pm, 风笑雪 kea...@gmail.com wrote: You need handle the root address. 2009/4/17 Tony tianzhe...@googlemail.com i am using windows vista system and eclipse plugin to setup java based google app project, everything looks fine, server also looks like started. this message display : The server is running athttp://localhost:8080/ however, when i use firefox to connect to this url , it displyed can not connect to localhost. but using another xp system, it works. anybody have any ideas how to fix it. many thanks- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] how to create google maps with mashed with about 10,000 geo codes
Hi, I have an urgent need to present about 10,000 locations on a google map. I have geo codes (latitude and longitude) for the locations but I need to understand how I can quickly create a map like this and if I need to host this locally or google allow me to host it on their servers. Also, I would like access control to the map. Thnks for all your help! --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Current malfunctioning
Is anyone else's app throwing widespread InternalErrors right now all of a sudden, or is it just ours? --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] bash: dev_appserver.py: command not found
I am using UBUNTU 8.1. I have followed all procedures literally, I have downloaded google SKD and uzipped it inside /home/ahijleh. After that I renamed the folder to GEA. I have followed other steps literally, however when I try to run the web server I get the following: ahij...@ahijleh-laptop:~/GAE$ sudo dev_appserver test.py test/ sudo: dev_appserver: command not found I used test instead of helloworld in google startup example. Could anybody tell me what's wrong? why it is unable to identify the command. My paything version is 2.5.2 Awaiting your replies --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] push http not allowed?
I am planning to create a web application that will use BlazeDS server to push data to Flash clients. Would I be able to install it in Google App Engine environment? It comes bundles with Tomcat server, so probably I would need to install Tomcat as well. Also, this sentence about Google App Engine Sandbox makes me doubt that I can use any kind of push HTTP technology in Google App Engine: Application code only runs in response to a web request or a cron job Does that mean I'm not supposed to broadcast? 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 unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: New bie Question
I got the answer on other thread http://groups.google.com/group/google-appengine-java/browse_thread/thread/f6052ac60cff68ac/d84b7a9e1f504953?q=Error+running+javac.exe+compiler#d84b7a9e1f504953 On Mon, Apr 20, 2009 at 10:21 AM, vijay mymail.vi...@gmail.com wrote: ping!! On Mon, Apr 20, 2009 at 12:05 AM, vijay mymail.vi...@gmail.com wrote: Hi All, I am new to app engine, I tried to install eclipse plugin of appengine and run the sample guestbook application, but I got same errors like following when opening http:\\localhost:8080 Error running javac.exe compiler at org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.executeExternalCompile(DefaultCompilerAdapter.java:473) at org.apache.tools.ant.taskdefs.compilers.JavacExternal.execute(JavacExternal.java:47) at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:931) at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:757) at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:382) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:472) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:451) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) at com.google.appengine.tools.development.PrivilegedJspServl ..etc Caused by: java.io.IOException: Cannot run program javac.exe: CreateProcess error=2, The system cannot find the file specified at java.lang.ProcessBuilder.start(Unknown Source) at java.lang.Runtime.exec(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAcces .etc I am using java version 1.6.0_12 and eclipse 3.4 on windows XP. I can see the appengine directory present inside eclipse directory and able to run the command appengine-java-sdk\bin\dev_appserver.cmd appengine-java-sdk\demos\guestbook\war I was not able to run this command earlier as appengine-java-sdk was actually named appengine-java-sdk-VERSION so i removed the version part and able to run the command. I don't think the problem is CLASSPATH variable as when i give command java -version it detects the path and show me correct version. I would be thankful if someone can help me out. Rgds, Vijay --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] the user-agent problem
i want to use the urlfetch get the ebay item data use the url http:// cgi.ebay.com/ws/eBayISAPI.dll?ViewItemitem=160318863192, it can response the gzip data, but it need the request header like: headers = { 'Accept-Encoding' : 'gzip', 'User-Agent' : 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)' } the appengine default user-agent does not get the gzip data. i think that have many other site check the user-agent and to response different data. please let us can change the user-agent. 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 unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] datastore
I saw that java appengine use JDO or JPA (datanucleus) What this means is: If i plan to not use appengine in a moment in time i will be able to run my application with a relation databse like mysql or postgres ? So Db layer code does not know if beneath is google's bigtable or some relational database ? Ok logic will be like for a denormalized databasebut...is possible ? (i posted on java as well but there no aswerer) apologize for that. --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: New bie Question
ping!! On Mon, Apr 20, 2009 at 12:05 AM, vijay mymail.vi...@gmail.com wrote: Hi All, I am new to app engine, I tried to install eclipse plugin of appengine and run the sample guestbook application, but I got same errors like following when opening http:\\localhost:8080 Error running javac.exe compiler at org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.executeExternalCompile(DefaultCompilerAdapter.java:473) at org.apache.tools.ant.taskdefs.compilers.JavacExternal.execute(JavacExternal.java:47) at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:931) at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:757) at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:382) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:472) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:451) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) at com.google.appengine.tools.development.PrivilegedJspServl ..etc Caused by: java.io.IOException: Cannot run program javac.exe: CreateProcess error=2, The system cannot find the file specified at java.lang.ProcessBuilder.start(Unknown Source) at java.lang.Runtime.exec(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAcces .etc I am using java version 1.6.0_12 and eclipse 3.4 on windows XP. I can see the appengine directory present inside eclipse directory and able to run the command appengine-java-sdk\bin\dev_appserver.cmd appengine-java-sdk\demos\guestbook\war I was not able to run this command earlier as appengine-java-sdk was actually named appengine-java-sdk-VERSION so i removed the version part and able to run the command. I don't think the problem is CLASSPATH variable as when i give command java -version it detects the path and show me correct version. I would be thankful if someone can help me out. Rgds, Vijay --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Command Not found
I've been trying run GAE SDK on my UBUNTU 8.10. I have followed the procedures, literally. I have unzipped the content of GAE in the home folder in a folder called GEA. However when I try to run dev_appserver I get the following error command not found What I am missing guys? your prompt response is highly appreciated. Regards --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Key values in GWT?
Can you use Key (and User) objects in GWT? If so, what module do you Are you referring to AppEngine's Key and User object? You can use the db.Key ( http://code.google.com/appengine/docs/python/datastore/typesandpropertyclasses.html ) and UserProperty for properties of a Model subclass if you want. But a simpler way would be to use ReferenceProperty: class ModelA(db.Model) --- class YourModel(db.Model) modelAProp = db.ReferenceProperty(ModelA) userProp = db.ReferenceProperty() On Apr 19, 4:33 pm, Michael mlh...@gmail.com wrote: I have an object that manages a many-to-many relationship between 2 entities. I do this by having two Key objects. I want to use this object in GWT and in GAE. However, when I try to perform a GWT compile, I get errors. I looked around for an appropriate module to inherit, but haven't found one. Can you use Key (and User) objects in GWT? If so, what module do you inherit? --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Setting up netbeans for GAE
On Apr 17, 12:17 pm, nuboat nub...@gmail.com wrote: Hi, You can see from my bloghttp://www.thaidev.org/?p=196 really sorry i write in Thai language but i thought you can see from images. if you don't understand. you can ask me via blog comment. Although it's Thai, the screenshots and examples make it easy to follow, nice job :) --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Datastore down?
Is the datastore down? I get the following errors: File /base/python_lib/versions/1/google/appengine/api/datastore.py, line 166, in Put raise _ToDatastoreError(err) File /base/python_lib/versions/1/google/appengine/api/datastore.py, line 1965, in _ToDatastoreError raise errors[err.application_error](err.error_detail --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Java Vs Python
With python you have access to the full power of django (using app- engine-patch) making web development much more easy and clean even i do not know which web framework is supported for java yet. --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: I have trouble to visite my account
I got exactly the same error as sixer. It happened to my 2nd account and has been that for two days. Thank you! R On Apr 13, 11:00 am, Jeff S j...@google.com wrote: You account should be working now. Please let me know if you are still having issues. Happy coding, Jeff On Fri, Apr 10, 2009 at 6:40 PM, haven'tsixer wormlu...@gmail.com wrote: Sorry to interrupt I apply to try the java app engine yestoday and I have recieved the no- reply message note me to try it now,but when I try to login the app engine it shows below: Server Error A server error has occurred. Return to Applications screen » it seems to be there is an internal error happened,so I reporter the problem here. account is:wormlu...@gmail.com is%3awormlu...@gmail.com --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Suggestion: delete google-appengine group.
On Apr 17, 7:09 pm, ramu rslet...@gmail.com wrote: You can alwasy choose not to receive any mails from this group and read the discussions thorough web interface. Thankx... I think the problem is it's focused at the App Engine, and not Java/ Python specifically for App Engine.. so he wants separate groups for each language.. which makes sense and decreases unwanted emails. I agree, I don't care about python issues, only App Engine specific and Java on App Engine specific issues, so there's a need for at least two people to have separate groups. I wouldn't delete this one though, I'd keep it for pure App Engine specific issues. --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Current malfunctioning
We get the following errors related to saving data: File /base/python_lib/versions/1/google/appengine/api/datastore.py, line 166, in Put raise _ToDatastoreError(err) File /base/python_lib/versions/1/google/appengine/api/datastore.py, line 1965, in _ToDatastoreError raise errors[err.application_error](err.error_detail) On Apr 20, 3:50 pm, Nick Winter livel...@gmail.com wrote: Is anyone else's app throwing widespread InternalErrors right now all of a sudden, or is it just ours? --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Advanced search using indexes (or, can I evaluate only some of the properties of an index?)
Hi everybody, I'm developing a website that tries to offer advanced search, which in SQL could be resolved adding 'where' clauses to queries dynamically, but I don't know how to implement it using Appengine's datastore. Let's say it's a book search engine, for which I have more than 30 search criteria (category, date, language, etc.). Not all of them are used always, as a user could simply ask for a book in his language, but other could ask for any other combination of different criteria. Reading the datastore doc, I couldn't find a solution using multiple indexes or reference properties (I even thought about a huge, lame set of indexes covering all possible combination of criteria, but it would be unmanageable). Then, I thought I could create an index with all the criteria, and then filter only these on which I'm interested. Like this: Index.yaml --- - kind: Book properties: - name: author - name: category - name: date - name: language - ... And then use it this way: foo.py -- #first search query = book.all() query.filter('category =', 1) #another search query = book.all() query.filter(category =', 2) query.filter('language =', es) I've tried it, but new indexes are generated automatically for each of my test queries. Is there a way to force a query to use my specific index? Could I solve my problem in any other way? Thank you very much in advance, Xar --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: stuck with sitemap issue
- url: /sitemap.xml static_files: XML/sitemap.xml upload: XML/sitemap.xml last line : upload: [XML]/sitemap.xml :add XML On 18 avr, 07:51, cabhishek cabhis...@gmail.com wrote: Hi all, i am stuck with the same problem .. i hand the static handler in app.yaml file as follows - url: /sitemap.xml static_files: XML/sitemap.xml upload: sitemap.xml source folder structure is as follows -helloworld -src -XML -sitemap.xml i deployed the application and then i went to google webmaster site and submitted the url as follows http://url-name.appspot/sitemap.xml.. but it errored out... can some one please help me out ... Sincerely, Abhishek --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Datastore down?
same here internal error File /base/python_lib/versions/1/google/appengine/api/ datastore.py, line 1965, in _ToDatastoreError raise errors[err.application_error](err.error_detail) InternalError: internal error On 20 avr, 16:05, Windzero windz...@gmail.com wrote: same here, totally dead for me On Apr 20, 9:41 pm, sma s...@basepointmedia.com wrote: Is the datastore down? I get the following errors: File /base/python_lib/versions/1/google/appengine/api/datastore.py, line 166, in Put raise _ToDatastoreError(err) File /base/python_lib/versions/1/google/appengine/api/datastore.py, line 1965, in _ToDatastoreError raise errors[err.application_error](err.error_detail --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Datastore down?
And http://code.google.com/status/appengine/shows no issue. Strange. On 20 avr, 16:14, Sylvain sylvain.viv...@gmail.com wrote: I've 2 apps : one is ok, the other is ko. On 20 avr, 16:13, Sylvain sylvain.viv...@gmail.com wrote: same here internal error File /base/python_lib/versions/1/google/appengine/api/ datastore.py, line 1965, in _ToDatastoreError raise errors[err.application_error](err.error_detail) InternalError: internal error On 20 avr, 16:05, Windzero windz...@gmail.com wrote: same here, totally dead for me On Apr 20, 9:41 pm, sma s...@basepointmedia.com wrote: Is the datastore down? I get the following errors: File /base/python_lib/versions/1/google/appengine/api/datastore.py, line 166, in Put raise _ToDatastoreError(err) File /base/python_lib/versions/1/google/appengine/api/datastore.py, line 1965, in _ToDatastoreError raise errors[err.application_error](err.error_detail --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Cannot Deploy
Is the server down? There're exceptions while I deploy my application. $ appcfg.py update . Scanning files on local disk. Initiating update. Cloning 63 static files. Cloning 36 application files. Uploading 2 files. 2009-04-20 22:14:06,807 ERROR appcfg.py:1235 An unexpected error occurred. Aborting. Traceback (most recent call last): File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/appcfg.py, line 1221, in DoUpload self.UploadFile(missing_file, file_handle) File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/appcfg.py, line 1079, in UploadFile payload=file_handle.read()) File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/appengine_rpc.py, line 303, in Send f = self.opener.open(req) File /System/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/urllib2.py, line 380, in open response = meth(req, response) File /System/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/urllib2.py, line 491, in http_response 'http', request, response, code, msg, hdrs) File /System/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/urllib2.py, line 418, in error return self._call_chain(*args) File /System/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/urllib2.py, line 353, in _call_chain result = func(*args) File /System/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/urllib2.py, line 499, in http_error_default raise HTTPError(req.get_full_url(), code, msg, hdrs, fp) HTTPError: HTTP Error 500: Internal Server Error Rolling back the update. Error 500: --- begin server output --- Server Error (500) A server error has occurred. --- end server output --- --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Datastore down?
same, cannot put On Apr 20, 7:16 am, Sylvain sylvain.viv...@gmail.com wrote: Andhttp://code.google.com/status/appengine/showsno issue. Strange. On 20 avr, 16:14, Sylvain sylvain.viv...@gmail.com wrote: I've 2 apps : one is ok, the other is ko. On 20 avr, 16:13, Sylvain sylvain.viv...@gmail.com wrote: same here internal error File /base/python_lib/versions/1/google/appengine/api/ datastore.py, line 1965, in _ToDatastoreError raise errors[err.application_error](err.error_detail) InternalError: internal error On 20 avr, 16:05, Windzero windz...@gmail.com wrote: same here, totally dead for me On Apr 20, 9:41 pm, sma s...@basepointmedia.com wrote: Is the datastore down? I get the following errors: File /base/python_lib/versions/1/google/appengine/api/datastore.py, line 166, in Put raise _ToDatastoreError(err) File /base/python_lib/versions/1/google/appengine/api/datastore.py, line 1965, in _ToDatastoreError raise errors[err.application_error](err.error_detail --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Concurrency Threading...
Unfortunately I cant seem to get app engine to run two threads concurrently to simulate two users taking action at the same time. Are you concerned with the development server or the production server? The development server is single threaded and there doesn't seem to be any way to fix that. (You can run multiple instances, but each instance will have its own datastore.) Application instances are, by design, single threaded. The production server is supposed to fire up as many instances as needed - are you not seeing that behavior? Note that the datastore actions of these separate instances will be interleaved. Is that the problem that you're trying to address? On Apr 20, 4:11 am, eli elliott.rosent...@gmail.com wrote: Hi guys, I have built a program that is (hopefully) concurrency safe. I would like to test this thoroughly using a testing module that I have written. Unfortunately I cant seem to get app engine to run two threads concurrently to simulate two users taking action at the same time. Currently I am using .start() on a number of threads, each of which should then go off and access certain datastructures to test their safety. Unfortunately I can only seem to get app engine to serve each threads requests, from start to finish, in the order they were created. Could somebody please give me some pointers. Thanks for the help in advanced. Regards, Elliott R --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] How to verify my account by SMS?
Hello: I want create an application with google app engine, but when I verify account by SMS, I got The phone number has been sent too many messages or has already been used to confirm an account. message. I changed a new mobile number, I got You have sent too many SMS verification messages. message. How do I verify my account? --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Datastore down?
I think some models can be put, and others can't. Don't see a pattern, though. --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Datastore down?
I've 2 apps : one is ok, the other is ko. On 20 avr, 16:13, Sylvain sylvain.viv...@gmail.com wrote: same here internal error File /base/python_lib/versions/1/google/appengine/api/ datastore.py, line 1965, in _ToDatastoreError raise errors[err.application_error](err.error_detail) InternalError: internal error On 20 avr, 16:05, Windzero windz...@gmail.com wrote: same here, totally dead for me On Apr 20, 9:41 pm, sma s...@basepointmedia.com wrote: Is the datastore down? I get the following errors: File /base/python_lib/versions/1/google/appengine/api/datastore.py, line 166, in Put raise _ToDatastoreError(err) File /base/python_lib/versions/1/google/appengine/api/datastore.py, line 1965, in _ToDatastoreError raise errors[err.application_error](err.error_detail --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] GQL Query with IN operator Issue (bug or am i making a mistake?)
Hello everyone, I noticed an odd behavior with GQL query when it has two IN operators and a regular condition. Below is some basic code to reproduce the problem: class DummyData(db.Model): x = db.StringListProperty() y = db.TextProperty() class Dummy(webapp.RequestHandler): def get(self): d = DummyData() d.x = ['a', 'b','c'] d.y = test d.put() d = DummyData() d.x = ['c', 'd','e'] d.y = test2 d.put() q = db.GqlQuery(SELECT * FROM DummyData where x in ('c') and x in ('a') ) results = q.fetch(10) # 10 instead of 2? - useful if you run the test multiple times for r in results: self.response.headers['Content-Type'] = text/plain self.response.out.write(x = + ,.join(r.x) + y = + r.y + \n) When you run the above code you will see the following output: x = a,b,c y = test However when I replace the above query with the one below, I do not get any results (even though it should return the same result as above): # Note the addition of y = 'test' q = db.GqlQuery(SELECT * FROM DummyData where y = 'test' and x in ('c') and x in ('a') ) Although here the IN conditions are the same as '=', my application actually uses multiple list values.; I am just presenting a simpler example. If someone can confirm the issue, I can open a bug report for this. Thanks! --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] geohash and geographic queries
Hi, I was trying to use geohash as an index for bbox queries in an app engine application, following this approach: http://labs.metacarta.com/blog/27.entry Since I am storing only points, I choose to use geohash instead of geoindex, but I got strange results, i.e. lots of points out of the bbox were being returned. I worked the following example in a python console and figured out that there are actually a lot of undesired points in a bbox search using geohash. In this example I compare 9 different points a,b,c,d,e,f,g,h,i with a bbox formed by the points sw and ne. Every point except d falls out of the bbox, each one located in a different position compared to the bbox (north, north-east, east, etc.). The comparison of the bbox points hashes with the point hashes should return True only if the point falls inside the bbox: import geohash ghsw=str(geohash.Geohash((2,2))) ghne=str(geohash.Geohash((8,6))) gha=str(geohash.Geohash((1,1))) ghb=str(geohash.Geohash((4,4))) ghc=str(geohash.Geohash((1,4))) ghd=str(geohash.Geohash((4,4))) ghe=str(geohash.Geohash((1,8))) ghf=str(geohash.Geohash((4,8))) ghg=str(geohash.Geohash((9,1))) ghh=str(geohash.Geohash((9,4))) ghi=str(geohash.Geohash((9,8))) for i in [gha,ghb,ghc,ghd,ghe,ghf,ghg,ghh,ghi]: print %s % ((ighsw)(ighne)) returns... False True True True True True True True False while only ghd should return True Then I tried the approach with geoindex, using a both an infinite precise bbox or a small bbox around each point and I got the very same results: approach 1: gisw=str(geohash.Geoindex((2,2))) gine=str(geohash.Geoindex((8,6))) gia=str( geohash.Geoindex((1,1)) + geohash.Geoindex((1,1)) ) gib=str( geohash.Geoindex((4,4)) + geohash.Geoindex((4,4)) ) gic=str( geohash.Geoindex((1,4)) + geohash.Geoindex((1,4)) ) gid=str( geohash.Geoindex((4,4)) + geohash.Geoindex((4,4)) ) gie=str( geohash.Geoindex((1,8)) + geohash.Geoindex((1,8)) ) gif=str( geohash.Geoindex((4,8)) + geohash.Geoindex((4,8)) ) gig=str( geohash.Geoindex((9,1)) + geohash.Geoindex((9,1)) ) gih=str( geohash.Geoindex((9,4)) + geohash.Geoindex((9,4)) ) gii=str( geohash.Geoindex((9,8)) + geohash.Geoindex((9,8)) ) for i in [gia,gib,gic,gid,gie,gif,gig,gih,gii]: ... print %s % ((igisw)(igine)) returns... False True True True True True True True False approach 2: gisw=str(geohash.Geoindex((2,2))) gine=str(geohash.Geoindex((8,6))) gia=str( geohash.Geoindex((0.9,0.9)) + geohash.Geoindex((1.1,1.1)) ) gib=str( geohash.Geoindex((3.9,3.9)) + geohash.Geoindex((4.1,4.1)) ) gic=str( geohash.Geoindex((0.9,3.9)) + geohash.Geoindex((1.1,4.1)) ) gid=str( geohash.Geoindex((3.9,3.9)) + geohash.Geoindex((4.1,4.1)) ) gie=str( geohash.Geoindex((0.9,7.9)) + geohash.Geoindex((1.1,8.1)) ) gif=str( geohash.Geoindex((3.9,7.9)) + geohash.Geoindex((4.1,8.1)) ) gig=str( geohash.Geoindex((8.9,0.9)) + geohash.Geoindex((9.1,1.1)) ) gih=str( geohash.Geoindex((8.9,3.9)) + geohash.Geoindex((9.1,4.1)) ) gii=str( geohash.Geoindex((8.9,7.9)) + geohash.Geoindex((9.1,8.1)) ) for i in [gia,gib,gic,gid,gie,gif,gig,gih,gii]: print %s % ((igisw)(igine)) returns... False True True True True True True True False Am I missing something? Is there a way to use geohash or geoindex to get profitable bbox searches? Regards jgui --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Cannot Deploy
I'm having the same issue under Java. Creating staging directory Scanning for jsp files. Scanning files on local disk. Initiating update. Unable to upload: java.io.IOException: Error posting to URL: http://appengine.google.com/api/appversion/create?app_id=version=1; 500 Internal Server Error Server Error (500) A server error has occurred. at com.google.appengine.tools.admin.ServerConnection.send (ServerConnection.java:114) at com.google.appengine.tools.admin.ServerConnection.post (ServerConnection.java:66) at com.google.appengine.tools.admin.AppVersionUpload.send (AppVersionUpload.java:345) at com.google.appengine.tools.admin.AppVersionUpload.beginTransaction (AppVersionUpload.java:159) at com.google.appengine.tools.admin.AppVersionUpload.doUpload (AppVersionUpload.java:68) at com.google.appengine.tools.admin.AppAdminImpl.update (AppAdminImpl.java:41) at com.google.appengine.eclipse.core.proxy.AppEngineBridgeImpl.deploy (AppEngineBridgeImpl.java:203) at com.google.appengine.eclipse.core.deploy.DeployProjectJob.runInWorkspace (DeployProjectJob.java:97) at org.eclipse.core.internal.resources.InternalWorkspaceJob.run (InternalWorkspaceJob.java:38) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) java.io.IOException: Error posting to URL: http://appengine.google.com/api/appversion/create?app_id=version=1; 500 Internal Server Error Server Error (500) A server error has occurred. On Apr 20, 2:17 pm, ericsk eri...@gmail.com wrote: Is the server down? There're exceptions while I deploy my application. $ appcfg.py update . Scanning files on local disk. Initiating update. Cloning 63 static files. Cloning 36 application files. Uploading 2 files. 2009-04-20 22:14:06,807 ERROR appcfg.py:1235 An unexpected error occurred. Aborting. Traceback (most recent call last): File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/appcfg.py, line 1221, in DoUpload self.UploadFile(missing_file, file_handle) File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/appcfg.py, line 1079, in UploadFile payload=file_handle.read()) File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/appengine_rpc.py, line 303, in Send f = self.opener.open(req) File /System/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/urllib2.py, line 380, in open response = meth(req, response) File /System/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/urllib2.py, line 491, in http_response 'http', request, response, code, msg, hdrs) File /System/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/urllib2.py, line 418, in error return self._call_chain(*args) File /System/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/urllib2.py, line 353, in _call_chain result = func(*args) File /System/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/urllib2.py, line 499, in http_error_default raise HTTPError(req.get_full_url(), code, msg, hdrs, fp) HTTPError: HTTP Error 500: Internal Server Error Rolling back the update. Error 500: --- begin server output --- Server Error (500) A server error has occurred. --- end server output --- --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: GQL Query with IN operator Issue (bug or am i making a mistake?)
db.TextProperty is not an indexable property. That means that it's not queryable either. It would be nice if to get an exception or some other indication of what's going on. However, note that indexable is something that happens in the datastore when an instance is store. If you change a property from StringProperty to TextProperty or the reverse, strange things will probably happen. (If you put some instances with StringProperty, I suspect that you can still successfully query for those instances using that property after you've switched to TextProperty.) On Apr 19, 1:24 am, ecognium ecogn...@gmail.com wrote: Hello everyone, I noticed an odd behavior with GQL query when it has two IN operators and a regular condition. Below is some basic code to reproduce the problem: class DummyData(db.Model): x = db.StringListProperty() y = db.TextProperty() class Dummy(webapp.RequestHandler): def get(self): d = DummyData() d.x = ['a', 'b','c'] d.y = test d.put() d = DummyData() d.x = ['c', 'd','e'] d.y = test2 d.put() q = db.GqlQuery(SELECT * FROM DummyData where x in ('c') and x in ('a') ) results = q.fetch(10) # 10 instead of 2? - useful if you run the test multiple times for r in results: self.response.headers['Content-Type'] = text/plain self.response.out.write(x = + ,.join(r.x) + y = + r.y + \n) When you run the above code you will see the following output: x = a,b,c y = test However when I replace the above query with the one below, I do not get any results (even though it should return the same result as above): # Note the addition of y = 'test' q = db.GqlQuery(SELECT * FROM DummyData where y = 'test' and x in ('c') and x in ('a') ) Although here the IN conditions are the same as '=', my application actually uses multiple list values.; I am just presenting a simpler example. If someone can confirm the issue, I can open a bug report for this. Thanks! --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Setting up netbeans for GAE
P.S.: I am unable to setup eclipse for some reasons... Why are you unable to setup eclipse? It has a very nice plugin, I'd recommend getting it to work :) Perhaps post any issues you encountered? I haven't used netbeans with App Engine, since Netbeans handles its own ant build script. I have used it with IntelliJ but just as an editor, didn't link it to run in hosted mode (which cost me a lot of time), but Eclipse, with the plugin, is veerry simple, just use the plugin, and it's all setup for 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 unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Datastore down?
Same here in two of my 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-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Cannot deploy to Google App Engine
jdk: jdk1.6.0_10 sdk: appengine 1.2 Unable to upload: java.io.IOException: Error posting to URL: http://appengine.google.com/api/appversion/create?app_id=bambrikiiversion=1; 400 Bad Request Invalid runtime specified. at com.google.appengine.tools.admin.ServerConnection.send (ServerConnection.java:114) at com.google.appengine.tools.admin.ServerConnection.post (ServerConnection.java:66) at com.google.appengine.tools.admin.AppVersionUpload.send (AppVersionUpload.java:345) at com.google.appengine.tools.admin.AppVersionUpload.beginTransaction (AppVersionUpload.java:159) at com.google.appengine.tools.admin.AppVersionUpload.doUpload (AppVersionUpload.java:68) at com.google.appengine.tools.admin.AppAdminImpl.update (AppAdminImpl.java:41) at com.google.appengine.eclipse.core.proxy.AppEngineBridgeImpl.deploy (AppEngineBridgeImpl.java:203) at com.google.appengine.eclipse.core.deploy.DeployProjectJob.runInWorkspace (DeployProjectJob.java:97) at org.eclipse.core.internal.resources.InternalWorkspaceJob.run (InternalWorkspaceJob.java:38) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) java.io.IOException: Error posting to URL: http://appengine.google.com/api/appversion/create?app_id=bambrikiiversion=1; 400 Bad Request Invalid runtime specified. --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] New to app-engine
Hi All,I am planning to use gwt + appengine to develop and deploy my website. I am new to both of this though I completed the installation part and getting started tutorial of both of this. It would be great if you people can give me some tips and other things I should be careful about during the development phase. Actually I see a lot of help on GWT and appengine individual usage but there is nothing related to using gwt with appengine and at this point i am confused if I am missing something, Isn't using GWT with AppEngine productive and popular?? Regards, Vijay --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Datastore down?
Same here On Apr 20, 10:34 am, Joshua Smith jesm...@kaon.com wrote: Same here in two of my 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-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Datastore down?
same here, totally dead for me On Apr 20, 9:41 pm, sma s...@basepointmedia.com wrote: Is the datastore down? I get the following errors: File /base/python_lib/versions/1/google/appengine/api/datastore.py, line 166, in Put raise _ToDatastoreError(err) File /base/python_lib/versions/1/google/appengine/api/datastore.py, line 1965, in _ToDatastoreError raise errors[err.application_error](err.error_detail --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] stuck with sitemap issue
Hi all, i am stuck with the same problem .. i hand the static handler in app.yaml file as follows - url: /sitemap.xml static_files: XML/sitemap.xml upload: sitemap.xml source folder structure is as follows -helloworld -src -XML -sitemap.xml i deployed the application and then i went to google webmaster site and submitted the url as follows http://url-name.appspot/sitemap.xml .. but it errored out... can some one please help me out ... Sincerely, Abhishek --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] GAE-based helpdesk system
Hello, I need some help understanding the deployment methods for GAE. I have a technical education, but always been a PM and never an actual developer and maybe that's why I'm here looking for help. :) We're considering moving our web application (helpdesk system) to the GAE. It is currently written in PHP and can be deployed by our customers (enterprise clients) at their own facilities. Current deployment scenario is pretty straight-forward, they set up their own domain or sub-domain and deploy the code there, setup their own admin/ staff accounts, customize the look and run it. From reading documentation and playing with GAE a little, it is my understanding that the GAE-way of deployment is different from what we currently use. With GAE we upload the code of the application to appspot and then customers can add it to their domains (if they're using Apps for your Domain) and use their own sub-domain name. The benefits of that is that once we deploy the newest version of our code, it's immediately available for our customers, they don't have to deploy it. Is that the way Google intended the apps to be used? If yes how can our customers customize the look and what should we do if they are unwilling to move their domain name to Google? thanks! --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Datastore down?
I think they might be working on it. The error message just changed to: File /base/python_lib/versions/1/google/appengine/ext/db/ __init__.py, line 669, in put return datastore.Put(self._entity) File /base/python_lib/versions/1/google/appengine/api/ datastore.py, line 164, in Put apiproxy_stub_map.MakeSyncCall('datastore_v3', 'Put', req, resp) File /base/python_lib/versions/1/google/appengine/api/ apiproxy_stub_map.py, line 68, in MakeSyncCall apiproxy.MakeSyncCall(service, call, request, response) File /base/python_lib/versions/1/google/appengine/api/ apiproxy_stub_map.py, line 240, in MakeSyncCall stub.MakeSyncCall(service, call, request, response) File /base/python_lib/versions/1/google/appengine/runtime/ apiproxy.py, line 183, in MakeSyncCall rpc.CheckSuccess() File /base/python_lib/versions/1/google/appengine/api/ apiproxy_rpc.py, line 111, in CheckSuccess raise self.exception CapabilityDisabledError: Datastore writes are temporarily disabled. --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Datastore Java API Overview Typo
The Datastore Java API Overview page http://code.google.com/appengine/ docs/java/datastore/overview.html has a typo. The constructor in the Employee class (Employee.java) should read Employee, not Person. Current: public Person(String firstName, String lastName, Date hireDate) { Should be: public Employee(String firstName, String lastName, Date hireDate) { --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Datastore down?
Yes they are working on it now - status is also updated: http://code.google.com/status/appengine On Apr 20, 4:44 pm, Joshua Smith jesm...@kaon.com wrote: I think they might be working on it. The error message just changed to: File /base/python_lib/versions/1/google/appengine/ext/db/ __init__.py, line 669, in put return datastore.Put(self._entity) File /base/python_lib/versions/1/google/appengine/api/ datastore.py, line 164, in Put apiproxy_stub_map.MakeSyncCall('datastore_v3', 'Put', req, resp) File /base/python_lib/versions/1/google/appengine/api/ apiproxy_stub_map.py, line 68, in MakeSyncCall apiproxy.MakeSyncCall(service, call, request, response) File /base/python_lib/versions/1/google/appengine/api/ apiproxy_stub_map.py, line 240, in MakeSyncCall stub.MakeSyncCall(service, call, request, response) File /base/python_lib/versions/1/google/appengine/runtime/ apiproxy.py, line 183, in MakeSyncCall rpc.CheckSuccess() File /base/python_lib/versions/1/google/appengine/api/ apiproxy_rpc.py, line 111, in CheckSuccess raise self.exception CapabilityDisabledError: Datastore writes are temporarily disabled. --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Datastore down?
Yes, they are working on it : * Starting this morning at approximately 6:30 AM PST, App Engine has experienced datastore issues - specifically, increased error rates on datastore API calls affecting some applications. We are proceeding with unplanned maintenance at this time in order to resolve these issues; all applications will experience read-only access to the datastore for a limited time period of less than 30 minutes, with a 5 minute target. Thanks, Mike Repass * On 20 avr, 16:44, Joshua Smith jesm...@kaon.com wrote: I think they might be working on it. The error message just changed to: File /base/python_lib/versions/1/google/appengine/ext/db/ __init__.py, line 669, in put return datastore.Put(self._entity) File /base/python_lib/versions/1/google/appengine/api/ datastore.py, line 164, in Put apiproxy_stub_map.MakeSyncCall('datastore_v3', 'Put', req, resp) File /base/python_lib/versions/1/google/appengine/api/ apiproxy_stub_map.py, line 68, in MakeSyncCall apiproxy.MakeSyncCall(service, call, request, response) File /base/python_lib/versions/1/google/appengine/api/ apiproxy_stub_map.py, line 240, in MakeSyncCall stub.MakeSyncCall(service, call, request, response) File /base/python_lib/versions/1/google/appengine/runtime/ apiproxy.py, line 183, in MakeSyncCall rpc.CheckSuccess() File /base/python_lib/versions/1/google/appengine/api/ apiproxy_rpc.py, line 111, in CheckSuccess raise self.exception CapabilityDisabledError: Datastore writes are temporarily disabled. --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Datastore down?
Having weird problems..long response times and getting logged out and stuff from my site (possibly because of memcache or datastore issues). Status shows problems with datastore, serving and memcache right now. On Apr 20, 3:51 pm, Sylvain sylvain.viv...@gmail.com wrote: Yes, they are working on it : * Starting this morning at approximately 6:30 AM PST, App Engine has experienced datastore issues - specifically, increased error rates on datastore API calls affecting some applications. We are proceeding with unplanned maintenance at this time in order to resolve these issues; all applications will experience read-only access to the datastore for a limited time period of less than 30 minutes, with a 5 minute target. Thanks, Mike Repass * On 20 avr, 16:44, Joshua Smith jesm...@kaon.com wrote: I think they might be working on it. The error message just changed to: File /base/python_lib/versions/1/google/appengine/ext/db/ __init__.py, line 669, in put return datastore.Put(self._entity) File /base/python_lib/versions/1/google/appengine/api/ datastore.py, line 164, in Put apiproxy_stub_map.MakeSyncCall('datastore_v3', 'Put', req, resp) File /base/python_lib/versions/1/google/appengine/api/ apiproxy_stub_map.py, line 68, in MakeSyncCall apiproxy.MakeSyncCall(service, call, request, response) File /base/python_lib/versions/1/google/appengine/api/ apiproxy_stub_map.py, line 240, in MakeSyncCall stub.MakeSyncCall(service, call, request, response) File /base/python_lib/versions/1/google/appengine/runtime/ apiproxy.py, line 183, in MakeSyncCall rpc.CheckSuccess() File /base/python_lib/versions/1/google/appengine/api/ apiproxy_rpc.py, line 111, in CheckSuccess raise self.exception CapabilityDisabledError: Datastore writes are temporarily disabled. --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Cannot Deploy
I am seeing the same thing. On Apr 20, 7:17 am, ericsk eri...@gmail.com wrote: Is the server down? There're exceptions while I deploy my application. $ appcfg.py update . Scanning files on local disk. Initiating update. Cloning 63 static files. Cloning 36 application files. Uploading 2 files. 2009-04-20 22:14:06,807 ERROR appcfg.py:1235 An unexpected error occurred. Aborting. Traceback (most recent call last): File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/appcfg.py, line 1221, in DoUpload self.UploadFile(missing_file, file_handle) File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/appcfg.py, line 1079, in UploadFile payload=file_handle.read()) File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/appengine_rpc.py, line 303, in Send f = self.opener.open(req) File /System/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/urllib2.py, line 380, in open response = meth(req, response) File /System/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/urllib2.py, line 491, in http_response 'http', request, response, code, msg, hdrs) File /System/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/urllib2.py, line 418, in error return self._call_chain(*args) File /System/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/urllib2.py, line 353, in _call_chain result = func(*args) File /System/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/urllib2.py, line 499, in http_error_default raise HTTPError(req.get_full_url(), code, msg, hdrs, fp) HTTPError: HTTP Error 500: Internal Server Error Rolling back the update. Error 500: --- begin server output --- Server Error (500) A server error has occurred. --- end server output --- --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Versions issue
I'm having the same problem (id = twitter2ff). I've tried incrementing the version number, to no avail. Can someone please help? On Apr 16, 4:07 pm, Николай Тенев tenev.niko...@gmail.com wrote: Hi Jeff, changing version in app.yaml and upload works. AppID is facebook-playground.appspot.com Regards ! On Fri, Apr 17, 2009 at 00:00, Jeff S (Google) j...@google.com wrote: Could you try changing the version in your app.yaml/appengine-web.xml and trying the update again? I've seen some reports of a particular version becoming stuck and while I'm looking into the issue this workaround seems to be effective (assuming there isn't an error in your app definition). Could you tell me the app ID for which you are seeing these errors? Thank you, Jeff On Apr 16, 12:35 am, Николай Тенев tenev.niko...@gmail.com wrote: And now I have a problem with version 1 too. What happening ? --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Command Not found
Is the subdirectory that contains dev_appserver on your PATH? It needs to be in order for the command shell to find it. On my own laptop the subdirectory is /usr/local/bin, since I installed GAE using the Mac OS installer. In .bashrc I have: export PATH=snip:/usr/local/bin:snip With your setup I imagine the subdirectory would be something like / home/you/GAE/bin. Also, if you're using the python SDK, you'll probably need to include the .py in the name. I don't think the sudo is necessary, and the test.py is probably breaking things. So the command would be something like this run from the directory below test/: $ dev_appserver.py test/ I don't use dev_appserver.py, so I might be leaving something out. Hope this helps. Eric On Apr 20, 1:12 am, abuhijlehJordan alaa-hij...@bayt.net wrote: I've been trying run GAE SDK on my UBUNTU 8.10. I have followed the procedures, literally. I have unzipped the content of GAE in the home folder in a folder called GEA. However when I try to run dev_appserver I get the following error command not found What I am missing guys? your prompt response is highly appreciated. Regards --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Verification issues and http://appengine.google.com/waitlist/sms_issues not working
It works now. Thank you! -Michael On Apr 15, 12:16 pm, Jeff S (Google) j...@google.com wrote: Hi Michael, Could you try signing in again, I believe this should now be fixed. Apologies for the inconvenience. Happy coding, Jeff On Tue, Apr 14, 2009 at 7:24 AM, Michael Makunas mich...@makunas.comwrote: Apologies for my first post here being a plea for help, but the normal channels seem to be broken. I attempted to submit this via http://appengine.google.com/waitlist/sms_issuesbut all I get is an error that says Comment and nothing else when I submit the form. I first signed up with my michael.maku...@gmail.com account. I got through the verification process and got to to the point where I pick a name and it came back saying makunas was already taken. Seeing as I rarely come across a situation where my last name isn't unique, I thought I might have already signed up using my mich...@makunas.com account (google apps for domains). When I went down that path and tried to verify, it said I couldn't use the same mobile more than once. The problem now is that neither account works. Both are asking for verification and both say sorry you've used that number before. Many thanks, Michael --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Datastore down?
Ye I'm back up and running. On Apr 20, 11:26 am, br...@ifeets.com br...@ifeets.com wrote: Is anyone else getting File /base/python_lib/versions/1/google/ appengine/api/apiproxy_rpc.py, line 111, in CheckSuccess raise self.exception? --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Datastore down?
They said that it will be less than 30 minutes(5 minute target?), but it's over than 50 minutes and nothing is changed - Datastore writes are temporarily disabled. No one at Google say what's going on and when it will finish. --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Datastore down?
Our apps are back up also. --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: New to app-engine
GWT with app-engine is a new feature, welcome to the bleeding edge! make sure you get Eclipse going through the tutorials. through a sample deploy. good luck. On Apr 19, 1:44 pm, vijay mymail.vi...@gmail.com wrote: Hi All,I am planning to use gwt + appengine to develop and deploy my website. I am new to both of this though I completed the installation part and getting started tutorial of both of this. It would be great if you people can give me some tips and other things I should be careful about during the development phase. Actually I see a lot of help on GWT and appengine individual usage but there is nothing related to using gwt with appengine and at this point i am confused if I am missing something, Isn't using GWT with AppEngine productive and popular?? Regards, Vijay --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Current malfunctioning
Getting the same error as you Nick... On Apr 20, 2:54 pm, sma s...@basepointmedia.com wrote: We get the following errors related to saving data: File /base/python_lib/versions/1/google/appengine/api/datastore.py, line 166, in Put raise _ToDatastoreError(err) File /base/python_lib/versions/1/google/appengine/api/datastore.py, line 1965, in _ToDatastoreError raise errors[err.application_error](err.error_detail) On Apr 20, 3:50 pm, Nick Winter livel...@gmail.com wrote: Is anyone else's app throwing widespread InternalErrors right now all of a sudden, or is it just ours? --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Datastore down?
same here On 4月20日, 下午9时41分, sma s...@basepointmedia.com wrote: Is the datastore down? I get the following errors: File /base/python_lib/versions/1/google/appengine/api/datastore.py, line 166, in Put raise _ToDatastoreError(err) File /base/python_lib/versions/1/google/appengine/api/datastore.py, line 1965, in _ToDatastoreError raise errors[err.application_error](err.error_detail --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Datastore down?
yes they are working on it. App Engine Team appengine.nore...@gmail.com Starting this morning at approximately 6:30 AM PST, App Engine has experienced datastore issues - specifically, increased error rates on datastore API calls affecting some applications. We are proceeding with unplanned maintenance at this time in order to resolve these issues; all applications will experience read-only access to the datastore for a limited time period of less than 30 minutes, with a 5 minute target. Thanks, Mike Repass App Engine Team On 4月20日, 下午10时46分, sma s...@basepointmedia.com wrote: Yes they are working on it now - status is also updated:http://code.google.com/status/appengine On Apr 20, 4:44 pm, Joshua Smith jesm...@kaon.com wrote: I think they might be working on it. The error message just changed to: File /base/python_lib/versions/1/google/appengine/ext/db/ __init__.py, line 669, in put return datastore.Put(self._entity) File /base/python_lib/versions/1/google/appengine/api/ datastore.py, line 164, in Put apiproxy_stub_map.MakeSyncCall('datastore_v3', 'Put', req, resp) File /base/python_lib/versions/1/google/appengine/api/ apiproxy_stub_map.py, line 68, in MakeSyncCall apiproxy.MakeSyncCall(service, call, request, response) File /base/python_lib/versions/1/google/appengine/api/ apiproxy_stub_map.py, line 240, in MakeSyncCall stub.MakeSyncCall(service, call, request, response) File /base/python_lib/versions/1/google/appengine/runtime/ apiproxy.py, line 183, in MakeSyncCall rpc.CheckSuccess() File /base/python_lib/versions/1/google/appengine/api/ apiproxy_rpc.py, line 111, in CheckSuccess raise self.exception CapabilityDisabledError: Datastore writes are temporarily disabled.- 隐藏被引用文字 - - 显示引用的文字 - --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Is XSLT transformation available for Java?
Hi, I've tried to execute a XSLT transformation in the Java appengine and had the following error [xins-petstore/1.332875993655738810].stdout: 2009-04-18 13:02:13,146 ERROR org.xins.common.lowlevel.1052 petst...@localhost: 090418-130212386:3e483 Programming error detected by class org.xins.common.Utils, method logProgrammingError in class unknown, method unknown. Caught unexpected java.lang.NoClassDefFoundError. Exception message: com.sun.org.apache.xalan.internal.xsltc.dom.AbsoluteIterator is a restricted class. Please see the Google App Engine developer's guide for more details.. Detail: (null). java.lang.NoClassDefFoundError: com.sun.org.apache.xalan.internal.xsltc.dom.AbsoluteIterator is a restricted class. Please see the Google App Engine developer's guide for more details. at com.google.apphosting.runtime.security.shared.stub.com.sun.org.apache.xalan.internal.xsltc.dom.AbsoluteIterator.clinit (AbsoluteIterator.java) at Login.topLevel() at Login.transform() at com.sun.org.apache.xalan.internal.xsltc.runtime.AbstractTranslet.transform (Unknown Source) at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform (Unknown Source) at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform (Unknown Source) at org.xins.server.frontend.FrontendCallingConvention.translate (FrontendCallingConvention.java:775) Is it on pupose or is the AbsoluteIterator missing from the white list? Cheers, Anthony --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Cannot Deploy
I'm having a similar problem. All I want to do is update one template file. I had no problems doing updates last Friday. $ python appcfg.py update /z/git/online_forms/thomas-aquinas/ Scanning files on local disk. Initiating update. 2009-04-20 10:10:10,934 ERROR appcfg.py:1235 An unexpected error occurred. Abort ing. Traceback (most recent call last): File c:\Program Files\Google\google_appengine\google\appengine\tools \appcfg.py, line 1213, in DoUpload missing_files = self.Begin() File c:\Program Files\Google\google_appengine\google\appengine\tools \appcfg.py, line 1009, in Begin version=self.version, payload=self.config.ToYAML()) File c:\Program Files\Google\google_appengine\google\appengine\tools \appengine_rpc.py, line 303, in Send f = self.opener.open(req) File C:\Python25\lib\urllib2.py, line 380, in open response = meth(req, response) File C:\Python25\lib\urllib2.py, line 491, in http_response 'http', request, response, code, msg, hdrs) File C:\Python25\lib\urllib2.py, line 418, in error return self._call_chain(*args) File C:\Python25\lib\urllib2.py, line 353, in _call_chain result = func(*args) File C:\Python25\lib\urllib2.py, line 499, in http_error_default raise HTTPError(req.get_full_url(), code, msg, hdrs, fp) HTTPError: HTTP Error 500: Internal Server Error Error 500: --- begin server output --- Server Error (500) A server error has occurred. --- end server output --- --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] How to change entity class kind ?
I am using appengine and appenginepatch for django I have a class defined in my models that was inheriting from db.Model. I've now changed it to polymodel.PolyModel. Since making the change, my existing entities are no longer retrievable. Is there a way to access them or convert them? Whats the recommended procedure for changing an entity class's kind? TIA, Tom --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Cannot Deploy
I just tried again, and now it works. On Apr 20, 10:24 am, Adam Loving adamlov...@gmail.com wrote: I am seeing the same thing. On Apr 20, 7:17 am, ericsk eri...@gmail.com wrote: Is the server down? There're exceptions while I deploy my application. $ appcfg.py update . Scanning files on local disk. Initiating update. Cloning 63 static files. Cloning 36 application files. Uploading 2 files. 2009-04-20 22:14:06,807 ERROR appcfg.py:1235 An unexpected error occurred. Aborting. Traceback (most recent call last): File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/appcfg.py, line 1221, in DoUpload self.UploadFile(missing_file, file_handle) File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/appcfg.py, line 1079, in UploadFile payload=file_handle.read()) File /Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ google/appengine/tools/appengine_rpc.py, line 303, in Send f = self.opener.open(req) File /System/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/urllib2.py, line 380, in open response = meth(req, response) File /System/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/urllib2.py, line 491, in http_response 'http', request, response, code, msg, hdrs) File /System/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/urllib2.py, line 418, in error return self._call_chain(*args) File /System/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/urllib2.py, line 353, in _call_chain result = func(*args) File /System/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/urllib2.py, line 499, in http_error_default raise HTTPError(req.get_full_url(), code, msg, hdrs, fp) HTTPError: HTTP Error 500: Internal Server Error Rolling back the update. Error 500: --- begin server output --- Server Error (500) A server error has occurred. --- end server output --- --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] google-appengine@googlegroups.com
Has anyone succeeded in using z3c.rml with AppEngine yet? I've got a need to create a complex and long document that something like a z3c.rml would be much handier. I've spent the best part of today trying (in vain) to get it simply working on my windows command line, much less from within the SDK. I checked out z3c.rml, zope.event, zope.i18nmessageid, zope.interface, zope.schema. I changed all the references to lxml to xml.etree.ElementTree, so that it might work on Google AppEngine. I copied the modules' source for these various things into the rml2pdf working directory like it'd be under AppEngine. I set up pythonpath to point the the (seemingly) appropriate places, and then tried several times running rml2pdf.py with this command line: C:\Temp\z3c.rml\src\z3c\rmlpython rml2pdf.py tests\input\simple-layout.rml Traceback (most recent call last): File rml2pdf.py, line 25, in module import document, interfaces File C:\Temp\z3c.rml\src\z3c\rml\document.py, line 26, in module from z3c.rml import attr, directive, interfaces, occurence File c:\temp\z3c.rml\src\z3c\rml\attr.py, line 36, in module from z3c.rml import interfaces File c:\temp\z3c.rml\src\z3c\rml\interfaces.py, line 138, in module class IDeprecatedDirective(zope.interface.interfaces.IInterface): AttributeError: 'module' object has no attribute 'interfaces' Do you know what that error means? All this 'Interface' stuff has me more than a little bemused as a complete Python newbie. Thanks for any help you can give... -Ken --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: GQL Query with IN operator Issue (bug or am i making a mistake?)
Don't use in, just use equal: q = db.GqlQuery(SELECT * FROM DummyData where x = 'c' and x = 'a') And you can read this document: http://code.google.com/intl/zh-CN/appengine/docs/python/datastore/entitiesandmodels.html#Lists 2009/4/19 ecognium ecogn...@gmail.com Hello everyone, I noticed an odd behavior with GQL query when it has two IN operators and a regular condition. Below is some basic code to reproduce the problem: class DummyData(db.Model): x = db.StringListProperty() y = db.TextProperty() class Dummy(webapp.RequestHandler): def get(self): d = DummyData() d.x = ['a', 'b','c'] d.y = test d.put() d = DummyData() d.x = ['c', 'd','e'] d.y = test2 d.put() q = db.GqlQuery(SELECT * FROM DummyData where x in ('c') and x in ('a') ) results = q.fetch(10) # 10 instead of 2? - useful if you run the test multiple times for r in results: self.response.headers['Content-Type'] = text/plain self.response.out.write(x = + ,.join(r.x) + y = + r.y + \n) When you run the above code you will see the following output: x = a,b,c y = test However when I replace the above query with the one below, I do not get any results (even though it should return the same result as above): # Note the addition of y = 'test' q = db.GqlQuery(SELECT * FROM DummyData where y = 'test' and x in ('c') and x in ('a') ) Although here the IN conditions are the same as '=', my application actually uses multiple list values.; I am just presenting a simpler example. If someone can confirm the issue, I can open a bug report for this. Thanks! --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] using z3c.rml on AppEngine?
Rats! Scuppered the subject. Sorry about the re-post! Has anyone succeeded in using z3c.rml with AppEngine yet? I've got a need to create a complex and long document that something like a z3c.rml would be much handier. I've spent the best part of today trying (in vain) to get it simply working on my windows command line, much less from within the SDK. I checked out z3c.rml, zope.event, zope.i18nmessageid, zope.interface, zope.schema. I changed all the references to lxml to xml.etree.ElementTree, so that it might work on Google AppEngine. I copied the modules' source for these various things into the rml2pdf working directory like it'd be under AppEngine. I set up pythonpath to point the the (seemingly) appropriate places, and then tried several times running rml2pdf.py with this command line: C:\Temp\z3c.rml\src\z3c\rmlpython rml2pdf.py tests\input\simple-layout.rml Traceback (most recent call last): File rml2pdf.py, line 25, in module import document, interfaces File C:\Temp\z3c.rml\src\z3c\rml\document.py, line 26, in module from z3c.rml import attr, directive, interfaces, occurence File c:\temp\z3c.rml\src\z3c\rml\attr.py, line 36, in module from z3c.rml import interfaces File c:\temp\z3c.rml\src\z3c\rml\interfaces.py, line 138, in module class IDeprecatedDirective(zope.interface.interfaces.IInterface): AttributeError: 'module' object has no attribute 'interfaces' Do you know what that error means? All this 'Interface' stuff has me more than a little bemused as a complete Python newbie. Thanks for any help you can give... -Ken --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: push http not allowed?
GAE must give a response in 30 seconds. So if you want use server push, you have to let clients disconnect every 30 seconds, then build new connections( maybe use AJAX ). Gmail is doing this way, but I think it's very difficult to do it. 2009/4/20 q2 tauru...@gmail.com I am planning to create a web application that will use BlazeDS server to push data to Flash clients. Would I be able to install it in Google App Engine environment? It comes bundles with Tomcat server, so probably I would need to install Tomcat as well. Also, this sentence about Google App Engine Sandbox makes me doubt that I can use any kind of push HTTP technology in Google App Engine: Application code only runs in response to a web request or a cron job Does that mean I'm not supposed to broadcast? 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 unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: unicode object has no attribute 'has_key'
Hi buger, Since the kind class has changed, the new validation logic is applied when loading older objects, as you noticed. I think the simplest way to get these objects and migrate your data would be to get them using the old class definition and assign values to the properties which will be required in the newer version. Another option would be to manually edit the problematic entities using the admin console's Data Viewer. Thank you, Jeff On Apr 17, 6:04 am, buger leons...@gmail.com wrote: When i'm trying to do simple get() it raises error: Traceback (most recent call last): File /base/python_lib/versions/1/google/appengine/ext/webapp/ __init__.py, line 501, in __call__ handler.get(*groups) File /base/data/home/apps/musicvideobuger/1.332849534198860778/ video_crawler.py, line 233, in get videos = Video.all().fetch(100) File /base/python_lib/versions/1/google/appengine/ext/db/ __init__.py, line 1391, in fetch return map(self._model_class.from_entity, raw) File /base/python_lib/versions/1/google/appengine/ext/db/ __init__.py, line 997, in from_entity instance = cls(None, _from_entity=True, **entity_values) File /base/python_lib/versions/1/google/appengine/ext/db/ __init__.py, line 596, in __init__ prop.__set__(self, value) File /base/python_lib/versions/1/google/appengine/ext/db/ __init__.py, line 2581, in __set__ value = self.validate(value) File /base/python_lib/versions/1/google/appengine/ext/db/ __init__.py, line 2611, in validate if value is not None and not value.has_key(): AttributeError: 'unicode' object has no attribute 'has_key' It happened after i changed some of properties in model, and i can't make migration. Also why get() function checking required option of property? I had some old data with None values in properties, witch in new version had been checked as required. When i'm trying to access objects with such properties with Null values i get error that this property required, by i'm just trying to get, not put! --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: The sitemap file
- url: /sitemap.xml static_files: XML/sitemap.xml upload: XML/sitemap.xml # and XML should be a static_dir: - url: /XML # or some other path static_dir: XML 2009/4/18 cabhishek cabhis...@gmail.com Hi, I am stuck with same problem.. i created a static handler - url: /sitemap.xml static_files: XML/sitemap.xml upload: sitemap.xml my project source folder structure is helloworld -src - XML - sitemap.xml i deployed my application... and then i went to google webmaster site and entered the sitemap location but it still errors out... can some one please help me out with this ??? Sincerely, Abhishek On Apr 13, 9:28 am, Wooble geoffsp...@gmail.com wrote: On Apr 13, 7:55 am, Nora noorhanab...@yahoo.co.uk wrote: Hello, I want my application to be indexed by the google crawler quickly. I used the automaticsitemapgenerator to produce one. I copied my sitemap.xml to my account and added a static handler in my app.yaml file. - url: / static_files:sitemap.xml upload:sitemap.xml the url should be '/sitemap.xml', not '/'. You're telling the server to return yoursitemapas the main page of your site, which you almost certainly don't want to do. --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Spring, Css mapping error, appending index.html.
Any progress on this issue? I have the same problem. On Apr 16, 2:28 pm, Puran mailtopu...@gmail.com wrote: Thanks, When i do that not sure why it tries to look in the location / iii/css/home.css instead and complains .. i thought it should be just inside war/css/home.css . do i need to create that folder name same as servlet name?? On Apr 16, 2:13 pm, Jun junshen2...@gmail.com wrote: The problem is caused by the following settings in web.xml file. servlet-mapping servlet-nameiii/servlet-name url-pattern*.html/url-pattern /servlet-mapping I changed *.html to *.do, the problem was solved. Thanks, Jun On Apr 16, 1:41 pm, Puran mailtopu...@gmail.com wrote: Did anyone solved this problem i am having a same problem it attaches index.html at the end. On Apr 14, 12:12 pm, Jeff S j...@google.com wrote: Hi Jun, Thanks for sharing, I'm wondering if the issue could also be in the war directory structure. I tried to reproduce but haven't been able to so far. To test I created a new project with the following war layout war |-- WEB-INF | |-- appengine-web.xml | |-- classes | `... | |-- lib | | |... | `-- web.xml |--css | `-- corp.css `--index.html It doesn't look like there is amappingthat would match things like /css/*.css, so it seems that the default servlet should serve theCSS file if it is in the expected location under war. In my simple example I was able to view theCSSfile with and without an explicit static- files element in my appengine-web.xml Thank you, Jeff On Apr 12, 6:33 am, Jun junshen2...@gmail.com wrote: Hi Jeff, Here is our appengine-web.xml file: ?xml version=1.0 encoding=utf-8? appengine-web-app xmlns=http://appengine.google.com/ns/1.0; application/application version1/version sessions-enabledtrue/sessions-enabled system-properties property name=java.util.logging.config.file value=WEB-INF/ logging.properties/ /system-properties static-files include path=/**.css / include path=/**.jpg / /static-files /appengine-web-app And web.xml file: ?xml version=1.0 encoding=UTF-8? !DOCTYPE web-app PUBLIC '-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN' 'http://java.sun.com/dtd/web-app_2_3.dtd' web-app session-config session-timeout60/session-timeout /session-config listener listener-classcom.strongtech.iii.web.IIIWatch/listener-class /listener servlet servlet-nameAxisServlet/servlet-name display-nameApache-Axis Servlet/display-name servlet-classorg.apache.axis.transport.http.AxisServlet/servlet- class /servlet servlet servlet-nameAdminServlet/servlet-name display-nameAxis Admin Servlet/display-name servlet-classorg.apache.axis.transport.http.AdminServlet/servlet- class load-on-startup100/load-on-startup /servlet servlet servlet-nameSOAPMonitorService/servlet-name display-nameSOAPMonitorService/display-name servlet-classorg.apache.axis.monitor.SOAPMonitorService/servlet- class init-param param-nameSOAPMonitorPort/param-name param-value5001/param-value /init-param load-on-startup100/load-on-startup /servlet servlet-mapping servlet-nameAxisServlet/servlet-name url-pattern/servlet/AxisServlet/url-pattern /servlet-mapping servlet-mapping servlet-nameAxisServlet/servlet-name url-pattern*.jws/url-pattern /servlet-mapping servlet-mapping servlet-nameAxisServlet/servlet-name url-pattern/services/*/url-pattern /servlet-mapping servlet-mapping servlet-nameSOAPMonitorService/servlet-name url-pattern/SOAPMonitor/url-pattern /servlet-mapping mime-mapping extensionwsdl/extension mime-typetext/xml/mime-type /mime-mapping !--springframework -- context-param param-namelog4jConfigLocation/param-name param-value/WEB-INF/classes/log4j.properties/param-value /context-param context-param
[google-appengine] Re: How to change entity class kind ?
You need fetch them use the ordinary model, then create new entities using the value you get from them, finally, save new ones and delete old ones. 2009/4/20 tommytastic tommytas...@gmail.com I am using appengine and appenginepatch for django I have a class defined in my models that was inheriting from db.Model. I've now changed it to polymodel.PolyModel. Since making the change, my existing entities are no longer retrievable. Is there a way to access them or convert them? Whats the recommended procedure for changing an entity class's kind? TIA, Tom --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Google Apps account - can't enable HTTPS or remove App Engine from domain
Thanks for your tips. Actually, everything seems to be working, including secure HTTPS access (https://my-app-name.appspot.com), so I'm just ignoring the warning for now. And I have a moved permanently redirect on my naked domain anyway. On Apr 18, 8:20 pm, 风笑雪 kea...@gmail.com wrote: BTW, you can try to set a new version in your app.yaml. 2009/4/19 风笑雪 kea...@gmail.com There is no way to disable GAE except deleting the app.yaml file, and I don't think it will work. Your apps need at least one domain for GAE( if you ever create one ). So you can try add an new domain, delete the old one, then add it again. --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: becoming an app administrator with google apps account
Hi Jon, Could you try option 2 again? Also, what are the account settings you are using for this app, I'm assuming it is associated with Google Accounts instead of being restricted to a Google Apps domain. Thank you, Jeff On Sat, Apr 18, 2009 at 1:29 PM, jhf555 jhf...@gmail.com wrote: I'm trying to send email on GAE with my Google Apps primary email as the From email address. So I need to add that email address (which is i...@bigriddles.com) as an Administrator for my app. However, I'm having trouble doing this. I add that email as an adminstrator and receive the invite email, which offers two options, as follows: 1. sign in with your Google Account - this doesn't work because even though i...@bigriddles.com is the admininstrator email for the Google Apps account, Google for some reason doesn't recognize this as a Google Account. So it gives me a wrong username or password error when I try to confirm the invitation by signing in with this. 2. if i...@bigriddles.com is a Google Apps Account, you can sign in and accept or decline this invitation here - The problem here is that when I try to use this option, it asks for me to confirm the account with a cell phone number. And of course I've already confirmed another account with my cell phone number, so it won't let me do this. Any suggestions? Thanks in advance! -Jon --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: dumb guy trying to access datastore remotely with remote_api
Hi Ben, What are the account settings for this app? Could I see the app ID? Thank you, Jeff On Sat, Apr 18, 2009 at 1:56 PM, Ben Nevile ben.nev...@gmail.com wrote: I was able to get appengine_console.py to launch in OS X with the help of this message: http://groups.google.com/group/google-appengine/browse_thread/thread/6bc2f759188476b2/967e636458681da0?lnk=gstq=interactive+console+remote+api#967e636458681da0 When I try and fetch data, it asks for my name and password. My admin name and pass come back as invalid. Is there anything clever I need to do to get this to work? I only have one admin account on this particular app, sanity checked by logging in and out to the admin console. thanks in advance. Ben --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Appengine downtime on Apr 20 2009
Hi AppEngine team, First of all, i would like to say that you all did a wonderful job by fixing the issue/downtime in appengine on Apr 20 2009, 06:30 AM PDT so fast. This job is really appreciable. There were a few glitches tough. I would like to know about two things - 1. What was the cause of the issue? Sure, if the AppEngine team is ready to share. If this was because of some issue in one or more of the apps, is there something we (the developers) can do to prevent it ? 2. What are the chances that this issue _might_ come up in future - near or distant ? I am planning to add a layer to the datastore get/put that will centrally manage all read/write operations in my app. if anything fishy goes around, it will display some human readable error and gracefully halt the application for time being. Thanks Pranav Prakash --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Datastore down?
The issue is fixed. Cheers :-) On Apr 20, 7:54 pm, tvshowpush tvshowpushad...@gmail.com wrote: yes they are working on it. App Engine Team appengine.nore...@gmail.com Starting this morning at approximately 6:30 AM PST, App Engine has experienced datastore issues - specifically, increased error rates on datastore API calls affecting some applications. We are proceeding with unplanned maintenance at this time in order to resolve these issues; all applications will experience read-only access to the datastore for a limited time period of less than 30 minutes, with a 5 minute target. Thanks, Mike Repass App Engine Team On 4月20日, 下午10时46分, sma s...@basepointmedia.com wrote: Yes they are working on it now - status is also updated:http://code.google.com/status/appengine On Apr 20, 4:44 pm, Joshua Smith jesm...@kaon.com wrote: I think they might be working on it. The error message just changed to: File /base/python_lib/versions/1/google/appengine/ext/db/ __init__.py, line 669, in put return datastore.Put(self._entity) File /base/python_lib/versions/1/google/appengine/api/ datastore.py, line 164, in Put apiproxy_stub_map.MakeSyncCall('datastore_v3', 'Put', req, resp) File /base/python_lib/versions/1/google/appengine/api/ apiproxy_stub_map.py, line 68, in MakeSyncCall apiproxy.MakeSyncCall(service, call, request, response) File /base/python_lib/versions/1/google/appengine/api/ apiproxy_stub_map.py, line 240, in MakeSyncCall stub.MakeSyncCall(service, call, request, response) File /base/python_lib/versions/1/google/appengine/runtime/ apiproxy.py, line 183, in MakeSyncCall rpc.CheckSuccess() File /base/python_lib/versions/1/google/appengine/api/ apiproxy_rpc.py, line 111, in CheckSuccess raise self.exception CapabilityDisabledError: Datastore writes are temporarily disabled.- 隐藏被引用文字 - - 显示引用的文字 - --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: how to set --datastore_path from manage.py
If you are using app-engine-patch the syntax is slightly different, you use: --datastore_path filename.datastore --history_path filename.history (no =, use a space) On Apr 20, 9:17 am, Dave ddev...@gmail.com wrote: I've look high and low so my apologies if I've missed the answer. How does one set --datastore_path= when using mange.py? I'm having the problem where my datastore get's cleaned out randomly and need to move datastore from /tmp. Thanks in advance for the help! Dave --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Remove naked domain from appengine application
For what it's worth, I'm just going to leave things as they are. I only wanted to remove my application because there is a warning that I must reinstall it to enable secure access. But HTTPS is working in spite of this. See also: http://groups.google.com/group/google-appengine/t/97f26584f22fd3a3 On Apr 17, 12:13 pm, mifki v...@mifki.com wrote: Not exactly. I registered and added application to my Google Apps domain long time ago right after App Engine launched. At that time naked domains were allowed and I just specified 'mifki.com' for my application without any problems and workarounds. Now I need to remove this domain from application and remove application itself from Google Apps. But buttons to remove mifki.com from application and to disable application (remove it from google apps) just do nothing at all (I can remove any not naked domain however). --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Are you a human ?
Hi Tom - Can you explain what you mean by a large database put? Are you using the bulk uploader tool? The error message you quoted is printed by appcfg when it gets a certain error from the Google Accounts system. This error can be caused by several things, including multiple unsuccessful login attempts for the affected account. For what it's worth, there is no relationship between datastore activity and Google Accounts verification via Captcha. Also, the Google Accounts Captcha has both visual and audible options. -- Dan On Sat, Apr 18, 2009 at 2:34 AM, Tom Wu service.g2...@gmail.com wrote: Hi All, During my large database put into datastore, it shows Please go to https://www.google.com/accounts/DisplayUnlockCaptcha\n; and verify you are a human. Then try again.) Yeah, I am a human. ha ha ha! Are you human ? The captcha will stop my application until I unlock the captcha. Is anyway to get my app continue without crack the captcha ? Best Regards Tom Wu --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] programmatic maintenance notification
it would be nice to have formalized notification of maintenance events - a single appengine.google.com url returning something like: datastore: down - eta 1 hour memcache: up urlfetch: up and so on... i subscribe to google-appengine-downtime-not...@googlegroups.com, but i'd like my site to automatically announce to visitors that they should expect limited functionality, and for how long this could last. --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] API for programatically adding GAE application domain alias in 'Google Apps' control panel: Service Settings
Hi all, An app I'm building is going to use subdomains to separate groups of users. For example: group1.myapp.com group2.myapp.com These are configured in the 'Service Settings' control panel of the Google Apps Dashboard for myapp.com. Currently, this is a manual process with the Google Apps admin required to login and add a new URL mapping such as: group3.myapp.com Is there a way or are there any plans to offer an API to configure these mappings. Ideally, I'd like my GAE app to be able to add a new mapping as needed without requiring administrator intervention? I'm aware that my DNS provider (currently Dreamhost) needs to have the alias added as well, but they are said to be working on an API. Thanks in advance, Guy --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: programmatic maintenance notification
hmm, actually it would have to be it's own maintenance api (if urlfetch went down the app wouldn't be able to access this). On Apr 20, 2:48 pm, jeremy jeremy.a...@gmail.com wrote: it would be nice to have formalized notification of maintenance events - a single appengine.google.com url returning something like: datastore: down - eta 1 hour memcache: up urlfetch: up and so on... i subscribe to google-appengine-downtime-not...@googlegroups.com, but i'd like my site to automatically announce to visitors that they should expect limited functionality, and for how long this could last. --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: dumb guy trying to access datastore remotely with remote_api
Hi Ben, Is your admin account a Google Apps one (eg, not @gmail.com or @googlemail.com)? Authentication using these accounts is somewhat broken. What you can do is create a gmail.com account specifically for this, and add it as another admin for the app, then authenticate using that. -Nick Johnson 2009/4/18 Ben Nevile ben.nev...@gmail.com: I was able to get appengine_console.py to launch in OS X with the help of this message: http://groups.google.com/group/google-appengine/browse_thread/thread/6bc2f759188476b2/967e636458681da0?lnk=gstq=interactive+console+remote+api#967e636458681da0 When I try and fetch data, it asks for my name and password. My admin name and pass come back as invalid. Is there anything clever I need to do to get this to work? I only have one admin account on this particular app, sanity checked by logging in and out to the admin console. --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: programmatic maintenance notification
I think this has been suggested before, but yeah, was just also thinking of this in light of today's down time. It would be nice to have a custom status page (hosted off GAE) that could show users what's up with my app at any given time. On Apr 20, 8:02 pm, jeremy jeremy.a...@gmail.com wrote: hmm, actually it would have to be it's own maintenance api (if urlfetch went down the app wouldn't be able to access this). On Apr 20, 2:48 pm, jeremy jeremy.a...@gmail.com wrote: it would be nice to have formalized notification of maintenance events - a single appengine.google.com url returning something like: datastore: down - eta 1 hour memcache: up urlfetch: up and so on... i subscribe to google-appengine-downtime-not...@googlegroups.com, but i'd like my site to automatically announce to visitors that they should expect limited functionality, and for how long this could last. --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: IE Problem with POST - 400 Bad request: Your client has issued a malformed or illegal request
I have the exact same problem with my app running on GAE..I have tested with IE6 and 7..Have to test with Mozilla as well! The problem is I am unable to find enough help over the Internet as this is relatively new..Any inputs from your end? Unfortunately I didn't manage to solve this:(. I was thinking of using gea for my current project but because of this issue I change my plans:/ --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Cron job never runs
Hi Dustin, There was an issue a few hours ago which effected cron jobs. However, they should be running again, please let me know if they are not. For more details, see the post in the downtime notify group: http://groups.google.com/group/google-appengine-downtime-notify/browse_thread/thread/3e655cfd83d8b12b# Thank you, Jeff On Apr 20, 10:47 am, dustin dust...@gmail.com wrote: My cron jobs don't seem to be running properly either. The problem seems to be new as they were operating fine just a few days ago. --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Cron job never runs
My cron jobs don't seem to be running properly either. The problem seems to be new as they were operating fine just a few days ago. --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] XML serializer for Java
Hi! Could somebody point me, which XML serializer is not restricted under Google App Engine for Java. I have tried two: - JAXB - Simple (http://simple.sourceforge.net/) both is not working. I did not like an idea of writing my own lightweight serializer. --- WBR Den. --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: SMS Verification
Hi GGLab, At this point I don't think that the number will become available again. In cases like this I recommend filling out the form listed here: What can I do if for any reason I'm unable to receive an SMS message? http://code.google.com/appengine/kb/sms.html#error What is the email address for the new account which you are trying to verify? Thank you, Jeff On Thu, Apr 16, 2009 at 10:48 AM, GGLab ad...@gg-lab.net wrote: Hi, i read that i can't verify more than one account per telephone number. So, i've deleted my old google account, and now i can't verify new account with the number i've used for the old one. Do you know when will it return available? Thanks --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: server.log like jboss
Hi Paul, Are you running the SDK from the command line of from Eclipse (or another IDE)? The SDK will usually display error messages to stdout. Thank you, Jeff On Thu, Apr 16, 2009 at 2:20 PM, paulm paulmarso...@gmail.com wrote: Hi, Is there a way to see the system log on the SDK or app engine like server.log in jboss? I am trying to find system errors that are occurring. --~--~-~--~~~---~--~~ 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 this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---