Re: [google-appengine] Re: Is it possible to sell a CMS hosted on Google App Engine without the code being visible ?
There is a gray area. Ikai talked about it, and I believe you fall right in the middle of it. Anything can be considered a "service" by the English definition, including, as you mentioned, simply uploading the files. But I'm pretty sure you can't open up a website offering "upload services" for $30/month that happen to come with free hosting. If you designed, built, and deployed the site, that may be a different story - but that's exactly the point I am trying to make. The more value a developer provides relative to the value of the hosting, the more likely it is that they are not in violation. The less value one offers (i.e. simply uploading the files), the more likely it is that they are in violation. I'm not sure I'm right, but I offered the idea. It's because it's complicated that it takes 6 pages of single-spaced text to explain it. Baz On Tue, May 18, 2010 at 11:21 PM, Robin wrote: > I don't see how your first example could be construed as reselling at > all. I do essentially exactly that for a couple of my own personal > websites. It's free and the pages load incredibly fast compared to > other hosting I've used. If a client is willing to pay me X$/month to > host their static files on App Engine I don't consider that reselling. > That's me providing a service as Ikai noted below (eg uploading the > files, uploading future changes, possibly designing the site in the > first place and so on). If a client knows how to do all this > themselves, why would they pay me to do it for them. It IS a service I > am providig. > > Reselling to me would be basically adding some form of gateway to App > Engine, which basically runs appcfg.py . I certainly can't see how the > "complexity" of an app could be a legal indicator as to whether you > are breaking the TOS. > > On May 18, 8:38 pm, Baz wrote: > > The gray area seems to depend, partly, on the complexity of the app. If, > for > > example, you build a 1 page static business-card website that you host on > > GAE and charge $30/month for, that can be construed as selling hosting. > On > > the other hand, if your application is very large and complex and > provides > > lots of value, but you sold it in the same way, it seems that it would be > > ok. > > > > Baz > > > > On Tue, May 18, 2010 at 10:17 AM, Ikai L (Google) > wrote: > > > > > > > > > That's allowed. We're more permissive than restrictive with the terms > of > > > service. Unless you are reselling the baseline App Engine service, you > > > should not be in violation. You are in the clear if you provide App > Engine > > > support, wrote an App Engine application, or sell access to some > service > > > that runs on App Engine. > > > > > On Mon, May 17, 2010 at 11:43 PM, Baz wrote: > > > > >> To be painfully clear, if I develop a stand-alone app that a customer > > >> will pay me to deploy an instance of onto their own appengine account > (with > > >> no talking between other instances of the app) - that is allowed, > correct? > > >> And on top of it, they can't pull the code since I did the entire > deployment > > >> and appengine does not have mechanisms for pulling code, correct? > > > > >> -- > > >> You 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. > > > > > -- > > > Ikai Lan > > > Developer Relations, Google App Engine > > > Twitter:http://twitter.com/ikai > > > Delicious:http://delicious.com/ikailan > > > > > > > > Google App Engine links: > > > Blog:http://googleappengine.blogspot.com > > > Twitter:http://twitter.com/app_engine > > > Reddit:http://www.reddit.com/r/appengine > > > > > -- > > > You received this message because you are subscribed to the Google > Groups > > > "Google App Engine" group. > > > To post to this group, send email to google-appengine@googlegroups.com > . > > > To unsubscribe from this group, send email to > > > google-appengine+unsubscr...@googlegroups.com > > > > > > . > > > For more options, visit this group at > > >http://groups.google.com/group/google-appengine?hl=en. > > > > -- > > You 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 emai
[google-appengine] Data 'leak'
Just a minor thing: I have an app which claims to be storing 250MB of data, but I have no idea where that data might be. I've cleared the blob and datastores, removed indexes... The code is obviously still there, but I can't imagine that is more than a few kB. So somewhere 250MB is still being stored. Unless the dashboard lies... Geoff. -- You 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: Cookies on Google App Engine (Python)
Ok now I am having trouble reading the cookie. This code doesn't work: cookie = self.request.cookies.get("email", '') Any ideas? Adam On May 19, 9:59 am, adamea wrote: > Solved. > > self.response.headers.add_header( > 'Set-Cookie', 'email=j...@john.com; > expires=31-Dec-2020 > 23:59:59 GMT') > > Adam > > On May 19, 9:52 am,adamea wrote: > > > > > > > Hello > > > I have searched far and wide trying to find a solution to this problem > > but have not found anything that works. I am trying to set a cookie > > within a Python script running the webapp framework on App Engine. > > > What is the best way to do to this? Any example code and the place > > where the code should go is appreciated. > > > Thanks > > Adam > > > -- > > You 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 > 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: Log file viewer not working - stopped showing severity events past 4:59 pm
Log files are missing log data too. -n 0 --severity 1 stops dead on the same log entry as the Web front end... Can anyone confirm they are able to view their ERROR log files up-to- minute please? J On May 19, 3:45 pm, Jan Z wrote: > The event viewer is fine and is showing all traffic, but the "minimum > severity" viewer isn't showing new records past 4:59pm. > > The apps are actually working fine, and it's otherwise collecting > info, the log files just aren't visible... > > Anyone else seeing this? > > (Haven't tried downloading the log yet, that's next) > > J > > -- > You 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: Unable to create a new application under existing account
It seems to be a known and unresolvable bug, that you can only create 1 single app with Google Apps for Domains accounts, then your mobile phone number is burned. To be able to use 1 phone number to create 10 APPs, the only realiable way I know of is to get a Google Account instead and create Apps with this account. This is the solution that works for me. You then can add your Google Apps for Domain user as a Developer if you like. (Be sure to register this Dev using another browser for this which has been cleaned with Cookies and Cache.) To be able to use your burned phone number again, the only solution I heared of (I never tried it myself) is to use the "I have trouble getting SMS" form which is noted when it does not work and let the Google Staff re-enable your mobile again. Well, yes, this needs some time to resolve, though. You can ask somebody else (nonprogrammer, like your Grandfarther) if you can use this phone number. And, here in my country (Germany) it is not much expensive to get a second phone card with another number. Even with this "solution" Google free hosting still is much cheaper than to buy some hosting. Perhaps both is not intentioned by Google, however it works. To stress it again: With Google Account (only) you can legitimate with 1 phone number to create 10 Apps. All apps created with a Google Account then have this account as owner. However with Google Accounts you cannot create an AppID which resembles your domain name (because Google protects against this, so if some domain XXX.com is registered as Google Apps for Domain, you cannot create AppID XX, at least I was unable to do so). With Google Apps for Domains Account you can legitimate with 1 phone number to create 1 App only, afterwards the App has no owner at all. (However if AppID XX is free and your domain name is XXX.com, then you can create AppID XXX with your Google Apps for Domain user, at least I was able to do so.) Applications having no Owner are in danger because apps without owner cannot be protected against deletion. So some evil dev can delete all other devs from the app and then delete the app as well, then there is nobody left who can prevent the app to timeout. As the Owner cannot be removed, the owner always can cancel the deletion if the app was created with a Google Account. So if you happen to employ a third party to develop for you, you better shall have an application which has an owner. You might think, deleting an app is not major harm? Well, you can bring back the app, but you cannot bring back the appID, as appIDs are not recycled. So sadly you cannot have both: An App with an Owner and an App which has an AppID which is the same as your second level domain name. That is what I see. Please correct me if I'm wrong. -Tino On 17 Mai, 17:07, DougC wrote: > I have the same problem. I signed up with my personal gmail account > last year, now I want to create an account for my work domain. I've > been searching for an answer to this for 30 minutes now. Pretty > frustrating. > > Thanks, > > Doug > > On May 5, 5:14 pm, kkotak wrote: > > > > > Hello, > > > This has been asked a few hundred times and seems like the only way to > > resolve the issue of creating additional application under a google > > apps account is to start a new thread and get it resolved through one- > > on-one help from google. So here it is. > > > My domain name is naumu and I am trying to create a new application > > underhttps://appengine.google.com/a/naumu.com, which asks for my SMS > > number which upon providing, says the number has been used too many > > times. > > > Please help. > > > Thanks, > > > _Ketan > > CEO Naumu Inc. > > > -- > > You 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 > 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: Is it possible to sell a CMS hosted on Google App Engine without the code being visible ?
Exactly, anything can be considered a service, and the one service obviously not allowed it reselling. Reselling in my books equates to not adding value on top of App Engine. It's really just rebranding. Uploading someone else's static files onto App Engine (including configuring app.yaml and so on) is surely offering a valuable service to 90% of the world's population. I would be interested in hearing further what Ikai (or Google) thinks of this. On May 19, 10:11 am, Baz wrote: > There is a gray area. Ikai talked about it, and I believe you fall right in > the middle of it. Anything can be considered a "service" by the > English definition, including, as you mentioned, simply uploading the files. > But I'm pretty sure you can't open up a website offering "upload services" > for $30/month that happen to come with free hosting. If you designed, built, > and deployed the site, that may be a different story - but that's exactly > the point I am trying to make. The more value a developer provides relative > to the value of the hosting, the more likely it is that they are not in > violation. The less value one offers (i.e. simply uploading the files), the > more likely it is that they are in violation. I'm not sure I'm right, but I > offered the idea. It's because it's complicated that it takes 6 pages of > single-spaced text to explain it. > > Baz > > > > On Tue, May 18, 2010 at 11:21 PM, Robin wrote: > > I don't see how your first example could be construed as reselling at > > all. I do essentially exactly that for a couple of my own personal > > websites. It's free and the pages load incredibly fast compared to > > other hosting I've used. If a client is willing to pay me X$/month to > > host their static files on App Engine I don't consider that reselling. > > That's me providing a service as Ikai noted below (eg uploading the > > files, uploading future changes, possibly designing the site in the > > first place and so on). If a client knows how to do all this > > themselves, why would they pay me to do it for them. It IS a service I > > am providig. > > > Reselling to me would be basically adding some form of gateway to App > > Engine, which basically runs appcfg.py . I certainly can't see how the > > "complexity" of an app could be a legal indicator as to whether you > > are breaking the TOS. > > > On May 18, 8:38 pm, Baz wrote: > > > The gray area seems to depend, partly, on the complexity of the app. If, > > for > > > example, you build a 1 page static business-card website that you host on > > > GAE and charge $30/month for, that can be construed as selling hosting. > > On > > > the other hand, if your application is very large and complex and > > provides > > > lots of value, but you sold it in the same way, it seems that it would be > > > ok. > > > > Baz > > > > On Tue, May 18, 2010 at 10:17 AM, Ikai L (Google) > > wrote: > > > > > That's allowed. We're more permissive than restrictive with the terms > > of > > > > service. Unless you are reselling the baseline App Engine service, you > > > > should not be in violation. You are in the clear if you provide App > > Engine > > > > support, wrote an App Engine application, or sell access to some > > service > > > > that runs on App Engine. > > > > > On Mon, May 17, 2010 at 11:43 PM, Baz wrote: > > > > >> To be painfully clear, if I develop a stand-alone app that a customer > > > >> will pay me to deploy an instance of onto their own appengine account > > (with > > > >> no talking between other instances of the app) - that is allowed, > > correct? > > > >> And on top of it, they can't pull the code since I did the entire > > deployment > > > >> and appengine does not have mechanisms for pulling code, correct? > > > > >> -- > > > >> You 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. > > > > > -- > > > > Ikai Lan > > > > Developer Relations, Google App Engine > > > > Twitter:http://twitter.com/ikai > > > > Delicious:http://delicious.com/ikailan > > > > > > > > > Google App Engine links: > > > > Blog:http://googleappengine.blogspot.com > > > > Twitter:http://twitter.com/app_engine > > > > Reddit:http://www.reddit.com/r/appengine > > > > > -- > > > > You received this message because you are subscribed to the Google > > Groups > > > > "Google App Engine" group. > > > > To post to this group, send email to google-appengine@googlegroups.com > > . > > > > To unsubscribe from this group, send email to > > > > google-appengine+unsubscr...@googlegroups.com > > > > > > > . > > > > For more options, visit this group at > > > >http://groups.google.com/group/go
[google-appengine] problem with django forms and reference properties
Hi, How should I handle the display of reference properties via django forms? I have the two models below - and would like to show the 'DimensionForm' with a choice list of Library names. The definition below errors on the subclass 'LibModelChoiceField' with ' issubclass() arg 1 must be a class'. The form and everything works fine until I try to preformat the Library field. Any advice very welcome. Thanks, Alex class Library(db.Model): #unique name of this library name = db.StringProperty(required=True) # description of this library description = db.StringProperty(default='No description available') class Dimension(db.Model): # unique name name = db.StringProperty(required=True) # belongs to one and only one library library = db.ReferenceProperty(Library, collection_name='dimensions') class LibModelChoiceField(djangoforms.ModelChoiceField): def label_from_instance(self, obj): # Return a string of the format: "name, description" return "%s , %s"%(obj.name, obj.description) class DimensionForm(djangoforms.ModelForm): library = LibModelChoiceField(Library.all()) class Meta: model = Dimension -- You 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] unable to deploy
There has been a post from a GAE-team member (Ikai??) that states that if you get this "check again" with time greater then 32 the upload has succeeded, and you should be able to make this version the default. If you made changes to cron.yaml or index.yaml upload them with a specific excution of appcfg.py. 2010/5/18 martinfcasey : > Getting the forever check... > > id: xinbox-martin. > > Will check again in 4 seconds. > Checking if new version is ready to serve. > Will check again in 8 seconds. > Checking if new version is ready to serve. > Will check again in 16 seconds. > Checking if new version is ready to serve. > Will check again in 32 seconds. > Checking if new version is ready to serve. > Will check again in 60 seconds. > Checking if new version is ready to serve. > Will check again in 60 seconds. > Checking if new version is ready to serve. > Will check again in 60 seconds. > Checking if new version is ready to serve. > Will check again in 60 seconds. > Checking if new version is ready to serve. > Will check again in 60 seconds. > Checking if new version is ready to serve. > Will check again in 60 seconds. > > -- > You 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] Can't see applications on Dashboard
Hi all, I recently signed up for AppEngine, and have been having some strange issues. For starters, any application that I create doesn't appear in the dashboard. If I try to create it again, it tells me that the name is taken, and I have to choose a new one. This way I have created a few apps already, and the number at "You have X applications remaining" has been decreasing each time. However, there's no feedback whatsoever that the app was actually created. Today I tried to actually deploy an app, called "pablo-nb-test-2". Deployment seems correct, but I only get an error at http://pablo-nb-test-2.appspot.com Again, it doesn't appear in my dashboard either. Any ideas? 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.
[google-appengine] not able to update
2010-05-19 18:21:54 Running command: "['C:\\Python26\\pythonw.exe', 'C: \\Program Files\\Google\\google_appengine\\appcfg.py', '--no_cookies', u'--email=singh.pankaj.iitkg...@gmail.com', '--passin', 'update', u'D:\ \pankaj-singh']" C:\Program Files\Google\google_appengine\appcfg.py:41: DeprecationWarning: the sha module is deprecated; use the hashlib module instead os.path.join(DIR_PATH, 'lib', 'antlr3'), C:\Program Files\Google\google_appengine\google\appengine\tools \dev_appserver_login.py:33: DeprecationWarning: the md5 module is deprecated; use hashlib instead import md5 Application: pankaj-singh; version: 1. Server: appengine.google.com. Scanning files on local disk. Initiating update. 2010-05-19 18:21:58,438 ERROR appcfg.py:1568 An unexpected error occurred. Aborting. Traceback (most recent call last): File "C:\Program Files\Google\google_appengine\google\appengine\tools \appcfg.py", line 1535, in DoUpload missing_files = self.Begin() File "C:\Program Files\Google\google_appengine\google\appengine\tools \appcfg.py", line 1305, in Begin version=self.version, payload=self.config.ToYAML()) File "C:\Program Files\Google\google_appengine\google\appengine\tools \appengine_rpc.py", line 346, in Send f = self.opener.open(req) File "C:\Python26\lib\urllib2.py", line 391, in open response = self._open(req, data) File "C:\Python26\lib\urllib2.py", line 409, in _open '_open', req) File "C:\Python26\lib\urllib2.py", line 369, in _call_chain result = func(*args) File "C:\Program Files\Google\google_appengine\google\appengine\tools \https_wrapper.py", line 136, in https_open return self.do_open(http_class_wrapper, req) File "C:\Python26\lib\urllib2.py", line 1136, in do_open raise URLError(err) URLError: Traceback (most recent call last): File "C:\Program Files\Google\google_appengine\appcfg.py", line 68, in run_file(__file__, globals()) File "C:\Program Files\Google\google_appengine\appcfg.py", line 64, in run_file execfile(script_path, globals_) File "C:\Program Files\Google\google_appengine\google\appengine\tools \appcfg.py", line 2709, in main(sys.argv) File "C:\Program Files\Google\google_appengine\google\appengine\tools \appcfg.py", line 2700, in main result = AppCfgApp(argv).Run() File "C:\Program Files\Google\google_appengine\google\appengine\tools \appcfg.py", line 1763, in Run self.action(self) File "C:\Program Files\Google\google_appengine\google\appengine\tools \appcfg.py", line 2580, in __call__ return method() File "C:\Program Files\Google\google_appengine\google\appengine\tools \appcfg.py", line 2070, in Update lambda path: open(os.path.join(basepath, path), 'rb')) File "C:\Program Files\Google\google_appengine\google\appengine\tools \appcfg.py", line 1535, in DoUpload missing_files = self.Begin() File "C:\Program Files\Google\google_appengine\google\appengine\tools \appcfg.py", line 1305, in Begin version=self.version, payload=self.config.ToYAML()) File "C:\Program Files\Google\google_appengine\google\appengine\tools \appengine_rpc.py", line 346, in Send f = self.opener.open(req) File "C:\Python26\lib\urllib2.py", line 391, in open response = self._open(req, data) File "C:\Python26\lib\urllib2.py", line 409, in _open '_open', req) File "C:\Python26\lib\urllib2.py", line 369, in _call_chain result = func(*args) File "C:\Program Files\Google\google_appengine\google\appengine\tools \https_wrapper.py", line 136, in https_open return self.do_open(http_class_wrapper, req) File "C:\Python26\lib\urllib2.py", line 1136, in do_open raise URLError(err) urllib2.URLError: 2010-05-19 18:21:58 (Process exited with code 1) You can close this window now. -- You 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] getNickname returns email address even when nickname specified in profile
I have deployed the guestbook application to app engine was surprised to see that for my user account User.getNickname() seems to return my full email address. I have gone to "Google Account Settings" and "Edit Profile" and verified that I have a nickname configured. My account is not a gmail account, my account email address is from hotmail.com. Is this a bug or expected behavior? -- You 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] Search by id -> java
Hello, I'm new in app engine. I wrote my first simple application (www.wojciechowscy.waw.pl). It's work, but my the biggest problem is how to search BigTable using id on this table. I can perform query like: String query = "select from " + MyClass.class.getName()+" where someFiled=='lookingValue'"; It works and is more natural for me, because generally I'm database programmer. But problem is when i am going to get specify record from BigTable by his id. Question like: String query = "select from " + MyClass.class.getName()+" where id=='+idString+'"; and other similar construction doesn't work. I know that i should use parameter queries but in first set i would like to resolve problem with query with id. Regards sw -- You 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] Feature Request: Adding Custom App Statistics to App Engine Dashboard
When developing apps, often comes the desire to do some highlevel app- statistics, mostly counters. E.g. user upload data, which can be of different file formats (think of xml, bin, doc, ...) and I just want to make a stat, what the most uploaded formats are. Currently I have to do everything by myself (updating counters, visualizing, etc). What about providing a general service, such simple statistics could be included in the "App Engine Dashboard"? I could think of a library, which just accepts counters and some configuration, how to visualize them (plotted over time either as is, or accumulated). So in my code I could write something like this (Java) AppStatistics stat = new AppStatistics(); ... stat.increment("format.xml"); ... In the Dashboard (or in app config file), I could then configure how to present this data. I guess in this case an accumulating view over time would be appropriate, and all formats ("format.xml", "format.bin" , ...) should be present in the same graph - it does not need to be "realtime". Michael -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-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] looking at GAE database like sqlplus
Hi, I am a newbie with GAE. I want to know how can i browse through the GAE database like for example we use sqlplus/toad for oracle database. Thanks in advance for your suggestions. -- You 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] Double entities inserted into Datastore
I have used the code below to insert an entity (yes , supposed to be only one entity inserted per request). However, it has inserted two entities per request. Do you encounter this problem ? Thanks. = #coding=utf-8 from google.appengine.ext import db class Order(db.Model): time = db.DateTimeProperty(auto_now_add=True) stri = db.StringProperty() obj1 = Order(stri='test') obj1.put() -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-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] Doubt in developing application
I have a problem statement here I need to upload a file to a service. that service should accept the file as input and must produce op to user. I found Interpss cloud edition works(http://odm.interpss.com/) in the same way so plz help me to know how to make it possible. -- You 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] Pondering move to GAE
Hi all, As I have recently been given a whole new project to work on, with free hands to use whatever "tech" i like, I'm pondering to move all the code to GAE. I do have a couple of questions, hoping that somebody can clear them up for me. (Note: I know that I'm still thinking traditional RDBMS below, but I need to think in those terms for now) 1. Let's say I have an entity, Account, that I have been using for some time, and there is a lot of data in datastore that is mapped to Account, then one day the I want to add a new attribute to account, let's say "age". Usually, I would add the attribute to my class, and then add the column in my RDBMS, redeploy, and all is well. How would this be solved using datastore ? 2. Is it possible to tell GAE never to restrict access to my application (that is, I don't want any limits att all on number of request, no matter the cost). 3. Yesterday when trying to access the admin panel for appspot.com it asked me for SMS verification again, how often does this happen ? I'm sure I have a million more questions, but let's start with these. Thanks in advance for your answers. Kind Regards Marcus -- You 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] Authentication with Apps Domain
This appears to be a fairly basic question, but I couldn't find any answer after looking through this group. I'm using a custom google Apps Domain "foo.com". When I browse to my app at "www.foo.com" the front page comes up fine. On that page, there is a link generated using UserService.createLoginUrl() that looks something like this: https://www.google.com/a/foo.com/ServiceLogin?service=ah&passive=true&continue=https://www.foo.com/_ah/login%3Fcontinue%3D<... additional continue url omitted for brevity> You may notice the problem right away, that the "continue" url is an HTTPS url that points to my custom domain. Now as we all know you can't serve HTTPS off of your custom domain. ( http://code.google.com/appengine/kb/general.html#httpsapps ) So the "continue" redirect breaks once the Google SSO sends me back. Given that I don't appear to have any control over how that URL gets generated, how do I do user authentication using my custom domain? Thanks in advance for any help. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-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] index building stucked
who can help? -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-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] AppEngine servin cluster overloaded?
Hi. I have some issues with a GAE application. The application is very slow, and the log says that: "Request was aborted after waiting too long to attempt to service your request. This may happen sporadically when the App Engine serving cluster is under unexpectedly high or uneven load. If you see this message frequently, please contact the App Engine team." The same application, with another appId, works fine. There is some problem with GAE infrastructure? I don't understand why the same application, with 2 different appid, are so different. If it's possible to talk with GAE admin, I'll provide them the two appId. Thanks! Some other information: * GAE JAVA sdk 1.3.3.1 * Grails 1.2.1 * Groovy 1.6.6 -- You 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] Can't see applications on Dashboard
Do you use Google Apps? If so http://appengine.google.com/a/new-bamboo.co.uk/ Or what ever your Apps domain is... On 18 May 2010 17:53, PabloBM wrote: > Hi all, > > I recently signed up for AppEngine, and have been having some strange > issues. > > For starters, any application that I create doesn't appear in the > dashboard. If I try to create it again, it tells me that the name is > taken, and I have to choose a new one. This way I have created a few > apps already, and the number at "You have X applications remaining" > has been decreasing each time. However, there's no feedback whatsoever > that the app was actually created. > > Today I tried to actually deploy an app, called "pablo-nb-test-2". > Deployment seems correct, but I only get an error at > http://pablo-nb-test-2.appspot.com > Again, it doesn't appear in my dashboard either. > > Any ideas? > > 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. > > -- You 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] Double entities inserted into Datastore
Perhaps if your db operation is driven by a form the user refreshed their browser. If they did then the form would post the request again. The solution is to redirect after a post to clear out the headers. On Wed, May 19, 2010 at 6:53 AM, Dennis wrote: > I have used the code below to insert an entity (yes , supposed to be > only one entity inserted per request). However, it has inserted two > entities per request. > > Do you encounter this problem ? > > Thanks. > = > > #coding=utf-8 > from google.appengine.ext import db > > class Order(db.Model): >time = db.DateTimeProperty(auto_now_add=True) >stri = db.StringProperty() > > obj1 = Order(stri='test') > obj1.put() > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To post to this group, send email to google-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] Pondering move to GAE
In answer to your first question, yes but with a difference. When you update the schema in a RDBS it affects all the rows in the underlying table. Not so with datastore. The datastore entity instance is more like a dynamic object that will accept any valid property type and associated value without requiring all other instances of that entity type to have the same properties. When querying the datastore entities that do not have properties referenced by the filters are ignored and excluded from the query. On Wed, May 19, 2010 at 2:37 AM, Marcus wrote: > Hi all, > > As I have recently been given a whole new project to work on, with > free hands to use whatever "tech" i like, I'm pondering to move all > the code to GAE. I do have a couple of questions, hoping that somebody > can clear them up for me. (Note: I know that I'm still thinking > traditional RDBMS below, but I need to think in those terms for now) > > > 1. Let's say I have an entity, Account, that I have been using for > some time, and there is a lot of data in datastore that is mapped to > Account, then one day the I want to add a new attribute to account, > let's say "age". Usually, I would add the attribute to my class, and > then add the column in my RDBMS, redeploy, and all is well. How would > this be solved using datastore ? > > 2. Is it possible to tell GAE never to restrict access to my > application (that is, I don't want any limits att all on number of > request, no matter the cost). > > 3. Yesterday when trying to access the admin panel for appspot.com it > asked me for SMS verification again, how often does this happen ? > > I'm sure I have a million more questions, but let's start with these. > > Thanks in advance for your answers. > > Kind Regards > Marcus > > -- > You 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] Data 'leak'
Geoff, The dashboard takes a while to update. When you say you deleted indexes what do you mean? Unless you mark every property as not indexed there will be two indexes per property. Robert On Wed, May 19, 2010 at 4:45 AM, Geoff wrote: > > Just a minor thing: I have an app which claims to be storing 250MB of > data, but I have no idea where that data might be. I've cleared the > blob and datastores, removed indexes... The code is obviously still > there, but I can't imagine that is more than a few kB. So somewhere > 250MB is still being stored. > > Unless the dashboard lies... > > Geoff. > > -- > You 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: Data 'leak'
I deleted all the multiple property indexes; I didn't touch the single property indexes. Could they be using up my phantom space? Even if the data is now 'gone' and the blobstore is basically empty? I left it for a few hours (probably 4-5); how long does the dashboard take to update. On May 19, 5:32 pm, Robert Kluin wrote: > Geoff, > The dashboard takes a while to update. When you say you deleted > indexes what do you mean? Unless you mark every property as not > indexed there will be two indexes per property. > > Robert > > > > > > On Wed, May 19, 2010 at 4:45 AM, Geoff wrote: > > > Just a minor thing: I have an app which claims to be storing 250MB of > > data, but I have no idea where that data might be. I've cleared the > > blob and datastores, removed indexes... The code is obviously still > > there, but I can't imagine that is more than a few kB. So somewhere > > 250MB is still being stored. > > > Unless the dashboard lies... > > > Geoff. > > > -- > > You 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 > 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] SDK 1.3.4 released!
Hello, App Engine developers! Hopefully you're all following along the Google I/O keynote and seen our blog posts with new App Engine annoucements. Well, we've got another exciting announcement: SDK 1.3.4 is LIVE! Get it below: http://code.google.com/appengine/downloads.html Release notes are below: Java --- Version 1.3.4 = - Client side bulkloader available with the Python SDK that has a new configuration syntax and wizard for easier import/export with the datastore. Can be used by enabling remote_api in your Java application - Applications can now be configured to authenticate with OpenID by selecting the OpenID option when creating your application in the admin console http://code.google.com/p/googleappengine/issues/detail?id=248 http://code.google.com/p/googleappengine/issues/detail?id=56 - New API to allow App Engine apps to act as OAuth service providers http://code.google.com/p/googleappengine/issues/detail?id=919 - The version update check in the Java SDK now uses https - Allow full access to javax.el.* http://code.google.com/p/googleappengine/issues/detail?id=3157 - Increased the timeout during deployment to 15 minutes - Fixed an issue with JPA where an illegal cast exception was thrown during the fetch of integer fields - MemcacheService.setNamespace() is deprecated in favor of MemcacheServiceFactory.getMemcacheManager(namespace) - Support in the SDK for Java 1.5 is being deprecated. These warnings now appear when starting the SDK Python - Version 1.3.4 = - New bulkloader configuration syntax and wizard for easier import/export with the datastore. - Applications can now be configured to authenticate with OpenID by selecting the OpenID option when creating your application in the admin console. http://code.google.com/p/googleappengine/issues/detail?id=248 http://code.google.com/p/googleappengine/issues/detail?id=56 - New API to allow App Engine apps to act as OAuth service providers. http://code.google.com/p/googleappengine/issues/detail?id=919 - Auto task execution is now enabled in the dev_appserver. To turn this off use the flag --disable_task_running. - Fixed an issue using db.put() with constructor initialized id based keys. http://code.google.com/p/googleappengine/issues/detail?id=3209 -- Ikai Lan Developer Relations, Google App Engine Twitter: http://twitter.com/ikai Delicious: http://delicious.com/ikailan Google App Engine links: Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- You 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: Data 'leak'
If you have a lot of properties then the single property indexes could take quite a bit. Did you vacuum_indexes after deleting them? I think I have seen the dashboard take 24 hours to get fully up-to-date. Robert On Wed, May 19, 2010 at 12:42 PM, Geoff wrote: > I deleted all the multiple property indexes; I didn't touch the single > property indexes. Could they be using up my phantom space? Even if > the data is now 'gone' and the blobstore is basically empty? I left > it for a few hours (probably 4-5); how long does the dashboard take to > update. > > On May 19, 5:32 pm, Robert Kluin wrote: >> Geoff, >> The dashboard takes a while to update. When you say you deleted >> indexes what do you mean? Unless you mark every property as not >> indexed there will be two indexes per property. >> >> Robert >> >> >> >> >> >> On Wed, May 19, 2010 at 4:45 AM, Geoff wrote: >> >> > Just a minor thing: I have an app which claims to be storing 250MB of >> > data, but I have no idea where that data might be. I've cleared the >> > blob and datastores, removed indexes... The code is obviously still >> > there, but I can't imagine that is more than a few kB. So somewhere >> > 250MB is still being stored. >> >> > Unless the dashboard lies... >> >> > Geoff. >> >> > -- >> > You 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 >> 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: not able to update
any help ?? On Wed, May 19, 2010 at 12:54 PM, PankaJ SingH < singh.pankaj.iitkg...@gmail.com> wrote: > 2010-05-19 18:21:54 Running command: "['C:\\Python26\\pythonw.exe', 'C: > \\Program Files\\Google\\google_appengine\\appcfg.py', '--no_cookies', > u'--email=singh.pankaj.iitkg...@gmail.com', '--passin', 'update', u'D:\ > \pankaj-singh']" > C:\Program Files\Google\google_appengine\appcfg.py:41: > DeprecationWarning: the sha module is deprecated; use the hashlib > module instead > os.path.join(DIR_PATH, 'lib', 'antlr3'), > C:\Program Files\Google\google_appengine\google\appengine\tools > \dev_appserver_login.py:33: DeprecationWarning: the md5 module is > deprecated; use hashlib instead > import md5 > Application: pankaj-singh; version: 1. > Server: appengine.google.com. > Scanning files on local disk. > Initiating update. > 2010-05-19 18:21:58,438 ERROR appcfg.py:1568 An unexpected error > occurred. Aborting. > Traceback (most recent call last): > File "C:\Program Files\Google\google_appengine\google\appengine\tools > \appcfg.py", line 1535, in DoUpload >missing_files = self.Begin() > File "C:\Program Files\Google\google_appengine\google\appengine\tools > \appcfg.py", line 1305, in Begin >version=self.version, payload=self.config.ToYAML()) > File "C:\Program Files\Google\google_appengine\google\appengine\tools > \appengine_rpc.py", line 346, in Send >f = self.opener.open(req) > File "C:\Python26\lib\urllib2.py", line 391, in open >response = self._open(req, data) > File "C:\Python26\lib\urllib2.py", line 409, in _open >'_open', req) > File "C:\Python26\lib\urllib2.py", line 369, in _call_chain >result = func(*args) > File "C:\Program Files\Google\google_appengine\google\appengine\tools > \https_wrapper.py", line 136, in https_open >return self.do_open(http_class_wrapper, req) > File "C:\Python26\lib\urllib2.py", line 1136, in do_open >raise URLError(err) > URLError: because the target machine actively refused it> > Traceback (most recent call last): > File "C:\Program Files\Google\google_appengine\appcfg.py", line 68, > in >run_file(__file__, globals()) > File "C:\Program Files\Google\google_appengine\appcfg.py", line 64, > in run_file >execfile(script_path, globals_) > File "C:\Program Files\Google\google_appengine\google\appengine\tools > \appcfg.py", line 2709, in >main(sys.argv) > File "C:\Program Files\Google\google_appengine\google\appengine\tools > \appcfg.py", line 2700, in main >result = AppCfgApp(argv).Run() > File "C:\Program Files\Google\google_appengine\google\appengine\tools > \appcfg.py", line 1763, in Run >self.action(self) > File "C:\Program Files\Google\google_appengine\google\appengine\tools > \appcfg.py", line 2580, in __call__ >return method() > File "C:\Program Files\Google\google_appengine\google\appengine\tools > \appcfg.py", line 2070, in Update >lambda path: open(os.path.join(basepath, path), 'rb')) > File "C:\Program Files\Google\google_appengine\google\appengine\tools > \appcfg.py", line 1535, in DoUpload >missing_files = self.Begin() > File "C:\Program Files\Google\google_appengine\google\appengine\tools > \appcfg.py", line 1305, in Begin >version=self.version, payload=self.config.ToYAML()) > File "C:\Program Files\Google\google_appengine\google\appengine\tools > \appengine_rpc.py", line 346, in Send >f = self.opener.open(req) > File "C:\Python26\lib\urllib2.py", line 391, in open >response = self._open(req, data) > File "C:\Python26\lib\urllib2.py", line 409, in _open >'_open', req) > File "C:\Python26\lib\urllib2.py", line 369, in _call_chain >result = func(*args) > File "C:\Program Files\Google\google_appengine\google\appengine\tools > \https_wrapper.py", line 136, in https_open >return self.do_open(http_class_wrapper, req) > File "C:\Python26\lib\urllib2.py", line 1136, in do_open >raise URLError(err) > urllib2.URLError: made because the target machine actively refused it> > 2010-05-19 18:21:58 (Process exited with code 1) > > You can close this window now. -- -- -- Thanking You, Pankaj Kumar Singh, 2nd Year Undergraduate Student, Department of Agricultural and Food Engineering, Indian Institute of Technology, Kharagpur Mobile - (+91) 8001231685 -- You 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 For Business
http://code.google.com/appengine/business/ Thank you Google App Engine Team! Very good too see that you are listening to the feedback...and addressing them with this thoroughly impressive response! /Chris -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-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 For Business
There's a distinct lack of details that makes me not sure if I should be excited or not :| I had figured things like custom-domain SSL, perhaps even a SLA or premium support would get added to the existing offering, even if at cost. The key question will be what increase in cost there'll be to migrate a regular appengine app to Appengine for Business, to get these features. Google's left a question mark over billing for 'external' public apps under App Engine for Business. On May 19, 7:13 pm, Chris wrote: > http://code.google.com/appengine/business/ > > Thank you Google App Engine Team! > Very good too see that you are listening to the feedback...and > addressing them with this thoroughly impressive response! > > /Chris > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To post to this group, send email to google-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: App Engine For Business
I agree that it's an uncomfortable position seeing that key features such as SLA and SSL are being denied regular Appengine users. For those businesses that believed that regular Appengine is intended to become an enterprise-level platform, it is worrisome to see such artificial segmentation being worked into the mix. I hope it's just a big misunderstanding. johnP On May 19, 11:15 am, peterk wrote: > There's a distinct lack of details that makes me not sure if I should > be excited or not :| > > I had figured things like custom-domain SSL, perhaps even a SLA or > premium support would get added to the existing offering, even if at > cost. > > The key question will be what increase in cost there'll be to migrate > a regular appengine app to Appengine for Business, to get these > features. Google's left a question mark over billing for 'external' > public apps under App Engine for Business. > > On May 19, 7:13 pm, Chris wrote: > > >http://code.google.com/appengine/business/ > > > Thank you Google App Engine Team! > > Very good too see that you are listening to the feedback...and > > addressing them with this thoroughly impressive response! > > > /Chris > > > -- > > You received this message because you are subscribed to the Google Groups > > "Google App Engine" group. > > To post to this group, send email to google-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 > 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: Cookies on Google App Engine (Python)
Hi Adam, Try running this on the dev server: class MainHandler(webapp.RequestHandler): def get(self): # This works fine for me, of course you need to refresh the page to get the previously set cookie. self.response.headers.add_header('Set-Cookie', 'email=j...@john.com') self.response.out.write(self.request.cookies.get('email')) # On the dev server this works fine for me. self.response.out.write(self.request.cookies.get('dev_appserver_login')) Robert On Wed, May 19, 2010 at 5:08 AM, adamea wrote: > Ok now I am having trouble reading the cookie. This code doesn't work: > > cookie = self.request.cookies.get("email", '') > > Any ideas? > > Adam > > > On May 19, 9:59 am, adamea wrote: >> Solved. >> >> self.response.headers.add_header( >> 'Set-Cookie', 'email=j...@john.com; >> expires=31-Dec-2020 >> 23:59:59 GMT') >> >> Adam >> >> On May 19, 9:52 am,adamea wrote: >> >> >> >> >> >> > Hello >> >> > I have searched far and wide trying to find a solution to this problem >> > but have not found anything that works. I am trying to set a cookie >> > within a Python script running the webapp framework on App Engine. >> >> > What is the best way to do to this? Any example code and the place >> > where the code should go is appreciated. >> >> > Thanks >> > Adam >> >> > -- >> > You 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 >> 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] Problem with redirecting requests for blobstore in SDK
Hello everyone, I asked the same question in IRC too, but got no response there. So thought might be a good idea to post here. I am sorry if I am annoying any one. I am using Blobstore API (SDK version 1.3.2, language Python). I have my form of enctype="multipart/form-data" and action as URL generated by blobstore.create_upload_url() function and parameter to this function being a Unicode string which is the URL to the view which processes the form. After I submit the form in my local instance, I get to a URL of the form [0] and it stops there. Can some one please tell me what might be wrong and why I am not being redirected to the URL I have mentioned in blobstore.create_upload_url() function? [0] - http://localhost:8000/_ah/upload/ahRtZWxhbmdlLW1hZGh1c3VkYW5jc3IcCxIVX19CbG9iVXBsb2FkU2Vzc2lvbl9fGJYBDA -- Thanks and regards, Madhusudan.C.S Blogs at: www.madhusudancs.info My Online Identity: madhusudancs -- You 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 For Business
SSL was the single most important feature to me on the roadmap that existed prior to this new App Engine for Business announcement. Now I'm a bit concerned because I don't see it at all on the roadmap for regular App Engine applications. Unless I can easily use App Engine for Business for public app users without having to authenticate them against Google Apps, I really really need SSL for the regular App Engine solution! Stephen On May 19, 2:41 pm, johnP wrote: > I agree that it's an uncomfortable position seeing that key features > such as SLA and SSL are being denied regular Appengine users. For > those businesses that believed that regular Appengine is intended to > become an enterprise-level platform, it is worrisome to see such > artificial segmentation being worked into the mix. > > I hope it's just a big misunderstanding. > > johnP > > On May 19, 11:15 am, peterk wrote: > > > > > > > There's a distinct lack of details that makes me not sure if I should > > be excited or not :| > > > I had figured things like custom-domain SSL, perhaps even a SLA or > > premium support would get added to the existing offering, even if at > > cost. > > > The key question will be what increase in cost there'll be to migrate > > a regular appengine app to Appengine for Business, to get these > > features. Google's left a question mark over billing for 'external' > > public apps under App Engine for Business. > > > On May 19, 7:13 pm, Chris wrote: > > > >http://code.google.com/appengine/business/ > > > > Thank you Google App Engine Team! > > > Very good too see that you are listening to the feedback...and > > > addressing them with this thoroughly impressive response! > > > > /Chris > > > > -- > > > You received this message because you are subscribed to the Google Groups > > > "Google App Engine" group. > > > To post to this group, send email to google-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 > > 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 > 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: App Engine For Business
It makes me feel like the the regular App Engine will become a kind of sandbox for developpers to play with before going with the business edition. I hope I'm wrong with that point of view. François On 19 mai, 22:43, Houston startup coder wrote: > SSL was the single most important feature to me on the roadmap that > existed prior to this new App Engine for Business announcement. Now > I'm a bit concerned because I don't see it at all on the roadmap for > regular App Engine applications. Unless I can easily use App Engine > for Business for public app users without having to authenticate them > against Google Apps, I really really need SSL for the regular App > Engine solution! > > Stephen > > On May 19, 2:41 pm, johnP wrote: > > > > > > > I agree that it's an uncomfortable position seeing that key features > > such as SLA and SSL are being denied regular Appengine users. For > > those businesses that believed that regular Appengine is intended to > > become an enterprise-level platform, it is worrisome to see such > > artificial segmentation being worked into the mix. > > > I hope it's just a big misunderstanding. > > > johnP > > > On May 19, 11:15 am, peterk wrote: > > > > There's a distinct lack of details that makes me not sure if I should > > > be excited or not :| > > > > I had figured things like custom-domain SSL, perhaps even a SLA or > > > premium support would get added to the existing offering, even if at > > > cost. > > > > The key question will be what increase in cost there'll be to migrate > > > a regular appengine app to Appengine for Business, to get these > > > features. Google's left a question mark over billing for 'external' > > > public apps under App Engine for Business. > > > > On May 19, 7:13 pm, Chris wrote: > > > > >http://code.google.com/appengine/business/ > > > > > Thank you Google App Engine Team! > > > > Very good too see that you are listening to the feedback...and > > > > addressing them with this thoroughly impressive response! > > > > > /Chris > > > > > -- > > > > You received this message because you are subscribed to the Google > > > > Groups "Google App Engine" group. > > > > To post to this group, send email to google-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 > > > 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 > > 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 > 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: Pondering move to GAE
1. As Jeff said, the entities will all happily continue to exist with no "age" value set, and no index entry for that property. I've instituted a migration phase in my application rollouts where I update default properties or re-save newly added indexed properties. It shouldn't cause an error as long as you handle the window of time where some entities do not yet have a value for a property. 2. I don't believe it's possible to remove all limits. I believe there are still some hard rate limiting caps that are imposed by Google, no matter how generous the budget. If you can slice your tasks and move around load via task queue or crons, that's one way to handle it. 3. Once you are SMS verified, it shouldn't happen again. Each account must be verified of course, but once done, it seems to be good forever. On May 19, 1:37 am, Marcus wrote: > Hi all, > > As I have recently been given a whole new project to work on, with > free hands to use whatever "tech" i like, I'm pondering to move all > the code to GAE. I do have a couple of questions, hoping that somebody > can clear them up for me. (Note: I know that I'm still thinking > traditional RDBMS below, but I need to think in those terms for now) > > 1. Let's say I have an entity, Account, that I have been using for > some time, and there is a lot of data in datastore that is mapped to > Account, then one day the I want to add a new attribute to account, > let's say "age". Usually, I would add the attribute to my class, and > then add the column in my RDBMS, redeploy, and all is well. How would > this be solved using datastore ? > > 2. Is it possible to tell GAE never to restrict access to my > application (that is, I don't want any limits att all on number of > request, no matter the cost). > > 3. Yesterday when trying to access the admin panel for appspot.com it > asked me for SMS verification again, how often does this happen ? > > I'm sure I have a million more questions, but let's start with these. > > Thanks in advance for your answers. > > Kind Regards > Marcus > > -- > You 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: Authentication with Apps Domain
Sorry I hadn't thought about the fact that those urls would be activated and cut off. The point is that the URL created by the createLoginUrl call is: has "https : //www.foo.com/ _ah/login %253Fcontinue..." as the "continue" URL (hopefully adding a few spaces will foil the URL activator...) Causing the problem explained above with HTTPS and custom domains. Thanks. On May 18, 8:59 pm, gmiller74 wrote: > This appears to be a fairly basic question, but I couldn't find any > answer after looking through this group. > > I'm using a custom google Apps Domain "foo.com". When I browse to my > app at "www.foo.com" the front page comes up fine. On that page, > there is a link generated using UserService.createLoginUrl() that > looks something like this: > > https://www.google.com/a/foo.com/ServiceLogin?service=ah&passive=true...<... > additional continue url omitted for brevity> > > You may notice the problem right away, that the "continue" url is an > HTTPS url that points to my custom domain. Now as we all know you > can't serve HTTPS off of your custom domain. > (http://code.google.com/appengine/kb/general.html#httpsapps) So the > "continue" redirect breaks once the Google SSO sends me back. > > Given that I don't appear to have any control over how that URL gets > generated, how do I do user authentication using my custom domain? > > Thanks in advance for any help. > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To post to this group, send email to google-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: App Engine For Business
"Each application costs $8 per user, up to a maximum of $1000, per month" Does anyone know what the definition of "user" here is? Google Account user? Developer? Unique visit (I hope it isn't). Shinichi 2010/5/19 François Masurel : > It makes me feel like the the regular App Engine will become a kind of > sandbox for developpers to play with before going with the business > edition. > > I hope I'm wrong with that point of view. > > François > > On 19 mai, 22:43, Houston startup coder wrote: >> SSL was the single most important feature to me on the roadmap that >> existed prior to this new App Engine for Business announcement. Now >> I'm a bit concerned because I don't see it at all on the roadmap for >> regular App Engine applications. Unless I can easily use App Engine >> for Business for public app users without having to authenticate them >> against Google Apps, I really really need SSL for the regular App >> Engine solution! >> >> Stephen >> >> On May 19, 2:41 pm, johnP wrote: >> >> >> >> >> >> > I agree that it's an uncomfortable position seeing that key features >> > such as SLA and SSL are being denied regular Appengine users. For >> > those businesses that believed that regular Appengine is intended to >> > become an enterprise-level platform, it is worrisome to see such >> > artificial segmentation being worked into the mix. >> >> > I hope it's just a big misunderstanding. >> >> > johnP >> >> > On May 19, 11:15 am, peterk wrote: >> >> > > There's a distinct lack of details that makes me not sure if I should >> > > be excited or not :| >> >> > > I had figured things like custom-domain SSL, perhaps even a SLA or >> > > premium support would get added to the existing offering, even if at >> > > cost. >> >> > > The key question will be what increase in cost there'll be to migrate >> > > a regular appengine app to Appengine for Business, to get these >> > > features. Google's left a question mark over billing for 'external' >> > > public apps under App Engine for Business. >> >> > > On May 19, 7:13 pm, Chris wrote: >> >> > > >http://code.google.com/appengine/business/ >> >> > > > Thank you Google App Engine Team! >> > > > Very good too see that you are listening to the feedback...and >> > > > addressing them with this thoroughly impressive response! >> >> > > > /Chris >> >> > > > -- >> > > > You received this message because you are subscribed to the Google >> > > > Groups "Google App Engine" group. >> > > > To post to this group, send email to google-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 >> > > 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 >> > 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 >> 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.
Re: [google-appengine] Re: App Engine For Business
Great question.Their legal minds are figuring out now :) Jeff On Wed, May 19, 2010 at 6:00 PM, Shinichi Nakanishi wrote: > "Each application costs $8 per user, up to a maximum of $1000, per month" > > Does anyone know what the definition of "user" here is? Google > Account user? Developer? Unique visit (I hope it isn't). > > Shinichi > > > 2010/5/19 François Masurel : > > It makes me feel like the the regular App Engine will become a kind of > > sandbox for developpers to play with before going with the business > > edition. > > > > I hope I'm wrong with that point of view. > > > > François > > > > On 19 mai, 22:43, Houston startup coder wrote: > >> SSL was the single most important feature to me on the roadmap that > >> existed prior to this new App Engine for Business announcement. Now > >> I'm a bit concerned because I don't see it at all on the roadmap for > >> regular App Engine applications. Unless I can easily use App Engine > >> for Business for public app users without having to authenticate them > >> against Google Apps, I really really need SSL for the regular App > >> Engine solution! > >> > >> Stephen > >> > >> On May 19, 2:41 pm, johnP wrote: > >> > >> > >> > >> > >> > >> > I agree that it's an uncomfortable position seeing that key features > >> > such as SLA and SSL are being denied regular Appengine users. For > >> > those businesses that believed that regular Appengine is intended to > >> > become an enterprise-level platform, it is worrisome to see such > >> > artificial segmentation being worked into the mix. > >> > >> > I hope it's just a big misunderstanding. > >> > >> > johnP > >> > >> > On May 19, 11:15 am, peterk wrote: > >> > >> > > There's a distinct lack of details that makes me not sure if I > should > >> > > be excited or not :| > >> > >> > > I had figured things like custom-domain SSL, perhaps even a SLA or > >> > > premium support would get added to the existing offering, even if at > >> > > cost. > >> > >> > > The key question will be what increase in cost there'll be to > migrate > >> > > a regular appengine app to Appengine for Business, to get these > >> > > features. Google's left a question mark over billing for 'external' > >> > > public apps under App Engine for Business. > >> > >> > > On May 19, 7:13 pm, Chris wrote: > >> > >> > > >http://code.google.com/appengine/business/ > >> > >> > > > Thank you Google App Engine Team! > >> > > > Very good too see that you are listening to the feedback...and > >> > > > addressing them with this thoroughly impressive response! > >> > >> > > > /Chris > >> > >> > > > -- > >> > > > You received this message because you are subscribed to the Google > Groups "Google App Engine" group. > >> > > > To post to this group, send email to > google-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 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 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 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-appengine] Re: Cookies on Google App Engine (Python)
Thanks Robert. It turns out the 'path' attribute of the cookie was causing me problems. I was creating the cookie on the path "/user/" and so Safari was only letting me read the cookie when I was on that path. I subsequently changed the path attribute to "/" when setting the cookie, and the problem disappeared. Adam On May 20, 4:43 am, Robert Kluin wrote: > Hi Adam, > Try running this on the dev server: > > class MainHandler(webapp.RequestHandler): > def get(self): > # This works fine for me, of course you need to refresh the > page to get the previously set cookie. > self.response.headers.add_header('Set-Cookie', 'email=j...@john.com') > self.response.out.write(self.request.cookies.get('email')) > > # On the dev server this works fine for me. > > self.response.out.write(self.request.cookies.get('dev_appserver_login')) > > Robert > > > > > > On Wed, May 19, 2010 at 5:08 AM, adamea wrote: > > Ok now I am having trouble reading the cookie. This code doesn't work: > > > cookie = self.request.cookies.get("email", '') > > > Any ideas? > > > Adam > > > On May 19, 9:59 am, adamea wrote: > >> Solved. > > >> self.response.headers.add_header( > >> 'Set-Cookie', 'email=j...@john.com; > >> expires=31-Dec-2020 > >> 23:59:59 GMT') > > >> Adam > > >> On May 19, 9:52 am,adamea wrote: > > >> > Hello > > >> > I have searched far and wide trying to find a solution to this problem > >> > but have not found anything that works. I am trying to set a cookie > >> > within a Python script running the webapp framework on App Engine. > > >> > What is the best way to do to this? Any example code and the place > >> > where the code should go is appreciated. > > >> > Thanks > >> > Adam > > >> > -- > >> > You 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 > >> 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 > > 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 > 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: SDK 1.3.4 released!
Thanks guys!!! Herbert e annoucements. Well, we've got another > exciting announcement: SDK 1.3.4 is LIVE! Get it below: > > http://code.google.com/appengine/downloads.html > > Release notes are below: > > Java > --- > Version 1.3.4 > = > - Client side bulkloader available with the Python SDK that has a new > configuration syntax and wizard for easier import/export with the > datastore. > Can be used by enabling remote_api in your Java application > - Applications can now be configured to authenticate with OpenID by > selecting > the OpenID option when creating your application in the admin console > http://code.google.com/p/googleappengine/issues/detail?id=248 > http://code.google.com/p/googleappengine/issues/detail?id=56 > - New API to allow App Engine apps to act as OAuth service providers > http://code.google.com/p/googleappengine/issues/detail?id=919 > - The version update check in the Java SDK now uses https > - Allow full access to javax.el.* > http://code.google.com/p/googleappengine/issues/detail?id=3157 > - Increased the timeout during deployment to 15 minutes > - Fixed an issue with JPA where an illegal cast exception was thrown during > the > fetch of integer fields > - MemcacheService.setNamespace() is deprecated in favor of > MemcacheServiceFactory.getMemcacheManager(namespace) > - Support in the SDK for Java 1.5 is being deprecated. These warnings now > appear > when starting the SDK > > Python > - > > Version 1.3.4 > = > - New bulkloader configuration syntax and wizard for easier import/export > with > the datastore. > - Applications can now be configured to authenticate with OpenID by > selecting > the OpenID option when creating your application in the admin console. > http://code.google.com/p/googleappengine/issues/detail?id=248 > http://code.google.com/p/googleappengine/issues/detail?id=56 > - New API to allow App Engine apps to act as OAuth service providers. > http://code.google.com/p/googleappengine/issues/detail?id=919 > - Auto task execution is now enabled in the dev_appserver. To turn this off > use the flag --disable_task_running. > - Fixed an issue using db.put() with constructor initialized id based keys. > http://code.google.com/p/googleappengine/issues/detail?id=3209 > > -- > Ikai Lan > Developer Relations, Google App Engine > Twitter:http://twitter.com/ikai > Delicious:http://delicious.com/ikailan > > > Google App Engine links: > Blog:http://googleappengine.blogspot.com > Twitter:http://twitter.com/app_engine > Reddit:http://www.reddit.com/r/appengine > > -- > You 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: App Engine For Business
On May 19, 6:00 pm, Shinichi Nakanishi wrote: > "Each application costs $8 per user, up to a maximum of $1000, per month" > > Does anyone know what the definition of "user" here is? Google > Account user? Developer? Unique visit (I hope it isn't). Google Apps Premium uses a per-user charge for the service. I'd assume it's $8 per user registered in the Apps domain the application is running on. However, if the billing is per-user, what does "pay for only what you use" in the announcement mean? The previous sentence seems to directly contradict that. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-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] "This request caused a new process..."
Hi, I see that with every other request that goes to my application, I get the warning: "This request caused a new process to be started for your application, and thus caused your application code to be loaded for the first time. This request may thus take longer and use more CPU than a typical request for your application." I presume a new process implies a new process of dev_appserver. Why does this happen? Is there any documentation about when a new process start? Is there any way to get over this? Thanks in advance. -Shri -- You 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: App Engine For Business
Yes, if it was Google Apps, it would make sense. But for App Engine, I don't think "per user registered in the Apps domain" thing works. For instance, what if you do not register your domain but use your-subdomain.appspot.com? Is it $0 and still be able to use features like Hosted SQL? So, I have no idea what "per user" here means. Shinichi On Wed, May 19, 2010 at 18:39, Geoffrey Spear wrote: > > > On May 19, 6:00 pm, Shinichi Nakanishi wrote: >> "Each application costs $8 per user, up to a maximum of $1000, per month" >> >> Does anyone know what the definition of "user" here is? Google >> Account user? Developer? Unique visit (I hope it isn't). > > Google Apps Premium uses a per-user charge for the service. I'd > assume it's $8 per user registered in the Apps domain the application > is running on. > > However, if the billing is per-user, what does "pay for only what you > use" in the announcement mean? The previous sentence seems to > directly contradict that. > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To post to this group, send email to google-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: "This request caused a new process..."
Hi This is a log entry you will see only in the production environment (ie not a dev appserver). It is indicating that a new instance is being spun up to service the request as there is either there are no instances running or all the existing instances are busy and you need another one to support the load. Normally you will see this on very quiet sites as instances shutdown if not used after a few minutes. This is a normal log message. T On May 20, 10:06 am, ShriJ wrote: > Hi, > > I see that with every other request that goes to my application, I get > the warning: > > "This request caused a new process to be started for your application, > and thus caused your application code to be loaded for the first time. > This request may thus take longer and use more CPU than a typical > request for your application." > > I presume a new process implies a new process of dev_appserver. > > Why does this happen? Is there any documentation about when a new > process start? Is there any way to get over this? > > Thanks in advance. > -Shri > > -- > You 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: "This request caused a new process..."
On Thu, May 20, 2010 at 5:27 AM, Tim Hoffman wrote: > Normally you will see this on very quiet sites as instances shutdown > if not used after a few minutes. > Is there any official number? Because those "few minutes" sound way optimistic to me. My experience is rather 30sec. :( Regards J. Záruba > This is a normal log message. > > T > > On May 20, 10:06 am, ShriJ wrote: > > Hi, > > > > I see that with every other request that goes to my application, I get > > the warning: > > > > "This request caused a new process to be started for your application, > > and thus caused your application code to be loaded for the first time. > > This request may thus take longer and use more CPU than a typical > > request for your application." > > > > I presume a new process implies a new process of dev_appserver. > > > > Why does this happen? Is there any documentation about when a new > > process start? Is there any way to get over this? > > > > Thanks in advance. > > -Shri > > > > -- > > You 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: Problem with redirecting requests for blobstore in SDK
Where do you run the dev appengine server? If it is somehwere that the requests get logged, can you share the last few lines from the console log too? -- You 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: "This request caused a new process..."
Yeah, look you may find 30sec's is more accurate. I think that threshold is play'd around with a bit. T On May 20, 11:30 am, Jaroslav Záruba wrote: > On Thu, May 20, 2010 at 5:27 AM, Tim Hoffman wrote: > > Normally you will see this on very quiet sites as instances shutdown > > if not used after a few minutes. > > Is there any official number? Because those "few minutes" sound way > optimistic to me. My experience is rather 30sec. :( > > Regards > J. Záruba > > > > > > > This is a normal log message. > > > T > > > On May 20, 10:06 am, ShriJ wrote: > > > Hi, > > > > I see that with every other request that goes to my application, I get > > > the warning: > > > > "This request caused a new process to be started for your application, > > > and thus caused your application code to be loaded for the first time. > > > This request may thus take longer and use more CPU than a typical > > > request for your application." > > > > I presume a new process implies a new process of dev_appserver. > > > > Why does this happen? Is there any documentation about when a new > > > process start? Is there any way to get over this? > > > > Thanks in advance. > > > -Shri > > > > -- > > > You 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 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 > 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 > 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: Double entities inserted into Datastore
hi Jeff , Thanks for your reply. But I did not use form to execute the request. I trigger the datastore data insertion by one browser request, and it can be seen on the log (yes, there is only one and only one request). I have changed my code to below to see what happen to the datastore. #coding=utf-8 from google.appengine.ext import db class Order(db.Model): time = db.DateTimeProperty(auto_now_add=True) stri = db.StringProperty() obj1 = Order(stri='y') obj1.put() obj2 = Order(stri='n') obj2.put() == Running the query of "SELECT * FROM Order order by time desc" , the result is : (so you can see the server seems to request the site again after I have done so) But if I request it by cron job , there are only 2 entities inserted, instead of 4. id=60002 n 2010-05-20 04:33:24.450649 id=20004 y 2010-05-20 04:33:24.389974 id=66004 n 2010-05-20 04:33:23.886866 id=35006 y 2010-05-20 04:33:23.774130 On May 20, 12:04 am, Jeff Schwartz wrote: > Perhaps if your db operation is driven by a form the user refreshed their > browser. If they did then the form would post the request again. The > solution is to redirect after a post to clear out the headers. > > > > > > On Wed, May 19, 2010 at 6:53 AM, Dennis wrote: > > I have used the code below to insert an entity (yes , supposed to be > > only one entity inserted per request). However, it has inserted two > > entities per request. > > > Do you encounter this problem ? > > > Thanks. > > = > > > #coding=utf-8 > > from google.appengine.ext import db > > > class Order(db.Model): > > time = db.DateTimeProperty(auto_now_add=True) > > stri = db.StringProperty() > > > obj1 = Order(stri='test') > > obj1.put() > > > -- > > You received this message because you are subscribed to the Google Groups > > "Google App Engine" group. > > To post to this group, send email to google-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 > 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] Check for datastore results fails
Hi, We are having some problems getting data from the datastore. A simple check for results (an if/else statement) results in an empty page. We think this shouldn't be happening because at least something should be displayed because we used an else statement. Our code is here http://appengine.pastebin.com/c3AKUu8J. It's coming straight from the Datastore tutorial samples, but it could be we are doing something wrong here.. Thanks in advance, Evert -- You 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] Python optimization: One Larger or Many Small Modules
First time post to the forums, so please forgive any newbie issues. I am currently developing an GAE application. Client accesses two main GAE handler scripts using different urls such as: http://localhost:8080/1000 -- for function 1000 in read handler http://localhost:8080/1100 -- for function 1100 in read handler http://localhost:8080/1200 -- for function 1200 in read handler http://localhost:8080/write/2000 -- for function 2000 in write handler ...etc. Within a handler, WSGIApplication is used to parse the url and access specific function. The modules are about 1,300 lines of code for the read, and 1,500 for the write handlers. Most functions stand alone: e.g. top/to bottom process inside the function serves the url request. (Write handler does share some sharding functions across many functions.) I had thought to include all the functions in two big handler scripts because it would likely stay resident (hot) if the site is busy. However, read some comments today about the new biz GAE where people were frustrated that load times for handler scripts restrict the total amount of time available for a server response. So, my question is this: Should I stay with the two large modules, or break them up into a separate module for each function. IOW: in my setup above, functions 1000, 1100, and 1200 all get served via WSAIApplication from my MainRead.py handler. I could pretty easily have each served by: Read1000.py, Read1100.py, Read1200.py. This granular approach would mean a bit less than 50 handlers for all read/ write functions. Hopefully there is only a fractional time cost for GAE to load the larger code base module if it loads the .pyc version. If so, I would prefer to stay with the two large modules. However, if we're talking about recompiling the .py script each time, then I'm guessing I'd need to go with the larger number of modules with less script lines in each. Thanks in advance. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-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] one credit card with more than one gae account
Can I use one credit card with more than one gae account? Though I know that in one account I can create 10 applications. But I wanted to keep my personal account separates (as it will be easy to hand over project altogether to other guy) and as I have 2 web sites which I am thinking to port to GAE. So I have created another 2 GAE accounts, first problem was phone number to verify (which I was able to manage) , but I don't have number of credit cards for billing, thats why I want to know if one credit can be used in all account? 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.
[google-appengine] Re: Cookies on Google App Engine (Python)
# !important The Following Code requires three basic HTML Files, # login.html, signup.html, and activate.html # # SUAS: Simple User Authentication then Session # User Session Management Library # The following code creates a memcache/datastore session manager that simply # tracks whether or not a user remains logged in, and mimics the # google "users" service to the greatest extent possible # # Copyright Andrew Tutt 2010. MIT License. from google.appengine.api import mail from google.appengine.ext import db from google.appengine.api import memcache from google.appengine.ext import webapp from google.appengine.ext.webapp import template import os import uuid class user(db.Model): email = db.EmailProperty() username = db.StringProperty() password = db.StringProperty() session_id = db.StringProperty() activated = db.BooleanProperty(default=False) activation_code = db.StringProperty(default=str(uuid.uuid4())) class session: def __init__(self,handler): """Requires a webapp requesthandler passed as a constructor""" self.handler = handler self.session_id = None def create_user(self, email, username, password): """Create a new user in the datastore""" tmp = user(key_name=username.lower()) tmp.username = username tmp.email = email tmp.password = password mail.send_mail( sender=email, to=email, subject="Account Activation", body="""Dear """+username+""": A new account has been created with this email address at http://www.example.com But in order to log in and play you must first activate your account with your unique activation code included in this email. Simply click the link included here to activate your account or copy and paste the following URL into your browser """+"http://www.example.com/validate?activate="+tmp.activation_code) self._sync_user(tmp) def get_current_user(self): """Returns the currently logged in user or "None" if no session""" return self._fetch_user_by_cookie() def grab_login(self, username, password): """Generates a session for the user if user/pass match database""" tmp = self._fetch_user_with_pass(username,password) if tmp: self._sync_user(tmp) return tmp def logout(self): """Logout the logged in user""" user = self._fetch_user_by_cookie() if user: memcache.delete(user.session_id) user.session_id = None user.put() def _gen_session_id(self): return uuid.uuid4() def _sync_user(self, _user): sid = str(self._gen_session_id()) ssid = '='.join(('ssid',sid)) self.handler.response.headers.add_header('Set-Cookie',ssid) _user.session_id = sid self.session_id = sid _user.put() memcache.add(sid,_user) def _fetch_user_by_cookie(self): if not self.session_id: try: sid = self.handler.request.cookies['ssid'] except: sid = "" ssid = '='.join(('ssid',sid)) self.handler.response.headers.add_header('Set- Cookie',ssid) else: sid = self.session_id data = memcache.get(sid) if data is None: data = user.all().filter('session_id = ',sid).get() if data is not None: memcache.add(sid, data) return data def _fetch_user_with_pass(self,u,p): tmp = user.get_by_key_name(u.lower()) if not tmp: return None if tmp.password != p: return None if tmp.activated == False: return False return tmp class Login(webapp.RequestHandler): def get(self): variables = {'callback_url':self.request.get('continue')} path = os.path.join(os.path.dirname(__file__), 'login.html') self.response.out.write(template.render(path,variables)) def post(self): c = self.request.get('continue') if not c: c = '/' u = self.request.get('user') p = self.request.get('pass') tmp = session(self).grab_login(u,p) if not tmp: if tmp is None: msg = 'Bad username and/or password' if tmp is False: msg = 'That account has not been activated yet.' variables = {'callback_url':c, 'message':msg,} path = os.path.join(os.path.dirname(__file__), 'login.html') self.response.out.write(template.render(path,variables)) else: self.redirect(c) class ActivateAccount(webapp.RequestHandler): def get(self): proposed_code = self.request.get('activate') a_user = user.all().filter('activation_code = ',proposed_code).get() if a_user: a_user.activated = True a_user.put() result = "Your account was activated successfully." else: result = "Th
[google-appengine] Unresolvable account discrepancy - Google Apps vs. Google Accounts
I'm not sure how I even got in this predicament, or how it can be resolved, but here it is: - I have a google apps account with an e-mail address and password. - I have a SEPARATE google account (a regular account as opposed to an apps account) with the same e-mail address as my google apps account, BUT with a different password. - I can create apps on my google account, but they will NOT show up after I have created them. To see them, I have to log off, and then log back in to my google apps account (with the same e-mail but a different password). Then I can see the app, and deploy the app. BUT - - Even though I see the apps on my google apps account, I cannot create a NEW app there, because I used my cell number originally to get a code for my google apps account, so it will not let me use it again to get a code to enable my google apps account to create new apps. How's that for a conundrum Any suggestions on how to correct this issue?? -- You 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.