[google-appengine] Re: Hosting at example.com instead of foo.example.com
No. Hey, even at google.com, you get redirected to www.google.com On Feb 12, 1:30 am, srid wrote: > Hi, > > I have a domain name managed by my web host (www.NearlyFreeSpeech.net) > itself. Let's call it example.com. I know that I can run appengine > apps at foo.example.com by adding a CNAME record. > > Is there a way to make the app run at example.com itself? CNAME > doesn't work here. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Account issue
On Feb 12, 1:20 pm, Eaden wrote: > Hi there, > Sorry for posting this on a public forum but I am unable to get help > elsewhere. > > My problem is simple. I am unable to log in my app engine control > center. It is not a valid google account. > > However, I am able to deploy my application using the same email > address and password! My app is live. I'm not sure what happened. > > When I do log in with my google account I get a blank "create app" > page. > > Eaden Do you use a Google Apps account to log in? You need to use this URL: http://appengine.google.com/a// --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: updated 1.1.9 breaks django 1.0
Django tries to read a static file (django/.svn/entries) to get the current revision. But accessing this file is prevented by the SDK (starting with 1.1.9, unfortunately os.path.exists() returns True in that case, but open() fails). As a workaround try to import Django from a zipped archive (as described here: http://code.google.com/intl/de/appengine/articles/django10_zipimport.html) or just remove the ".svn" subdirectories if you don't need to update Django from Subversion. Regards, Andi On Wed, Feb 11, 2009 at 8:23 AM, thepeppersstu...@gmail.com wrote: > > My previous dev app doesn't work after I upgraded to SDK1.1.9. Then I > try to use the lastest version of django and django helper(r74) but it > still doesn't work. Any one can help me? > > Traceback (most recent call last): > File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/ > GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ > google/appengine/tools/dev_appserver.py", line 2711, in _HandleRequest >base_env_dict=env_dict) > File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/ > GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ > google/appengine/tools/dev_appserver.py", line 380, in Dispatch >base_env_dict=base_env_dict) > File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/ > GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ > google/appengine/tools/dev_appserver.py", line 1998, in Dispatch >self._module_dict) > File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/ > GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ > google/appengine/tools/dev_appserver.py", line 1916, in ExecuteCGI >reset_modules = exec_script(handler_path, cgi_path, hook) > File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/ > GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ > google/appengine/tools/dev_appserver.py", line 1812, in > ExecuteOrImportScript >exec module_code in script_module.__dict__ > File "/Users/syd/Sites/Banana/main.py", line 24, in >from appengine_django import InstallAppengineHelperForDjango > File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/ > GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ > google/appengine/tools/dev_appserver.py", line 982, in decorate >return func(self, *args, **kwargs) > File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/ > GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ > google/appengine/tools/dev_appserver.py", line 1572, in load_module >return self.FindAndLoadModule(submodule, fullname, search_path) > File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/ > GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ > google/appengine/tools/dev_appserver.py", line 982, in decorate >return func(self, *args, **kwargs) > File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/ > GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ > google/appengine/tools/dev_appserver.py", line 1480, in > FindAndLoadModule >description) > File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/ > GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ > google/appengine/tools/dev_appserver.py", line 982, in decorate >return func(self, *args, **kwargs) > File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/ > GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ > google/appengine/tools/dev_appserver.py", line 1430, in > LoadModuleRestricted >description) > File "/Users/syd/Sites/Banana/appengine_django/__init__.py", line > 128, in >from django.conf import settings > File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/ > GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ > google/appengine/tools/dev_appserver.py", line 982, in decorate >return func(self, *args, **kwargs) > File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/ > GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ > google/appengine/tools/dev_appserver.py", line 1572, in load_module >return self.FindAndLoadModule(submodule, fullname, search_path) > File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/ > GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ > google/appengine/tools/dev_appserver.py", line 982, in decorate >return func(self, *args, **kwargs) > File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/ > GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ > google/appengine/tools/dev_appserver.py", line 1480, in > FindAndLoadModule >description) > File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/ > GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/ > google/appengine/tools/dev_appserver.py", line 982,
[google-appengine] Re: Can't create a new application
Relevant issue I opened - http://code.google.com/p/googleappengine/issues/detail?id=1038 On Feb 12, 8:09 am, Richard Colley wrote: > Thanks Marzia. > > I can confirm that I was seeing the error both when checking the > availability and trying to register the app id. > > But the problem is now resolved. In the end, it was Chrome that was > the culprit. I've upgraded to the latest publicly available > v1.0.154.48, and no difference. I tried with Firefox and IE7 and it > worked properly in both. Strangely, it works fine in Chrome if I do > it using my Google Apps account. > > Yes, I did try deleting all cookies/cached data first. > > Regards, > Richard > > On Feb 11, 5:41 am, Marzia Niccolai wrote: > > > Hi, > > > Can you try a browser that isn't Chrome, and let us know if it works? Also, > > is the error you are seeing when you check the availability of an app id, or > > when you actually try to register the app id (or both)? > > > -Marzia > > > On Mon, Feb 9, 2009 at 10:29 PM, Richard Colley > > wrote: > > > > I'm new to GAE, so naturally I wanted to dive right in and create an > > > app. > > > > However, I can't seem to create a new application using my normal > > > google account. > > > > No matter what application-id I try to use (even silly ones like > > > adsfasdf-245432532-gsfgdasjgfldsj), I get: > > > > Sorry, "typerlc-test1" is not available. Application Identifiers may > > > contain only . > > > > I then signed up to GAE for Google Apps, and had no problem using the > > > same application-id there. > > > > So, why can't I use my normal google account? My google apps > > > account is a work account, and my google account is my personal one. > > > I want to use my personal account. > > > > I am using Chrome 1.0.154.43 in case that matters. > > > > Any help appreciated. > > > > Thanks, > > > Richard > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: QueryIterator Error
Until some days ago it worked. But this isn't a problem... I try change my code... I'll try storing the tag list, which it's a list of object.. Is it possible? On 11 Feb, 21:51, Marzia Niccolai wrote: > Hi, > > In this case, you are storing a query in Memcache and not the results of the > query, and this is the cause of the error. > > I can't see any reason why you would want to store this query in Memcache, > you should be fetch()ing some number of results and storing those. > > -Marzia > > On Wed, Feb 11, 2009 at 5:39 AM, Davide Ferrero wrote: > > > > > The error is on line n.173 that corresponds to a for that scroll a > > query object retrieved from memcache or from Entity.all if there isn't > > in memcache.. > > However this is the portion of code: > > > def tagCloud(): > > q1=memcache.get("tagCloud") > > if q1 is None: > > q1=Tag.all() > > if not memcache.add("tagCloud",q1): > > print "Memcache add error on key > > \"tagCloud\"" > > tags=[] > > for q in q1: > > > What can I do? > > On 9 Feb, 18:30, Marzia Niccolai wrote: > > > Hi, > > > > Can you please post the code to the handler where you are seeing this > > issue. > > > > -Marzia > > > > On Sun, Feb 8, 2009 at 7:30 AM, Davide Ferrero > > wrote: > > > > > From 2 two days my applications fall in error in every pages. I don't > > > > have modified nothing from 1 week and three days ago my application > > > > works correctly.. this is the error log: > > > > > # > > > > 02-08 07:24AM 44.966 / 500 194ms 139ms-cpu 0kb > > > > See details > > > > 79.50.168.248 - - [08/Feb/2009:07:24:45 -0800] "GET / HTTP/1.1" > > > > 500 104 - - > > > > E 02-08 07:24AM 45.081 > > > > > 'Query' object has no attribute '_Query__query_sets' > > > > Traceback (most recent call last): > > > > File "/base/python_lib/versions/1/google/appengine/ext/webapp/ > > > > __init__.py", line 498, in __call__ > > > > handler.get(*groups) > > > > File "/base/data/home/apps/sbook/1.331254528912766865/ > > > > main.py", line 89, in get > > > > tags=Cloud.tagCloud() > > > > File "/base/data/home/apps/sbook/1.331254528912766865/ > > > > main.py", line 173, in tagCloud > > > > for q in q1: > > > > File "/base/python_lib/versions/1/google/appengine/ext/db/ > > > > __init__.py", line 1336, in __iter__ > > > > return self.run() > > > > File "/base/python_lib/versions/1/google/appengine/ext/db/ > > > > __init__.py", line 1328, in run > > > > return _QueryIterator(self._model_class, iter(self._get_query > > > > ().Run())) > > > > File "/base/python_lib/versions/1/google/appengine/ext/db/ > > > > __init__.py", line 1547, in _get_query > > > > for query_set in self.__query_sets: > > > > AttributeError: 'Query' object has no attribute > > > > '_Query__query_sets' > > > > > Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: storing key value pair in datastore
Thanks Greg, If i did this what you suggest, would i be sure that: listone[0] would be the the value related to: listtwo[0] I thought i read somewhere that you can't rely on the order you put things in to the datastore being the order they came out?? 2009/2/12 Greg > > On Feb 12, 3:10 am, sagey wrote: > > 1) store the 2 strings in a stringlistproperty, with the 2 strings > > delimited by a sepcial character > > 2) create a class that has 2 string properties and then store each > > class in a list > > You can't do 2 - you can only store simple types in lists. But... > > 3) Create two stringlist fields, and use the index of one to access > the other. > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Hosting at example.com instead of foo.example.com
GAE doesn't support naked domains. But you can add a cname record for "www" (or whatever you want to use), and then create a redirect from example.com to www.example.com, so at least your app won't stop working if you forget the www. On Feb 12, 11:30 pm, srid wrote: > Hi, > > I have a domain name managed by my web host (www.NearlyFreeSpeech.net) > itself. Let's call it example.com. I know that I can run appengine > apps at foo.example.com by adding a CNAME record. > > Is there a way to make the app run at example.com itself? CNAME > doesn't work here. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: HELP~~~~~ appcfg problem!!!
Could any one help me? On 2月11日, 下午9时09分, Allen wrote: > hey guys, > > I can update my application. > > ## > > urllib2.URLError: (urlopen error (10060, 'Operation timed out')) > > ## > > how can i resolve it? > > Thanks a lot! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: NotAllowedError while redirecting to the login page
Hi Marzia, Thanks for your help. I could get my application working once I moved it to my domain from appspot.com. But why is this restriction introduced? I think things were quite good with *.appspot.com -Mayank On Feb 12, 12:25 am, Marzia Niccolai wrote: > Hi, > > If you restrict authentication to a specific domain, when a user is logged > in it must also serve off of that domain. > > -Marzia > > On Tue, Feb 10, 2009 at 7:50 PM, Mayank Sharma wrote: > > > Hi, > > > I have a google app with authentication restricted only to my google > > apps domain users. I am using the following code to redirect the user > > to login in case the user is not logged in. > > > self.redirect(users.create_login_url("/")) > > > This was working fine until yesterday (before the 1.1.9 release), But > > today when I go to homepage of my app, instead of redirecting to the > > login page, I get the following error. > > > Traceback (most recent call last): > > File "/base/python_lib/versions/1/google/appengine/ext/webapp/ > > __init__.py", line 501, in __call__ > > handler.get(*groups) > > File "/base/data/home/apps/zebuengine/2.331336139814018406/main.py", > > line 90, in get > > redirect_address = users.create_login_url("http:// > > zebuengine.appspot.com/") > > File "/base/python_lib/versions/1/google/appengine/api/users.py", > > line 156, in create_login_url > > raise NotAllowedError > > NotAllowedError > > > This is still working fine for my application in which i have > > authentication set to gmail users. But not working now only for my > > google apps domain users. Is something broken in the new release? > > > Regards, > > Mayank --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Please define "guessability"
I'm using entity keys in the URL of my app. According to the App Engine documentation: "While string-encoded key values are safe to include in URLs, an application should only do so if key guessability is not an issue." http://code.google.com/appengine/docs/python/datastore/keyclass.html#Key How exactly do I know if guessability is an issue with my app? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Please define "guessability"
Avoid sequential keys, use something like a GUID or UUID, nonce values, etc. etc. Thanks- - Andy Badera - and...@badera.us - (518) 641-1280 - Tech Valley Code Camp 2009.1: http://www.techvalleycodecamp.com/ - Google me: http://www.google.com/search?q=andrew+badera On Thu, Feb 12, 2009 at 9:27 AM, warreninaustintexas < warreninaus...@gmail.com> wrote: > > I'm using entity keys in the URL of my app. According to the App > Engine documentation: "While string-encoded key values are safe to > include in URLs, an application should only do so if key guessability > is not an issue." > > http://code.google.com/appengine/docs/python/datastore/keyclass.html#Key > > How exactly do I know if guessability is an issue with my app? > > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: NotAllowedError on create_login_url?
Yes ,I use the appversion.latest.appid.appspot.com URL for testing before release as well. Marzia, do you have any workarounds for this? On Feb 12, 1:58 am, Arun Shanker Prasad wrote: > Hi, > > I am also getting this error, while trying to create the login URL > for my application from appversion.latest.appid.appspot.com. This is > the only way to test the new versions before release Is there any > work around for this issue? The CNAME supplied for my app is only for > name.appsdomain.com, so I cannot test new versions before release > > Thanks, > Arun Shanker Prasad. > > On Feb 12, 1:53 am, bjubbs wrote: > > > Thanks. > > > How should I handle the fact that it works from my domain, but it > > does not work via the appid.appspot.com url? > > > On Feb 11, 3:43 pm, Marzia Niccolai wrote: > > > > Hi, > > > > This was an issue that was recently fixed, and that's why it stopped > > > working. You can serve any app off of a Google Apps domain, regardless of > > > authentication. However, to use HTTPS, you must serve off of appspot. > > > > -Marzia > > > > On Wed, Feb 11, 2009 at 11:54 AM, Devel63 wrote: > > > > > Indeed, we are not serving off that domain. But it worked until a > > > > couple of days ago! > > > > > OK, I guess it's time to make the transition. Just haven't gotten > > > > around to it yet. > > > > > Will I be able to serve both types of apps simultaneously off a single > > > > domain (with different app names, obviously)? > > > > > On Feb 11, 11:23 am, Marzia Niccolai wrote: > > > > > Hi, > > > > > > If you restrict authentication to your Google Apps domain, to require > > > > login, > > > > > you must also serve off of that domain. I suspect this is why you are > > > > > seeing the issue. > > > > > > If not, could you provide more details, the exact code and error > > > > > message? > > > > > > -Marzia > > > > > > On Wed, Feb 11, 2009 at 7:56 AM, bjubbs wrote: > > > > > > > The users api is throwing aNotAllowedErrorwhen my app attempts to > > > > > > create a login url using users.create_login_url('/'). > > > > > > Authentication > > > > > > for my app is tied to a Google Apps domain. I must have a setting > > > > > > wrong somehwere , but I haven't been able to dig up what this > > > > > > error > > > > > > means . Does anybody know? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Please define "guessability"
Guessability could be a problem if guessing a URL might allow someone access to something that should be hidden, or if it would allow someone to trawl through your entire datastore for some reason (e.g. to crawl it, costing you resources). If you secure your pages anyway, or if you're happy to be crawled, guessability might not be an issue. cheers Michael On Feb 12, 2:32 pm, Andrew Badera wrote: > Avoid sequential keys, use something like a GUID or UUID, nonce values, etc. > etc. > > Thanks- > - Andy Badera > - and...@badera.us > - (518) 641-1280 > - Tech Valley Code Camp 2009.1:http://www.techvalleycodecamp.com/ > - Google me:http://www.google.com/search?q=andrew+badera > > On Thu, Feb 12, 2009 at 9:27 AM, warreninaustintexas < > > warreninaus...@gmail.com> wrote: > > > I'm using entity keys in the URL of my app. According to the App > > Engine documentation: "While string-encoded key values are safe to > > include in URLs, an application should only do so if key guessability > > is not an issue." > > >http://code.google.com/appengine/docs/python/datastore/keyclass.html#Key > > > How exactly do I know if guessability is an issue with my app? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Login for Remote service hosted in Google App Engine
Hi All, First let me explain my situation, 1. I have an application hosted on GAE. 2. I hosted another application, which is sort of a web service implementation. This will be called from across many applications. I need my first application to communicate with the second app (i.e the web service), I made this working by using the URLFETCH API. The problem is the login in the web service part, I tried sending the ACSID cookie along with the URLFETCH request. Is there anyway to get the logged in user through the web service, I know, we can send the details through the payload in URLFETCH, but I was looking for a more secure method. I can use the ClientLogin to get the user to login again, but from a UI point of view that does not seem good. Any help or suggestions will be appreciated. Thanks, Arun Shanker Prasad. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Login for Remote service hosted in Google App Engine
HTTP Basic Auth ... WSSE username token ... Thanks- - Andy Badera - and...@badera.us - (518) 641-1280 - Tech Valley Code Camp 2009.1: http://www.techvalleycodecamp.com/ - Google me: http://www.google.com/search?q=andrew+badera On Thu, Feb 12, 2009 at 9:59 AM, Arun Shanker Prasad < arunshankerpra...@gmail.com> wrote: > > Hi All, > > First let me explain my situation, > > 1. I have an application hosted on GAE. > > 2. I hosted another application, which is sort of a web service > implementation. This will be called from across many applications. > > I need my first application to communicate with the second app (i.e > the web service), I made this working by using the URLFETCH API. The > problem is the login in the web service part, I tried sending the > ACSID cookie along with the URLFETCH request. Is there anyway to get > the logged in user through the web service, I know, we can send the > details through the payload in URLFETCH, but I was looking for a more > secure method. > > I can use the ClientLogin to get the user to login again, but from a > UI point of view that does not seem good. > > Any help or suggestions will be appreciated. > > Thanks, > Arun Shanker Prasad. > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Login for Remote service hosted in Google App Engine
Hi, For both these implementations, I will need to implement another login for the users, and keep the records of that in all my applications. I probably should have mentioned, I have my app up in the Google Apps domain and locked so that only the members of my Google Apps domain can login, so Google actually takes care of the login for me, so if I were to implement an HTTP authentication, I will need to add the new user across my application, not just in my Google Apps account. Thanks, Arun Shanker Prasad. On Feb 12, 8:02 pm, Andrew Badera wrote: > HTTP Basic Auth ... WSSE username token ... > > Thanks- > - Andy Badera > - and...@badera.us > - (518) 641-1280 > - Tech Valley Code Camp 2009.1:http://www.techvalleycodecamp.com/ > - Google me:http://www.google.com/search?q=andrew+badera > > On Thu, Feb 12, 2009 at 9:59 AM, Arun Shanker Prasad < > > arunshankerpra...@gmail.com> wrote: > > > Hi All, > > > First let me explain my situation, > > > 1. I have an application hosted on GAE. > > > 2. I hosted another application, which is sort of a web service > > implementation. This will be called from across many applications. > > > I need my first application to communicate with the second app (i.e > > the web service), I made this working by using the URLFETCH API. The > > problem is the login in the web service part, I tried sending the > > ACSID cookie along with the URLFETCH request. Is there anyway to get > > the logged in user through the web service, I know, we can send the > > details through the payload in URLFETCH, but I was looking for a more > > secure method. > > > I can use the ClientLogin to get the user to login again, but from a > > UI point of view that does not seem good. > > > Any help or suggestions will be appreciated. > > > Thanks, > > Arun Shanker Prasad. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] bulk loader/uploader typo
http://code.google.com/appengine/docs/python/tools/uploadingdata.html On OSX, the command in /usr/local/bin is called "bulkloader.py", but in the docs under the sections "Uploading the Data to App Engine" and "Loading Data Into the Development Server", it says "bulkuploader.py". I'm not 100% sure the word "up" should be in that scripts file name. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: bulk loader/uploader typo
Thanks, I'll fix it. -- Dan On Thu, Feb 12, 2009 at 7:41 AM, Joe Blau wrote: > > http://code.google.com/appengine/docs/python/tools/uploadingdata.html > > On OSX, the command in /usr/local/bin is called "bulkloader.py", but > in the docs under the sections "Uploading the Data to App Engine" and > "Loading Data Into the Development Server", it says > "bulkuploader.py". I'm not 100% sure the word "up" should be in that > scripts file name. > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Please define "guessability"
Okay. Thanks for the response. So my interpretation of the App Engine documentation is this: "If you use the default App Engine key values, they are safe to include in URLs. If you use your own key generation algorithm, you will have to either (1) safeguard your app from people guessing keys, or (2) be happy to be crawled." Am I interpreting it correctly? On Feb 12, 8:48 am, "Michael O'Brien" wrote: > Guessability could be a problem if guessing a URL might allow someone > access to something that should be hidden, or if it would allow > someone to trawl through your entire datastore for some reason (e.g. > to crawl it, costing you resources). > > If you secure your pages anyway, or if you're happy to be crawled, > guessability might not be an issue. > > cheers > Michael > > On Feb 12, 2:32 pm, Andrew Badera wrote: > > > Avoid sequential keys, use something like a GUID or UUID, nonce values, etc. > > etc. > > > Thanks- > > - Andy Badera > > - and...@badera.us > > - (518) 641-1280 > > - Tech Valley Code Camp 2009.1:http://www.techvalleycodecamp.com/ > > - Google me:http://www.google.com/search?q=andrew+badera > > > On Thu, Feb 12, 2009 at 9:27 AM, warreninaustintexas < > > > warreninaus...@gmail.com> wrote: > > > > I'm using entity keys in the URL of my app. According to the App > > > Engine documentation: "While string-encoded key values are safe to > > > include in URLs, an application should only do so if key guessability > > > is not an issue." > > > >http://code.google.com/appengine/docs/python/datastore/keyclass.html#Key > > > > How exactly do I know if guessability is an issue with my app? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Please define "guessability"
oops, not quite. The default appengine keys are essentially a couple of values, combined and base64-encoded. So the string of letters and numbers you see might actually be ["Customer", 123] when decoded. For this reason, they're just as guessable as keys you make yourself. If guessability is a problem, you should create keys based on strings you create (like an unguessable uuid, as Andrew suggested): import uuid safe_cust = Customer(key_name=str(uuid.uuid4()), name="Joe", ...) Those keys might get pretty long, so if you want to use them in URLs a UUID might not be suitable. Asking people to choose a username (or some other unique keyword) is one solution -- I remember a talk by Joshua Schachter of del.icio.us where he said he based urls on usernames specifically to prevent crawling. cheers Michael On Feb 12, 4:28 pm, warreninaustintexas wrote: > Okay. Thanks for the response. So my interpretation of the App > Engine documentation is this: > > "If you use the default App Engine key values, they are safe to > include in URLs. If you use your own key generation algorithm, you > will have to either (1) safeguard your app from people guessing keys, > or (2) be happy to be crawled." > > Am I interpreting it correctly? > > On Feb 12, 8:48 am, "Michael O'Brien" wrote: > > > Guessability could be a problem if guessing a URL might allow someone > > access to something that should be hidden, or if it would allow > > someone to trawl through your entire datastore for some reason (e.g. > > to crawl it, costing you resources). > > > If you secure your pages anyway, or if you're happy to be crawled, > > guessability might not be an issue. > > > cheers > > Michael > > > On Feb 12, 2:32 pm, Andrew Badera wrote: > > > > Avoid sequential keys, use something like a GUID or UUID, nonce values, > > > etc. > > > etc. > > > > Thanks- > > > - Andy Badera > > > - and...@badera.us > > > - (518) 641-1280 > > > - Tech Valley Code Camp 2009.1:http://www.techvalleycodecamp.com/ > > > - Google me:http://www.google.com/search?q=andrew+badera > > > > On Thu, Feb 12, 2009 at 9:27 AM, warreninaustintexas < > > > > warreninaus...@gmail.com> wrote: > > > > > I'm using entity keys in the URL of my app. According to the App > > > > Engine documentation: "While string-encoded key values are safe to > > > > include in URLs, an application should only do so if key guessability > > > > is not an issue." > > > > >http://code.google.com/appengine/docs/python/datastore/keyclass.html#Key > > > > > How exactly do I know if guessability is an issue with my app? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: "Type 'exceptions.TypeError" when test "gettingstarted/usingwebapp.html" example
Thanks On 1月5日, 下午5时59分, djidjadji wrote: > GAE is not compatible with Python 2.6. > Install Python 2.5.x --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: QueryIterator Error
Hi, Yes, storing a list of objects will work. Storing a query object is generally not something that is guaranteed to work. -Marzia On Thu, Feb 12, 2009 at 1:52 AM, Davide Ferrero wrote: > > Until some days ago it worked. But this isn't a problem... I try > change my code... > I'll try storing the tag list, which it's a list of object.. Is it > possible? > > > On 11 Feb, 21:51, Marzia Niccolai wrote: > > Hi, > > > > In this case, you are storing a query in Memcache and not the results of > the > > query, and this is the cause of the error. > > > > I can't see any reason why you would want to store this query in > Memcache, > > you should be fetch()ing some number of results and storing those. > > > > -Marzia > > > > On Wed, Feb 11, 2009 at 5:39 AM, Davide Ferrero >wrote: > > > > > > > > > The error is on line n.173 that corresponds to a for that scroll a > > > query object retrieved from memcache or from Entity.all if there isn't > > > in memcache.. > > > However this is the portion of code: > > > > > def tagCloud(): > > >q1=memcache.get("tagCloud") > > >if q1 is None: > > >q1=Tag.all() > > >if not memcache.add("tagCloud",q1): > > >print "Memcache add error on key > > > \"tagCloud\"" > > >tags=[] > > >for q in q1: > > > > > What can I do? > > > On 9 Feb, 18:30, Marzia Niccolai wrote: > > > > Hi, > > > > > > Can you please post the code to the handler where you are seeing this > > > issue. > > > > > > -Marzia > > > > > > On Sun, Feb 8, 2009 at 7:30 AM, Davide Ferrero < > davidefe...@gmail.com> > > > wrote: > > > > > > > From 2 two days my applications fall in error in every pages. I > don't > > > > > have modified nothing from 1 week and three days ago my application > > > > > works correctly.. this is the error log: > > > > > > > # > > > > > 02-08 07:24AM 44.966 / 500 194ms 139ms-cpu 0kb > > > > > See details > > > > > 79.50.168.248 - - [08/Feb/2009:07:24:45 -0800] "GET / > HTTP/1.1" > > > > > 500 104 - - > > > > > E 02-08 07:24AM 45.081 > > > > > > > 'Query' object has no attribute '_Query__query_sets' > > > > > Traceback (most recent call last): > > > > >File > "/base/python_lib/versions/1/google/appengine/ext/webapp/ > > > > > __init__.py", line 498, in __call__ > > > > > handler.get(*groups) > > > > >File "/base/data/home/apps/sbook/1.331254528912766865/ > > > > > main.py", line 89, in get > > > > > tags=Cloud.tagCloud() > > > > >File "/base/data/home/apps/sbook/1.331254528912766865/ > > > > > main.py", line 173, in tagCloud > > > > > for q in q1: > > > > >File "/base/python_lib/versions/1/google/appengine/ext/db/ > > > > > __init__.py", line 1336, in __iter__ > > > > > return self.run() > > > > >File "/base/python_lib/versions/1/google/appengine/ext/db/ > > > > > __init__.py", line 1328, in run > > > > > return _QueryIterator(self._model_class, > iter(self._get_query > > > > > ().Run())) > > > > >File "/base/python_lib/versions/1/google/appengine/ext/db/ > > > > > __init__.py", line 1547, in _get_query > > > > > for query_set in self.__query_sets: > > > > > AttributeError: 'Query' object has no attribute > > > > > '_Query__query_sets' > > > > > > > Thanks > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: NotAllowedError while redirecting to the login page
Hi, This restriction had originally been in place, but it broke a few months back. It was recently fixed, hence the change in behavior you noticed. -Marzia On Thu, Feb 12, 2009 at 5:54 AM, Mayank Sharma wrote: > > Hi Marzia, > > Thanks for your help. I could get my application working once I moved > it to my domain from appspot.com. But why is this restriction > introduced? I think things were quite good with *.appspot.com > > -Mayank > > On Feb 12, 12:25 am, Marzia Niccolai wrote: > > Hi, > > > > If you restrict authentication to a specific domain, when a user is > logged > > in it must also serve off of that domain. > > > > -Marzia > > > > On Tue, Feb 10, 2009 at 7:50 PM, Mayank Sharma > wrote: > > > > > Hi, > > > > > I have a google app with authentication restricted only to my google > > > apps domain users. I am using the following code to redirect the user > > > to login in case the user is not logged in. > > > > > self.redirect(users.create_login_url("/")) > > > > > This was working fine until yesterday (before the 1.1.9 release), But > > > today when I go to homepage of my app, instead of redirecting to the > > > login page, I get the following error. > > > > > Traceback (most recent call last): > > > File "/base/python_lib/versions/1/google/appengine/ext/webapp/ > > > __init__.py", line 501, in __call__ > > >handler.get(*groups) > > > File "/base/data/home/apps/zebuengine/2.331336139814018406/main.py", > > > line 90, in get > > >redirect_address = users.create_login_url("http:// > > > zebuengine.appspot.com/") > > > File "/base/python_lib/versions/1/google/appengine/api/users.py", > > > line 156, in create_login_url > > >raise NotAllowedError > > > NotAllowedError > > > > > This is still working fine for my application in which i have > > > authentication set to gmail users. But not working now only for my > > > google apps domain users. Is something broken in the new release? > > > > > Regards, > > > Mayank > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: NotAllowedError on create_login_url?
Hi, Currently, there is no work around, besides not requiring authentication on the pages you wish to serve off of appspot. In the long term, we are looking in to modifying this restriction. -Marzia On Thu, Feb 12, 2009 at 6:40 AM, bjubbs wrote: > > Yes ,I use the appversion.latest.appid.appspot.com URL for testing > before release as well. > > Marzia, do you have any workarounds for this? > > > > On Feb 12, 1:58 am, Arun Shanker Prasad > wrote: > > Hi, > > > > I am also getting this error, while trying to create the login URL > > for my application from appversion.latest.appid.appspot.com. This is > > the only way to test the new versions before release Is there any > > work around for this issue? The CNAME supplied for my app is only for > > name.appsdomain.com, so I cannot test new versions before release > > > > Thanks, > > Arun Shanker Prasad. > > > > On Feb 12, 1:53 am, bjubbs wrote: > > > > > Thanks. > > > > > How should I handle the fact that it works from my domain, but it > > > does not work via the appid.appspot.com url? > > > > > On Feb 11, 3:43 pm, Marzia Niccolai wrote: > > > > > > Hi, > > > > > > This was an issue that was recently fixed, and that's why it stopped > > > > working. You can serve any app off of a Google Apps domain, > regardless of > > > > authentication. However, to use HTTPS, you must serve off of > appspot. > > > > > > -Marzia > > > > > > On Wed, Feb 11, 2009 at 11:54 AM, Devel63 > wrote: > > > > > > > Indeed, we are not serving off that domain. But it worked until a > > > > > couple of days ago! > > > > > > > OK, I guess it's time to make the transition. Just haven't gotten > > > > > around to it yet. > > > > > > > Will I be able to serve both types of apps simultaneously off a > single > > > > > domain (with different app names, obviously)? > > > > > > > On Feb 11, 11:23 am, Marzia Niccolai wrote: > > > > > > Hi, > > > > > > > > If you restrict authentication to your Google Apps domain, to > require > > > > > login, > > > > > > you must also serve off of that domain. I suspect this is why > you are > > > > > > seeing the issue. > > > > > > > > If not, could you provide more details, the exact code and error > message? > > > > > > > > -Marzia > > > > > > > > On Wed, Feb 11, 2009 at 7:56 AM, bjubbs > wrote: > > > > > > > > > The users api is throwing aNotAllowedErrorwhen my app attempts > to > > > > > > > create a login url using users.create_login_url('/'). > Authentication > > > > > > > for my app is tied to a Google Apps domain. I must have a > setting > > > > > > > wrong somehwere , but I haven't been able to dig up what this > error > > > > > > > means . Does anybody know? > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Can't Creat New Application. Help~~~~~~~~
1. I click the button"creat an application" 2. finish the form and submit it 3. then system return that my application is already, and indicate to return the application screen. but while I return the application scree. this new application is not in the application list. Why I can't creat a new application? So far, I have 3 applications, and there're 7 remaining. I appreciate if any one could help. Thanks a lot , and waiting for you help. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: HELP~~~~~ appcfg problem!!!
god, it's done. I just adjust the lan setting in the web browser. what ever, thanks . On 2月12日, 下午9时53分, Allen wrote: > Could any one help me? > > On 2月11日, 下午9时09分, Allen wrote: > > > > > hey guys, > > > I can update my application. > > > ## > > > urllib2.URLError: (urlopen error (10060, 'Operation timed out')) > > > ## > > > how can i resolve it? > > > Thanks a lot!- 隐藏被引用文字 - > > - 显示引用的文字 - --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Please define "guessability"
Awesome - thank you. That's exactly the information that I was looking for. On Feb 12, 10:40 am, "Michael O'Brien" wrote: > oops, not quite. The default appengine keys are essentially a couple > of values, combined and base64-encoded. So the string of letters and > numbers you see might actually be ["Customer", 123] when decoded. For > this reason, they're just as guessable as keys you make yourself. > > If guessability is a problem, you should create keys based on strings > you create (like an unguessable uuid, as Andrew suggested): > > import uuid > safe_cust = Customer(key_name=str(uuid.uuid4()), name="Joe", ...) > > Those keys might get pretty long, so if you want to use them in URLs a > UUID might not be suitable. Asking people to choose a username (or > some other unique keyword) is one solution -- I remember a talk by > Joshua Schachter of del.icio.us where he said he based urls on > usernames specifically to prevent crawling. > > cheers > Michael > > On Feb 12, 4:28 pm, warreninaustintexas > wrote: > > > Okay. Thanks for the response. So my interpretation of the App > > Engine documentation is this: > > > "If you use the default App Engine key values, they are safe to > > include in URLs. If you use your own key generation algorithm, you > > will have to either (1) safeguard your app from people guessing keys, > > or (2) be happy to be crawled." > > > Am I interpreting it correctly? > > > On Feb 12, 8:48 am, "Michael O'Brien" wrote: > > > > Guessability could be a problem if guessing a URL might allow someone > > > access to something that should be hidden, or if it would allow > > > someone to trawl through your entire datastore for some reason (e.g. > > > to crawl it, costing you resources). > > > > If you secure your pages anyway, or if you're happy to be crawled, > > > guessability might not be an issue. > > > > cheers > > > Michael > > > > On Feb 12, 2:32 pm, Andrew Badera wrote: > > > > > Avoid sequential keys, use something like a GUID or UUID, nonce values, > > > > etc. > > > > etc. > > > > > Thanks- > > > > - Andy Badera > > > > - and...@badera.us > > > > - (518) 641-1280 > > > > - Tech Valley Code Camp 2009.1:http://www.techvalleycodecamp.com/ > > > > - Google me:http://www.google.com/search?q=andrew+badera > > > > > On Thu, Feb 12, 2009 at 9:27 AM, warreninaustintexas < > > > > > warreninaus...@gmail.com> wrote: > > > > > > I'm using entity keys in the URL of my app. According to the App > > > > > Engine documentation: "While string-encoded key values are safe to > > > > > include in URLs, an application should only do so if key guessability > > > > > is not an issue." > > > > > >http://code.google.com/appengine/docs/python/datastore/keyclass.html#Key > > > > > > How exactly do I know if guessability is an issue with my app? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Access to module file denied (PIL)
Good to hear. Is the PIL issue still occurring? Does it happen for all apps? Does the images-demo sample app in http://code.google.com/p/google-app-engine-samples/ (it's there but there's no archive for it) work? --Matthew On Feb 10, 9:24 pm, Ian Lewis wrote: > I found that this seems unrelated to the message about the PIL module and > was related to the local datastore I was using. > > > > On Wed, Feb 11, 2009 at 12:36 PM, Ian Lewis wrote: > > Matthew, > > > I also wanted like to mention that this happens to me on every request > > which is why I suspected appengine-django. I don't actually import the image > > api unless I am saving a profile image. > > > On Wed, Feb 11, 2009 at 11:34 AM, Ian Lewis wrote: > > >> Matthew, > > >> I'm using the images api. Up until 1.1.9 my understanding was that > >> importing PIL wouldn't work in production (and with 1.1.9 it's enforcing it > >> on the dev_server?). Let me pull out the code here, > > >> models.py > > >> class UserProfileImage(db.Model): > >> user = db.ReferenceProperty(UserProperties, required=True) > >> image = db.BlobProperty(required=True) > >> mimetype = db.StringProperty(required=True) > > >> views.py > >> ... > >> def user_settings(request): > >> """ > >> The user settings page. > >> """ > >> if request.method == 'POST': > >> ... > >> if not request.user.use_gravatar and 'profile_image' in > >> request.FILES: > >> from google.appengine.api import images > >> old_profile_image = UserProfileImage.all().filter('user =', > >> request.user).get() > > >> uploaded_file = request.FILES['profile_image'] > > >> # There should be only one chunk as we can only upload to memory > >> image = images.Image(uploaded_file.chunks().next()) > >> new_width = image.width > >> new_height = image.height > >> if image.width > 80 or image.height > 80: > >> new_width = 80 > >> new_height = 80 > >> image.resize(new_width, new_height) > >> image_data = image.execute_transforms(output_encoding=images.PNG) > > >> profile_image = UserProfileImage(user=request.user, \ > >> image=image_data, \ > >> mimetype='image/png') > >> profile_image.put() > > >> if old_profile_image: > >> old_profile_image.delete() > >> ... > > >> Ian > > >> On Wed, Feb 11, 2009 at 3:52 AM, Matthew Blain > >> wrote: > > >>> Hello Ian, > >>> How are you accessing PIL? Are you using the Images API* , or are you > >>> importing from PIL directly? > > >>> --Matthew > >>> *http://code.google.com/appengine/docs/python/images/ > > >>> On Feb 10, 5:47 am, Ian Lewis wrote: > >>> > I'm getting an error similar to the errors about not being able to > >>> access > >>> > skipped files with appengine-django but this time I'm getting an error > >>> about > >>> > not being able to access the PIL module file Image.py > > >>> > I'm getting a different error pertaining to PIL now. This may or may > >>> not be > >>> > related to appengine-django. > > >>> > DEBUG2009-02-10 13:41:24,134 dev_appserver.py] Access to module > >>> file > >>> > denied: /usr/lib/python2.5/site-packages/PIL/Image.py > > >>> > This causes the dev appserver to hang and use up lots of CPU. I'm using > >>> > appengine-django and updated to the latest version in svn. > > >>> > Ian > > >> -- > >> === > >> 株式会社ビープラウド イアン・ルイス > >> 〒150-0012 > >> 東京都渋谷区広尾1-11-2アイオス広尾ビル604 > >> email: ianmle...@beproud.jp > >> TEL:03-5795-2707 > >> FAX:03-5795-2708 > >>http://www.beproud.jp/ > >> === > > > -- > > === > > 株式会社ビープラウド イアン・ルイス > > 〒150-0012 > > 東京都渋谷区広尾1-11-2アイオス広尾ビル604 > > email: ianmle...@beproud.jp > > TEL:03-5795-2707 > > FAX:03-5795-2708 > >http://www.beproud.jp/ > > === > > -- > === > 株式会社ビープラウド イアン・ルイス > 〒150-0012 > 東京都渋谷区広尾1-11-2アイオス広尾ビル604 > email: ianmle...@beproud.jp > TEL:03-5795-2707 > FAX:03-5795-2708http://www.beproud.jp/ > === --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Random DeadlineExceededError messages
Hi, If you can provide the app id, I can investigate further, but I suspect that if the file you are writing is close to 1MB, this is why the DeadlineExceededError is occurring, it's just sometimes taking too long to write, depending on the status of the system. You can track the performance of the system here: http://code.google.com/status/appengine -Marzia On Wed, Feb 11, 2009 at 3:37 PM, phtq wrote: > > Can I get a response from Google on this item please. The problem is > not going away. > > > > http://groups.google.com/group/google-appengine/browse_thread/thread/518a1d86df61ae0d/08abb1d15c2a50bc?lnk=gst&q=deadlineexceedederror#08abb1d15c2a50bc > > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Can't Creat New Application. Help~~~~~~~~
Hi, Do you have a Google Apps account that you are also logged in to when creating these applications? Also, do you have an example of an app id you have created that you now can not see? -Marzia On Thu, Feb 12, 2009 at 9:34 AM, Allen wrote: > > 1. I click the button"creat an application" > 2. finish the form and submit it > 3. then system return that my application is already, and indicate to > return the application screen. > > but while I return the application scree. this new application is not > in the application list. > > Why I can't creat a new application? So far, I have 3 applications, > and there're 7 remaining. > > I appreciate if any one could help. > > Thanks a lot , and waiting for you help. > > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Account issue
Hi, If Alexander's solution did not solve your problem, can you please let me know the specific app id? -Marzia On Wed, Feb 11, 2009 at 6:20 PM, Eaden wrote: > > Hi there, > Sorry for posting this on a public forum but I am unable to get help > elsewhere. > > My problem is simple. I am unable to log in my app engine control > center. It is not a valid google account. > > However, I am able to deploy my application using the same email > address and password! My app is live. I'm not sure what happened. > > When I do log in with my google account I get a blank "create app" > page. > > Eaden > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: SDK 1.1.9 breaks google-app-engine-django?
On Feb 10, 4:47 am, Nuno Maltez wrote: > Hi, > > I have a similar problem, except that I'm using Django 0.96 included > in the SDK and App Engine Helper for Django rev 53 (following the > instructions in the README, it's the latest revision that works with > 0.96). Updating to r73 would mean having to update to a more recent > version of Django and include it in my project, which was not in my > plans. > > I get the following Warning followed by an Error when I try to access my app: > > WARNING:root:Blocking access to skipped file > "/home/nuno/tmp/work-i18n/.google_appengine/lib/django/django/foo" That WARNING line is what is causing your trouble. SDK 1.1.9 blocks relying on files that will not be uploaded with your application, including anything in a directory starting with a dot, e.g. .google_appengine. Thus when the Django helper tries to import django it gets blocked by dev_appserver since the SDK is living in a place that will not be uplaoded with your application. The fix should be not use the Django helper's little trick of keeping your SDK in .google_appengine but instead actually install it, or at least keep it outside of your app directory. That should prevent the skipped file blocking from interfering with your imports. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Get Sum from datastore
I can't comment on "sharded counter", but just FYI, python has a built in method called "sum" that you can apply to lists or tuples, without writing your own loop. aList = [1,2,3] bTup = (1,2,3) sum(aList) or sum(bList) return 6. On Wed, Feb 11, 2009 at 7:51 PM, Barry Hunter wrote: > > Search the group for 'sharded counter' - the same technique should > work equally well for calculating a sum. > > On 11/02/2009, Neversummer wrote: > > > > I want to get a total (sum) from an property on a given entity. I know > > that sum() is not supported. Is the best method to query for all > > records on the entity in question and work through a loop adding each > > records value (the value of the property in question) to a total > > variable? > > > > It's worth noting that I am brand new to google app engine and to > > python. Thanks for any suggestions. > > > > > > > > > > -- > Barry > > - www.nearby.org.uk - www.geograph.org.uk - > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: storing key value pair in datastore
StringList maintains the order. Here's the link: http://code.google.com/appengine/docs/python/datastore/entitiesandmodels.html#Lists If you are using StringListProperty, then make sure the list is not too long else you will hit the wall.. In my case list can be really long, so I am using BlobProperty to save key value pair delimited with special character. Regards, Pankaj Vishwani On Feb 12, 4:45 am, Richard Sage wrote: > Thanks Greg, > If i did this what you suggest, would i be sure that: > > listone[0] > > would be the the value related to: > > listtwo[0] > I thought i read somewhere that you can't rely on the order you put things > in to the datastore being the order they came out?? > > 2009/2/12 Greg > > > > > On Feb 12, 3:10 am, sagey wrote: > > > 1) store the 2 strings in a stringlistproperty, with the 2 strings > > > delimited by a sepcial character > > > 2) create a class that has 2 string properties and then store each > > > class in a list > > > You can't do 2 - you can only store simple types in lists. But... > > > 3) Create two stringlist fields, and use the index of one to access > > the other. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: NotAllowedError while redirecting to the login page
Hi, Thanks for the reply Marzia. But if I am not mistaken this restriction was not there earlier, I am sure that I could check the version from my App Engine Dashboard and click on the new version and check it out so as to make sure everything was working fine. Can we give something like appversion.latest.googleappdomain.com? Thanks, Arun Shanker Prasad. On Feb 12, 10:15 pm, Marzia Niccolai wrote: > Hi, > > This restriction had originally been in place, but it broke a few months > back. It was recently fixed, hence the change in behavior you noticed. > > -Marzia > > On Thu, Feb 12, 2009 at 5:54 AM, Mayank Sharma wrote: > > > Hi Marzia, > > > Thanks for your help. I could get my application working once I moved > > it to my domain from appspot.com. But why is this restriction > > introduced? I think things were quite good with *.appspot.com > > > -Mayank > > > On Feb 12, 12:25 am, Marzia Niccolai wrote: > > > Hi, > > > > If you restrict authentication to a specific domain, when a user is > > logged > > > in it must also serve off of that domain. > > > > -Marzia > > > > On Tue, Feb 10, 2009 at 7:50 PM, Mayank Sharma > > wrote: > > > > > Hi, > > > > > I have a google app with authentication restricted only to my google > > > > apps domain users. I am using the following code to redirect the user > > > > to login in case the user is not logged in. > > > > > self.redirect(users.create_login_url("/")) > > > > > This was working fine until yesterday (before the 1.1.9 release), But > > > > today when I go to homepage of my app, instead of redirecting to the > > > > login page, I get the following error. > > > > > Traceback (most recent call last): > > > > File "/base/python_lib/versions/1/google/appengine/ext/webapp/ > > > > __init__.py", line 501, in __call__ > > > > handler.get(*groups) > > > > File "/base/data/home/apps/zebuengine/2.331336139814018406/main.py", > > > > line 90, in get > > > > redirect_address = users.create_login_url("http:// > > > > zebuengine.appspot.com/") > > > > File "/base/python_lib/versions/1/google/appengine/api/users.py", > > > > line 156, in create_login_url > > > > raise NotAllowedError > > > > NotAllowedError > > > > > This is still working fine for my application in which i have > > > > authentication set to gmail users. But not working now only for my > > > > google apps domain users. Is something broken in the new release? > > > > > Regards, > > > > Mayank --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: NotAllowedError while redirecting to the login page
Hi, Thanks for the reply Marzia. Sorry didn't read the whole post... Can we give something like appversion.latest.googleappdomain.com? Can we set a new sub-domain for this? Thanks, Arun Shanker Prasad. On Feb 13, 1:23 am, Arun Shanker Prasad wrote: > Hi, > > Thanks for the reply Marzia. But if I am not mistaken this > restriction was not there earlier, I am sure that I could check the > version from my App Engine Dashboard and click on the new version and > check it out so as to make sure everything was working fine. Can we > give something like appversion.latest.googleappdomain.com? > > Thanks, > Arun Shanker Prasad. > > On Feb 12, 10:15 pm, Marzia Niccolai wrote: > > > Hi, > > > This restriction had originally been in place, but it broke a few months > > back. It was recently fixed, hence the change in behavior you noticed. > > > -Marzia > > > On Thu, Feb 12, 2009 at 5:54 AM, Mayank Sharma wrote: > > > > Hi Marzia, > > > > Thanks for your help. I could get my application working once I moved > > > it to my domain from appspot.com. But why is this restriction > > > introduced? I think things were quite good with *.appspot.com > > > > -Mayank > > > > On Feb 12, 12:25 am, Marzia Niccolai wrote: > > > > Hi, > > > > > If you restrict authentication to a specific domain, when a user is > > > logged > > > > in it must also serve off of that domain. > > > > > -Marzia > > > > > On Tue, Feb 10, 2009 at 7:50 PM, Mayank Sharma > > > wrote: > > > > > > Hi, > > > > > > I have a google app with authentication restricted only to my google > > > > > apps domain users. I am using the following code to redirect the user > > > > > to login in case the user is not logged in. > > > > > > self.redirect(users.create_login_url("/")) > > > > > > This was working fine until yesterday (before the 1.1.9 release), But > > > > > today when I go to homepage of my app, instead of redirecting to the > > > > > login page, I get the following error. > > > > > > Traceback (most recent call last): > > > > > File "/base/python_lib/versions/1/google/appengine/ext/webapp/ > > > > > __init__.py", line 501, in __call__ > > > > > handler.get(*groups) > > > > > File "/base/data/home/apps/zebuengine/2.331336139814018406/main.py", > > > > > line 90, in get > > > > > redirect_address = users.create_login_url("http:// > > > > > zebuengine.appspot.com/") > > > > > File "/base/python_lib/versions/1/google/appengine/api/users.py", > > > > > line 156, in create_login_url > > > > > raise NotAllowedError > > > > > NotAllowedError > > > > > > This is still working fine for my application in which i have > > > > > authentication set to gmail users. But not working now only for my > > > > > google apps domain users. Is something broken in the new release? > > > > > > Regards, > > > > > Mayank --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: NotAllowedError on create_login_url?
Hi, Thanks for the reply Marzia. Can we give something like appversion.latest.googleappdomain.com? Can we set a new sub-domain for this and map it? Thanks, Arun Shanker Prasad. On Feb 12, 10:16 pm, Marzia Niccolai wrote: > Hi, > > Currently, there is no work around, besides not requiring authentication on > the pages you wish to serve off of appspot. In the long term, we are > looking in to modifying this restriction. > > -Marzia > > On Thu, Feb 12, 2009 at 6:40 AM, bjubbs wrote: > > > Yes , I use the appversion.latest.appid.appspot.com URL for testing > > before release as well. > > > Marzia, do you have any workarounds for this? > > > On Feb 12, 1:58 am, Arun Shanker Prasad > > wrote: > > > Hi, > > > > I am also getting this error, while trying to create the login URL > > > for my application from appversion.latest.appid.appspot.com. This is > > > the only way to test the new versions before release Is there any > > > work around for this issue? The CNAME supplied for my app is only for > > > name.appsdomain.com, so I cannot test new versions before release > > > > Thanks, > > > Arun Shanker Prasad. > > > > On Feb 12, 1:53 am, bjubbs wrote: > > > > > Thanks. > > > > > How should I handle the fact that it works from my domain, but it > > > > does not work via the appid.appspot.com url? > > > > > On Feb 11, 3:43 pm, Marzia Niccolai wrote: > > > > > > Hi, > > > > > > This was an issue that was recently fixed, and that's why it stopped > > > > > working. You can serve any app off of a Google Apps domain, > > regardless of > > > > > authentication. However, to use HTTPS, you must serve off of > > appspot. > > > > > > -Marzia > > > > > > On Wed, Feb 11, 2009 at 11:54 AM, Devel63 > > wrote: > > > > > > > Indeed, we are not serving off that domain. But it worked until a > > > > > > couple of days ago! > > > > > > > OK, I guess it's time to make the transition. Just haven't gotten > > > > > > around to it yet. > > > > > > > Will I be able to serve both types of apps simultaneously off a > > single > > > > > > domain (with different app names, obviously)? > > > > > > > On Feb 11, 11:23 am, Marzia Niccolai wrote: > > > > > > > Hi, > > > > > > > > If you restrict authentication to your Google Apps domain, to > > require > > > > > > login, > > > > > > > you must also serve off of that domain. I suspect this is why > > you are > > > > > > > seeing the issue. > > > > > > > > If not, could you provide more details, the exact code and error > > message? > > > > > > > > -Marzia > > > > > > > > On Wed, Feb 11, 2009 at 7:56 AM, bjubbs > > wrote: > > > > > > > > > The users api is throwing aNotAllowedErrorwhen my app attempts > > to > > > > > > > > create a login url using users.create_login_url('/'). > > Authentication > > > > > > > > for my app is tied to a Google Apps domain. I must have a > > setting > > > > > > > > wrong somehwere , but I haven't been able to dig up what this > > error > > > > > > > > means . Does anybody know? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: storing key value pair in datastore
thanks pankaj. if I were to send the stringlistproperies to a django template how would I iterate thru the 2 stringlists so I can output the 2 values together. for example if I had a model with 2 stringlistproperties, 1 containing a url and 1 containing the description of the url, how would I get that from my .py code, to the template, and then iterate through the lists in the template to output the url and description together? I appreciate this is probably a very asy question so apologies for my stupidiy On 12/02/2009, Pankaj Vishwani wrote: > > StringList maintains the order. > Here's the link: > http://code.google.com/appengine/docs/python/datastore/entitiesandmodels.html#Lists > > If you are using StringListProperty, then make sure the list is not > too long else you will hit the wall.. > In my case list can be really long, so I am using BlobProperty to save > key value pair delimited with special character. > > > Regards, > Pankaj Vishwani > > > On Feb 12, 4:45 am, Richard Sage wrote: >> Thanks Greg, >> If i did this what you suggest, would i be sure that: >> >> listone[0] >> >> would be the the value related to: >> >> listtwo[0] >> I thought i read somewhere that you can't rely on the order you put things >> in to the datastore being the order they came out?? >> >> 2009/2/12 Greg >> >> >> >> > On Feb 12, 3:10 am, sagey wrote: >> > > 1) store the 2 strings in a stringlistproperty, with the 2 strings >> > > delimited by a sepcial character >> > > 2) create a class that has 2 string properties and then store each >> > > class in a list >> >> > You can't do 2 - you can only store simple types in lists. But... >> >> > 3) Create two stringlist fields, and use the index of one to access >> > the other. > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Random DeadlineExceededError messages
Hello Marzia, the appl id is kbdlessons.appspot.com. The entity in this example is 9911 bytes in size and can be accessed with "SELECT * FROM FileStore where Reference='/keyboards/keysounds/godk.mp3'". If you look at the logs for this app you will see that when this problem strikes, a whole sequence of fetches from FileStore fail regardless of entity size, but a little while later they can be all fine. On Feb 13, 5:56 am, Marzia Niccolai wrote: > Hi, > > If you can provide the app id, I can investigate further, but I suspect that > if the file you are writing is close to 1MB, this is why the > DeadlineExceededError is occurring, it's just sometimes taking too long to > write, depending on the status of the system. You can track the performance > of the system here:http://code.google.com/status/appengine > > -Marzia > > > > On Wed, Feb 11, 2009 at 3:37 PM, phtq wrote: > > > Can I get a response from Google on this item please. The problem is > > not going away. > > >http://groups.google.com/group/google-appengine/browse_thread/thread/...- > >Hide quoted text - > > - Show quoted text - --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] IBM DB2 and App Engine
Hi all, My company is search for new technology solutions, and now we focuses on Google App Engine, my Question: Does Google Apps support DB2 connections? Is very important for us, because, we need extract some data parts from our database (DB2). Thanks All --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: IBM DB2 and App Engine
Hi! Sounds like you need some connection to your existing DB2 database on your own servers. I would expect you would need to make the connection from your google app engine web application through HTTP w/ SSL. So you could do it that way, but probably not over the standard DB2 networking, at least for the near future. Hope this helps! -Adrian http://www.adrianscott.com/ On Feb 12, 4:54 pm, isc_jcjl wrote: > Hi all, My company is search for new technology solutions, and now we > focuses on Google App Engine, my Question: > > Does Google Apps support DB2 connections? > > Is very important for us, because, we need extract some data parts > from our database (DB2). > > Thanks All --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: IBM DB2 and App Engine
Any exposed DB should be encapsulated in a secured service layer anyhoo -- you DO NOT expose your database to the 'net, naked & raw, if you have any idea of what's good for you. Thanks- - Andy Badera - and...@badera.us - (518) 641-1280 - Tech Valley Code Camp 2009.1: http://www.techvalleycodecamp.com/ - Google me: http://www.google.com/search?q=andrew+badera On Thu, Feb 12, 2009 at 6:11 PM, Adrian Scott . com wrote: > > Hi! > > Sounds like you need some connection to your existing DB2 database on > your own servers. > > I would expect you would need to make the connection from your google > app engine web application through HTTP w/ SSL. So you could do it > that way, but probably not over the standard DB2 networking, at least > for the near future. > > > Hope this helps! > > -Adrian > http://www.adrianscott.com/ > > > On Feb 12, 4:54 pm, isc_jcjl wrote: > > Hi all, My company is search for new technology solutions, and now we > > focuses on Google App Engine, my Question: > > > > Does Google Apps support DB2 connections? > > > > Is very important for us, because, we need extract some data parts > > from our database (DB2). > > > > Thanks All > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: IBM DB2 and App Engine
Hi all, thanks for your help, At this point I think to use a WebServices to getting my data. Thanks!! 2009/2/12 Andrew Badera : > Any exposed DB should be encapsulated in a secured service layer anyhoo -- > you DO NOT expose your database to the 'net, naked & raw, if you have any > idea of what's good for you. > > Thanks- > - Andy Badera > - and...@badera.us > - (518) 641-1280 > - Tech Valley Code Camp 2009.1: http://www.techvalleycodecamp.com/ > - Google me: http://www.google.com/search?q=andrew+badera > > > > On Thu, Feb 12, 2009 at 6:11 PM, Adrian Scott . com > wrote: >> >> Hi! >> >> Sounds like you need some connection to your existing DB2 database on >> your own servers. >> >> I would expect you would need to make the connection from your google >> app engine web application through HTTP w/ SSL. So you could do it >> that way, but probably not over the standard DB2 networking, at least >> for the near future. >> >> >> Hope this helps! >> >> -Adrian >> http://www.adrianscott.com/ >> >> >> On Feb 12, 4:54 pm, isc_jcjl wrote: >> > Hi all, My company is search for new technology solutions, and now we >> > focuses on Google App Engine, my Question: >> > >> > Does Google Apps support DB2 connections? >> > >> > Is very important for us, because, we need extract some data parts >> > from our database (DB2). >> > >> > Thanks All >> >> > > > > > -- Ing. Juan Carlos Juárez Lerma. Sistemas Computacionales Web Developer Linux Counter: #209925 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] upgrade to SDK 1.1.9 problems
Hi, I upgraded to SDK 1.1.9 and now I am getting this error message. Any idea why? I am on Visa, AMDx64, I have Python and 1.1.8 worked perfectly. Thanks, Tony INFO 2009-02-13 01:04:44,473 appengine_rpc.py] Server: appengine.google.com INFO 2009-02-13 01:04:44,479 appcfg.py] Checking for updates to the SDK. INFO 2009-02-13 01:04:44,598 appcfg.py] The SDK is up to date. WARNING 2009-02-13 01:04:44,598 datastore_file_stub.py] Could not read datastore data from c:\users\tony\appdata\local\temp \dev_appserver.datastore WARNING 2009-02-13 01:04:44,598 datastore_file_stub.py] Could not read datastore data from c:\users\tony\appdata\local\temp \dev_appserver.datastore.history WARNING 2009-02-13 01:04:44,690 dev_appserver.py] Could not initialize images API; you are likely missing the Python "PIL" module. ImportError: No module named _imaging Traceback (most recent call last): File "C:\Program Files (x86)\Google\google_appengine \dev_appserver.py", line 60, in run_file(__file__, globals()) File "C:\Program Files (x86)\Google\google_appengine \dev_appserver.py", line 57, in run_file execfile(script_path, globals_) File "C:\Program Files (x86)\Google\google_appengine\google\appengine \tools\dev_appserver_main.py", line 463, in sys.exit(main(sys.argv)) File "C:\Program Files (x86)\Google\google_appengine\google\appengine \tools\dev_appserver_main.py", line 442, in main static_caching=static_caching) TypeError: CreateServer() got an unexpected keyword argument 'sdk_dir' --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Small & Dirty Fix for NoseGAE and SDK 1.1.9
Ha. I had the same problem. Actually, I've submitted a patch here: http://code.google.com/p/nose-gae/issues/detail?id=18 -Mahmoud On Feb 10, 9:30 am, Koen Bok wrote: > Change linenosegae.py:125 to: > > dev_appserver.FakeFile.SetAllowedPaths('', paths) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Hosting at example.com instead of foo.example.com
Alright, I'm happy with using www. Thanks. On Feb 12, 5:05 am, gesteves wrote: > GAE doesn't support naked domains. But you can add a cname record for > "www" (or whatever you want to use), and then create a redirect from > example.com towww.example.com, so at least your app won't stop > working if you forget the www. > > On Feb 12, 11:30 pm,srid wrote: > > > Hi, > > > I have a domain name managed by my web host (www.NearlyFreeSpeech.net) > > itself. Let's call it example.com. I know that I can run appengine > > apps at foo.example.com by adding a CNAME record. > > > Is there a way to make the app run at example.com itself? CNAME > > doesn't work here. --~--~-~--~~~---~--~~ You 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 -~--~~~~--~~--~--~---