[google-appengine] Re: Prerelease SDK 1.3.8 is out!
> I guess one solution would be to make downloading optional. A setting > to disable source downloading in app.yaml would be safe, because > uploading a new version would destroy the existing code. +1, please make this optional! -g. -- 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-appeng...@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: Better support for linux
If education, isn't changing other project more pedagocical than starting a empty project? I think we learn the most from changing code. Then every developer want most convenient development environment plus maybe personal setting like round windows or what like. Using BSD and a versioning system is needed. Don't you need that? Typically what I do is adding and changing functions deployed projects have. So connecting deployment directly to a versioning system would bypass local development and admit the case programming your app directly in the versioning system or even a WebGUI operating system independent. Why not? Regards Nick Rosencrantz -- 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-appeng...@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: a query log?
Hi I do not think there is a query log, but you can use the fact that the datastore only every queries an index to simulate one... http://code.google.com/appengine/docs/python/datastore/queriesandindexes.html There is an implicit index on all (actually most) properties on any entity and those indexes are used when you query a single property on an entity e.g. [FROM person WHERE age = 18] To do a more complex query e.g. [FROM person WHERE country_code = 'ZA' AND age > 18] you need an explicit index for that query. These explicit indexes are automatically generated when you make a request on the local dev server... http://code.google.com/appengine/docs/python/config/indexconfig.html#Automatic_and_Manual_Indexes (python) http://code.google.com/appengine/docs/java/config/indexconfig.html#Using_Automatic_Index_Configuration (java) If you clear out your indexes file on a dev machine and then hit the URL you are interested in it will automatically generate any indexes required for that request. The contents of the index file would then act as a rudimentary query log especially when taken next to your Appstats from your production instance. Grant On Oct 7, 12:22 am, Tim Jones wrote: > I'm somewhat new to App Engine, and attempting to streamline my app's > datastore load. > > With a LAMP app, I'm usually able to access or generate a database query log > to assist in this process -- a list of all queries run on the database for a > given http request, along with how long each took and other helpful metadata. > > Is there a good way to access or create something similar for App Engine > queries? The closest I've found is Appstats -- but while Appstats will > provide information sorted by http-request, I haven't found a way to make it > display a database query log. > > Any help would be appreciated. Thanks, > > =Tim= -- 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-appeng...@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: Prerelease SDK 1.3.8 is out!
On Oct 7, 8:19 am, Geoffrey Spear wrote: > If you have unscrupulous competitors with your Google Account > password, I'd think the fact that they might download your source is > the least of your problems. They could just deploy malicious code to > your site instead. True, we still need to practise good password habits, so news of two- factor authentication for Google Apps is welcome. But it would be trivial to fix your site if someone defaced it; and impossible to put the genie back in the bottle if your source code was stolen. -- 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-appeng...@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: Could I recover the application that all associated developers account has deleted ?
How about disable deleting user if its developer account has enabled applications ? This could prevent same situation like me but may be a little bit complicated for non-technical administrator. Another way is to send alerts to Google Apps domain administrator like "Your Google App Engine will be closed in a month". In this case, an administrator could know the deletion of the app in advance. But this still needs the way to associate the developer account if an administrator wants to reenable the application. On 10月5日, 午前4:05, "Ikai Lan (Google)" wrote: > My earlier email was incorrect - if all developers are removed, the > application will serve for one month before it is permanently deleted, since > this is the recovery period. > > I've reenabled the application. This application has not gone through the > irreversible stage yet, so it's a good thing we recovered it now. I can > readd you as a developer, but can you verify that you own the account? Email > me the auth domain you are using (it's a very strange looking one) and I'll > add this Gmail address you're using back to the list of developers. > > When you delete user accounts, there should be a warning in the domain > dashboard about data/apps being deleted. How can we better warn developers > of this behavior? We can't email the developers, since their accounts were > deleted, and if you delete a developer account, you can't log into the admin > console. > > -- > Ikai Lan > Developer Programs Engineer, Google App Engine > Blogger:http://googleappengine.blogspot.com > Reddit:http://www.reddit.com/r/appengine > Twitter:http://twitter.com/app_engine > > On Fri, Oct 1, 2010 at 12:03 PM, Ikai Lan (Google) > > > > > > wrote: > > What's the application ID? I'll look into this for you to see if it's > > recoverable. > > > Is the application deleted, or are just the developers deleted? > > > More likely than not we garbage collect apps, so that might explain the > > delay. As far as I know, this shouldn't have been the case. > > > -- > > Ikai Lan > > Developer Programs Engineer, Google App Engine > > Blogger:http://googleappengine.blogspot.com > > Reddit:http://www.reddit.com/r/appengine > > Twitter:http://twitter.com/app_engine > > > On Thu, Sep 30, 2010 at 9:57 PM, Masatoshi Iwasaki > > wrote: > > >> Hi, > > >> Recently I became an administrator for Google Apps for our domain. > >> Yesterday an application hosted on GAE for Google Apps of our domain > >> suddenly got 404 error. I asked former administarator to tell me > >> developer's account for the application, but he had already deleted > >> developers' accounts from our domain about a month ago because of > >> developers had left from the orgnization. > > >> My questions are: > > >> i) Could I recover our application? When I access the url, It shows > >> only 404 error. I have tried to recreate an developer's account with > >> the same name of the deleted developer's account, but I couldn't get > >> access to app engine admin console. > > >> ii) If this is caused by deleting accounts, why did it take more than > >> one month to stop the application? If it immediately stops the > >> application, we would have noticed this problem earlier. > > >> Any suggestions are welcome. > > >> Regards, > >> Masatoshi > > >> -- > >> 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-appeng...@googlegroups.com. > >> To unsubscribe from this group, send email to > >> google-appengine+unsubscr...@googlegroups.com >> e...@googlegroups.com> > >> . > >> For more options, visit this group at > >>http://groups.google.com/group/google-appengine?hl=en. -- 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-appeng...@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: Prerelease SDK 1.3.8 is out!
Hi Geoff Just confirmed with Wesley on IRC that the literal interpretation of the release notes on downloads is correct. That only the developer who uploaded can download that release. Rgds Tim On Oct 7, 3:19 am, Geoffrey Spear wrote: > On Oct 6, 5:48 am, Greg wrote: > > > I'm not at all happy about this. I know how frequent plaintive "I lost > > my code how can I get it back?" messages are in this group, but the > > write-only nature of appengine gave me a lot of confidence that our > > source code is safe. Now a single password is all that stands between > > our competitors and our IP. > > If you have unscrupulous competitors with your Google Account > password, I'd think the fact that they might download your source is > the least of your problems. They could just deploy malicious code to > your site instead. -- 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-appeng...@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.
Re: [google-appengine] Re: Prerelease SDK 1.3.8 is out!
According to the release notes mail: - The developer who uploaded an app version can download that version's code using the appcfg.py download_app command. You can use this to download both Python and Java application code. I agree with Geoffrey, the balance is right if you have to have this feature. But, personally I would just prefer either not having this option OR just make it something that must be enabled. For me this feature creates questions that do not exist now. And, yes I know that if Appstats enabled you can sit there and browse through the code. Not being able to _easily_ download the code is like a door-lock, it keeps the honest people honest. Robert On Wed, Oct 6, 2010 at 22:59, Tim Hoffman wrote: > Geoffry > > Are you certain it's limited to the developer who uploaded or all > developers ? > > Rgds > > T > > On Oct 7, 10:37 am, Geoffrey Spear wrote: >> On Oct 6, 6:27 pm, andy stevko wrote: >> >> > One issue with the download code option is how it works in the context of >> > an >> > app store. >> > If I license an application thru a store, can I then download the code, >> > modify it, and redeploy? >> > Also - if I have sensitive information (like Authorize.net keys) coded into >> > my application, the information was basically inaccessible prior to this >> > feature. >> >> The item in the release notes says that it would be downloadable by >> the developer who uploaded the version. If you are that developer, >> you already have (or had) the source code. If you're not, you >> wouldn't be able to get it, even if you're an administrator of the >> app. To me it looks like the App Engine team got the balance right, >> and I'm wondering if all of the "+1" people piling on really get >> what's being described. > > -- > 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-appeng...@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. > > -- 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-appeng...@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: Better support for linux
Hello Robert, You are right, that's the main reason why I started the post, to ask for equality and support for the Linux community. Google can do it and has benefited for some years now from the open source community, I believe that most of their servers run on Linux. And I do know that their developers and the company in general support Linux with passion too. Yet, I often see more support for windows and mac as in this case. As Tim said, it is completely necessary to use the terminal for most features, I am just saying that at least Windows and Mac users have the option to chose. A couple of students had appengine up and running in Ubuntu, we looked at how to run the commands and I spent some time after class helping them out to familiarize with the environment and still they opted to move to windows. It is true that we only have 6 classes of appengine and all they care about is doing their project as fast as they can. Before, they had 6 classes of Amazon Web Services and after appengine, 4 classes of Heroku. I am new in the field of teaching, but I can see things from the other side and realize a little bit more about how important it is to give some extra support to the open source community. Thank you both of you for your comments, 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-appeng...@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: Prerelease SDK 1.3.8 is out!
Geoffry Are you certain it's limited to the developer who uploaded or all developers ? Rgds T On Oct 7, 10:37 am, Geoffrey Spear wrote: > On Oct 6, 6:27 pm, andy stevko wrote: > > > One issue with the download code option is how it works in the context of an > > app store. > > If I license an application thru a store, can I then download the code, > > modify it, and redeploy? > > Also - if I have sensitive information (like Authorize.net keys) coded into > > my application, the information was basically inaccessible prior to this > > feature. > > The item in the release notes says that it would be downloadable by > the developer who uploaded the version. If you are that developer, > you already have (or had) the source code. If you're not, you > wouldn't be able to get it, even if you're an administrator of the > app. To me it looks like the App Engine team got the balance right, > and I'm wondering if all of the "+1" people piling on really get > what's being described. -- 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-appeng...@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: Prerelease SDK 1.3.8 is out!
On Oct 6, 6:27 pm, andy stevko wrote: > One issue with the download code option is how it works in the context of an > app store. > If I license an application thru a store, can I then download the code, > modify it, and redeploy? > Also - if I have sensitive information (like Authorize.net keys) coded into > my application, the information was basically inaccessible prior to this > feature. The item in the release notes says that it would be downloadable by the developer who uploaded the version. If you are that developer, you already have (or had) the source code. If you're not, you wouldn't be able to get it, even if you're an administrator of the app. To me it looks like the App Engine team got the balance right, and I'm wondering if all of the "+1" people piling on really get what's being described. -- 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-appeng...@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: Better support for linux
Yep couldn't agree more with that sentiment T On Oct 7, 10:15 am, Robert Kluin wrote: > Just one other small (off-topic) note, I am glad to see someone > teaching course who is so passionate about supporting "Linux > Equality." It is also cool that you are teaching App Engine courses. > > Robert > > > > > > > > On Wed, Oct 6, 2010 at 21:42, RSan wrote: > > Except being sure that python2.5 is installed. > > 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-appeng...@googlegroups.com. > > To unsubscribe from this group, send email to > > google-appengine+unsubscr...@googlegroups.com. > > For more options, visit this group > > athttp://groups.google.com/group/google-appengine?hl=en. -- 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-appeng...@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.
Re: [google-appengine] Re: Better support for linux
Just one other small (off-topic) note, I am glad to see someone teaching course who is so passionate about supporting "Linux Equality." It is also cool that you are teaching App Engine courses. Robert On Wed, Oct 6, 2010 at 21:42, RSan wrote: > Except being sure that python2.5 is installed. > 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-appeng...@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. > > -- 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-appeng...@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 download_data [INFO] Authentication Failed
Romage, It's not straightforward but if you create a config file using Automatic Configuration you'll be able to specify a format for the downloaded data: http://code.google.com/appengine/docs/python/tools/uploadingdata.html#Configuring_the_Bulk_Loader On Oct 6, 11:26 pm, romage wrote: > I am able to get a sqllite dump from the database, using either > appcfg.py or bulkloader.py, but I haven't yet been able to download in > the format that I would like which is annoying and frustrating. > > A > -- 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-appeng...@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.
Re: [google-appengine] Re: Better support for linux
Submitting an issue is a good start. In the mean time, you could always do as Tim suggested and either have a 15 minute "setup up your development environment" session for the would-be Linux users _or_ just make a "binary" for them for now. http://wiki.wxpython.org/CreatingStandaloneExecutables This is a mildly interesting discussion though. On my Mac I do use the launcher, but usually in conjunction with a screen session in Terminal. I have actually never used the Linux GUI; in fact I do not think I ever thought about using the launcher GUI on Linux. Of course most of your Linux would-be users probably aren't using Slackware either. Robert On Wed, Oct 6, 2010 at 21:42, RSan wrote: > Except being sure that python2.5 is installed. > 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-appeng...@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. > > -- 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-appeng...@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.
Re: [google-appengine] Re: Exceeded soft memory limit
The message just means your app has used "too much" memory. I just re-read your first email, you indicate that you need about 500MB of memory... so I guess you are aware of what you are doing that uses the memory. You probably have three choices: 1) Try submitting a production issue request to Google. 2) Change your design so that it requires less memory. 3) Just ignore the "error." Robert On Wed, Oct 6, 2010 at 08:02, sahid wrote: > just an extract of my log http://goo.gl/226V > > On Oct 6, 10:48 am, sahid wrote: >> No, i dont use global variables or just variables with a constants >> values >> >> You know why exactely signifie this message? >> >> On Oct 5, 8:47 pm, Robert Kluin wrote: >> >> >> >> >> >> >> >> > Are you using global variables to cache stuff at the module level or >> > something similar? >> >> > Robert >> >> > On Tue, Oct 5, 2010 at 13:25, sahid wrote: >> > > up >> >> > > On Oct 3, 10:06 pm, sahid wrote: >> > >> Hello, >> >> > >> I have a little problem with my application, >> > >> i have a lot of "Exceeded soft memory limit" exception. >> >> > >> But i know why. >> > >> My application is a daiting website. All users has a possibility to >> > >> make a search with many criteria >> > >> So i have a model with a lot of criteria, i use the filter system of >> > >> the datastore to get a part of the result (like gender, and >> > >> has_picture, country) >> > >> but with the result (limited has 200 and ordered by last_presence) i >> > >> use python to filter it. >> >> > >> I have many exceptions, but i dont know how i can do better... >> > >> Already, the result is limited to 200 and it's really small, i need >> > >> about 500. >> >> > >> Exceeded soft memory limit with 299.676 MB after servicing 8724 >> > >> requests total >> > >> Exceeded soft memory limit with 299.145 MB after servicing 1182 >> > >> requests total >> > >> Exceeded soft memory limit with 206.145 MB after servicing 636 >> > >> requests total >> > >> Exceeded soft memory limit with 299.145 MB after servicing 371 >> > >> requests total >> > >> Exceeded soft memory limit with 287.895 MB after servicing 2843 >> > >> requests total >> > >> Exceeded soft memory limit with 299.594 MB after servicing 7138 >> > >> requests total >> >> > >> APPID: devel-inchallah >> >> > >> Cordialy, >> > >> Sahid >> >> > > -- >> > > 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-appeng...@googlegroups.com. >> > > To unsubscribe from this group, send email to >> > > google-appengine+unsubscr...@googlegroups.com. >> > > For more options, visit this group >> > > athttp://groups.google.com/group/google-appengine?hl=en. > > -- > 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-appeng...@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. > > -- 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-appeng...@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: Better support for linux
Except being sure that python2.5 is installed. 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-appeng...@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: Better support for linux
Still, for Mac users it is direct. Not workarounds needed. For Windows users it is the same. 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-appeng...@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: Better support for linux
Hi I use unbuntu, and all I had to do to run it up is install wx2.8 and wxversion. With a tiny bit of packaging you could easily use the launcher in linux. T On Oct 7, 9:06 am, RSan wrote: > Thank you Tim, > Yes, I agree with you in that sense. You completely need to use the > command line if you want to be serious and create a big app. > I think that Google engineers know that and facilitated only the most > basic commands in the launcher. And I don't expect to have a button to > be able to do a rollback. If all the possible options for > dev_appserver.py and appcfg.py where supported on the launcher, it > will probably cost me more to figure out where are situated all the > commands in the launcher, than to go to the documentation and look for > them and type them on my terminal. > On the other side, I am sure that most of the web developers want to > start their project easily, just press one button and start codding > their apps with their favorite text editor that is all they care > about. > Also, you said that you had to do some setup. I know that there are > many kind of Linux users. Some like it because they don't care about > buttons as you said, but I am seeing that it is growing the number of > users that like Linux (and are using mostly Ubuntu) because of the > philosophy behind open OSes, but they still like buttons. > So I keep thinking that is a good idea to support at least Ubuntu in > the same way than Mac is supported. An app-get install appengine would > help to attract some developers. > In any case, I appreciate you comments and agree with you in many > aspects Tim. > 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-appeng...@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: Better support for linux
If someone else supports this idea just go to: http://code.google.com/p/googleappengine/issues/detail?id=3830 -- 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-appeng...@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: Better support for linux
Thank you Tim, Yes, I agree with you in that sense. You completely need to use the command line if you want to be serious and create a big app. I think that Google engineers know that and facilitated only the most basic commands in the launcher. And I don't expect to have a button to be able to do a rollback. If all the possible options for dev_appserver.py and appcfg.py where supported on the launcher, it will probably cost me more to figure out where are situated all the commands in the launcher, than to go to the documentation and look for them and type them on my terminal. On the other side, I am sure that most of the web developers want to start their project easily, just press one button and start codding their apps with their favorite text editor that is all they care about. Also, you said that you had to do some setup. I know that there are many kind of Linux users. Some like it because they don't care about buttons as you said, but I am seeing that it is growing the number of users that like Linux (and are using mostly Ubuntu) because of the philosophy behind open OSes, but they still like buttons. So I keep thinking that is a good idea to support at least Ubuntu in the same way than Mac is supported. An app-get install appengine would help to attract some developers. In any case, I appreciate you comments and agree with you in many aspects Tim. 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-appeng...@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: Better support for linux
Hi Just run it up under linux, need to do a tiny bit of setup, need wxPython 2.8 installed. To be honest in my opinion the the launcher is pretty useless. It just sets up a template app, and runs it. allows you to look at the log and do a basic deploy. and thats about it. If you need to use the debugger you have to use the command line. If you need to use any of the features of appcfg, (just updating indexes, vacumm indexes, change versions update cron, backup/restore) you have to use the command line. This is the same for windows, mac or linux. Launcher is really only for complete newbies just to get started, beyond that they will have to get used to the command line if they are at all interested in building a serious application. Regards Tim On Oct 7, 8:10 am, RSan wrote: > Thank you Tim, > I understand what you are saying, on the other hand, if the launcher > is so useless why is there a launcher for Mac? > 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-appeng...@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: Better support for linux
Because people on macs and windows like to click buttons ;-) Seriously the same applies.. you don't have direct console access and so even on mac you need to use the command line if you want to use pdb. I am just running up the launcher on Linux to see how it looks. It is just wx based. Rgds T On Oct 7, 8:10 am, RSan wrote: > Thank you Tim, > I understand what you are saying, on the other hand, if the launcher > is so useless why is there a launcher for Mac? > 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-appeng...@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: Better support for linux
Thank you Tim, I understand what you are saying, on the other hand, if the launcher is so useless why is there a launcher for Mac? 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-appeng...@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.
Re: [google-appengine] Re: Prerelease SDK 1.3.8 is out!
This is Python only. If you download a Java app you will download the JAR files. -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter: http://twitter.com/app_engine On Wed, Oct 6, 2010 at 12:28 PM, Remigius wrote: > what Robert Kluin said. > > version control is a must. sources shouldn't even have to be uploaded > in the first place (or is this py only?). > > On 6 Okt., 19:28, Robert Kluin wrote: > > +1 > > > > No download was a feature. AND it helped people with poor practices > > learn the value of version control. :) > > > > > > > > On Wed, Oct 6, 2010 at 08:04, tcg wrote: > > > +1 > > > > > On Oct 6, 5:48 am, Greg wrote: > > >> On Oct 6, 1:28 pm, "Ikai Lan (Google)" > > >> > > > > >> wrote: > > > > >> > - The developer who uploaded an app version can download that > version's code > > >> > using the appcfg.py download_app command. > > > > >> I'm not at all happy about this. I know how frequent plaintive "I lost > > >> my code how can I get it back?" messages are in this group, but the > > >> write-only nature of appengine gave me a lot of confidence that our > > >> source code is safe. Now a single password is all that stands between > > >> our competitors and our IP. > > > > >> Why expose ALL users to risk (and open Google to lawsuits) for the > > >> sake of a few inexperienced developers? Star this post if you agree. > > > > >> I guess one solution would be to make downloading optional. A setting > > >> to disable source downloading in app.yaml would be safe, because > > >> uploading a new version would destroy the existing code. > > > > >> Greg. > > > > > -- > > > 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 athttp:// > groups.google.com/group/google-appengine?hl=en. > > -- > 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-appeng...@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. > > -- 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-appeng...@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: Prerelease SDK 1.3.8 is out!
what Robert Kluin said. version control is a must. sources shouldn't even have to be uploaded in the first place (or is this py only?). On 6 Okt., 19:28, Robert Kluin wrote: > +1 > > No download was a feature. AND it helped people with poor practices > learn the value of version control. :) > > > > On Wed, Oct 6, 2010 at 08:04, tcg wrote: > > +1 > > > On Oct 6, 5:48 am, Greg wrote: > >> On Oct 6, 1:28 pm, "Ikai Lan (Google)" > >> wrote: > > >> > - The developer who uploaded an app version can download that version's > >> > code > >> > using the appcfg.py download_app command. > > >> I'm not at all happy about this. I know how frequent plaintive "I lost > >> my code how can I get it back?" messages are in this group, but the > >> write-only nature of appengine gave me a lot of confidence that our > >> source code is safe. Now a single password is all that stands between > >> our competitors and our IP. > > >> Why expose ALL users to risk (and open Google to lawsuits) for the > >> sake of a few inexperienced developers? Star this post if you agree. > > >> I guess one solution would be to make downloading optional. A setting > >> to disable source downloading in app.yaml would be safe, because > >> uploading a new version would destroy the existing code. > > >> Greg. > > > -- > > 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-appeng...@googlegroups.com. > > To unsubscribe from this group, send email to > > google-appengine+unsubscr...@googlegroups.com. > > For more options, visit this group > > athttp://groups.google.com/group/google-appengine?hl=en. -- 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-appeng...@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] Eclipse IDE showing JDK configuration Error
I created a New Wep Application Project using Eclipse IDE. My IDE is already setup to run GAE Development Mode. But when I started creating index.jsp file on may war folder. It displays "Your project must be configured to use a JDK in order to use JSPs" My Library includes - App Engine SDK [App Engine - 1.3.7] - GWT SDK [GWT - 2.0.4] - JRE System Library [jre6] I think I already made the right configuration. Because when I Run the Web App it works fine. But the Red thing is annoying. -- 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-appeng...@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] a query log?
I'm somewhat new to App Engine, and attempting to streamline my app's datastore load. With a LAMP app, I'm usually able to access or generate a database query log to assist in this process -- a list of all queries run on the database for a given http request, along with how long each took and other helpful metadata. Is there a good way to access or create something similar for App Engine queries? The closest I've found is Appstats -- but while Appstats will provide information sorted by http-request, I haven't found a way to make it display a database query log. Any help would be appreciated. Thanks, =Tim= -- 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-appeng...@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: Better support for linux
Hi What value do you see in the launcher other than starting the SDK ? Its harder to invoke the debugger inside the launcher, and in fact you need to use the debugger then you have to run from the command line... Its harder to watch the logs If your students are serious about development isn't teaching them to use the debugger and important part of the development process? Rgds Tim On Oct 7, 2:35 am, RSan wrote: > Hello, > Currently I am giving classes of Google App Engine and I am clearly > seeing how linux students are moving to windows. The reason is simply > that it is more time consuming for them to start new projects, given > the fact that they don't have an App Engine Launcher. > I would love to see GAE giving a better support for some linux > platforms. At least for Ubuntu. > Thank you, and apart from that, good job with all the new features. -- 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-appeng...@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.
Re: [google-appengine] Re: Prerelease SDK 1.3.8 is out!
Thank you, Ikai. On Wed, Oct 6, 2010 at 7:04 PM, Ikai Lan (Google) > wrote: > Well, there were always workarounds to download the code. > > That being said, I'm glad we discussed this during the prerelease SDK > stage, especially since many of the voices in this thread are the most > active and knowledgeable members of the community speaking up. We're looking > at alternatives, but what will likely happen is that we will delay this > feature for an upcoming release when we've implemented something that takes > everyone's feedback into account. > > Stay tuned - I'll update this thread with more details. > > > -- > Ikai Lan > Developer Programs Engineer, Google App Engine > Blogger: http://googleappengine.blogspot.com > Reddit: http://www.reddit.com/r/appengine > Twitter: http://twitter.com/app_engine > > > > On Wed, Oct 6, 2010 at 3:27 PM, andy stevko wrote: > >> One issue with the download code option is how it works in the context of >> an app store. >> If I license an application thru a store, can I then download the code, >> modify it, and redeploy? >> Also - if I have sensitive information (like Authorize.net keys) coded >> into my application, the information was basically inaccessible prior to >> this feature. >> >> >> >> On Wed, Oct 6, 2010 at 2:48 PM, djidjadji wrote: >> >>> Not a good choice because the one that pays the bill is not the one >>> that writes the source code. >>> I'm not paying for the storage requirement and bandwidth of my client >>> who has bought a use right of my software. >>> >>> I'm an advocate of "NO Download allowed". >>> >>> But in case it will be allowed make it OFF by default. You MUST turn >>> it ON in your app.yaml. This way the behavior is compatible with >>> previous versions. And there is no action needed by the people who >>> don't want it. There is always a gap between the time you roll it out >>> and you announce the availability of a new release on the production >>> servers. During this time it would be possible to download the source >>> code if you tried regularly. >>> And I could be away at the moment of the announcement and leave a door >>> wide open for quite some time. >>> >>> 2010/10/6 alf : >>> > +1 only can download code administrator who pay bill >>> >>> -- >>> 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-appeng...@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. >>> >>> >> -- >> 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-appeng...@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. >> > > -- > 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-appeng...@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. > -- Jeff -- 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-appeng...@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.
Re: [google-appengine] Re: Prerelease SDK 1.3.8 is out!
Well, there were always workarounds to download the code. That being said, I'm glad we discussed this during the prerelease SDK stage, especially since many of the voices in this thread are the most active and knowledgeable members of the community speaking up. We're looking at alternatives, but what will likely happen is that we will delay this feature for an upcoming release when we've implemented something that takes everyone's feedback into account. Stay tuned - I'll update this thread with more details. -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter: http://twitter.com/app_engine On Wed, Oct 6, 2010 at 3:27 PM, andy stevko wrote: > One issue with the download code option is how it works in the context of > an app store. > If I license an application thru a store, can I then download the code, > modify it, and redeploy? > Also - if I have sensitive information (like Authorize.net keys) coded into > my application, the information was basically inaccessible prior to this > feature. > > > > On Wed, Oct 6, 2010 at 2:48 PM, djidjadji wrote: > >> Not a good choice because the one that pays the bill is not the one >> that writes the source code. >> I'm not paying for the storage requirement and bandwidth of my client >> who has bought a use right of my software. >> >> I'm an advocate of "NO Download allowed". >> >> But in case it will be allowed make it OFF by default. You MUST turn >> it ON in your app.yaml. This way the behavior is compatible with >> previous versions. And there is no action needed by the people who >> don't want it. There is always a gap between the time you roll it out >> and you announce the availability of a new release on the production >> servers. During this time it would be possible to download the source >> code if you tried regularly. >> And I could be away at the moment of the announcement and leave a door >> wide open for quite some time. >> >> 2010/10/6 alf : >> > +1 only can download code administrator who pay bill >> >> -- >> 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-appeng...@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. >> >> > -- > 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-appeng...@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. > -- 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-appeng...@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: Still getting errors sending mail
Thanks for the reply! Glad to hear the team is on it. If it helps at all it appears I only get it when doing alot of mail.send()'s at a time... my task is firing them off at 5/sec ... when doing one at a times I don't see it happening. On Oct 6, 2:00 pm, "Ikai Lan (Google)" wrote: > We're testing a fix, but it's not ready yet. > > -- > Ikai Lan > Developer Programs Engineer, Google App Engine > Blogger:http://googleappengine.blogspot.com > Reddit:http://www.reddit.com/r/appengine > Twitter:http://twitter.com/app_engine > > On Wed, Oct 6, 2010 at 11:45 AM, Jamie H wrote: > > As another follow up, I just sent out ~700 emails and received this > > error 29 times. The interesting part is that it appears even when > > this exception is raised, the email can still be sent. Thus 29 of my > > emails were sent twice. Anybody have any information on this > > situation ? > > > On Oct 5, 5:04 pm, Jamie H wrote: > > > Sorry to reply to my own message, but I wanted to add that I am about > > > to start an email campaign for a client, so it is very important that > > > my emails are successfully sent... if not, and invitations are not > > > delivered, nobody will show up for several events around the country, > > > and alot of people will be very upset and embarassed to say the > > > least... I have seen another poster on the group mention that recently > > > his emails were not delivered, with no exceptions thrown... I was > > > really hoping to get some response, say.. yes there is an issue, you > > > can do x y and z to avoid it, or, yes the mail api should be > > > functioning properly > > > > On Oct 5, 4:55 pm, Jamie H wrote: > > > > > Just moments ago I sent 21 emails, and received 4 of the following > > > > error: > > > > > 10-05 02:32PM 26.045 > > > > > The API call mail.Send() took too long to respond and was cancelled. > > > > ... > > > > DeadlineExceededError: The API call mail.Send() took too long to > > > > respond and was cancelled. > > > > > Now, I have learned over time so I send all emails via a task, so, > > > > eventually all emails were sent, but can somebody from Google comment > > > > on this error? I have seen some discussion in the group about it but > > > > never seen any resolution. It seems like I didn't get it very often, > > > > say, a month ago > > > > > app-id: moto-tmobile > > > -- > > 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-appeng...@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. > > -- 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-appeng...@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.
Re: [google-appengine] Re: Prerelease SDK 1.3.8 is out!
One issue with the download code option is how it works in the context of an app store. If I license an application thru a store, can I then download the code, modify it, and redeploy? Also - if I have sensitive information (like Authorize.net keys) coded into my application, the information was basically inaccessible prior to this feature. On Wed, Oct 6, 2010 at 2:48 PM, djidjadji wrote: > Not a good choice because the one that pays the bill is not the one > that writes the source code. > I'm not paying for the storage requirement and bandwidth of my client > who has bought a use right of my software. > > I'm an advocate of "NO Download allowed". > > But in case it will be allowed make it OFF by default. You MUST turn > it ON in your app.yaml. This way the behavior is compatible with > previous versions. And there is no action needed by the people who > don't want it. There is always a gap between the time you roll it out > and you announce the availability of a new release on the production > servers. During this time it would be possible to download the source > code if you tried regularly. > And I could be away at the moment of the announcement and leave a door > wide open for quite some time. > > 2010/10/6 alf : > > +1 only can download code administrator who pay bill > > -- > 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-appeng...@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. > > -- 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-appeng...@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.
Re: [google-appengine] Re: Prerelease SDK 1.3.8 is out!
Not a good choice because the one that pays the bill is not the one that writes the source code. I'm not paying for the storage requirement and bandwidth of my client who has bought a use right of my software. I'm an advocate of "NO Download allowed". But in case it will be allowed make it OFF by default. You MUST turn it ON in your app.yaml. This way the behavior is compatible with previous versions. And there is no action needed by the people who don't want it. There is always a gap between the time you roll it out and you announce the availability of a new release on the production servers. During this time it would be possible to download the source code if you tried regularly. And I could be away at the moment of the announcement and leave a door wide open for quite some time. 2010/10/6 alf : > +1 only can download code administrator who pay bill -- 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-appeng...@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.
Re: [google-appengine] Easy way to delete unowned (child) entities in same entity group ?
http://code.google.com/appengine/docs/python/datastore/queriesandindexes.html#Kindless_Ancestor_Queries a normal ancestor query uses an ancestor() "filter" for GQL have a look at its manual page 2010/10/6 Prashant : > Hi djidjadji, > can you tell me, with an example, how to write a kind-less/normal ancestor > query? > thanks in advance :) > > On 6 October 2010 16:02, djidjadji wrote: >> >> No. >> >> You need to do a (kindless) ancestor query and delete all entities >> found before you delete the parent "Test". >> If you know the child is only of one type you can do a normal ancestor >> query. >> >> You could subclass the delete() method of the "Test" class to do this, >> but I don't know if it will work if you use >> >> db.delete( ) >> >> 2010/10/6 Prashant : >> > Hi, >> > Suppose, I have two types of Entities "Test" and "TestChild". For all >> > TestChild entities i have set key as child of some Test entity (because >> > i >> > want both entities in same entity group to support transaction) but i >> > haven't mapped TestChild entity to any variable in Test entity. >> > Now, i am wondering if there is any way, such that, if i delete Test >> > entity >> > then all corresponding child TestChild entitie(s) should also get >> > deleted ? >> > -- >> > Prashant >> > www.claymus.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-appeng...@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. >> > >> >> -- >> 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-appeng...@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. >> > > > > -- > Prashant > www.claymus.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-appeng...@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. > -- 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-appeng...@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 image from a Blob
Dear Both, Thanks a lot for your time. I have been away for a couple of weeks and did not have the time to follow up until today. I'll have a serious look at your info and will let you know if I manage to crack this nut. Thanks again -R On Sep 15, 2:29 am, John McLaughlin wrote: > @Robert. Right you are. I checked the docs and db.get is a magic get > anything function. Sorry for the noise. > > So I'm going for door #2 now. In ServePhoto "photo" must be the > correctly returned key. Otherwise accessing "photo.photo" would give > an error. So photo.photo must truly be a false value. This means to > me that although "photo" is a valid object, the photo.photo property > never got set properly. This takes us back to "UploadPhoto". It's > unlikely that photo.put() failed. And it's likely that "db.Blob" > created a valid db.Blob object. However accessing "photo.photo" > doesn't return the db.Blob object, but rather the underlying data that > came into it. Therefore I think your original hunch that the incoming > data for db.Blob is an empty string is correct. I've struggled with > multi-part posts so I'm not 100% sure about the html. One thing that > looks suspicious is the hard coding of the hostname:port in the post > action. Are you sure you don't want simply "/uploadphoto"? That > could send the uploads to the wrong place, for example different ports > use different datastores on the Dev Server. > > On Sep 14, 9:17 am, Robert Kluin wrote: > > > > > db.get() will grab an entity of _any_ kind. Model.get checks that the > > key is for the correct kind of entity before fetching it. Either will > > work. When I use db.get I usually include a check to make sure the > > keys are the correct kind. > > > The key he posted in his initial thread is a Photo. > > > Robert > > > On Tue, Sep 14, 2010 at 11:34, John McLaughlin > > > wrote: > > > The one thing that looked off to me is that the line in ServePhoto > > > > photo = db.get(self.request.get("photo_id")) > > > > might want to be > > > > photo = Photo.get(self.request.get("photo_id")) > > > > I think db.get is a datastore method, not an inherited method from > > > db.Model > > > > On Sep 13, 8:09 pm, Robert Kluin wrote: > > >> I glanced over your code, nothing really major jumped out at me. If > > >> you are not getting an exception in ServePhoto then the model is > > >> clearly getting created and successfully fetched. > > > >> So, here are my first thoughts: > > >> Have you tried logging some debug info in the UploadPhoto and > > >> ServePhoto handlers? Specifically are you sure data is actually in > > >> the photo property and it is not just an empty string or something? > > >> Maybe you could try logging len(photo.photo) right before saving it, > > >> then again right after fetching it. > > > >> What happens when you remove the if and simply return photo.photo? > > > >> Robert > > > >> class ServePhoto (webapp.RequestHandler): > > >> def get(self): > > >> photo = db.get(self.request.get("photo_id")) > > >> if photo.photo: > > >> self.response.headers['Content-Type'] = "image/jpg" > > >> self.response.out.write(photo.photo) > > >> else: > > >> self.error(404) > > > >> -- > > >> Robert Kluin > > >> Ezox Systems, LLC > > > >> On Sun, Sep 12, 2010 at 22:03, Raymond > > > >> wrote: > > >> > Hi All, > > > >> > I have been trying to understand how to upload and download images > > >> > from to a Blobstore and have hit a wall. > > >> > I have essentially made a modified version of the Guestbook example > > >> > provided by google and modified it to suit my needs, I have tested the > > >> > guestbook app as is and got it working, somehow somewhere I am making > > >> > a simple mistake that frustrate every attempt at getting it working in > > >> > my own code. > > >> > I have stripped down my code to the essential in the hope of > > >> > understanding what is wrong, but I am still stuck. > > > >> > What am I attempting to do ? > > >> > Upload in a blobstore an image and display it in a web page. > > > >> > What is my code ? > > > >> > 1) My upload form served from a static page > > > >> > ... > > >> > http://192.168.0.196:8083/uploadphoto"; > > >> > enctype="multipart/form-data" method="post"> > > >> > Attempt at uploading a picture using a > > >> > form > >> > deiv> > > >> > > > >> > > > >> > > > >> > ... > > > >> > 2) My db model : > > > >> > class Photo(db.Model): > > >> > photo = db.BlobProperty() > > >> > date = db.DateTimeProperty(auto_now_add=True) > > > >> > 3) The code uploading the photo and saving it in the blobstore > > > >> > class UploadPhoto(webapp.RequestHandler): > > >> > def post(self): > > >> > photo = Photo() > > >> > img = self.request.get('photo') > > >> > photo.photo = db.Blob(img) > > >> > photo.put() > > > >> > 4) The code creating the web page displaying
[google-appengine] Re: Prerelease SDK 1.3.8 is out!
I would like to say thanks for the App Engine Team for all the hard work :) On Oct 6, 2:28 am, "Ikai Lan (Google)" wrote: > Hey everyone, > > Prerelease SDK 1.3.8 is out for early evaluation. Note that many features > that require server side changes will not be available in production, so for > all intents and purposes these new features will only work locally. You can > download the SDKs here: > > http://code.google.com/p/googleappengine/downloads/list > > 1.3.8 Release Notes > > > Python > --- > - The developer who uploaded an app version can download that version's code > using the appcfg.py download_app command. You can use this to download > both > Python and Java application code. > - Builtin app.yaml handlers are available for common application functions, > such as appstats. > - The Admin Console now provides tools to delete all entities in the > datastore > or all entities of a given type. This is available only if enabled using > the > datastore_admin builtin. Deleting entities will count against application > quota. > - You can run task queue tasks immediately from the Admin Console. > - You can now specify the quality of JPEG images via the Image API's > execute_transforms function. Available in production only. > - Support for login of multiple Google accounts within an app, and longer > login > sessions. For more information see: > http://www.google.com/support/accounts/bin/answer.py?answer=181599 > - In queue.yaml, the maximum allowed bucket size is now 100. > - Precompilation is now enabled by default. To disable, use the > --no_precompilation flag when updating your app. > - BlobInfo now has an open() method that returns a BlobReader. > - BlobReader now accepts a BlobInfo. > - Removed limits on zigzag merge-join queries. Therefore the error "The > built-in > indices are not efficient enough for this query and your data. Please add > a > composite index for this query." will no longer be thrown in many cases, > enabling more types of exploratory queries without indexes. > - Fixed an issue with task queue tasks not running on the dev_appserver when > using Python 2.6. > - Fixed an issue on the dev_appserver where auto task running wasn't working > for > BulkAdd. > - Fixed an issue reserving App Ids by owners of similarly-named mails > accounts > containing periods, multiple cases, and googlemail.com address. > http://code.google.com/p/googleappengine/issues/detail?id=1196 > - Fixed an issue with OpenId over SSL. > http://code.google.com/p/googleappengine/issues/detail?id=3393 > - Fixed an issue on the development server where PNGs were being returned as > JPEGs. > http://code.google.com/p/googleappengine/issues/detail?id=3661 > > Java > > - You can run task queue tasks immediately from the admin console. > - Added an OutputSettings class to the Images API to specify the JPEG > encoding > quality when running in production. > - Support for login of multiple Google accounts within an app, and longer > login > sessions. For more information see: > http://www.google.com/support/accounts/bin/answer.py?answer=181599 > - In queue.xml, the maximum allowed bucket size is now 100. > - Removed limits on zigzag merge-join queries. Therefore the error "The > built-in > indices are not efficient enough for this query and your data. Please add > a > composite index for this query." will no longer be thrown in many cases, > enabling more types of exploratory queries without indexes. > - The whitelist has been updated to include java.net.InetAddress and some > interfaces and abstract classes in javax.xml.soap, including > javax.xml.soap.SOAPMessage. > - Fixed an issue reserving App Ids by owners of emails containing periods, > multiple cases, and googlemail.com address. > http://code.google.com/p/googleappengine/issues/detail?id=1196 > - Fixed an issue where TaskOptions had no public getters, making testing > impossible. > http://code.google.com/p/googleappengine/issues/detail?id=3243 > - Fixed an issue with OpenId over SSL. > http://code.google.com/p/googleappengine/issues/detail?id=3393 > - Fixed an issue on the development server where PNGs were being returned as > JPEGs. > http://code.google.com/p/googleappengine/issues/detail?id=3661 > > -- > Ikai Lan > Developer Programs Engineer, Google App Engine > Blogger:http://googleappengine.blogspot.com > Reddit:http://www.reddit.com/r/appengine > Twitter:http://twitter.com/app_engine -- 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-appeng...@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: fast bounding-box geo queries?
Hi Josh, The GeoModel bounding-box performance depends on the "zoom level" the query is running. As the box get smaller in size (closer bound coordinates) the performance is better, this is because you query on less squares (see Geohash http://en.wikipedia.org/wiki/Geohash for more info) It also depends on if you are using a sub-query, doing more data fetching and more... The best thing is to make a mock-up for your needs, and see if it's right for you. Happy geo-coding On Oct 5, 11:48 pm, Josh Haberman wrote: > I was looking at GeoModel, which has nice functionality for bounding- > box geo > queries:http://code.google.com/apis/maps/articles/geospatial.htmlhttp://code.google.com/p/geomodel/ > > Unfortunately, the demo application is quite slow. Queries often take > 2-4 seconds to return ~10 > results.http://geomodel-demo.appspot.comhttp://geomodel-demo.appspot.com/speedtest > > I also see an open bug filed against GeoModel that proximity queries > are slow:http://code.google.com/p/geomodel/issues/detail?id=20 > > Any ideas why this is slow? Glancing at the source, I notice it uses > "IN" queries (eg. location_geocells IN ) -- perhaps > this is less efficient than range queries? But still, 2-4 seconds > seems excessive to return 10 results. > > Hopefully the "next gen queries" which will apparently support space- > filling curves will provide better performance for queries like > these?http://www.youtube.com/watch?v=ofhEyDBpngM > > Josh -- 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-appeng...@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: Prerelease SDK 1.3.8 is out!
+1 On Oct 6, 12:48 pm, Greg wrote: > On Oct 6, 1:28 pm, "Ikai Lan (Google)" > wrote: > > > - The developer who uploaded an app version can download that version's code > > using the appcfg.py download_app command. > > I'm not at all happy about this. I know how frequent plaintive "I lost > my code how can I get it back?" messages are in this group, but the > write-only nature of appengine gave me a lot of confidence that our > source code is safe. Now a single password is all that stands between > our competitors and our IP. > > Why expose ALL users to risk (and open Google to lawsuits) for the > sake of a few inexperienced developers? Star this post if you agree. > > I guess one solution would be to make downloading optional. A setting > to disable source downloading in app.yaml would be safe, because > uploading a new version would destroy the existing code. > > Greg. -- 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-appeng...@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: Prerelease SDK 1.3.8 is out!
+1 only can download code administrator who pay bill On Oct 6, 9:19 pm, Geoffrey Spear wrote: > On Oct 6, 5:48 am, Greg wrote: > > > I'm not at all happy about this. I know how frequent plaintive "I lost > > my code how can I get it back?" messages are in this group, but the > > write-only nature of appengine gave me a lot of confidence that our > > source code is safe. Now a single password is all that stands between > > our competitors and our IP. > > If you have unscrupulous competitors with your Google Account > password, I'd think the fact that they might download your source is > the least of your problems. They could just deploy malicious code to > your site instead. -- 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-appeng...@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: Prerelease SDK 1.3.8 is out!
On Oct 6, 5:48 am, Greg wrote: > I'm not at all happy about this. I know how frequent plaintive "I lost > my code how can I get it back?" messages are in this group, but the > write-only nature of appengine gave me a lot of confidence that our > source code is safe. Now a single password is all that stands between > our competitors and our IP. If you have unscrupulous competitors with your Google Account password, I'd think the fact that they might download your source is the least of your problems. They could just deploy malicious code to your site instead. -- 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-appeng...@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.
Re: [google-appengine] App engine stats page
You could try the information here http://thoughts.inphina.com/2010/09/04/performance-tuning-java-application-in-google-app-engine/ On Wed, Oct 6, 2010 at 6:12 PM, Ice13ill wrote: > Is there a tutorial where i can read about the App engine stats page ? > (call traces + api call times, etc) > Or at least where i can find more information on how to interpret > those graphics exactly. > > -- > 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-appeng...@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. > > -- 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-appeng...@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.
Re: [google-appengine] Re: Still getting errors sending mail
We're testing a fix, but it's not ready yet. -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter: http://twitter.com/app_engine On Wed, Oct 6, 2010 at 11:45 AM, Jamie H wrote: > As another follow up, I just sent out ~700 emails and received this > error 29 times. The interesting part is that it appears even when > this exception is raised, the email can still be sent. Thus 29 of my > emails were sent twice. Anybody have any information on this > situation ? > > On Oct 5, 5:04 pm, Jamie H wrote: > > Sorry to reply to my own message, but I wanted to add that I am about > > to start an email campaign for a client, so it is very important that > > my emails are successfully sent... if not, and invitations are not > > delivered, nobody will show up for several events around the country, > > and alot of people will be very upset and embarassed to say the > > least... I have seen another poster on the group mention that recently > > his emails were not delivered, with no exceptions thrown... I was > > really hoping to get some response, say.. yes there is an issue, you > > can do x y and z to avoid it, or, yes the mail api should be > > functioning properly > > > > On Oct 5, 4:55 pm, Jamie H wrote: > > > > > Just moments ago I sent 21 emails, and received 4 of the following > > > error: > > > > > 10-05 02:32PM 26.045 > > > > > The API call mail.Send() took too long to respond and was cancelled. > > > ... > > > DeadlineExceededError: The API call mail.Send() took too long to > > > respond and was cancelled. > > > > > Now, I have learned over time so I send all emails via a task, so, > > > eventually all emails were sent, but can somebody from Google comment > > > on this error? I have seen some discussion in the group about it but > > > never seen any resolution. It seems like I didn't get it very often, > > > say, a month ago > > > > > app-id: moto-tmobile > > > > > > -- > 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-appeng...@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. > > -- 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-appeng...@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: Better support for linux
Thank you Robert. Yes, those that have Mac use Mac. But still I think that support for Linux is necessary. Mac is popular between companies and people with money, windows too. But in education Linux is the King. I spent all my years of college using Linux and we should keep supporting our open OSes. In my university all the good teachers use Linux :) I am going to open a New Issue in google code. -- 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-appeng...@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: Still getting errors sending mail
As another follow up, I just sent out ~700 emails and received this error 29 times. The interesting part is that it appears even when this exception is raised, the email can still be sent. Thus 29 of my emails were sent twice. Anybody have any information on this situation ? On Oct 5, 5:04 pm, Jamie H wrote: > Sorry to reply to my own message, but I wanted to add that I am about > to start an email campaign for a client, so it is very important that > my emails are successfully sent... if not, and invitations are not > delivered, nobody will show up for several events around the country, > and alot of people will be very upset and embarassed to say the > least... I have seen another poster on the group mention that recently > his emails were not delivered, with no exceptions thrown... I was > really hoping to get some response, say.. yes there is an issue, you > can do x y and z to avoid it, or, yes the mail api should be > functioning properly > > On Oct 5, 4:55 pm, Jamie H wrote: > > > Just moments ago I sent 21 emails, and received 4 of the following > > error: > > > 10-05 02:32PM 26.045 > > > The API call mail.Send() took too long to respond and was cancelled. > > ... > > DeadlineExceededError: The API call mail.Send() took too long to > > respond and was cancelled. > > > Now, I have learned over time so I send all emails via a task, so, > > eventually all emails were sent, but can somebody from Google comment > > on this error? I have seen some discussion in the group about it but > > never seen any resolution. It seems like I didn't get it very often, > > say, a month ago > > > app-id: moto-tmobile > > -- 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-appeng...@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.
Re: [google-appengine] Better support for linux
You could always suggest they switch to a Mac instead of Windows. There is a launcher, and at least it is not Windows. :) On Wed, Oct 6, 2010 at 14:35, RSan wrote: > Hello, > Currently I am giving classes of Google App Engine and I am clearly > seeing how linux students are moving to windows. The reason is simply > that it is more time consuming for them to start new projects, given > the fact that they don't have an App Engine Launcher. > I would love to see GAE giving a better support for some linux > platforms. At least for Ubuntu. > Thank you, and apart from that, good job with all the new features. > > -- > 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-appeng...@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. > > -- 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-appeng...@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] Better support for linux
Hello, Currently I am giving classes of Google App Engine and I am clearly seeing how linux students are moving to windows. The reason is simply that it is more time consuming for them to start new projects, given the fact that they don't have an App Engine Launcher. I would love to see GAE giving a better support for some linux platforms. At least for Ubuntu. Thank you, and apart from that, good job with all the new features. -- 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-appeng...@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.
Re: [google-appengine] force login to myapp on GAE
For Python: http://code.google.com/appengine/docs/python/config/appconfig.html#Requiring_Login_or_Administrator_Status For Java (YAML): http://code.google.com/appengine/docs/java/configyaml/appconfig_yaml.html#required For Java (XML): http://code.google.com/appengine/docs/java/config/webxml.html#Security_and_Authentication Robert On Wed, Oct 6, 2010 at 06:27, Will wrote: > Hi, > > Is there a way to require/force a user to login before they get access > to an application running on GAE? > Currently it seems access is available to anyone with the URL. > > I don't wish to run this on a Google Apps Domain as I require a SSL > connection. > > It is probably possible that it could be done programmatically > onModeuleLoad() if users were previously added to DB? This would be > more of a hack though > > Any suggestions? > > Thanks, > Will > > -- > 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-appeng...@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. > > -- 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-appeng...@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.
Re: [google-appengine] Re: Prerelease SDK 1.3.8 is out!
Thanks Tim, of course I'm talking about Python2.5-compatible code only. There are tools which can help you keep compatibility with 2.5 even if actually using a newer version - e.g. Eclipse PyDev has a grammar checker with configurable target version. Common sense also helps. Having this in mind, dev_appserver compatibility with later Python versions can certainly be useful. On Wed, Oct 6, 2010 at 9:54 AM, Tim Hoffman wrote: > You will need to watch that libraries/modules or code that uses things > like "with" (context managers ...) include the > from __future__ import with_statement otherwise these will blow up > when you run in production. > > Also 2.6 has advanced string formatting .format method of str and > unicode which isn't present in 2.5 > > 2.6 has a future feature of using print as a function. > > Here is a complete list http://docs.python.org/whatsnew/2.6.html > > So the bottom line is you whilst 2.6 will work in dev, you could end > up with code that will not > run in production. Chances are you are unlikely to use these features > in your own code > but a thirdparty library could. > > So user beware and test in live appengine (get your self a test > instance) before you unleash > you new code on the masses ;-) > > Personally I wouldn't bother using 2.6 until it is officially > supported by google in production. > The little extra pain you might have in dev setting it up will be a > lot less than the production > pain if you miss something and have to go and install 2.5 anyway ;-) > > Rgds > > Tim > > > > On Oct 6, 11:17 am, Peter Petrov wrote: > > On Wed, Oct 6, 2010 at 3:28 AM, Ikai Lan (Google) > > < > ikai.l%2bgro...@google.com > > > > > > wrote: > > > - Fixed an issue with task queue tasks not running on the dev_appserver > > > when > > > using Python 2.6. > > > > Does this mean that Python 2.6 is now (more or less) supported for the > > dev_appserver? Are there any significant issues remaining when not using > > Python 2.5? I'm asking because it's quite a pain having to setup an old > > Python version on modern Linux distros. > > -- > 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-appeng...@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. > > -- 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-appeng...@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.
Re: [google-appengine] Access to Calendar
You can use the gdata API's to access calendar information. http://code.google.com/apis/calendar/data/1.0/developers_guide_python.html Sending mail from AE is pretty easy too. http://code.google.com/appengine/docs/python/mail/overview.html If you know Java use Java, if you are familiar with Python use Python. If you are new to programming I would (personally) suggest Python. Robert On Wed, Oct 6, 2010 at 07:56, Juanmi wrote: > Dear all, > > I am new using Google App Engine, I would like to create an > application using this environment that allows to use for each user > his Google Calendar and the user can create Special Events (with a > Form designed for me). These events trigger Alerts via mail,... > > I don't know if it possible using Google App Engine and what is the > best option for do it (Python or Java). > > Thanks in advance. > > Kind 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-appeng...@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. > > -- 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-appeng...@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: app engine dashboard two step verification
2FA is optional and by default off for Google Apps. As not everybody has a "device" it will stay like that. Even when 2FA is on you will be required to use OTP eithe every time or once in a month. On Oct 6, 6:11 pm, Darien Caldwell wrote: > I hope this is something we can disable. I don't want to have to mess > with some phone app every time I need to log in. -- 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-appeng...@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.
Re: [google-appengine] Cost of a Google Engine App
Unless you need some of the unique features of App Engine for Business, you don't have to use it - and can instead use normal App Engine. Depending on the usage, might fit into free quota. You can set App Engine to authenticate against a Apps Domain. And choose to limit it to a group of users if you wish. On 6 October 2010 15:47, b...@dutchtape.com wrote: > I'm developing an App for a specific group of Google Apps users in a > company. Do I have to pay 8 dollar a month for each Google Apps user in the > domain, or can I specify a group. > > -- > 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-appeng...@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. > -- 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-appeng...@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.
Re: [google-appengine] Re: Prerelease SDK 1.3.8 is out!
+1 No download was a feature. AND it helped people with poor practices learn the value of version control. :) On Wed, Oct 6, 2010 at 08:04, tcg wrote: > +1 > > On Oct 6, 5:48 am, Greg wrote: >> On Oct 6, 1:28 pm, "Ikai Lan (Google)" >> wrote: >> >> > - The developer who uploaded an app version can download that version's >> > code >> > using the appcfg.py download_app command. >> >> I'm not at all happy about this. I know how frequent plaintive "I lost >> my code how can I get it back?" messages are in this group, but the >> write-only nature of appengine gave me a lot of confidence that our >> source code is safe. Now a single password is all that stands between >> our competitors and our IP. >> >> Why expose ALL users to risk (and open Google to lawsuits) for the >> sake of a few inexperienced developers? Star this post if you agree. >> >> I guess one solution would be to make downloading optional. A setting >> to disable source downloading in app.yaml would be safe, because >> uploading a new version would destroy the existing code. >> >> Greg. > > -- > 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-appeng...@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. > > -- 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-appeng...@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: Getting Python to Read Dashboard Metrics
I don't think there is any way to do this, but i believe you can watch for specific over quota exceptions and then adjust your execution path based on that. http://code.google.com/appengine/docs/quotas.html#When_a_Resource_is_Depleted On Oct 5, 4:41 am, jdownie wrote: > I'd like to build into my application different behaviour when it > hits, say 80% of the daily quote for CPU. Is that possible? The only > api call I could see was one that allowed me to measure the load of > each individual query. -- 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-appeng...@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.
Re: [google-appengine] Re: Prerelease SDK 1.3.8 is out!
Thanks for the feedback. We'll discuss the code download feature in more detail. -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter: http://twitter.com/app_engine On Wed, Oct 6, 2010 at 5:04 AM, tcg wrote: > +1 > > On Oct 6, 5:48 am, Greg wrote: > > On Oct 6, 1:28 pm, "Ikai Lan (Google)" > > > > > > wrote: > > > > > - The developer who uploaded an app version can download that version's > code > > > using the appcfg.py download_app command. > > > > I'm not at all happy about this. I know how frequent plaintive "I lost > > my code how can I get it back?" messages are in this group, but the > > write-only nature of appengine gave me a lot of confidence that our > > source code is safe. Now a single password is all that stands between > > our competitors and our IP. > > > > Why expose ALL users to risk (and open Google to lawsuits) for the > > sake of a few inexperienced developers? Star this post if you agree. > > > > I guess one solution would be to make downloading optional. A setting > > to disable source downloading in app.yaml would be safe, because > > uploading a new version would destroy the existing code. > > > > Greg. > > -- > 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-appeng...@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. > > -- 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-appeng...@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 download_data [INFO] Authentication Failed
I've had a problem getting the download working as I want, but interestingly, I've got two accounts. The one that I originanlly used to setup the site (which is a business account), from which I invited myself (my personal account) in the permissions section. When uploading, I can use either account, when downloading I can only use my personal account, not the account that I used to setup the site. This makes no sense at all to me, but hope it helps you get the download working. I am able to get a sqllite dump from the database, using either appcfg.py or bulkloader.py, but I haven't yet been able to download in the format that I would like which is annoying and frustrating. A On Sep 26, 11:20 pm, Vladimir Prudnikov wrote: > The same problem for me. I'm trying to download data. "Authentication > failed" each time. I tried 10 times or more. I'm sure too that I enter > correct email and password (in another tab I deploy to the same app > with the same credentials at the same time). > > Version 1.3.7 (1.3.7.891) > > On Sep 1, 12:46 am, morphium_hidrochloricum > wrote: > > > > > Nothing changed after I upgraded to 1.3.7. -- 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-appeng...@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: Prerelease SDK 1.3.8 is out!
+1 On Oct 6, 5:48 am, Greg wrote: > On Oct 6, 1:28 pm, "Ikai Lan (Google)" > wrote: > > > - The developer who uploaded an app version can download that version's code > > using the appcfg.py download_app command. > > I'm not at all happy about this. I know how frequent plaintive "I lost > my code how can I get it back?" messages are in this group, but the > write-only nature of appengine gave me a lot of confidence that our > source code is safe. Now a single password is all that stands between > our competitors and our IP. > > Why expose ALL users to risk (and open Google to lawsuits) for the > sake of a few inexperienced developers? Star this post if you agree. > > I guess one solution would be to make downloading optional. A setting > to disable source downloading in app.yaml would be safe, because > uploading a new version would destroy the existing code. > > Greg. -- 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-appeng...@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] Problems (cache-related?) since enabling billing
I have an app that sits behind a reverse proxy serving requests for multiple domains using the X-Forwarded-For header. This has been working very well for many months. Yesterday, after enabling billing for the app, I started seeing dynamic requests that were getting served the wrong content (content for the wrong domain). In troubleshooting the issue, I noticed that many of the problem requests are served in only a couple of milliseconds, and the logs don't contain the normal logging messages that my code should produce, and don't show up in appstats. I'm assuming this means that the caching I've read about but never seen to work is now serving requests (since the Cache-Control header is set), and is not keeping cached pages separate based on the X-Forwarded-For header, but just the path. Is there any way to confirm whether this is what is happening? If so, is there a way to disable this functionality (going back to the way it worked before we enabled billing), without removing the Cache-Control header and losing it's benefits? -Mike -=- -- 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-appeng...@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] force login to myapp on GAE
Hi, Is there a way to require/force a user to login before they get access to an application running on GAE? Currently it seems access is available to anyone with the URL. I don't wish to run this on a Google Apps Domain as I require a SSL connection. It is probably possible that it could be done programmatically onModeuleLoad() if users were previously added to DB? This would be more of a hack though Any suggestions? Thanks, Will -- 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-appeng...@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] Access to Calendar
Dear all, I am new using Google App Engine, I would like to create an application using this environment that allows to use for each user his Google Calendar and the user can create Special Events (with a Form designed for me). These events trigger Alerts via mail,... I don't know if it possible using Google App Engine and what is the best option for do it (Python or Java). Thanks in advance. Kind 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-appeng...@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: Prerelease SDK 1.3.8 is out!
+1 On Oct 6, 8:56 am, Barry Hunter wrote: > +1. > > Make it optional - default to on is ok. As long as it can be disabled. > > On 6 October 2010 16:29, Rodrigo Moraes wrote: > > > > > On Oct 6, 6:48 am, Greg wrote: > >> I guess one solution would be to make downloading optional. A setting > >> to disable source downloading in app.yaml would be safe, because > >> uploading a new version would destroy the existing code. > > > +1 > > > I always considered not being able to download the code a feature. > > Making it optional would probably be ideal. > > > -- rodrigo > > > -- > > 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-appeng...@googlegroups.com. > > To unsubscribe from this group, send email to > > google-appengine+unsubscr...@googlegroups.com. > > For more options, visit this group > > athttp://groups.google.com/group/google-appengine?hl=en. -- 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-appeng...@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.
Re: [google-appengine] Application-Specific Indexes
Robert, Eli Many thanks for the links to Brett Slatkin's I/O talk which I hadn't seen. It uncovered exciting possibilities for my particular use case, especially self joins. Vincent -- 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-appeng...@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: app engine dashboard two step verification
I hope this is something we can disable. I don't want to have to mess with some phone app every time I need to log in. -- 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-appeng...@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.
Re: [google-appengine] Re: Prerelease SDK 1.3.8 is out!
+1. Make it optional - default to on is ok. As long as it can be disabled. On 6 October 2010 16:29, Rodrigo Moraes wrote: > On Oct 6, 6:48 am, Greg wrote: >> I guess one solution would be to make downloading optional. A setting >> to disable source downloading in app.yaml would be safe, because >> uploading a new version would destroy the existing code. > > +1 > > I always considered not being able to download the code a feature. > Making it optional would probably be ideal. > > -- rodrigo > > -- > 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-appeng...@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. > > -- 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-appeng...@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: Prerelease SDK 1.3.8 is out!
On Oct 6, 6:48 am, Greg wrote: > I guess one solution would be to make downloading optional. A setting > to disable source downloading in app.yaml would be safe, because > uploading a new version would destroy the existing code. +1 I always considered not being able to download the code a feature. Making it optional would probably be ideal. -- rodrigo -- 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-appeng...@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.
Re: [google-appengine] Re: Prerelease SDK 1.3.8 is out!
+1000 The download feature should be optional, and off by default. On Wed, Oct 6, 2010 at 12:48 PM, Greg wrote: > On Oct 6, 1:28 pm, "Ikai Lan (Google)" > > > > wrote: > > - The developer who uploaded an app version can download that version's > code > > using the appcfg.py download_app command. > > I'm not at all happy about this. I know how frequent plaintive "I lost > my code how can I get it back?" messages are in this group, but the > write-only nature of appengine gave me a lot of confidence that our > source code is safe. Now a single password is all that stands between > our competitors and our IP. > > Why expose ALL users to risk (and open Google to lawsuits) for the > sake of a few inexperienced developers? Star this post if you agree. > > I guess one solution would be to make downloading optional. A setting > to disable source downloading in app.yaml would be safe, because > uploading a new version would destroy the existing code. > > Greg. > > -- > 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-appeng...@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. > > -- 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-appeng...@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.
Re: [google-appengine] Re: Prerelease SDK 1.3.8 is out!
+1 On Wed, Oct 6, 2010 at 12:12 PM, Mike Wesner wrote: > +1 > > On Oct 6, 9:59 am, mscwd01 wrote: >> +1 >> >> On Oct 6, 10:48 am, Greg wrote: >> >> >> >> > On Oct 6, 1:28 pm, "Ikai Lan (Google)" >> > wrote: >> >> > > - The developer who uploaded an app version can download that version's >> > > code >> > > using the appcfg.py download_app command. >> >> > I'm not at all happy about this. I know how frequent plaintive "I lost >> > my code how can I get it back?" messages are in this group, but the >> > write-only nature of appengine gave me a lot of confidence that our >> > source code is safe. Now a single password is all that stands between >> > our competitors and our IP. >> >> > Why expose ALL users to risk (and open Google to lawsuits) for the >> > sake of a few inexperienced developers? Star this post if you agree. >> >> > I guess one solution would be to make downloading optional. A setting >> > to disable source downloading in app.yaml would be safe, because >> > uploading a new version would destroy the existing code. >> >> > Greg. > > -- > 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-appeng...@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. > > -- 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-appeng...@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: Prerelease SDK 1.3.8 is out!
+1 On Oct 6, 9:59 am, mscwd01 wrote: > +1 > > On Oct 6, 10:48 am, Greg wrote: > > > > > On Oct 6, 1:28 pm, "Ikai Lan (Google)" > > wrote: > > > > - The developer who uploaded an app version can download that version's > > > code > > > using the appcfg.py download_app command. > > > I'm not at all happy about this. I know how frequent plaintive "I lost > > my code how can I get it back?" messages are in this group, but the > > write-only nature of appengine gave me a lot of confidence that our > > source code is safe. Now a single password is all that stands between > > our competitors and our IP. > > > Why expose ALL users to risk (and open Google to lawsuits) for the > > sake of a few inexperienced developers? Star this post if you agree. > > > I guess one solution would be to make downloading optional. A setting > > to disable source downloading in app.yaml would be safe, because > > uploading a new version would destroy the existing code. > > > Greg. -- 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-appeng...@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: Prerelease SDK 1.3.8 is out!
+1 On Oct 6, 10:48 am, Greg wrote: > On Oct 6, 1:28 pm, "Ikai Lan (Google)" > wrote: > > > - The developer who uploaded an app version can download that version's code > > using the appcfg.py download_app command. > > I'm not at all happy about this. I know how frequent plaintive "I lost > my code how can I get it back?" messages are in this group, but the > write-only nature of appengine gave me a lot of confidence that our > source code is safe. Now a single password is all that stands between > our competitors and our IP. > > Why expose ALL users to risk (and open Google to lawsuits) for the > sake of a few inexperienced developers? Star this post if you agree. > > I guess one solution would be to make downloading optional. A setting > to disable source downloading in app.yaml would be safe, because > uploading a new version would destroy the existing code. > > Greg. -- 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-appeng...@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] Cost of a Google Engine App
I'm developing an App for a specific group of Google Apps users in a company. Do I have to pay 8 dollar a month for each Google Apps user in the domain, or can I specify a group. -- 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-appeng...@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] Allocating id's after import to another app
I've imported data from one app id to another and now I'm getting spurious messages of duplicate id's, apparently because the id's are not automatically allocated. What would be the best strategy to allocate these id's again so that sequence generation will not attempt to use the existing id's? -- 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-appeng...@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.
Re: [google-appengine] Easy way to delete unowned (child) entities in same entity group ?
Hi djidjadji, can you tell me, with an example, how to write a kind-less/normal ancestor query? thanks in advance :) On 6 October 2010 16:02, djidjadji wrote: > No. > > You need to do a (kindless) ancestor query and delete all entities > found before you delete the parent "Test". > If you know the child is only of one type you can do a normal ancestor > query. > > You could subclass the delete() method of the "Test" class to do this, > but I don't know if it will work if you use > > db.delete( ) > > 2010/10/6 Prashant : > > Hi, > > Suppose, I have two types of Entities "Test" and "TestChild". For all > > TestChild entities i have set key as child of some Test entity (because i > > want both entities in same entity group to support transaction) but i > > haven't mapped TestChild entity to any variable in Test entity. > > Now, i am wondering if there is any way, such that, if i delete Test > entity > > then all corresponding child TestChild entitie(s) should also get deleted > ? > > -- > > Prashant > > www.claymus.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-appeng...@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. > > > > -- > 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-appeng...@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. > > -- Prashant www.claymus.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-appeng...@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: Prerelease SDK 1.3.8 is out!
+1 On Oct 6, 2:05 pm, Jeff Schwartz wrote: > +1 > > Indeed, quite disconcerting. > > > > > > On Wed, Oct 6, 2010 at 8:01 AM, Tom Wu wrote: > > +1 > > > 2010/10/6 Greg > > >> On Oct 6, 1:28 pm, "Ikai Lan (Google)" > >> > > >> wrote: > >> > - The developer who uploaded an app version can download that version's > >> code > >> > using the appcfg.py download_app command. > > >> I'm not at all happy about this. I know how frequent plaintive "I lost > >> my code how can I get it back?" messages are in this group, but the > >> write-only nature of appengine gave me a lot of confidence that our > >> source code is safe. Now a single password is all that stands between > >> our competitors and our IP. > > >> Why expose ALL users to risk (and open Google to lawsuits) for the > >> sake of a few inexperienced developers? Star this post if you agree. > > >> I guess one solution would be to make downloading optional. A setting > >> to disable source downloading in app.yaml would be safe, because > >> uploading a new version would destroy the existing code. > > >> Greg. > > >> -- > >> 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-appeng...@googlegroups.com. > >> To unsubscribe from this group, send email to > >> google-appengine+unsubscr...@googlegroups.com >> e...@googlegroups.com> > >> . > >> For more options, visit this group at > >>http://groups.google.com/group/google-appengine?hl=en. > > > -- > > 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-appeng...@googlegroups.com. > > To unsubscribe from this group, send email to > > google-appengine+unsubscr...@googlegroups.com > e...@googlegroups.com> > > . > > For more options, visit this group at > >http://groups.google.com/group/google-appengine?hl=en. > > -- > Jeff -- 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-appeng...@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] App engine stats page
Is there a tutorial where i can read about the App engine stats page ? (call traces + api call times, etc) Or at least where i can find more information on how to interpret those graphics exactly. -- 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-appeng...@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.
Re: [google-appengine] Re: Prerelease SDK 1.3.8 is out!
+1 Indeed, quite disconcerting. On Wed, Oct 6, 2010 at 8:01 AM, Tom Wu wrote: > +1 > > 2010/10/6 Greg > >> On Oct 6, 1:28 pm, "Ikai Lan (Google)" >> >> > >> >> wrote: >> > - The developer who uploaded an app version can download that version's >> code >> > using the appcfg.py download_app command. >> >> I'm not at all happy about this. I know how frequent plaintive "I lost >> my code how can I get it back?" messages are in this group, but the >> write-only nature of appengine gave me a lot of confidence that our >> source code is safe. Now a single password is all that stands between >> our competitors and our IP. >> >> Why expose ALL users to risk (and open Google to lawsuits) for the >> sake of a few inexperienced developers? Star this post if you agree. >> >> I guess one solution would be to make downloading optional. A setting >> to disable source downloading in app.yaml would be safe, because >> uploading a new version would destroy the existing code. >> >> Greg. >> >> -- >> 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-appeng...@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. >> >> > -- > 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-appeng...@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. > -- Jeff -- 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-appeng...@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: Exceeded soft memory limit
just an extract of my log http://goo.gl/226V On Oct 6, 10:48 am, sahid wrote: > No, i dont use global variables or just variables with a constants > values > > You know why exactely signifie this message? > > On Oct 5, 8:47 pm, Robert Kluin wrote: > > > > > > > > > Are you using global variables to cache stuff at the module level or > > something similar? > > > Robert > > > On Tue, Oct 5, 2010 at 13:25, sahid wrote: > > > up > > > > On Oct 3, 10:06 pm, sahid wrote: > > >> Hello, > > > >> I have a little problem with my application, > > >> i have a lot of "Exceeded soft memory limit" exception. > > > >> But i know why. > > >> My application is a daiting website. All users has a possibility to > > >> make a search with many criteria > > >> So i have a model with a lot of criteria, i use the filter system of > > >> the datastore to get a part of the result (like gender, and > > >> has_picture, country) > > >> but with the result (limited has 200 and ordered by last_presence) i > > >> use python to filter it. > > > >> I have many exceptions, but i dont know how i can do better... > > >> Already, the result is limited to 200 and it's really small, i need > > >> about 500. > > > >> Exceeded soft memory limit with 299.676 MB after servicing 8724 > > >> requests total > > >> Exceeded soft memory limit with 299.145 MB after servicing 1182 > > >> requests total > > >> Exceeded soft memory limit with 206.145 MB after servicing 636 > > >> requests total > > >> Exceeded soft memory limit with 299.145 MB after servicing 371 > > >> requests total > > >> Exceeded soft memory limit with 287.895 MB after servicing 2843 > > >> requests total > > >> Exceeded soft memory limit with 299.594 MB after servicing 7138 > > >> requests total > > > >> APPID: devel-inchallah > > > >> Cordialy, > > >> Sahid > > > > -- > > > 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-appeng...@googlegroups.com. > > > To unsubscribe from this group, send email to > > > google-appengine+unsubscr...@googlegroups.com. > > > For more options, visit this group > > > athttp://groups.google.com/group/google-appengine?hl=en. -- 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-appeng...@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.
Re: [google-appengine] Re: Prerelease SDK 1.3.8 is out!
+1 2010/10/6 Greg > On Oct 6, 1:28 pm, "Ikai Lan (Google)" > > > > wrote: > > - The developer who uploaded an app version can download that version's > code > > using the appcfg.py download_app command. > > I'm not at all happy about this. I know how frequent plaintive "I lost > my code how can I get it back?" messages are in this group, but the > write-only nature of appengine gave me a lot of confidence that our > source code is safe. Now a single password is all that stands between > our competitors and our IP. > > Why expose ALL users to risk (and open Google to lawsuits) for the > sake of a few inexperienced developers? Star this post if you agree. > > I guess one solution would be to make downloading optional. A setting > to disable source downloading in app.yaml would be safe, because > uploading a new version would destroy the existing code. > > Greg. > > -- > 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-appeng...@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. > > -- 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-appeng...@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 log into dashboard
Sorry, my bad. Solved by using: appengine.google.com/a/yourdomain.xyz. thanks Marcus On Oct 6, 1:53 pm, Marcus wrote: > Hi, > > I have the same problem. > > When logging in to: > > https://appengine.google.com/ > > I only get the introduction (https://appengine.google.com/start), > > I have 2-3 apps running, and can't adminster them at the moment. > > Ideas ? > > Thanks > Marcus > > On Oct 5, 10:56 pm, Ron wrote: > > > Hello > > > Having problems signing into a new account I opened today. When I try > > to log into an app i get kicked into the start page each time, the one > > that asks you to create an application. I mange two other accounts > > and they are working fine. I don't know if it is something to do with > > it being the same email I use to manage the google apps domain. > > > It worked for a while earlier on. I was able to create the app and > > install the application, even linked it to the domain. It now works > > onwww.audiogo.co.uk. But I now can no longer go into the console or > > the dashboard. > > > Any ideas? > > > Thanks > > Ron -- 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-appeng...@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 log into dashboard
Hi, I have the same problem. When logging in to: https://appengine.google.com/ I only get the introduction (https://appengine.google.com/start), I have 2-3 apps running, and can't adminster them at the moment. Ideas ? Thanks Marcus On Oct 5, 10:56 pm, Ron wrote: > Hello > > Having problems signing into a new account I opened today. When I try > to log into an app i get kicked into the start page each time, the one > that asks you to create an application. I mange two other accounts > and they are working fine. I don't know if it is something to do with > it being the same email I use to manage the google apps domain. > > It worked for a while earlier on. I was able to create the app and > install the application, even linked it to the domain. It now works > onwww.audiogo.co.uk. But I now can no longer go into the console or > the dashboard. > > Any ideas? > > Thanks > Ron -- 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-appeng...@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: Could I recover the application that all associated developers account has deleted ?
Enabling billing is one way to guard against this I think - as the developer with associated billing details can't be removed. On Oct 4, 8:05 pm, "Ikai Lan (Google)" wrote: > My earlier email was incorrect - if all developers are removed, the > application will serve for one month before it is permanently deleted, since > this is the recovery period. > > I've reenabled the application. This application has not gone through the > irreversible stage yet, so it's a good thing we recovered it now. I can > readd you as a developer, but can you verify that you own the account? Email > me the auth domain you are using (it's a very strange looking one) and I'll > add this Gmail address you're using back to the list of developers. > > When you delete user accounts, there should be a warning in the domain > dashboard about data/apps being deleted. How can we better warn developers > of this behavior? We can't email the developers, since their accounts were > deleted, and if you delete a developer account, you can't log into the admin > console. > > -- > Ikai Lan > Developer Programs Engineer, Google App Engine > Blogger:http://googleappengine.blogspot.com > Reddit:http://www.reddit.com/r/appengine > Twitter:http://twitter.com/app_engine > > On Fri, Oct 1, 2010 at 12:03 PM, Ikai Lan (Google) > > > > > > wrote: > > What's the application ID? I'll look into this for you to see if it's > > recoverable. > > > Is the application deleted, or are just the developers deleted? > > > More likely than not we garbage collect apps, so that might explain the > > delay. As far as I know, this shouldn't have been the case. > > > -- > > Ikai Lan > > Developer Programs Engineer, Google App Engine > > Blogger:http://googleappengine.blogspot.com > > Reddit:http://www.reddit.com/r/appengine > > Twitter:http://twitter.com/app_engine > > > On Thu, Sep 30, 2010 at 9:57 PM, Masatoshi Iwasaki > > wrote: > > >> Hi, > > >> Recently I became an administrator for Google Apps for our domain. > >> Yesterday an application hosted on GAE for Google Apps of our domain > >> suddenly got 404 error. I asked former administarator to tell me > >> developer's account for the application, but he had already deleted > >> developers' accounts from our domain about a month ago because of > >> developers had left from the orgnization. > > >> My questions are: > > >> i) Could I recover our application? When I access the url, It shows > >> only 404 error. I have tried to recreate an developer's account with > >> the same name of the deleted developer's account, but I couldn't get > >> access to app engine admin console. > > >> ii) If this is caused by deleting accounts, why did it take more than > >> one month to stop the application? If it immediately stops the > >> application, we would have noticed this problem earlier. > > >> Any suggestions are welcome. > > >> Regards, > >> Masatoshi > > >> -- > >> 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-appeng...@googlegroups.com. > >> To unsubscribe from this group, send email to > >> google-appengine+unsubscr...@googlegroups.com >> e...@googlegroups.com> > >> . > >> For more options, visit this group at > >>http://groups.google.com/group/google-appengine?hl=en. -- 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-appeng...@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.
Re: [google-appengine] Re: Prerelease SDK 1.3.8 is out!
+1 2010/10/6 Greg : > On Oct 6, 1:28 pm, "Ikai Lan (Google)" > wrote: >> - The developer who uploaded an app version can download that version's code >> using the appcfg.py download_app command. > > I'm not at all happy about this. I know how frequent plaintive "I lost > my code how can I get it back?" messages are in this group, but the > write-only nature of appengine gave me a lot of confidence that our > source code is safe. Now a single password is all that stands between > our competitors and our IP. > > Why expose ALL users to risk (and open Google to lawsuits) for the > sake of a few inexperienced developers? Star this post if you agree. > > I guess one solution would be to make downloading optional. A setting > to disable source downloading in app.yaml would be safe, because > uploading a new version would destroy the existing code. > > Greg. > > -- > 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-appeng...@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. > > -- 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-appeng...@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.
Re: [google-appengine] Easy way to delete unowned (child) entities in same entity group ?
No. You need to do a (kindless) ancestor query and delete all entities found before you delete the parent "Test". If you know the child is only of one type you can do a normal ancestor query. You could subclass the delete() method of the "Test" class to do this, but I don't know if it will work if you use db.delete( ) 2010/10/6 Prashant : > Hi, > Suppose, I have two types of Entities "Test" and "TestChild". For all > TestChild entities i have set key as child of some Test entity (because i > want both entities in same entity group to support transaction) but i > haven't mapped TestChild entity to any variable in Test entity. > Now, i am wondering if there is any way, such that, if i delete Test entity > then all corresponding child TestChild entitie(s) should also get deleted ? > -- > Prashant > www.claymus.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-appeng...@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. > -- 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-appeng...@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: Prerelease SDK 1.3.8 is out!
+1 for download optional, and it can't be changed without re-reploying (app.yaml config) T On Oct 6, 5:48 pm, Greg wrote: > On Oct 6, 1:28 pm, "Ikai Lan (Google)" > wrote: > > > - The developer who uploaded an app version can download that version's code > > using the appcfg.py download_app command. > > I'm not at all happy about this. I know how frequent plaintive "I lost > my code how can I get it back?" messages are in this group, but the > write-only nature of appengine gave me a lot of confidence that our > source code is safe. Now a single password is all that stands between > our competitors and our IP. > > Why expose ALL users to risk (and open Google to lawsuits) for the > sake of a few inexperienced developers? Star this post if you agree. > > I guess one solution would be to make downloading optional. A setting > to disable source downloading in app.yaml would be safe, because > uploading a new version would destroy the existing code. > > Greg. -- 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-appeng...@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.
Re: [google-appengine] Re: Prerelease SDK 1.3.8 is out!
+1 On Wed, Oct 6, 2010 at 12:54, Stefano Ciccarelli wrote: > +1 > > On Oct 6, 11:48 am, Greg wrote: > > On Oct 6, 1:28 pm, "Ikai Lan (Google)" > > > > > > wrote: > > > > > - The developer who uploaded an app version can download that version's > code > > > using the appcfg.py download_app command. > > > > I'm not at all happy about this. I know how frequent plaintive "I lost > > my code how can I get it back?" messages are in this group, but the > > write-only nature of appengine gave me a lot of confidence that our > > source code is safe. Now a single password is all that stands between > > our competitors and our IP. > > > > Why expose ALL users to risk (and open Google to lawsuits) for the > > sake of a few inexperienced developers? Star this post if you agree. > > > > I guess one solution would be to make downloading optional. A setting > > to disable source downloading in app.yaml would be safe, because > > uploading a new version would destroy the existing code. > > > > Greg. > > -- > 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-appeng...@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. > > -- 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-appeng...@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: Prerelease SDK 1.3.8 is out!
+1 On Oct 6, 11:48 am, Greg wrote: > On Oct 6, 1:28 pm, "Ikai Lan (Google)" > wrote: > > > - The developer who uploaded an app version can download that version's code > > using the appcfg.py download_app command. > > I'm not at all happy about this. I know how frequent plaintive "I lost > my code how can I get it back?" messages are in this group, but the > write-only nature of appengine gave me a lot of confidence that our > source code is safe. Now a single password is all that stands between > our competitors and our IP. > > Why expose ALL users to risk (and open Google to lawsuits) for the > sake of a few inexperienced developers? Star this post if you agree. > > I guess one solution would be to make downloading optional. A setting > to disable source downloading in app.yaml would be safe, because > uploading a new version would destroy the existing code. > > Greg. -- 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-appeng...@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: Prerelease SDK 1.3.8 is out!
On Oct 6, 1:28 pm, "Ikai Lan (Google)" wrote: > - The developer who uploaded an app version can download that version's code > using the appcfg.py download_app command. I'm not at all happy about this. I know how frequent plaintive "I lost my code how can I get it back?" messages are in this group, but the write-only nature of appengine gave me a lot of confidence that our source code is safe. Now a single password is all that stands between our competitors and our IP. Why expose ALL users to risk (and open Google to lawsuits) for the sake of a few inexperienced developers? Star this post if you agree. I guess one solution would be to make downloading optional. A setting to disable source downloading in app.yaml would be safe, because uploading a new version would destroy the existing code. Greg. -- 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-appeng...@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] Easy way to delete unowned (child) entities in same entity group ?
Hi, Suppose, I have two types of Entities "Test" and "TestChild". For all TestChild entities i have set key as child of some Test entity (because i want both entities in same entity group to support transaction) but i haven't mapped TestChild entity to any variable in Test entity. Now, i am wondering if there is any way, such that, if i delete Test entity then all corresponding child TestChild entitie(s) should also get deleted ? -- Prashant www.claymus.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-appeng...@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: Exceeded soft memory limit
No, i dont use global variables or just variables with a constants values You know why exactely signifie this message? On Oct 5, 8:47 pm, Robert Kluin wrote: > Are you using global variables to cache stuff at the module level or > something similar? > > Robert > > > > > > > > On Tue, Oct 5, 2010 at 13:25, sahid wrote: > > up > > > On Oct 3, 10:06 pm, sahid wrote: > >> Hello, > > >> I have a little problem with my application, > >> i have a lot of "Exceeded soft memory limit" exception. > > >> But i know why. > >> My application is a daiting website. All users has a possibility to > >> make a search with many criteria > >> So i have a model with a lot of criteria, i use the filter system of > >> the datastore to get a part of the result (like gender, and > >> has_picture, country) > >> but with the result (limited has 200 and ordered by last_presence) i > >> use python to filter it. > > >> I have many exceptions, but i dont know how i can do better... > >> Already, the result is limited to 200 and it's really small, i need > >> about 500. > > >> Exceeded soft memory limit with 299.676 MB after servicing 8724 > >> requests total > >> Exceeded soft memory limit with 299.145 MB after servicing 1182 > >> requests total > >> Exceeded soft memory limit with 206.145 MB after servicing 636 > >> requests total > >> Exceeded soft memory limit with 299.145 MB after servicing 371 > >> requests total > >> Exceeded soft memory limit with 287.895 MB after servicing 2843 > >> requests total > >> Exceeded soft memory limit with 299.594 MB after servicing 7138 > >> requests total > > >> APPID: devel-inchallah > > >> Cordialy, > >> Sahid > > > -- > > 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-appeng...@googlegroups.com. > > To unsubscribe from this group, send email to > > google-appengine+unsubscr...@googlegroups.com. > > For more options, visit this group > > athttp://groups.google.com/group/google-appengine?hl=en. -- 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-appeng...@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: Latency related follow up
Sounds like a cold start problem. I don't have experience on this but there are some advices in the forum. If your app grows to have sustained traffic it will improve for sure, but when starting or for low-traffic sites the problem remains. I see that there's a feature on the App Engine Roadmap to help address this: "Ability to reserve instances to reduce application loading overhead". On Oct 5, 12:47 pm, Kangesh Gunaseelan wrote: > Thanks for your suggestion. > > I will take a look at the appstats one more time. What I am noticing though > is api_cpu under 500ms (and many much below that) but sometimes overall cpu > overshoots 700 ms. More over, for request aborted error messages, it doesn't > really look like the service is even called - overall cpu in those instances > is over 1 ms but api_cpu is 0 ms. Am I interpreting this right? > > I have seen old posts where users recommended a cron and I tried that out > today with surprisingly positive results. Other than this potentially > causing few instances to stay alive, I can't think of any other > explanations. Any one why that is better? In any case, I wonder if that is > going to really help if concurrent requests increase and demand more active > instances. > > 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-appeng...@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.