[google-appengine] Re: Cant access applications page!
On Feb 5, 11:12 am, Andrejus wrote: > Hello, > > I have just created Google Account for app engine. I can login to > appspot.com and create new application, but after creation I am > redirected to the start page where I see only "Create an Application" > button, I cant see my newly created apps! How can I access them? I > have tried twice and its showing me that such application name is > already used. > Google Account: i...@playtictac.com > > Would be grateful for your response. > > Thanks, > Andrejus It looks like you are using a Google Apps account to log in. You need to use this URL: http://appengine.google.com/a/playtictac.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] Downloading Logs
I'm having difficulty downloading logs - it seems to be downloading records, but then doesn't write them to the file (or stdout when I tried that). gr...@kahu:~/Servers/google_appengine$ ./appcfg.py -n 1 --severity=0 -v request_logs myapp myapp.log Loaded authentication cookies from /home/gregf/.appcfg_cookies 2009-02-05 17:33:04,281 INFO appcfg.py:129 Server: appengine.google.com Downloading request logs for myapp 1.1. 2009-02-05 17:33:04,282 INFO appcfg.py:986 Request with offset None. 2009-02-05 17:33:06,337 INFO appcfg.py:998 Received 19380 bytes, 102 records. Copying request logs to 'myapp.log'. Copied 0 records. Also, when I get to see the records, will they include all requests? Or just logged events? Thanks in advance. --~--~-~--~~~---~--~~ 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: GAE as a non-exclusive platform
In my opinion, gae depended some function it's own system, whether sharing code needing discussion. You can coding under any framework without gae (such as djaogo) and deploy them to gae server so you can run your app in any python enviroment. On 2/5/09, mcamirand wrote: > > If we keep our app in its current form, we can choose from thousands > of hosts. If we migrate to GAE, our app can only work on GAE. We are > bound to Google's pricing, SLA, privacy policy, whims. Why doesn't > Google revolutionize hosting by licensing out the GAE environment? If > the neighbourhood datacentre could offer me a GAE environment, I'd be > converting my app tomorrow. > > Everyone is already amazed by what's been created here. Google > shouldn't wait until someone releases an open-source implementation of > GAE that becomes the new standard for the hosting world, replacing > dedicated servers and virtual private servers. > > -m > > > -- This letter from ChenHao. --~--~-~--~~~---~--~~ 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 as a non-exclusive platform
If we keep our app in its current form, we can choose from thousands of hosts. If we migrate to GAE, our app can only work on GAE. We are bound to Google's pricing, SLA, privacy policy, whims. Why doesn't Google revolutionize hosting by licensing out the GAE environment? If the neighbourhood datacentre could offer me a GAE environment, I'd be converting my app tomorrow. Everyone is already amazed by what's been created here. Google shouldn't wait until someone releases an open-source implementation of GAE that becomes the new standard for the hosting world, replacing dedicated servers and virtual private servers. -m --~--~-~--~~~---~--~~ 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 timezone to china beijing in DatetimeProperty
thanks I have solved by this post http://groups.google.com/group/google-app-engine-cn-dev/browse_thread/thread/bad6b735b02b1150?hl=zh_CN 对于中国的开发者特别有用。 On Feb 5, 1:00 am, Marzia Niccolai wrote: > Hi, > > All DateTimes are stored in the datastore as UTC. There is no way to > change this. For more information on dealing with timezones, > see:http://timezones.appspot.com/ > > -Marzia > > On Tue, Feb 3, 2009 at 10:48 PM, ajaxer wrote: > > > the default timezone have offset to my local time. > > is there any way to change the timezone to my local timezone? > > thx > > --~--~-~--~~~---~--~~ 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] Cant access applications page!
Hello, I have just created Google Account for app engine. I can login to appspot.com and create new application, but after creation I am redirected to the start page where I see only "Create an Application" button, I cant see my newly created apps! How can I access them? I have tried twice and its showing me that such application name is already used. Google Account: i...@playtictac.com Would be grateful for your response. Thanks, Andrejus --~--~-~--~~~---~--~~ 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 add the directory of Google SDK to our python path
Why use sqlite when on GAE you HAVE to use the BigTable Datastore. And that is not an SQL type 'database'. You are not allowed to write to files with your python code. And sqllite needs file access so not supported on GAE. And NO C-type modules allowed. 2009/2/4 S.I : > > Hi, > > I used the below line to import sqlite in google app: > > from sqlite3 import dbapi2 as sqlite > > Is it correct? > > When I import sqlite3 in google app i got the following error : > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@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: Should I be learning Python?
On Feb 5, 2:13 am, tempy wrote: > I am starting on App Engine and learning how to use it the only way I > know how, by starting a project. You don't say WHY you are starting on Appengine. If you have to use Appengine for a project, then I'd recommend learning Python - it really isn't difficult, and it will be far more stable than whatever language they release next - if they actually do release another one. If you are just learning Appengine for fun, and it is making your head hurt, the answer is simple - stop. You have the luxury of being able to wait until March to see what arrives, and making a decision then. --~--~-~--~~~---~--~~ 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: Should I be learning Python?
C++ Jave Script, Java, PHY All Of Thoes Come In Need! JAVA is the one most needed! Xavier A. Mathews Student/Browser Specialist/Developer/Web-Master Client Based Tech Support Specialist Hazel Crest Illinois xavieruni...@gmail.com¥xavierunited@hotmail.com¥truestar...@yahoo.com "Fear of a name, only increases fear of the thing itself." On Wed, Feb 4, 2009 at 1:04 PM, bowman.jos...@gmail.com < bowman.jos...@gmail.com> wrote: > > I learned python in order to use appengine. Though if you're already > learning another language for professional reasons (job requirement) > you may be better off waiting until you are comfortable with that > language, or at least until you know what the next release offers. > > I've taught myself C, C++, java, php, perl, bash shell scripting, and > python for various reasons. However as I often have to use at least a > few of these languages in the course of a month, I can attest to how > frustrating it can be to switch back and forth. Also, as someone who > is pretty much language agnostic, I can tell you that python is just > another language and I really don't see any reason to favor it over > any other, except for the fact it's all appengine supports right now. > > On Feb 4, 12:56 pm, luismgz wrote: > > You should set your priorities and make one step at a time. > > Learning python shoudn't be seen as a painful task. Actually, if you > > leave all other concerns behind and concentrate in learning it, > > without pressure, you'll enjoy it very much. > > > > Believe me, none of the other languages you mentioned will give you > > more joy than python. It's sheer simplicity, succinctness, and > > expressiveness will make you rediscover the pleasure of programming. > > > > Also, it is much more useful nowadays since it's cross-platform and > > runs virtually everywhere (windows, linux, mac, .Net, Java, etc). > > > > Just forget everything else and give python one single day (or an > > evening), open its tutorial and fire up the interactive interpreter. > > Then, come back and let me know what you think... > > > > Luis > > > > On Feb 4, 5:13 am, tempy wrote: > > > > > I am starting on App Engine and learning how to use it the only way I > > > know how, by starting a project. That also means learning Python. I > > > don't totally mind learning Python, but I'm already trying to teach > > > myself Objective-C and all the different syntaxes are starting to tax > > > my poor head. > > > > > So I see in the road map that the next release should be March 09, and > > > also that that release should support a new language. I know that no > > > one knows (or can give away) what language will be supported, but, I > > > am more or less fluent in java/c#/c++/php, so... =) should I be > > > patient and wait until the next release? > > > > > Or start trying to wrap my mind around python, while crying myself to > > > sleep over the absence of dear, dear semicolons. > > > --~--~-~--~~~---~--~~ 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: UnicodeEncodeError and Django templates
Is This Being Ran Off Line Or On? Text Index Problem Occur Online! Xavier A. Mathews Student/Browser Specialist/Developer/Web-Master Client Based Tech Support Specialist Hazel Crest Illinois xavieruni...@gmail.com¥xavierunited@hotmail.com¥truestar...@yahoo.com "Fear of a name, only increases fear of the thing itself." On Wed, Feb 4, 2009 at 3:52 PM, Scott wrote: > > Running Django 0.96 on App Engine, realized I had forgotten to mention > that...not that there's much other Django you can run on there... > > > --~--~-~--~~~---~--~~ 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: Spreadsheet Function library
On Feb 4, 9:21 am, prasanna wrote: > We are developing a platform on app engine which needs to feature all > the functions available in spreadsheets, like openoffice,excel etc. > Can you add a generic library to app engine which can be used by all > applications? Check out pyExcelerator, xlrd and xlwt when you get a chance. There's also a Python-Excel discussion group where you may want to post this question. http://groups.google.com/group/python-excel/topics Cheers, pr3d4t0r Scalable programming on the cloud made easy: Developing with Google App Engine by Eugene Ciurana Get it from Amazon: http://is.gd/hP9M ISBN: 978-1-4302-1831-9 --~--~-~--~~~---~--~~ 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: UnicodeEncodeError and Django templates
Running Django 0.96 on App Engine, realized I had forgotten to mention that...not that there's much other Django you can run on there... --~--~-~--~~~---~--~~ 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: Empty dashboard and missing logs
Hi, If you provide the app id for the app, I'd be happy to investigate it further. -Marzia On Wed, Feb 4, 2009 at 12:26 PM, Y wrote: > > The dashboard for my app is mosty empty. The only thing that is > visible is teh Application Quotas. > > But the Charts, Current Load, and Errors are blank. > > On the Log tab, the last log displayed is 01-31 08:18PM 58.067. There > are no log entry after that. > > This is not the first time that this has happened. This has happened > once before but it fixed itself. > > Anyone else has/had this problem? How do I contact support? > > > --~--~-~--~~~---~--~~ 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] Empty dashboard and missing logs
The dashboard for my app is mosty empty. The only thing that is visible is teh Application Quotas. But the Charts, Current Load, and Errors are blank. On the Log tab, the last log displayed is 01-31 08:18PM 58.067. There are no log entry after that. This is not the first time that this has happened. This has happened once before but it fixed itself. Anyone else has/had this problem? How do I contact support? --~--~-~--~~~---~--~~ 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] Spreadsheet Function library
Hi We are developing a platform on app engine which needs to feature all the functions available in spreadsheets, like openoffice,excel etc. Can you add a generic library to app engine which can be used by all applications? I could not find any comprehensive package in python. If you can add something like koffice(http://www.koffice.org/kspread/), it would be fantastic. Thanks, Prasanna. --~--~-~--~~~---~--~~ 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: Should I be learning Python?
I learned python in order to use appengine. Though if you're already learning another language for professional reasons (job requirement) you may be better off waiting until you are comfortable with that language, or at least until you know what the next release offers. I've taught myself C, C++, java, php, perl, bash shell scripting, and python for various reasons. However as I often have to use at least a few of these languages in the course of a month, I can attest to how frustrating it can be to switch back and forth. Also, as someone who is pretty much language agnostic, I can tell you that python is just another language and I really don't see any reason to favor it over any other, except for the fact it's all appengine supports right now. On Feb 4, 12:56 pm, luismgz wrote: > You should set your priorities and make one step at a time. > Learning python shoudn't be seen as a painful task. Actually, if you > leave all other concerns behind and concentrate in learning it, > without pressure, you'll enjoy it very much. > > Believe me, none of the other languages you mentioned will give you > more joy than python. It's sheer simplicity, succinctness, and > expressiveness will make you rediscover the pleasure of programming. > > Also, it is much more useful nowadays since it's cross-platform and > runs virtually everywhere (windows, linux, mac, .Net, Java, etc). > > Just forget everything else and give python one single day (or an > evening), open its tutorial and fire up the interactive interpreter. > Then, come back and let me know what you think... > > Luis > > On Feb 4, 5:13 am, tempy wrote: > > > I am starting on App Engine and learning how to use it the only way I > > know how, by starting a project. That also means learning Python. I > > don't totally mind learning Python, but I'm already trying to teach > > myself Objective-C and all the different syntaxes are starting to tax > > my poor head. > > > So I see in the road map that the next release should be March 09, and > > also that that release should support a new language. I know that no > > one knows (or can give away) what language will be supported, but, I > > am more or less fluent in java/c#/c++/php, so... =) should I be > > patient and wait until the next release? > > > Or start trying to wrap my mind around python, while crying myself to > > sleep over the absence of dear, dear semicolons. --~--~-~--~~~---~--~~ 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: Should I be learning Python?
You should set your priorities and make one step at a time. Learning python shoudn't be seen as a painful task. Actually, if you leave all other concerns behind and concentrate in learning it, without pressure, you'll enjoy it very much. Believe me, none of the other languages you mentioned will give you more joy than python. It's sheer simplicity, succinctness, and expressiveness will make you rediscover the pleasure of programming. Also, it is much more useful nowadays since it's cross-platform and runs virtually everywhere (windows, linux, mac, .Net, Java, etc). Just forget everything else and give python one single day (or an evening), open its tutorial and fire up the interactive interpreter. Then, come back and let me know what you think... Luis On Feb 4, 5:13 am, tempy wrote: > I am starting on App Engine and learning how to use it the only way I > know how, by starting a project. That also means learning Python. I > don't totally mind learning Python, but I'm already trying to teach > myself Objective-C and all the different syntaxes are starting to tax > my poor head. > > So I see in the road map that the next release should be March 09, and > also that that release should support a new language. I know that no > one knows (or can give away) what language will be supported, but, I > am more or less fluent in java/c#/c++/php, so... =) should I be > patient and wait until the next release? > > Or start trying to wrap my mind around python, while crying myself to > sleep over the absence of dear, dear semicolons. --~--~-~--~~~---~--~~ 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: manually validate an ASCID ticket
Thanks Brett. This is basically the approach we've taken. Was hoping for a more "official" mechanism. --~--~-~--~~~---~--~~ 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: manually validate an ASCID ticket
On Tue, Feb 3, 2009 at 12:17 PM, Jason C wrote: > > We use Google Accounts for our application, which is a Django(trunk) / > app-engine-helper application. > > Normally, on our views, we can just use > > @require_login > > decorator, and everything works out. > > However, in some cases, we are not able to pass the cookie that makes > this stuff work out well. > > Is there a mechanism that we can use the ASCID ticket value and > validate that it is a valid login? > > Imagine that we pass thie ASCID value as a request param and hit an > undecorated view like this: > > def my_view(request, ascid): >auth.validate_ticket(ascid) # does some programmatic call like > this exist > > Is there some way to programmatically validate the auth token for a > Google Account? Hi Jason, We do not provide a mechanism to independently validate or decode the ACSID cookie at this time. Currently this is done transparently to application code; we read the cookie and set environment variables to match the currently logged in user. I can understand your needs here, though, given that bug in Flash that you mentioned. I think the simplest way to deal with this is to store the mapping from ACSID to user info in the Datastore and issue your own temporary auth token. You would declare a new model: class TemporaryToken(db.Model): acsid_hash = db.StringProperty() acsid_cookie = db.TextProperty() creation_time = db.DateTimeProperty(auto_now=True) user = db.UserProperty() When the user first logs in, do something like: token = TemporaryToken( acsid_hash=sha1(...acsid cookie...), acsid_cookie=..., user=users.get_current_user(), key_name=sha1(...acsid cookie...)) token.put() The token will be the sha1 hash of the ACSID cookie. You can then easily get the user with this get() request: TemporaryToken.get_by_key_name(token).user Hope that helps! -Brett --~--~-~--~~~---~--~~ 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] Source code for book and... plain UI?
Howdy. The source code for Developing with Google App Engine is available on- line. You can download the sources from http://eugeneciurana.com/site.php?page=musings&contentTag=GAE-development.html or directly from the http://bookmarksbin.appspot.com application itself. A couple of people commented that the user interface for the BookmarksBin sample application for the book is rather plain. That was a design and execution decision. (Screenshot: http://is.gd/ik1F) Writing a book is like any other project: you need to plan, execute, and make compromises along the way. The purpose of the book isn't to show how to build every aspect of a web application to the reader. I was aiming at showing how to use all the Google App Engine features that I could in as concise and complete a manner as possible. The UI doesn't have rounded corners, or snazzy special effects because those are separate topics from App Engine. Instead, I focused on showing how to use the Django templates, and how to set static, dynamic, and client-side scripting files so that someone interested in making a richer UI has the tools (and develops the know-how) to implement it using App Engine features. I'm now working on a new, expanded book about App Engine development that covers client-side integration and development in more detail, including a couple of sections on things like jQuery. Please let me know your suggestions about what kinds of client-side browser features you'd like to see covered in relation to App Engine application development. Cheers! pr3d4t0r Scalable programming on the cloud made easy: Developing with Google App Engine by Eugene Ciurana Get it from Amazon: http://is.gd/hP9M ISBN: 978-1-4302-1831-9 --~--~-~--~~~---~--~~ 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 timezone to china beijing in DatetimeProperty
Hi, All DateTimes are stored in the datastore as UTC. There is no way to change this. For more information on dealing with timezones, see: http://timezones.appspot.com/ -Marzia On Tue, Feb 3, 2009 at 10:48 PM, ajaxer wrote: > > the default timezone have offset to my local time. > is there any way to change the timezone to my local timezone? > thx > > > --~--~-~--~~~---~--~~ 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: Should I be learning Python?
I myself come from an ASP/PHP/ASP.NET C# background in web development. I started learning Python for other reasons than web development at first, but now it's my preferred language for web development. Coupled with Django, it's simply the fastest way I know to develop a dynamic web site, and the best thing is that once you get around the somewhat unique syntax, it makes more sense than any other language too. At first I did start learning Ruby on Rails, but Python just felt better for me. Developing applications for Google App Engine in Python also feels pretty natural (in some ways, it's very similar to Django, actually), but it's a work in progress so I expect it to get even better with time. So yes, I definitely recommend you to spend the extra time and learn Python, even if you decide to use the unannounced runtime in the future. Regards, Andreas On Feb 4, 2:13 pm, tempy wrote: > I am starting on App Engine and learning how to use it the only way I > know how, by starting a project. That also means learning Python. I > don't totally mind learning Python, but I'm already trying to teach > myself Objective-C and all the different syntaxes are starting to tax > my poor head. > > So I see in the road map that the next release should be March 09, and > also that that release should support a new language. I know that no > one knows (or can give away) what language will be supported, but, I > am more or less fluent in java/c#/c++/php, so... =) should I be > patient and wait until the next release? > > Or start trying to wrap my mind around python, while crying myself to > sleep over the absence of dear, dear semicolons. --~--~-~--~~~---~--~~ 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: XML Parsing: How to find all elements with specific attribute value?
ElementTree uses XPath which uses square brackets to indicate filters: //c...@name="ralf"] On Feb 4, 4:03 pm, BeSharp wrote: > I'm not a native Python developer but found the learning curve pretty > okay. However, I'm currently stuck in processing an XML document. I'm > trying to use ElementTree and it basically works fine. I've got to get > all elements with a specific value for an attribute. Here is what I've > tried: > > result = tree.findall('c...@name="ralf"') > > As to the ElementTree documentation this is supposed to return all > elements where the attribute "name" has the value "ralf", e.g. > the following element would qualify: > > > > I do receive the following error: > > SyntaxError: expected path separator (@) > > Can anybody shed some light on this, please? --~--~-~--~~~---~--~~ 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 Parsing: How to find all elements with specific attribute value?
I'm not a native Python developer but found the learning curve pretty okay. However, I'm currently stuck in processing an XML document. I'm trying to use ElementTree and it basically works fine. I've got to get all elements with a specific value for an attribute. Here is what I've tried: result = tree.findall('c...@name="ralf"') As to the ElementTree documentation this is supposed to return all elements where the attribute "name" has the value "ralf", e.g. the following element would qualify: I do receive the following error: SyntaxError: expected path separator (@) Can anybody shed some light on this, please? --~--~-~--~~~---~--~~ 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] Should I be learning Python?
I am starting on App Engine and learning how to use it the only way I know how, by starting a project. That also means learning Python. I don't totally mind learning Python, but I'm already trying to teach myself Objective-C and all the different syntaxes are starting to tax my poor head. So I see in the road map that the next release should be March 09, and also that that release should support a new language. I know that no one knows (or can give away) what language will be supported, but, I am more or less fluent in java/c#/c++/php, so... =) should I be patient and wait until the next release? Or start trying to wrap my mind around python, while crying myself to sleep over the absence of dear, dear semicolons. --~--~-~--~~~---~--~~ 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: UnicodeEncodeError and Django templates
Actually, I think it's position 0 of the argument to gettext, here's the full exception: Request Method: GET Request URL:http://localhost:8080/ Exception Type: UnicodeDecodeError Exception Value:'ascii' codec can't decode byte 0xe3 in position 0: ordinal not in range(128) Exception Location: C:\Python25\lib\gettext.py in gettext, line 352 Traceback (most recent call last): File "C:\Program Files\Google\google_appengine\lib\django\django \template\__init__.py" in render_node 723. result = node.render(context) File "C:\Program Files\Google\google_appengine\lib\django\django \templatetags\i18n.py" in render 43. return translation.gettext(value) File "C:\Program Files\Google\google_appengine\lib\django\django\utils \translation\trans_real.py" in gettext 265. return t.gettext(message) File "C:\Python25\lib\gettext.py" in gettext 352. return tmsg.encode(self._output_charset) UnicodeDecodeError at / 'ascii' codec can't decode byte 0xe3 in position 0: ordinal not in range(128) There's a trace of the index.html template with this line highlighted: 63 {% trans "INDEX_TITLE" %} This leads me to believe that somewhere in the data flow an ASCII conversion is being used, despite my every effort to force UTF-8 everywhere. On Feb 4, 2:39 am, Jarek Zgoda wrote: > If you call unicode() on unicode object such weirdness will happen. > > Position 0 suggests it's a very beginning of the text. Open index.html > with hex editor and look for e3 byte value. > > On 3 Lut, 22:54, Scott wrote: > > > Hello, > > > I'm seeing the following message when trying to render a template > > using Unicode characters: > > > UnicodeDecodeError at /index.html > > 'ascii' codec can't decode byte 0xe3 in position 0: ordinal not in > > range(128) > > > I have both these settings using Unicode: > > > DEFAULT_CHARSET = 'utf-8' > > FILE_CHARSET = 'utf-8' > > > As well as the meta in the header: > > > > > > Finally, I have verified that the django.po files are properly encoded > > as UTF-8 (they don't make it through the 'compilemessages' command if > > they are not). > > > I'm not sure how Django is getting the idea that it should use an > > ASCII codec, any ideas how I could get these templates rendering > > correctly would be greatly appreciated. --~--~-~--~~~---~--~~ 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: manually validate an ASCID ticket
Alternatively, is there a way to pass the ACSID ticket as a url parameter such that Google Account uses it to authenticate? This would be very similar to some Java frameworks use a ;jsessionid=XXX on the url. j On Feb 3, 2:26 pm, Jason C wrote: > Shoot, of course I meant ACSID ticket. There goes the keyword > search > > On Feb 3, 2:17 pm, Jason C wrote: > > > We use Google Accounts for our application, which is a Django(trunk) / > > app-engine-helper application. > > > Normally, on our views, we can just use > > > @require_login > > > decorator, and everything works out. > > > However, in some cases, we are not able to pass the cookie that makes > > this stuff work out well. > > > Is there a mechanism that we can use the ASCID ticket value and > > validate that it is a valid login? > > > Imagine that we pass thie ASCID value as a request param and hit an > > undecorated view like this: > > > def my_view(request, ascid): > > auth.validate_ticket(ascid) # does some programmatic call like > > this exist > > > Is there some way to programmatically validate the auth token for a > > Google Account? > > > Aside: this is coming up because of a bug in Flash where the cookies > > are not propagated when it posts back and so the auth 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: Cross application resource access
I am really appreciated that google provide the decent service "App Engine". Even it only with Python which I am not familiar with. But the scale structure can be see in "App Engine". *Private IP(hostname) support for each application will be wonderful.* Urlfetch is slower than direct connect. Anyway thanks a lot. Thanks Dave, Best Regards Tom Wu 2009/2/4 David Symonds > > On Wed, Feb 4, 2009 at 10:43 PM, adad wrote: > > > > Hi, > > > > Is it possible access to another application resource ? > > Not directly at the present. You could implement a handler in one > application that would return data, and use urlfetch. > > > 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: Cross application resource access
I think that web services is what you need~ On Feb 4, 2009, at 8:13 PM, David Symonds wrote: > > On Wed, Feb 4, 2009 at 10:43 PM, adad wrote: >> >> Hi, >> >> Is it possible access to another application resource ? > > Not directly at the present. You could implement a handler in one > application that would return data, and use urlfetch. > > > 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: Cross application resource access
On Wed, Feb 4, 2009 at 10:43 PM, adad wrote: > > Hi, > > Is it possible access to another application resource ? Not directly at the present. You could implement a handler in one application that would return data, and use urlfetch. 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: pricing / additional app slots
The Google App Engine customer service folks read this group. If you really need more apps or quota, you may ask them directly. I think they generally grant more apps as long as they can see that you're not abusing the service. On Tue, Feb 3, 2009 at 8:48 PM, David Wilson wrote: > > 2009/2/4 Barry Hunter : > > > > 2009/2/4 David Wilson : > >> > >> 2009/2/2 jeremy : > >>> > >>> will additional app slots be part of the pricing model? > >>> > > >>> > >> > >> Why pay for something you can have for free? :-) > >> > >> If you have exhausted the allocation of applications for your account, > >> possibly (like so many, it seems) by creating a bunch of test > >> applications, then you can follow this trick to get rid of them: > >> > >> * Create a new account. > > > > What if you only have one mobile phone number... :( > > > > Hrm. I can say at least that you don't need a new phone number when > inviting a Google Apps account to develop. I have no idea about the > non-apps workflow. > > > David > > >> * Invite the new account to be developer for each application you want > to shed. > >> * Confirm all the invitations for the new account. > >> * Log in as the new account, and remove your 'real' account from the > >> developer list for each application. > >> * Log out, log back using your real account. Observe applications are > >> gone, and you can create more. > >> > >> I think this trick is semi-officially sanctioned, so I doubt you'll > >> get kicked off the service for doing it (at least during the preview > >> period :). > >> > >> > >> David > >> > >> -- > >> It is better to be wrong than to be vague. > >> — Freeman Dyson > >> > >> > > >> > > > > > > > > -- > > Barry > > > > - www.nearby.org.uk - www.geograph.org.uk - > > > > > > > > > > > -- > It is better to be wrong than to be vague. > — Freeman Dyson > > > > -- http://giscoder.blogspot.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] Cross application resource access
Hi, Is it possible access to another application resource ? For example, Since the datastore has the unique key in whole BigTable. My application A like to access my application B datastore or memcache. 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] How to add the directory of Google SDK to our python path
Hi, I used the below line to import sqlite in google app: from sqlite3 import dbapi2 as sqlite Is it correct? When I import sqlite3 in google app i got the following error : __ INFO 2009-02-04 10:42:48,750 appcfg.py] Server: appengine.google.com INFO 2009-02-04 10:42:48,750 appcfg.py] Checking for updates to the SDK. WARNING 2009-02-04 10:42:49,967 dev_appserver.py] Could not initialize images A PI; you are likely missing the Python "PIL" module. ImportError: No module named PIL INFO 2009-02-04 10:42:49,967 dev_appserver_main.py] Running application sqld b on port 8080: http://localhost:8080 ERROR2009-02-04 10:42:53,812 dev_appserver.py] Exception encountered handlin g request Traceback (most recent call last): File "C:\Program Files\Google\google_appengine\google\appengine\tools \dev_apps erver.py", line 2443, in _HandleRequest base_env_dict=env_dict) File "C:\Program Files\Google\google_appengine\google\appengine\tools \dev_apps erver.py", line 353, in Dispatch base_env_dict=base_env_dict) File "C:\Program Files\Google\google_appengine\google\appengine\tools \dev_apps erver.py", line 1869, in Dispatch self._module_dict) File "C:\Program Files\Google\google_appengine\google\appengine\tools \dev_apps erver.py", line 1787, in ExecuteCGI reset_modules = exec_script(handler_path, cgi_path, hook) File "C:\Program Files\Google\google_appengine\google\appengine\tools \dev_apps erver.py", line 1683, in ExecuteOrImportScript exec module_code in script_module.__dict__ File "C:\Program Files\Google\google_appengine\sqldb\unittests.py", line 16, i n import helpers File "C:\Program Files\Google\google_appengine\google\appengine\tools \dev_apps erver.py", line 847, in decorate return func(self, *args, **kwargs) File "C:\Program Files\Google\google_appengine\google\appengine\tools \dev_apps erver.py", line 1443, in load_module return self.FindAndLoadModule(submodule, fullname, search_path) File "C:\Program Files\Google\google_appengine\google\appengine\tools \dev_apps erver.py", line 847, in decorate return func(self, *args, **kwargs) File "C:\Program Files\Google\google_appengine\google\appengine\tools \dev_apps erver.py", line 1351, in FindAndLoadModule description) File "C:\Program Files\Google\google_appengine\google\appengine\tools \dev_apps erver.py", line 847, in decorate return func(self, *args, **kwargs) File "C:\Program Files\Google\google_appengine\google\appengine\tools \dev_apps erver.py", line 1301, in LoadModuleRestricted description) File "C:\Program Files\Google\google_appengine\sqldb\helpers.py", line 18, in from sqlite3 import dbapi2 as sqlite File "C:\Program Files\Google\google_appengine\google\appengine\tools \dev_apps erver.py", line 847, in decorate return func(self, *args, **kwargs) File "C:\Program Files\Google\google_appengine\google\appengine\tools \dev_apps erver.py", line 1443, in load_module return self.FindAndLoadModule(submodule, fullname, search_path) File "C:\Program Files\Google\google_appengine\google\appengine\tools \dev_apps erver.py", line 847, in decorate return func(self, *args, **kwargs) File "C:\Program Files\Google\google_appengine\google\appengine\tools \dev_apps erver.py", line 1351, in FindAndLoadModule description) File "C:\Program Files\Google\google_appengine\google\appengine\tools \dev_apps erver.py", line 847, in decorate return func(self, *args, **kwargs) File "C:\Program Files\Google\google_appengine\google\appengine\tools \dev_apps erver.py", line 1301, in LoadModuleRestricted description) File "C:\Python25\lib\sqlite3\__init__.py", line 24, in from dbapi2 import * File "C:\Program Files\Google\google_appengine\google\appengine\tools \dev_apps erver.py", line 847, in decorate return func(self, *args, **kwargs) File "C:\Program Files\Google\google_appengine\google\appengine\tools \dev_apps erver.py", line 1443, in load_module return self.FindAndLoadModule(submodule, fullname, search_path) File "C:\Program Files\Google\google_appengine\google\appengine\tools \dev_apps erver.py", line 847, in decorate return func(self, *args, **kwargs) File "C:\Program Files\Google\google_appengine\google\appengine\tools \dev_apps erver.py", line 1351, in FindAndLoadModule description) File "C:\Program Files\Google\google_appengine\google\appengine\tools \dev_apps erver.py", line 847, in decorate return func(self, *args, **kwargs) File "C:\Program Files\Google\google_appengine\google\appengine\tools \dev_apps erver.py", line 1301, in LoadModuleRestricted description) File "C:\Python25\lib\sqlite3\dbapi2.py", line 27, in from _sqlite3 import * ImportError: No module named _sqlite3 INFO 2009-02-04 10:42:53,828 dev_appserver.py] "GET / HTTP/1.1" 500 - Exception happened during processing of requ
[google-appengine] Re: date range in query
I have applied the DATETIME method as suggested but unable to use inequality operator for 2 datetime fields. I have tried this too b=db.gqlquery('SELECT * FROM myTable WHERE field1=:val1 and sdate>=DATETIME(2009,11,20,0,0,0)') b=b.filter('where edate<=DATETIME(2009,11,20,0,0,0)') But it does not work. How can I use the comparsion so as to get results based on using the two table fields? 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: SQLite with Google APP Engine
Hi Lan, Thanks for your reply. I have a python file to retrieve data from SQLite and stored as CSV file. This python file is not in local Google SDK. It's seperate file, now i run this file manually. What I required is every one hour automatically the data retrieved from SQLite to CSV, the bulkloader.py push the data to Google App Engine datastore. Is it possible ? Kindly explain me briefly. I am not clear with server side component to bulk uploader. On Feb 4, 12:11 pm, Ian Lewis wrote: > BTW, there is a server side component to the bulk uploader so you will need > to look up how to set that up. > > Ian > > 2009/2/4 Ian Lewis > > > > > > > You will probably need to convert the data for each table into CSV files > > and use the bulkload_client.py script that is present in the root directory > > of the google appengine SDK. You can look up online how to use it or run > > "python bulkload_client.py" to see the options. > > > Ian > > > 2009/2/4 S.I > > >> Hi, > > >> We have the application configured in our local server and store the > >> application data in SQLite database . I want to push the data from our > >> local SQLite database to Google App Engine datastore. I don't know how > >> to upload the SQLite data to Google App Engine datastore. > >> Kindly help me. > > > -- > > === > > 株式会社ビープラウド イアン・ルイス > > 〒150-0012 > > 東京都渋谷区広尾1-11-2アイオス広尾ビル604 > > email: ianmle...@beproud.jp > > TEL:03-5795-2707 > > FAX:03-5795-2708 > >http://www.beproud.jp/ > > === > > -- > === > 株式会社ビープラウド イアン・ルイス > 〒150-0012 > 東京都渋谷区広尾1-11-2アイオス広尾ビル604 > email: ianmle...@beproud.jp > TEL:03-5795-2707 > FAX:03-5795-2708http://www.beproud.jp/ > ===- 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 -~--~~~~--~~--~--~---