[google-appengine] [ANN] Released Kay-0.0.0
Japanese text follows English version. Hi list, Today, I am happy to announce the release of the very first version of Kay. (My son was born as well!!!) Kay code site: http://code.google.com/p/kay-framework/ Release archive: http://kay-framework.googlecode.com/files/kay-0.0.0.tar.gz Kay google group: http://groups.google.com/group/kay-users Kay is a web framework made specifically for Google App Engine. The basic design of Kay is based on the Django framework, like middleware, settings and pluggable application, etc. Kay uses Werkzeug as lower level framework, Jinja2 as template engine, and babel for handling language translations. This software is distributed under BSD license. See LICENSE for more details. Kay has these features: * A middleware mechanism same as Django's * Full stack i18n feature * Very fast jinja2 template engine optimized for App Engine. (Kay preparse jinja2 templates into python codes before upload for performance) * powerfull Werkzeug's debugger * powerfull shell tools * easy to start (see README) Please refer to README file for quickstart and please refer to docs directory for more details. Please download and try it if you like, don't hesitate letting me know how you think. I'd be glad to know that. Any suggestions, comments, criticizes are wellcome. Thank you, こんにちは 今日、Kayのバージョン0.0.0をリリースしました。(息子も無事生まれました!!) Kay code site: http://code.google.com/p/kay-framework/ Release archive: http://kay-framework.googlecode.com/files/kay-0.0.0.tar.gz Kay に関する Google Group もあります。 http://groups.google.com/group/kay-users Kay は Google App Engine 専用の Web フレームワークです。ミドルウェアや プラガブルなアプリケーションなど、基本的なデザインは Django に倣ってい ます。低レベルフレームワークとして Werkzeug を、テンプレートエンジンに は jinja2 を、国際化メッセージの処理には babel を使っています。いわいる 修正BSDライセンスで配布をしています。詳しくは LICENSE file を見てくださ い。 Kay はこんな特徴があります。 * Django と同等のミドルウェアメカニズム * 国際化のための仕組みがあります * App Engine 上で高速に動作する jinja2 template engine (Kay は jinja2 のテンプレートを事前にパースして Python コードにします) * powerfull Werkzeug's debugger * powerfull shell tools * 簡単にはじめられます(READMEを見てください) クイックスタートには README を、更に詳しくは docs 以下の rst ファイルを 見てください。 よろしければダウンロードして試してみてください。どんな風に思ったかを聞 かせてくださると嬉しいです。 コメント・提案・批判など全て歓迎です! Happy coding :-) -- Takashi Matsuo --~--~-~--~~~---~--~~ You 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: Strange production only problem
Thanks Nick for your reply. Is the python module search path different in production, than a standard client install? Because on my local machine, the current directory is first in the search path, and "import profile" from within the SDK loads profile.py from my project. Thanks again. On Jul 6, 2:06 am, "Nick Johnson (Google)" wrote: > Hitechboy, > > It's not a sandboxing issue - it's all down to the Python search path. > System directories are listed before your own source directories, so > it searches them first. You can change it by modifying sys.path if you > wish. > > -Nick Johnson > > > > > > On Mon, Jul 6, 2009 at 5:12 AM,techboy wrote: > > > The problem appears to be that the file in my project is named > > profile.py. There is also a profile.py in the python distribution > > itself. > > > I'm assuming that it is a sandboxing restriction(?), that I can't > > import my own profile.py in production (even though it works fine in > > the dev appserver). > > > In production, > > > import profile > > print profile.__file__ > > > Shows it is the profile from the python library. > > > On Jul 5, 12:29 pm,techboy wrote: > >> I have a webapp.RequestHandler derived class called Profile, in a file > >> profile.py. It operates correctly locally. When I deploy to > >> production, it fails. If I simply rename the class to a different > >> name, it works in production. > > >> The logs show this for the failure case. > > >> : Profile instance has no attribute > >> 'initialize' > >> Traceback (most recent call last): > >> <...snip...> > >> File "/base/python_lib/versions/1/google/appengine/ext/webapp/ > >> util.py", line 76, in run_wsgi_app > >> result = application(env, _start_response) > >> File "/base/python_lib/versions/1/google/appengine/ext/webapp/ > >> __init__.py", line 491, in __call__ > >> handler.initialize(request, response) > > >> I can work around this problem obviously but I wonder if anyone could > >> speculate why is happening. > > -- > Nick Johnson, App Engine Developer Programs Engineer > Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration > Number: 368047 --~--~-~--~~~---~--~~ You 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: need more than 10 apps
you can register more google account to deploy more APP..i think. On Jul 6, 8:32 am, Roberto Saccon wrote: > Dear Google group admins: > > I have ten apps, one is going to change its name, so I would be very > happy if you could do either: > > - allow me more than ten apps > - manually delete the apps which are not deployed > - somehow allow me to rename an app > > thanks in advance > > -- > Roberto --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: How to not dereference ReferenceProperties?
See this recipe: http://appengine-cookbook.appspot.com/recipe/getting-dbreferenceproperty-key-without-loading-entity/ On Jul 7, 2:53 am, Oliver Zheng wrote: > For a model, I have a ListProperty of Keys, and whenever I access it, > it's a list of keys. Great. How can I access a ReferenceProperty of a > model and have it return a Key instead of the actual instance (which > has to be retrieved from datastore)? I've setup my models by putting a > lot of info into key_names to minimize data transfer, and this would > be a lot more useful if I could actually just use keys instead of > instances. > > Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] How to not dereference ReferenceProperties?
For a model, I have a ListProperty of Keys, and whenever I access it, it's a list of keys. Great. How can I access a ReferenceProperty of a model and have it return a Key instead of the actual instance (which has to be retrieved from datastore)? I've setup my models by putting a lot of info into key_names to minimize data transfer, and this would be a lot more useful if I could actually just use keys instead of instances. Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-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] Poll Rails on the Google App Engine
Hi, Reciently I have spending a lot of time on making it easer to run Ruby on Rails on the Google App Engine. So Iam interested in how many people are interested in this technology. So I have created a short (one question) poll about it. If you could take 30 sec. to take this poll I would really appreciate it. Poll: http://www.micropoll.com/akira/mpview/620575-181849 Thanks in advance, Josh -- http://www.codingforrent.com - The Blog --~--~-~--~~~---~--~~ You 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] Error for datastore_v3.RunQuery()
I'm seeing a lot of "Error: An error occurred for the API request datastore_v3.RunQuery()" in my application (around 1.5%, app_id is garota-social). Any ideas of what might be going on? A full trace can be found in: http://gist.github.com/141726 -- Federico --~--~-~--~~~---~--~~ You 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: Django + Patch + ReportLab + HardenedModulesHook
Reverting to Google SDK 1.1.19 resolves the issue. Any hints about how to work around this issue with the current SDK? Thanks - johnP On Jul 1, 4:38 pm, johnP wrote: > More Debug Info - > > The specific failure point is: > > for name in ('T1SearchPath','TTFSearchPath','CMapSearchPath'): > P=[] > for p in _SAVED[name]: > d = (p % D).replace('/',os.sep) > - if rl_isdir(d): P.append(d) > _setOpt(name,P) > > which rl_isdir is in the the module, \reportlab\lib\utils.py: > > def rl_isdir > (pn,os_path_isdir=os.path.isdir,os_path_normpath=os.path.normpath): > if os_path_isdir(pn): return True > if _isFSD or __loader__ is None: return False > pn = _startswith_rl(os_path_normpath(pn)) > if not pn.endswith(os.sep): pn += os.sep > return len(filter(lambda x,pn=pn: x.startswith > (pn),__loader__._files.keys()))>0 > > I'm assuming __loader__ is being ??? by ??? > > Thanks for any pointers :) > > johnP > > On Jul 1, 3:59 pm, johnP wrote: > > > I am not sure where to start troubleshooting a new issue. My project > > uses Django + Appengine Patch + ReportLab (not-zipped). Up to now, > > everything has worked without any problems. Recently, I updated both > > the Appengine SDK (from v. 18 to the current version) as well as > > AppEnginePatch from Feb 18 version to the Jun 23 version. > > > Now, when I access a view that requires ReportLab Imports, everything > > works perfectly the first time. Then, if I make any changes in my > > project (save any .py file), and try to re-enter the screen that > > requires ReportLab imports, I get the following error: > > "Tried list_reports in module twareports.reports. Error was: > > 'HardenedModulesHook' object has no attribute '_files'" > > > Nothing clears the issue (e.g. restart Python, restart dev_server, > > etc.) - unless I manually delete the file: > > C:\tw\reportlab\lib\utils.pyc (yes - the pyc file) - or modify the C: > > \tw\reportlab\lib\utils.py file and save it. > > > Then the app works normally, until I make another change to any > > module, which brings me back into the error state. > > > So in summary: > > 1. This is a problem that started after updating from Django 1.0 > > to 1.02 (via updating Appenging patch). > > 2. At the same time, I updated the Appengine SDK. > > > Can anyone provide guidance as to where to start looking for a > > solution to this issue? Is it a Django issue? A SDK issue? > > > btw - seems to work just fine on the Production Server (so far...) > > > johnP > > > Stacktrace...: > > Exception in request: > > Traceback (most recent call last): > > File "C:\tw\common\zip-packages\django-1.0.2.zip\django\core\handlers > > \base.py" > > , line 77, in get_response > > File "C:\tw\common\zip-packages\django-1.0.2.zip\django\core > > \urlresolvers.py", > > line 185, in resolve > > File "C:\tw\common\zip-packages\django-1.0.2.zip\django\core > > \urlresolvers.py", > > line 185, in resolve > > File "C:\tw\common\zip-packages\django-1.0.2.zip\django\core > > \urlresolvers.py", line 124, > > in resolve > > File "C:\tw\common\zip-packages\django-1.0.2.zip\django\core > > \urlresolvers.py", line 136, > > in _get_callback > > ViewDoesNotExist: Tried list_reports in module twareports.reports. > > Error was: > > 'HardenedModulesHook' object has no attribute '_files' > > INFO:root:"GET /secure/reports/ HTTP/1.1" 500 - > > DEBUG:root:No need to update index.yaml > > --~--~-~--~~~---~--~~ You 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: HIPAA requirements vs. AppEngine security guidelines
Does anyone know if Amazon's EC2 platform is HIPAA-compliant? On Jul 6, 12:44 pm, richard emberson wrote: > Not going to happen. The IT requirements for Google would > cost far more than the couple of applications that might > need HIPAA. They would have to have a completely > separate group with their own machines, passwords, > procedures, etc. with a real wall (both material wall > and software/hardware wall) between the group and the rest of > Google or all of Google would have to be HIPAA > compliant. So, how much is it worth for Google? Not much. > > RME > > > > Ken wrote: > > Hi, > > > I'm researching the feasibility of running a healthcare app on the > > AppEngine cloud. I've read through the AE terms of service and they > > don't say much about the actual security guidelines other than > > deferring to the boilerplate Google security policy. I have no doubt > > there are internal documents detailing the exact security guarantees > > provided by Google's infrastructure, but that information is not > > readily available to the public. > > > It's been a full year since the last time HIPAA was discussed in this > > group. Now that SSL support has been enabled, data transfer > > constraints can be met with ease. So, what's the story today with GAE > > and HIPAA compliance? Are the App Engine's data storage and transfer > > mechanisms compatible with the guidelines set out by HIPAA? > > > Google Apps documentation has quite a bit more security information, > > such as specifying annual SAS 70 Type II audits. I'm not familiar > > with this particular security audit, but some quick research seems to > > indicate that SAS 70 audit controls are mostly a superset of HIPAA > > guidelines. However, there are some aspects of HIPAA compliance that > > seem to be difficult to implement in a distributed database system, so > > any reassurances from the Google App Engine folks in this regard would > > be most appreciated. > > > Thanks! > > > Ken > > -- > Quis custodiet ipsos custodes --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Server Error when update application with appcfg
I have been running into this issue the past two days. I had trouble getting the default version set from 1 to 2, and now I'm trying to set it to 3. appid=dxers If you need more info please advise. Tim R. Havens On May 12, 7:48 pm, "Jason (Google)" wrote: > If you're still seeing these errors when you attempt to change or update you > application's version, can you reply with your application ID so I can take > a closer look? > > - Jason > > > > On Sat, May 9, 2009 at 11:21 PM, Squall wrote: > > > Suddenly my application versions stop working. I could not set the > > default version at [Versions] page. > > > Screenshoot: > >http://img.photobucket.com/albums/v124/squallz/MWSnap2009-05-1014_15_... > > > I have deleted most of the versions but it still didn't work as of > > now. > > I cant change the default version (Server Error: A server error has > > occurred.) > > I cant delete the version 8 either. (Error: cannot delete default > > version) > > > Below is what I get when try to update version 8 > > > appcfg --noisy update mydir/ > > > 2009-05-10 14:11:49,203 DEBUG appengine_rpc.py:349 Got http error, > > this is try #1 > > 2009-05-10 14:11:49,203 DEBUG appengine_rpc.py:343 Sending HTTP > > request: > > POST /api/appversion/create?version=8&app_id=smsjinx HTTP/1.1 > > Host: appengine.google.com > > X-appcfg-api-version: 1 > > Content-type: application/octet-stream > > User-agent: appcfg_py/1.2.2 win32/5.1.2600.2 Python/2.5.2.final.0 > > > api_version: '1' > > application: sm***x > > handlers: > > - static_files: static/\1 > > upload: static/(.*) > > url: /static/(.*) > > - script: sm***x.py > > url: /.* > > runtime: python > > version: '8' > > > 2009-05-10 14:11:49,921 DEBUG appengine_rpc.py:349 Got http error, > > this is try #2 > > 2009-05-10 14:11:49,921 DEBUG appengine_rpc.py:343 Sending HTTP > > request: > > POST /api/appversion/create?version=8&app_id=smsjinx HTTP/1.1 > > Host: appengine.google.com > > X-appcfg-api-version: 1 > > Content-type: application/octet-stream > > User-agent: appcfg_py/1.2.2 win32/5.1.2600.2 Python/2.5.2.final.0 > > > api_version: '1' > > application: sm***x > > handlers: > > - static_files: static/\1 > > upload: static/(.*) > > url: /static/(.*) > > - script: sm***x.py > > url: /.* > > runtime: python > > version: '8' > > > 2009-05-10 14:11:50,641 DEBUG appengine_rpc.py:349 Got http error, > > this is try #3 > > 2009-05-10 14:11:50,641 DEBUG appengine_rpc.py:343 Sending HTTP > > request: > > POST /api/appversion/create?version=8&app_id=smsjinx HTTP/1.1 > > Host: appengine.google.com > > X-appcfg-api-version: 1 > > Content-type: application/octet-stream > > User-agent: appcfg_py/1.2.2 win32/5.1.2600.2 Python/2.5.2.final.0 > > > api_version: '1' > > application: sm***x > > handlers: > > - static_files: static/\1 > > upload: static/(.*) > > url: /static/(.*) > > - script: sm***x.py > > url: /.* > > runtime: python > > version: '8' > > > 2009-05-10 14:11:51,359 DEBUG appengine_rpc.py:349 Got http error, > > this is try #4 > > 2009-05-10 14:11:51,359 ERROR appcfg.py:1241 An unexpected error > > occurred. Aborting. > > Traceback (most recent call last): > > File "F:\Program Files\Google\google_appengine\google\appengine\tools > > \appcfg.py", line 1219, in DoUpload > > missing_files = self.Begin() > > File "F:\Program Files\Google\google_appengine\google\appengine\tools > > \appcfg.py", line 1014, in Begin > > version=self.version, payload=self.config.ToYAML()) > > File "F:\Program Files\Google\google_appengine\google\appengine\tools > > \appengine_rpc.py", line 344, in Send > > f = self.opener.open(req) > > File "F:\Python25\lib\urllib2.py", line 387, in open > > response = meth(req, response) > > File "F:\Python25\lib\urllib2.py", line 498, in http_response > > 'http', request, response, code, msg, hdrs) > > File "F:\Python25\lib\urllib2.py", line 425, in error > > return self._call_chain(*args) > > File "F:\Python25\lib\urllib2.py", line 360, in _call_chain > > result = func(*args) > > File "F:\Python25\lib\urllib2.py", line 506, in http_error_default > > raise HTTPError(req.get_full_url(), code, msg, hdrs, fp) > > HTTPError: HTTP Error 500: Internal Server Error > > Error 500: --- begin server output --- > > > Server Error (500) > > A server error has occurred. > > --- end server output --- --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: cname DNS aliasing
Temporary solution found. You just need to switch your control panel of google apps for domain to "Current version": https://www.google.com/a/cpanel//DomainSettings Look at the very last option. //wbr Pashka R. On Sun, Jul 5, 2009 at 13:02, Pavel Reznikov wrote: > > I get exactly the same error. Any ideas whats wrong with gae? > > On 3 июл, 21:11, Adam Loving wrote: >> Hi, >> >> I need more help on what you mean by "use that to set up the mapping". >> >> Both domains are set up as Google Apps domains. When I sign in to >> domain B, and attempt to add the app engine app by app ID, I get: >> >> Server error >> We are unable to process your request at this time, please try again >> later. >> >> If I log in tohttp://appengine.google.com, click "versions", then >> "add domain", and accept the Google App Engine terms and conditions >> for the domain B, I get: >> >> An error occurred while trying to install this application. Please try >> again later. >> >> In case, there is already a app engine app running onwww.b.com >> >> On Jul 3, 2:20 am, "Nick Johnson (Google)" >> wrote: >> >> > Hi Adam, >> >> > In order to map a domain to an App Engine app, you need your user to >> > CNAME their domain to ghs.google.com, then sign their domain up for >> > Google Apps, and use that to set up the mapping. >> >> > -Nick Johnson >> >> > On Fri, Jul 3, 2009 at 7:58 AM, Adam Loving wrote: >> >> > > Hi - >> >> > > I have my app engine app running onwww.a.comwiththe normal cname >> > > configuration. I want to map someone else's c.b.com to mywww.a.comor >> > > c.a.com using a cname (with their permission). The end result should >> > > be that c.b.com renders the exact same content thatwww.a.comrenders >> > > (though presumably it is possible to detect the host name and >> > > customize the content). >> >> > > I have tried both of these cname mappings: >> >> > > c ->www.a.com >> > > c -> c.a.com (I have configured c.a.com and verified that it works) >> >> > > After waiting a bit for the DNS to go through, I get a 404 "server not >> > > found" as demonstrated below. I interpret this to mean the request has >> > > reached google (the IP address matches that ofwww.a.com), but google >> > > doesn't know what to do with the request since all it has is the >> > > original host name. >> >> > > Is there any way around this problem other than an iframe or redirect >> > > on c.b.com? >> >> > > Thanks in advance for your help, >> > > Adam >> >> > > $ curl -vhttp://c.b.com >> > > * About to connect() to c.b.com port 80 (#0) >> > > * Trying 74.125.53.121... connected >> > > * Connected to c.b.com (74.125.53.121) port 80 (#0) >> > >> GET / HTTP/1.1 >> > >> User-Agent: curl/7.16.3 (powerpc-apple-darwin9.0) libcurl/7.16.3 >> > >> OpenSSL/0.9.7l zlib/1.2.3 >> > >> Host: c.b.com >> > >> Accept: */* >> >> > > < HTTP/1.1 404 Not Found >> > > < Date: Fri, 03 Jul 2009 06:52:42 GMT >> > > < Expires: Fri, 03 Jul 2009 06:52:42 GMT >> > > < Cache-Control: private, max-age=0 >> > > < X-Content-Type-Options: nosniff >> > > < Content-Length: 142 >> > > < Server: GFE/2.0 >> > > < Content-Type: text/html >> > > < >> > > >> > > >> > > 404 >> > > >> > > >> > > Server Not Found >> > > Error 404 >> > > >> > > >> >> > -- >> > Nick Johnson, App Engine Developer Programs Engineer >> > Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration >> > Number: 368047 > > > > --~--~-~--~~~---~--~~ You 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: Reading the app.yaml version string from python?
You can access the global environment variable CURRENT_VERSION_ID - from the docs: CURRENT_VERSION_ID: The major and minor version of the currently running application, as "X.Y". The major version number ("X") is specified in the app's app.yaml file. The minor version number ("Y") is set automatically when each version of the app is uploaded to App Engine. On the development web server, the minor version is always "1". I believe memcache and datastore are shared across all versions of the app, so keep that in mind. On Jul 6, 2:56 pm, mckoss wrote: > I'd like to be able to know what version of my application is > currently running? Is there an API for reading this string at > runtime? > > (I want to use this for flushing cache entries from memcache that are > version-specific). --~--~-~--~~~---~--~~ You 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 we expect if the datastore is read only, memcache probably will be also?
The datastore and memcache are indeed two different systems and maintenance read-only mode for one does not require that the other will be in read-only mode. In the most recent outage both memcache and the datastore were in read-only, so it would be good to plan for a worst case scenario, but both being unwritable is the exception rather than the rule. Good question, Jeff On Fri, Jul 3, 2009 at 7:41 AM, bowman.jos...@gmail.com < bowman.jos...@gmail.com> wrote: > > Hello, > > The past several planned and unplanned outages where the datastore has > been readonly, has also had the memcache made unavailable for at least > part of the duration. > > I'd been working on the python session class, expanding it to allow > for periods where the datastore was read only, but memcache is > available. The point being that applications that could persist in a > read only state would also be able to keep user state or whatever else > they were using sessions for. > > Except for gracefully getting past datastore timeout issues, this > extra complexity doesn't seem to be solving much for any of the > downtimes though. So I'm just curious how tightly integrated the write > functionality is for both? > > > --~--~-~--~~~---~--~~ You 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: Unable to add domain name to app
That solution is work! Thanks a lot. //wbr Pashka R. On Mon, Jul 6, 2009 at 19:38, Richard wrote: > > Found the solution here: > http://www.google.com/support/forum/p/Google+Apps/thread?tid=724ef70272546852&hl=en&search_impression_id=7c32251d6a27cbee%3A12250e72a95&search_source=related_question > > On Jul 6, 7:04 am, Chris Thorpe wrote: >> Don't think you're doing anything wrong at all, I've been able to do >> this in the past but having no luck at all doing it at the moment >> >> Think there is some kind of fault (which I've seen intermittently >> there before too) >> >> On Jul 4, 2:03 pm, Richard wrote: >> >> > I have an app running athttp://dancingapp.appspot.com/ >> > I want it on its own domainhttp://www.dancebrighton.com/ >> > This domain is registered with Google Apps. >> >> > When I try to add the domain to my app it says: >> > An error occurred while trying to install this application. Please try >> > again later >> >> > What am I doing wrong? > > > --~--~-~--~~~---~--~~ You 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: Authenticate user in AppEngine from iGoogle gadget
Hi Rohannes, If the user is just signed in to Google (mail, docs, etc.) they will not be signed in to the App Engine app, so the users API will report no current user. The user needs to sign in for each App Engine app individually and a cookie is set client side which is sent in each request. How do you plan to use this information in your gadget? If you just need to uniquly identify users, would the gadget's profile API be sufficient? Thank you, Jeff On Fri, Jul 3, 2009 at 1:53 AM, Rohannes wrote: > > I'm starting to consider using a direct Javascript client-side AJAX > query to AppEngine rather than use Google's indirect server-side > cached query. Maybe then AppEngine will realise that the user is > logged into a Google session (since the same browser will be > contacting AppEngine). Is this a viable option? > > I imagine there is authentication data being sent with the HTTP > requests which will be included if the request comes directly from the > client's browser but not if the request comes indirectly from > igmodules. > > For example, even though I am logged into my Google account, and the > AppEngine app greets me appropriately, requests sent from the gadget > do not appear to come from a logged-in user. Perhaps sending these > requests directly from the user's browser will fix the problem. > > > --~--~-~--~~~---~--~~ You 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: Ggoogle spreadsheet api v3.0
Hi anjali, It's just that no one has gotten to it yet. If you are interested, please consider creating something for it. I can help out too as adding these new APIs is on the to-do list for the gdata-python-client library. See the following guide on how to start contributing: http://code.google.com/p/gdata-python-client/wiki/BecomingAContributor Happy coding, Jeff On Fri, Jul 3, 2009 at 2:16 AM, Anjali Jain wrote: > Hello, > > The Google spreadsheet API v3.0 is available only in Java. No Python > support. Any reasons? > > thanks > anjali > > > > > > --~--~-~--~~~---~--~~ You 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: HIPAA requirements vs. AppEngine security guidelines
Not going to happen. The IT requirements for Google would cost far more than the couple of applications that might need HIPAA. They would have to have a completely separate group with their own machines, passwords, procedures, etc. with a real wall (both material wall and software/hardware wall) between the group and the rest of Google or all of Google would have to be HIPAA compliant. So, how much is it worth for Google? Not much. RME Ken wrote: > Hi, > > I'm researching the feasibility of running a healthcare app on the > AppEngine cloud. I've read through the AE terms of service and they > don't say much about the actual security guidelines other than > deferring to the boilerplate Google security policy. I have no doubt > there are internal documents detailing the exact security guarantees > provided by Google's infrastructure, but that information is not > readily available to the public. > > It's been a full year since the last time HIPAA was discussed in this > group. Now that SSL support has been enabled, data transfer > constraints can be met with ease. So, what's the story today with GAE > and HIPAA compliance? Are the App Engine's data storage and transfer > mechanisms compatible with the guidelines set out by HIPAA? > > Google Apps documentation has quite a bit more security information, > such as specifying annual SAS 70 Type II audits. I'm not familiar > with this particular security audit, but some quick research seems to > indicate that SAS 70 audit controls are mostly a superset of HIPAA > guidelines. However, there are some aspects of HIPAA compliance that > seem to be difficult to implement in a distributed database system, so > any reassurances from the Google App Engine folks in this regard would > be most appreciated. > > Thanks! > > Ken > > > > -- Quis custodiet ipsos custodes --~--~-~--~~~---~--~~ You 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: Deploying to Google is very slow
Hey Neil, I'm sort of glad you do. I posted the exact same thing yesterday, but nobody replied so I thought is was just us. Could some friendly Google person maybe shine some light on this? I mean, it's doable bu annoying so I'd love to know if it's temporary. - Koen On Jul 6, 12:54 pm, Neil wrote: > These days i found that my application deploying is very slow, it > needs 3 - 5 minutes, and 1 minute was ok before. > why? --~--~-~--~~~---~--~~ You 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] Reading the app.yaml version string from python?
I'd like to be able to know what version of my application is currently running? Is there an API for reading this string at runtime? (I want to use this for flushing cache entries from memcache that are version-specific). --~--~-~--~~~---~--~~ You 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] HIPAA requirements vs. AppEngine security guidelines
Hi, I'm researching the feasibility of running a healthcare app on the AppEngine cloud. I've read through the AE terms of service and they don't say much about the actual security guidelines other than deferring to the boilerplate Google security policy. I have no doubt there are internal documents detailing the exact security guarantees provided by Google's infrastructure, but that information is not readily available to the public. It's been a full year since the last time HIPAA was discussed in this group. Now that SSL support has been enabled, data transfer constraints can be met with ease. So, what's the story today with GAE and HIPAA compliance? Are the App Engine's data storage and transfer mechanisms compatible with the guidelines set out by HIPAA? Google Apps documentation has quite a bit more security information, such as specifying annual SAS 70 Type II audits. I'm not familiar with this particular security audit, but some quick research seems to indicate that SAS 70 audit controls are mostly a superset of HIPAA guidelines. However, there are some aspects of HIPAA compliance that seem to be difficult to implement in a distributed database system, so any reassurances from the Google App Engine folks in this regard would be most appreciated. Thanks! Ken --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: DatastoreNeedIndexException: no matching index found.
Update: I get the following error when I try to access the datastore index link again: Server Error A server error has occurred. I am not sure if this error is related to the index problem, or to exceeding quota. Please note that the quota was not exceeded when I post the last error / exception message. It is very strange now as I was able to click into the datastore index page/link when I posted the last error, but now I can't even access it anymore. And I am having trouble deploying the modified application. I get errors saying it failed to upload / create the index at the server. I wonder if something is wrong with the index on the server right now? Is anyone else having similar problems? Any light would be appreciated. Tommy On 7月6日, 上午11時28分, GArchitect wrote: > Hi, I got the following exception in a method executing a query: > > C 07-05 07:23PM 42.069 > Uncaught exception from servlet > com.google.appengine.api.datastore.DatastoreNeedIndexException: no > matching index found. > at > com.google.appengine.api.datastore.DatastoreApiHelper.translateError > (DatastoreApiHelper.java:34) > at com.google.appengine.api.datastore.DatastoreApiHelper.makeSyncCall > (DatastoreApiHelper.java:55) > at com.google.appengine.api.datastore.DatastoreServiceImpl > $PreparedQueryImpl.runQuery(DatastoreServiceImpl.java:310) > at com.google.appengine.api.datastore.DatastoreServiceImpl > $PreparedQueryImpl.access$100(DatastoreServiceImpl.java:240) > at com.google.appengine.api.datastore.DatastoreServiceImpl > $PreparedQueryImpl$1.iterator(DatastoreServiceImpl.java:269) > at > org.datanucleus.store.appengine.query.RuntimeExceptionWrappingIterable.iterator > (RuntimeExceptionWrappingIterable.java:42) > at org.datanucleus.store.appengine.query.StreamingQueryResult. > (StreamingQueryResult.java:72) > at > org.datanucleus.store.appengine.query.DatastoreQuery.fulfillEntityQuery > (DatastoreQuery.java:253) > at org.datanucleus.store.appengine.query.DatastoreQuery.performExecute > (DatastoreQuery.java:220) > at org.datanucleus.store.appengine.query.JDOQLQuery.performExecute > (JDOQLQuery.java:85) > at org.datanucleus.store.appengine.query.JDOQLQuery.performExecute > (JDOQLQuery.java:31) > at org.datanucleus.store.query.Query.executeQuery(Query.java:1466) > at org.datanucleus.store.query.Query.executeWithArray(Query.java: > 1340) > at org.datanucleus.jdo.JDOQuery.execute(JDOQuery.java:240) > at > com.solveware.gwt.sample.stockwatcher.server.HistoricalQuote.getAllQuotesOnSymbol > (HistoricalQuote.java:130) > ... > > However, according to the admin console, the required index is up and > running > > HistoricalQuote > id ▲ , symbol ▲ , date ▲ Serving > > And the code for executing the query: > > public static List getAllQuotesOnSymbol(String > symbol) { > PersistenceManager pm = PMF.get().getPersistenceManager(); > Query query = pm.newQuery(HistoricalQuote.class); > query.setFilter("symbol == userSubmittedSymbol"); > query.setOrdering("date ASC"); > query.declareParameters("String userSubmittedSymbol"); > List entries = (List) > query.execute(symbol); > return entries; > } > > So I wonder if anyone can shed some light on why this is happening? > Is it a problem on the GAE side that is waiting to be fixed? > > Any help is appreciated. Thanks. > > Best, > > Tommy --~--~-~--~~~---~--~~ You 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: App Gallery link fail
yes i am getting the same error since last 2-3 days On Sun, Jul 5, 2009 at 9:10 AM, Alex wrote: > > When I follow the App Gallery link on the > http://code.google.com/appengine/ > page, I get the following: > > 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/appgallery/3.11/appgallery.py", line 96, > in get >values = self.get_or_fetch_main_page() > File "/base/data/home/apps/appgallery/3.11/appgallery.py", line 90, > in get_or_fetch_main_page >memcache.set('main', values, 600) > File "/base/python_lib/versions/1/google/appengine/api/memcache/ > __init__.py", line 555, in set >namespace=namespace) > File "/base/python_lib/versions/1/google/appengine/api/memcache/ > __init__.py", line 625, in _set_with_policy >stored_value, flags = _validate_encode_value(value, > self._do_pickle) > File "/base/python_lib/versions/1/google/appengine/api/memcache/ > __init__.py", line 177, in _validate_encode_value >'received %d bytes' % (MAX_VALUE_SIZE, len(stored_value))) > ValueError: Values may not be more than 100 bytes in length; > received 1041848 bytes > > Whoops! > > Cheers, > > Alex > > > > --~--~-~--~~~---~--~~ You 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: View content of local database - Java
try this little application to viee local as well as GAE data... http://code.google.com/p/gae-data-viewer/wiki/QuickStartup On Mon, Jul 6, 2009 at 3:54 PM, Helmut Juskewycz wrote: > > Hi everybody, > > I am fairly new to Google App Engine. While developing locally, I > wanted to have a look at the content of the local database > (local_db.bin). However, I couldn't figured it out, how the data is > stored and how can I access it. > > Heli > > > > --~--~-~--~~~---~--~~ You 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: Unable to add domain name to app
mmm, I'm getting the same error. Is you app fairly new? Mine is just created. --~--~-~--~~~---~--~~ You 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] View content of local database - Java
Hi everybody, I am fairly new to Google App Engine. While developing locally, I wanted to have a look at the content of the local database (local_db.bin). However, I couldn't figured it out, how the data is stored and how can I access it. Heli --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] using Hook API to add additional filters to a query
Hi. I am trying to use the hook api in Python to intercept all calls to the datastore and run a check to ensure that the user has proper authorization to take the action requested - possibly by adding a filter or by querying some other tables. As an example, when displaying results, I would like to add some additoinal filters to the query while in the hook. However, I cannot figure out how to add these filters. I am using apiproxy_stub_map.apiproxy.GetPreCallHooks. THe hook provides 4 parameters - including an object that is a google.appengine.datastore.datastore_pb.Query. How can I add an additional filter to the query before it is run? I have tried many different things - including: request.filter("title","test item") request.add_filter().MergeFromString("title = test item") Thank you for your help. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: request size limit is 1 or 10mb?
Nick, I'm new to App Engine; could you tell us where the various limits are documented? I found this page: http://code.google.com/appengine/docs/revision_history.html which has an entry on 2009-02-04 stating that "The app request and response size limit has also increased from 1 MB to 10 MB." There is no subsequent entry that alters that decision, but if I understand you correctly, someone accessing my app from .appspot.com, would have the 10 MB response maximum, but if they were to access the same app using a domain name that I associated with the application myself (e.g., .com) then they would have a 1MB response maximum. Is that correct? Actually, you were referring to uploads, so I guess I should be asking whether that is the case for responses. I don't think that this is a show stopper for me because although I have some 2-3MB static html files that I will be uploading (from Google's servers) via a GET triggered from GWT Java-to-Javascript code, these could be broken up into 3 or 4 files each and downloaded separately. But since I don't understand the rationale (for the difference between appspot.com vs. my own domain) I'm concerned that I may not correctly understand the constraint. BTW, regarding resource utilization, since I'm using GET to retrieve these files the browser caches them. These files will almost never change, and are always needed, so once a given user downloads the file, they should never have to download it again for subsequent requests unless they clear browser cache. Thanks, Carl On Jul 6, 2:45 am, "Nick Johnson (Google)" wrote: > Hi Sebastian, > > Thelimitis 10MB for appspot.com domains, but still 1MB if you're > uploading to a domain of your own. > > -Nick Johnson > > On Sun, Jul 5, 2009 at 11:00 PM, sserrano wrote: > > > Hi > > From the docs the request sizelimitshoul be 10mb, but when i try > > to upload something with more than 1mb im getting an httpresponse > > code 400, which even not appear at the app log. For request with 0.9mb > > all is fine. > > I read the > > 10mblimitathttp://code.google.com/intl/en/appengine/docs/python/runtime.html > > and my app is wegif-gae > > > Thanks in advance, Sebastian > > -- > Nick Johnson, App Engine Developer Programs Engineer > Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration > Number: 368047 --~--~-~--~~~---~--~~ You 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: request size limit is 1 or 10mb?
I seem to experience this too. On Jul 5, 6:00 pm, sserrano wrote: > Hi > From the docs the request size limit shoul be 10mb, but when i try > to upload something with more than 1mb im getting an http response > code 400, which even not appear at the app log. For request with 0.9mb > all is fine. > I read the 10mb limit > athttp://code.google.com/intl/en/appengine/docs/python/runtime.html > and my app is wegif-gae > > Thanks in advance, Sebastian --~--~-~--~~~---~--~~ You 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] DatastoreNeedIndexException: no matching index found.
Hi, I got the following exception in a method executing a query: C 07-05 07:23PM 42.069 Uncaught exception from servlet com.google.appengine.api.datastore.DatastoreNeedIndexException: no matching index found. at com.google.appengine.api.datastore.DatastoreApiHelper.translateError (DatastoreApiHelper.java:34) at com.google.appengine.api.datastore.DatastoreApiHelper.makeSyncCall (DatastoreApiHelper.java:55) at com.google.appengine.api.datastore.DatastoreServiceImpl $PreparedQueryImpl.runQuery(DatastoreServiceImpl.java:310) at com.google.appengine.api.datastore.DatastoreServiceImpl $PreparedQueryImpl.access$100(DatastoreServiceImpl.java:240) at com.google.appengine.api.datastore.DatastoreServiceImpl $PreparedQueryImpl$1.iterator(DatastoreServiceImpl.java:269) at org.datanucleus.store.appengine.query.RuntimeExceptionWrappingIterable.iterator (RuntimeExceptionWrappingIterable.java:42) at org.datanucleus.store.appengine.query.StreamingQueryResult. (StreamingQueryResult.java:72) at org.datanucleus.store.appengine.query.DatastoreQuery.fulfillEntityQuery (DatastoreQuery.java:253) at org.datanucleus.store.appengine.query.DatastoreQuery.performExecute (DatastoreQuery.java:220) at org.datanucleus.store.appengine.query.JDOQLQuery.performExecute (JDOQLQuery.java:85) at org.datanucleus.store.appengine.query.JDOQLQuery.performExecute (JDOQLQuery.java:31) at org.datanucleus.store.query.Query.executeQuery(Query.java:1466) at org.datanucleus.store.query.Query.executeWithArray(Query.java: 1340) at org.datanucleus.jdo.JDOQuery.execute(JDOQuery.java:240) at com.solveware.gwt.sample.stockwatcher.server.HistoricalQuote.getAllQuotesOnSymbol (HistoricalQuote.java:130) ... However, according to the admin console, the required index is up and running HistoricalQuote id ▲ , symbol ▲ , date ▲ Serving And the code for executing the query: public static List getAllQuotesOnSymbol(String symbol) { PersistenceManager pm = PMF.get().getPersistenceManager(); Query query = pm.newQuery(HistoricalQuote.class); query.setFilter("symbol == userSubmittedSymbol"); query.setOrdering("date ASC"); query.declareParameters("String userSubmittedSymbol"); List entries = (List) query.execute(symbol); return entries; } So I wonder if anyone can shed some light on why this is happening? Is it a problem on the GAE side that is waiting to be fixed? Any help is appreciated. Thanks. Best, Tommy --~--~-~--~~~---~--~~ You 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: Problem with "Verify Your Account by SMS"
You must put +549 as country code, followed by area code without 0 and cell phone number without 15 =)... ^_^ Example for Entre Ríos 0343-15422: +549343422 On 3 jul, 14:31, "vico.ar" wrote: > I have a problem with "Verify Your Account by SMS" page. > > Does anyone know how to verify one's account if you are living in > Argentina? > > I entered my number in the format required by the verificator but it > always gives "Mobile Number or Username" error. > > Regards, > Víctor --~--~-~--~~~---~--~~ You 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] Default Version Setting Attempts resulting in "Server Error"
app_id=dxers I'm trying to set my app to version 2. When I do i see "Server Error A server error has occurred." Any help would be appreciated. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] app engine serving wrong static files
I have an app running on the python runtime. As part of its function, it serves some static images, jpg files. Starting today, and all of a sudden, it is consistently serving the wrong images for some file names. The configuration is such that these images are available through there own URI. I have confirmed that app engine is serving the wrong files by punching in specific URIs, so it is not something in the app. This is just straight up static files. I did change the files a few days ago, without changing the names. It worked since then, but not today. It is not every file, just some and there seems to be no pattern. I tried creating a new version of the app and switching to that - no luck. The new version works fine when referencing the versioned URL, but not when using the site URL. Any ideas? Has anyone else seen 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-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: Unable to add domain name to app
I have the exact same problem. Please help. On Jul 4, 10:03 pm, Richard wrote: > I have an app running athttp://dancingapp.appspot.com/ > I want it on its own domainhttp://www.dancebrighton.com/ > This domain is registered with Google Apps. > > When I try to add the domain to my app it says: > An error occurred while trying to install this application. Please try > again later > > What am I doing wrong? --~--~-~--~~~---~--~~ You 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] Deploying to Google is very slow
These days i found that my application deploying is very slow, it needs 3 - 5 minutes, and 1 minute was ok before. why? --~--~-~--~~~---~--~~ You 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] need more than 10 apps
Dear Google group admins: I have ten apps, one is going to change its name, so I would be very happy if you could do either: - allow me more than ten apps - manually delete the apps which are not deployed - somehow allow me to rename an app thanks in advance -- Roberto --~--~-~--~~~---~--~~ You 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: Using Google Apps and App Engine
Andrew, You verify from this page (once you are logged in to GAE): https://www.google.com/a/cpanel/.com/VerifyOwnership For details, see the steps under "Verifying Domain Ownership" on this page: http://www.google.com/support/a/bin/topic.py?topic=20897 Carl -- On Jul 3, 2:51 pm, andrewljohnson wrote: > Good Afternoon, > > I created a website on my Google App Engine > account:http://pghmetal.appspot.com > > I set this up for a friend, and now I would like to show this website > atwww.pittsburghmetalworks.com > > PittsburghMetalWorks.com is set up as a Google Apps domain, but it's > linked to my friend's account, not my app-engine account. Also, the > domain is registered by GoDaddy. > > So, my question is, how do I usewww.pittsburghmetalworks.comwith > pghmetal.appsot.com > > Thanks for your help. > > Best regards, > Andrew --~--~-~--~~~---~--~~ You 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: cname DNS aliasing
I get exactly the same error. Any ideas whats wrong with gae? On 3 июл, 21:11, Adam Loving wrote: > Hi, > > I need more help on what you mean by "use that to set up the mapping". > > Both domains are set up as Google Apps domains. When I sign in to > domain B, and attempt to add the app engine app by app ID, I get: > > Server error > We are unable to process your request at this time, please try again > later. > > If I log in tohttp://appengine.google.com, click "versions", then > "add domain", and accept the Google App Engine terms and conditions > for the domain B, I get: > > An error occurred while trying to install this application. Please try > again later. > > In case, there is already a app engine app running onwww.b.com > > On Jul 3, 2:20 am, "Nick Johnson (Google)" > wrote: > > > Hi Adam, > > > In order to map a domain to an App Engine app, you need your user to > > CNAME their domain to ghs.google.com, then sign their domain up for > > Google Apps, and use that to set up the mapping. > > > -Nick Johnson > > > On Fri, Jul 3, 2009 at 7:58 AM, Adam Loving wrote: > > > > Hi - > > > > I have my app engine app running onwww.a.comwiththe normal cname > > > configuration. I want to map someone else's c.b.com to mywww.a.comor > > > c.a.com using a cname (with their permission). The end result should > > > be that c.b.com renders the exact same content thatwww.a.comrenders > > > (though presumably it is possible to detect the host name and > > > customize the content). > > > > I have tried both of these cname mappings: > > > > c ->www.a.com > > > c -> c.a.com (I have configured c.a.com and verified that it works) > > > > After waiting a bit for the DNS to go through, I get a 404 "server not > > > found" as demonstrated below. I interpret this to mean the request has > > > reached google (the IP address matches that ofwww.a.com), but google > > > doesn't know what to do with the request since all it has is the > > > original host name. > > > > Is there any way around this problem other than an iframe or redirect > > > on c.b.com? > > > > Thanks in advance for your help, > > > Adam > > > > $ curl -vhttp://c.b.com > > > * About to connect() to c.b.com port 80 (#0) > > > * Trying 74.125.53.121... connected > > > * Connected to c.b.com (74.125.53.121) port 80 (#0) > > >> GET / HTTP/1.1 > > >> User-Agent: curl/7.16.3 (powerpc-apple-darwin9.0) libcurl/7.16.3 > > >> OpenSSL/0.9.7l zlib/1.2.3 > > >> Host: c.b.com > > >> Accept: */* > > > > < HTTP/1.1 404 Not Found > > > < Date: Fri, 03 Jul 2009 06:52:42 GMT > > > < Expires: Fri, 03 Jul 2009 06:52:42 GMT > > > < Cache-Control: private, max-age=0 > > > < X-Content-Type-Options: nosniff > > > < Content-Length: 142 > > > < Server: GFE/2.0 > > > < Content-Type: text/html > > > < > > > > > > > > > 404 > > > > > > > > > Server Not Found > > > Error 404 > > > > > > > > > -- > > Nick Johnson, App Engine Developer Programs Engineer > > Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration > > Number: 368047 --~--~-~--~~~---~--~~ You 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] App Gallery link fail
When I follow the App Gallery link on the http://code.google.com/appengine/ page, I get the following: 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/appgallery/3.11/appgallery.py", line 96, in get values = self.get_or_fetch_main_page() File "/base/data/home/apps/appgallery/3.11/appgallery.py", line 90, in get_or_fetch_main_page memcache.set('main', values, 600) File "/base/python_lib/versions/1/google/appengine/api/memcache/ __init__.py", line 555, in set namespace=namespace) File "/base/python_lib/versions/1/google/appengine/api/memcache/ __init__.py", line 625, in _set_with_policy stored_value, flags = _validate_encode_value(value, self._do_pickle) File "/base/python_lib/versions/1/google/appengine/api/memcache/ __init__.py", line 177, in _validate_encode_value 'received %d bytes' % (MAX_VALUE_SIZE, len(stored_value))) ValueError: Values may not be more than 100 bytes in length; received 1041848 bytes Whoops! Cheers, Alex --~--~-~--~~~---~--~~ You 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: cname DNS aliasing
Possible solution here: http://www.google.com/support/forum/p/Google+Apps/thread?tid=724ef70272546852&hl=en&search_impression_id=7c32251d6a27cbee%3A12250e72a95&search_source=related_question On Jul 6, 11:27 am, "Nick Johnson (Google)" wrote: > Hi Adam, > > It sounds like the problem you're having is with Google Apps. Have you > tried contacting support for Apps with your problem? > > -Nick Johnson > > > > On Fri, Jul 3, 2009 at 7:11 PM, Adam Loving wrote: > > > Hi, > > > I need more help on what you mean by "use that to set up the mapping". > > > Both domains are set up as Google Apps domains. When I sign in to > > domain B, and attempt to add the app engine app by app ID, I get: > > > Server error > > We are unable to process your request at this time, please try again > > later. > > > If I log in tohttp://appengine.google.com, click "versions", then > > "add domain", and accept the Google App Engine terms and conditions > > for the domain B, I get: > > > An error occurred while trying to install this application. Please try > > again later. > > > In case, there is already a app engine app running onwww.b.com > > > On Jul 3, 2:20 am, "Nick Johnson (Google)" > > wrote: > >> Hi Adam, > > >> In order to map a domain to an App Engine app, you need your user to > >> CNAME their domain to ghs.google.com, then sign their domain up for > >> Google Apps, and use that to set up the mapping. > > >> -Nick Johnson > > >> On Fri, Jul 3, 2009 at 7:58 AM, Adam Loving wrote: > > >> > Hi - > > >> > I have my app engine app running onwww.a.comwiththe normal cname > >> > configuration. I want to map someone else's c.b.com to mywww.a.comor > >> > c.a.com using a cname (with their permission). The end result should > >> > be that c.b.com renders the exact same content thatwww.a.comrenders > >> > (though presumably it is possible to detect the host name and > >> > customize the content). > > >> > I have tried both of these cname mappings: > > >> > c ->www.a.com > >> > c -> c.a.com (I have configured c.a.com and verified that it works) > > >> > After waiting a bit for the DNS to go through, I get a 404 "server not > >> > found" as demonstrated below. I interpret this to mean the request has > >> > reached google (the IP address matches that ofwww.a.com), but google > >> > doesn't know what to do with the request since all it has is the > >> > original host name. > > >> > Is there any way around this problem other than an iframe or redirect > >> > on c.b.com? > > >> > Thanks in advance for your help, > >> > Adam > > >> > $ curl -vhttp://c.b.com > >> > * About to connect() to c.b.com port 80 (#0) > >> > * Trying 74.125.53.121... connected > >> > * Connected to c.b.com (74.125.53.121) port 80 (#0) > >> >> GET / HTTP/1.1 > >> >> User-Agent: curl/7.16.3 (powerpc-apple-darwin9.0) libcurl/7.16.3 > >> >> OpenSSL/0.9.7l zlib/1.2.3 > >> >> Host: c.b.com > >> >> Accept: */* > > >> > < HTTP/1.1 404 Not Found > >> > < Date: Fri, 03 Jul 2009 06:52:42 GMT > >> > < Expires: Fri, 03 Jul 2009 06:52:42 GMT > >> > < Cache-Control: private, max-age=0 > >> > < X-Content-Type-Options: nosniff > >> > < Content-Length: 142 > >> > < Server: GFE/2.0 > >> > < Content-Type: text/html > >> > < > >> > > >> > > >> > 404 > >> > > >> > > >> > Server Not Found > >> > Error 404 > >> > > >> > > > >> -- > >> Nick Johnson, App Engine Developer Programs Engineer > >> Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration > >> Number: 368047 > > -- > Nick Johnson, App Engine Developer Programs Engineer > Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration > Number: 368047 --~--~-~--~~~---~--~~ You 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: Unable to add domain name to app
Found the solution here: http://www.google.com/support/forum/p/Google+Apps/thread?tid=724ef70272546852&hl=en&search_impression_id=7c32251d6a27cbee%3A12250e72a95&search_source=related_question On Jul 6, 7:04 am, Chris Thorpe wrote: > Don't think you're doing anything wrong at all, I've been able to do > this in the past but having no luck at all doing it at the moment > > Think there is some kind of fault (which I've seen intermittently > there before too) > > On Jul 4, 2:03 pm, Richard wrote: > > > I have an app running athttp://dancingapp.appspot.com/ > > I want it on its own domainhttp://www.dancebrighton.com/ > > This domain is registered with Google Apps. > > > When I try to add the domain to my app it says: > > An error occurred while trying to install this application. Please try > > again later > > > What am I doing wrong? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: How is an entity key generated?
> The reason I'm asking is, I want to do a random query. I want to > select a random entity from an entity group. I thought if the key is > distributed like this, then I could generate a random string like it > myself, and simply query for the first result bigger than this. Is > this viable? > Google App Engine aside, this is a not a good way to select a random key if you want to pick a key uniformly at random. Suppose the keys were integers from 1 to 100, and there were three entities with random keys of, say, {12,88,97}. You would be more likely to select 88 by your method, since it has a longer gap preceding it. --~--~-~--~~~---~--~~ You 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: Being asked to confirm again...
Thanks Nick, It seems to be working now On Mon, Jul 6, 2009 at 5:19 AM, Nick Johnson (Google) wrote: > > Hi Ben, > > Have you tried logging in at > http://appengine.google.com/a/themorphicgroup.com ? That's the page > you need if you're using an Apps account. > > -Nick Johnson > > On Sat, Jul 4, 2009 at 6:07 PM, > b...@themorphicgroup.com wrote: >> >> For some reason I'm being asked to confirm my account again when I go >> to create a new application. I try re-entering my cell phone number >> but it tells me it's already been used. Is there anyway to reset my >> account? >> >> > >> > > > > -- > Nick Johnson, App Engine Developer Programs Engineer > Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration > Number: 368047 > > > > --~--~-~--~~~---~--~~ You 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 Upload Images
You can also simply include the filename in the csv, and make the converter function "lambda x:open(x,'rb').read()". -Nick Johnson On Mon, Jul 6, 2009 at 12:57 PM, Tim Hoffman wrote: > > Hi > > You can put images in your csv programtaically. > > base64 encode them (you will need to increase the max field size in > the csv reader) > > then in your handler base64 decode them and the db.BlobProperty the > string. > > is > > myobj.image = db.BlobProperty(b64decode(val)) > > I am round tripping polymodels via remote_api between production and > dev instances. > > Rgds > > Tim > > On Jul 6, 7:23 pm, Albert wrote: >> Hi! >> >> This might be obvious, but I'm not completely familiar with CSV's. >> >> I've tried the bulk uploader tool through the remote_api, and I've >> been successful at uploading some entities already. >> >> However, this time, the entity has an image (db.BlobProperty()) >> property. I have no idea how to insert the image files/data into the >> CSV. So that I can upload the data through the bulk uploader tool. >> >> I tried Microsoft Excel, but I cannot insert an image into a single >> cell (lol). >> >> Does anyone have an idea on how to achieve this? >> >> Thanks! > > > -- Nick Johnson, App Engine Developer Programs Engineer Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number: 368047 --~--~-~--~~~---~--~~ You 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 Upload Images
Hi Tim! Wow. 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: Bulk Upload Images
That is great. Thanks for that idea. On Mon, Jul 6, 2009 at 7:57 PM, Tim Hoffman wrote: > > Hi > > You can put images in your csv programtaically. > > base64 encode them (you will need to increase the max field size in > the csv reader) > > then in your handler base64 decode them and the db.BlobProperty the > string. > > is > > myobj.image = db.BlobProperty(b64decode(val)) > > I am round tripping polymodels via remote_api between production and > dev instances. > > Rgds > > Tim > > On Jul 6, 7:23 pm, Albert wrote: > > Hi! > > > > This might be obvious, but I'm not completely familiar with CSV's. > > > > I've tried the bulk uploader tool through the remote_api, and I've > > been successful at uploading some entities already. > > > > However, this time, the entity has an image (db.BlobProperty()) > > property. I have no idea how to insert the image files/data into the > > CSV. So that I can upload the data through the bulk uploader tool. > > > > I tried Microsoft Excel, but I cannot insert an image into a single > > cell (lol). > > > > Does anyone have an idea on how to achieve this? > > > > Thanks! > > > -- Cheers, John Creative Director / Programmer Digital Eternal (http://www.digitaleternal.com) Branding, Web Design/Development, Internet Advertising, SEO --~--~-~--~~~---~--~~ You 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 Upload Images
Hi You can put images in your csv programtaically. base64 encode them (you will need to increase the max field size in the csv reader) then in your handler base64 decode them and the db.BlobProperty the string. is myobj.image = db.BlobProperty(b64decode(val)) I am round tripping polymodels via remote_api between production and dev instances. Rgds Tim On Jul 6, 7:23 pm, Albert wrote: > Hi! > > This might be obvious, but I'm not completely familiar with CSV's. > > I've tried the bulk uploader tool through the remote_api, and I've > been successful at uploading some entities already. > > However, this time, the entity has an image (db.BlobProperty()) > property. I have no idea how to insert the image files/data into the > CSV. So that I can upload the data through the bulk uploader tool. > > I tried Microsoft Excel, but I cannot insert an image into a single > cell (lol). > > Does anyone have an idea on how to achieve this? > > Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Bulk Upload Images
You cannot do it with CSVs. I do not know of an easier way to do this but for my application, every image is found online so I could use the URLFetch service to fetch each image and then pass the response into db.Blob() and save it with .put() On Mon, Jul 6, 2009 at 7:23 PM, Albert wrote: > > Hi! > > This might be obvious, but I'm not completely familiar with CSV's. > > I've tried the bulk uploader tool through the remote_api, and I've > been successful at uploading some entities already. > > However, this time, the entity has an image (db.BlobProperty()) > property. I have no idea how to insert the image files/data into the > CSV. So that I can upload the data through the bulk uploader tool. > > I tried Microsoft Excel, but I cannot insert an image into a single > cell (lol). > > Does anyone have an idea on how to achieve this? > > Thanks! > > > -- Cheers, John Creative Director / Programmer Digital Eternal (http://www.digitaleternal.com) Branding, Web Design/Development, Internet Advertising, SEO --~--~-~--~~~---~--~~ You 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 Upload Images
Hi! This might be obvious, but I'm not completely familiar with CSV's. I've tried the bulk uploader tool through the remote_api, and I've been successful at uploading some entities already. However, this time, the entity has an image (db.BlobProperty()) property. I have no idea how to insert the image files/data into the CSV. So that I can upload the data through the bulk uploader tool. I tried Microsoft Excel, but I cannot insert an image into a single cell (lol). Does anyone have an idea on how to achieve this? Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Web Service Server on Google App Engine
Thanks for your reply Ben. The issue is, I'm not looking for a solution "better" than traditional web services running with WSDL. This is an academic project I'm working on and my potential clients are already consuming traditional web services with SOAP packaging. So I need to provide traditional web services too. Any word on that? Is that possible? On 19 Haziran, 03:28, Benjamin Sautner wrote: > i've been down this road. Yes, you can provide web services hosted on your > app engine application and developed in java > > I have several going and they work great - Use the Restlet addin for eclipse > which works just fine on AE > > Check out > > http://blog.noelios.com/2009/04/11/restlet-in-the-cloud-with-google-a... > > andhttp://www.restlet.org/ > > REST seems to be the way SOA development is going for Java - i was trying to > figure out the same thing a few weeks ago > > It's different than the SOA Development i was used to (.net asmx pages and > clients with WSDL) but after a little learning curve i see why REST is so > powerful > > Hope this helps, > > Ben > > > > On Mon, Jun 15, 2009 at 7:37 AM, onur wrote: > > > Hi all, > > > I've done some reading, and apparently its possible to deploy a Web > > Service Client to Google App Engine for Java; if you follow the > > correct steps. > > > My question is, can I provide a Web Service using Google App Engine > > for Java? I mean I want a SOAP Web Service Server with a WSDL and > > everything, to which people can connect using their Web Service > > Clients. > > > Apparently, Axis complains about file permissions about an attachment > > directory (since no local files allowed in GAE), and CXF gets stuck > > with javax.xml.bind.annotation.XmlAccessType not being on the > > whitelist. > > > Did anyone try Spring-WS? Or, is there any other way for Java? > > > I think there's a solution on the Python side which makes use of > > wsdl2py, but I need a pure Java solution. > > > Thanks, > > Onur --~--~-~--~~~---~--~~ You 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: cname DNS aliasing
Hi Adam, It sounds like the problem you're having is with Google Apps. Have you tried contacting support for Apps with your problem? -Nick Johnson On Fri, Jul 3, 2009 at 7:11 PM, Adam Loving wrote: > > Hi, > > I need more help on what you mean by "use that to set up the mapping". > > Both domains are set up as Google Apps domains. When I sign in to > domain B, and attempt to add the app engine app by app ID, I get: > > Server error > We are unable to process your request at this time, please try again > later. > > If I log in to http://appengine.google.com, click "versions", then > "add domain", and accept the Google App Engine terms and conditions > for the domain B, I get: > > An error occurred while trying to install this application. Please try > again later. > > In case, there is already a app engine app running on www.b.com > > On Jul 3, 2:20 am, "Nick Johnson (Google)" > wrote: >> Hi Adam, >> >> In order to map a domain to an App Engine app, you need your user to >> CNAME their domain to ghs.google.com, then sign their domain up for >> Google Apps, and use that to set up the mapping. >> >> -Nick Johnson >> >> >> >> On Fri, Jul 3, 2009 at 7:58 AM, Adam Loving wrote: >> >> > Hi - >> >> > I have my app engine app running onwww.a.comwith the normal cname >> > configuration. I want to map someone else's c.b.com to mywww.a.comor >> > c.a.com using a cname (with their permission). The end result should >> > be that c.b.com renders the exact same content thatwww.a.comrenders >> > (though presumably it is possible to detect the host name and >> > customize the content). >> >> > I have tried both of these cname mappings: >> >> > c ->www.a.com >> > c -> c.a.com (I have configured c.a.com and verified that it works) >> >> > After waiting a bit for the DNS to go through, I get a 404 "server not >> > found" as demonstrated below. I interpret this to mean the request has >> > reached google (the IP address matches that ofwww.a.com), but google >> > doesn't know what to do with the request since all it has is the >> > original host name. >> >> > Is there any way around this problem other than an iframe or redirect >> > on c.b.com? >> >> > Thanks in advance for your help, >> > Adam >> >> > $ curl -vhttp://c.b.com >> > * About to connect() to c.b.com port 80 (#0) >> > * Trying 74.125.53.121... connected >> > * Connected to c.b.com (74.125.53.121) port 80 (#0) >> >> GET / HTTP/1.1 >> >> User-Agent: curl/7.16.3 (powerpc-apple-darwin9.0) libcurl/7.16.3 >> >> OpenSSL/0.9.7l zlib/1.2.3 >> >> Host: c.b.com >> >> Accept: */* >> >> > < HTTP/1.1 404 Not Found >> > < Date: Fri, 03 Jul 2009 06:52:42 GMT >> > < Expires: Fri, 03 Jul 2009 06:52:42 GMT >> > < Cache-Control: private, max-age=0 >> > < X-Content-Type-Options: nosniff >> > < Content-Length: 142 >> > < Server: GFE/2.0 >> > < Content-Type: text/html >> > < >> > >> > >> > 404 >> > >> > >> > Server Not Found >> > Error 404 >> > >> > >> >> -- >> Nick Johnson, App Engine Developer Programs Engineer >> Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration >> Number: 368047 > > > -- Nick Johnson, App Engine Developer Programs Engineer Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number: 368047 --~--~-~--~~~---~--~~ You 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: Problem with "Verify Your Account by SMS"
Hi vico.ar, I've manually activated your account. -Nick Johnson On Fri, Jul 3, 2009 at 6:31 PM, vico.ar wrote: > > I have a problem with "Verify Your Account by SMS" page. > > Does anyone know how to verify one's account if you are living in > Argentina? > > I entered my number in the format required by the verificator but it > always gives "Mobile Number or Username" error. > > Regards, > Víctor > > > > -- Nick Johnson, App Engine Developer Programs Engineer Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number: 368047 --~--~-~--~~~---~--~~ You 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: Being asked to confirm again...
Hi Ben, Have you tried logging in at http://appengine.google.com/a/themorphicgroup.com ? That's the page you need if you're using an Apps account. -Nick Johnson On Sat, Jul 4, 2009 at 6:07 PM, b...@themorphicgroup.com wrote: > > For some reason I'm being asked to confirm my account again when I go > to create a new application. I try re-entering my cell phone number > but it tells me it's already been used. Is there anyway to reset my > account? > > > > -- Nick Johnson, App Engine Developer Programs Engineer Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number: 368047 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: How is an entity key generated?
Hi Samus_, That's correct. -Nick Johnson On Sun, Jul 5, 2009 at 5:47 PM, Samus_ wrote: > > Hi Nick, thanks for your reply! yes indeed a numeric id would be more > readable so, just to be clear and for future reference, your > suggestion is to use entity.key().id() to construct the url and > Model.get_by_id() to retireve the entity right? > > On Jul 3, 6:25 am, "Nick Johnson (Google)" > wrote: >> Hi Samus, >> >> On Fri, Jul 3, 2009 at 5:29 AM, Samus_ wrote: >> >> > actually, the first thing that came to mind for this was to use it as >> > part of a url to access specific entities since the reference says >> > it's >> > url-safe:http://code.google.com/appengine/docs/python/datastore/keyclass.html#Key >> > and also the same idea is shown on this example: >> >http://code.google.com/appengine/docs/python/datastore/creatinggettin... >> > but of course if the encoding method is not guaranteed to remain the >> > same then this is a bad idea (cool URIs don't change right?) good to >> > know thanks. >> >> Usingkeysin URLs is more or less an officially 'blessed' approach. >> For that reason, I'd revise my earlier statement and say that while >> it's not totally impossible for the key encoding format to change in >> future, it's extremely unlikely. >> >> That said, you can provide much more user-friendly URLs if you use >> just the fields you need from the key -www.mysite.com/123is much >> more user friendly thanwww.mysite.com/somelongbase64string. >> >> -Nick Johnson >> >> >> >> >> >> > On Jun 17, 7:43 am, "Nick Johnson (Google)" >> > wrote: >> >> I would not rely on the encodingstr(key) remaining the same, no. The only >> >> guarantee is that it will be interconvertible - eg, db.Key(str(key)) == >> >> key. >> >> I can't think of a practical reason why you should be relying on this in >> >> the >> >> first place, though. >> >> >> -Nick Johnson >> >> >> On Wed, Jun 17, 2009 at 3:43 AM, gae123 wrote: >> >> >> > Nick, >> >> >> > can we consider what you write below to be part of the API or an >> >> > internal implementation detail we whould not be relying on? >> >> >> > Thanks >> >> >> > > In the case of 'stringified'keys, what you are seeing is the base64 >> >> > > encoding of the protocol buffer containing the key. You can verify >> >> > > this >> >> > by >> >> > > going to shell.appspot.com and entering: >> >> >> > > --- >> >> > > from google.appengine.ext import db >> >> > > db.Key(mystr) >> >> > > --- >> >> >> -- >> >> Nick Johnson, App Engine Developer Programs Engineer >> >> Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number: >> >> 368047 >> >> -- >> Nick Johnson, App Engine Developer Programs Engineer >> Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration >> Number: 368047 > > > -- Nick Johnson, App Engine Developer Programs Engineer Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number: 368047 --~--~-~--~~~---~--~~ You 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: request size limit is 1 or 10mb?
Hi Sebastian, The limit is 10MB for appspot.com domains, but still 1MB if you're uploading to a domain of your own. -Nick Johnson On Sun, Jul 5, 2009 at 11:00 PM, sserrano wrote: > > Hi > From the docs the request size limit shoul be 10mb, but when i try > to upload something with more than 1mb im getting an http response > code 400, which even not appear at the app log. For request with 0.9mb > all is fine. > I read the 10mb limit at > http://code.google.com/intl/en/appengine/docs/python/runtime.html > and my app is wegif-gae > > Thanks in advance, Sebastian > > > > > -- Nick Johnson, App Engine Developer Programs Engineer Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number: 368047 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: CRON, big bug today
Hi Peter, Thank you for this info. I will re-upload my cron. Regards. Sylvain On 4 juil, 08:54, Peter wrote: > That was caused by a bug in the Cron scheduling code. I've updated > the Cron backends with a fix, so please try redeploying your Cron > jobs. > > thanks, > Peter > > On Jul 3, 7:49 pm, Sylvain wrote: > > > Sorry to insist but there is no reason for what happened two days > > ago ? > > > Regards > > > On 2 juil, 09:25, Sylvain wrote: > > > > Nobody can explain what happened yesterday. > > > Currently, I've removed all crons. > > > > Regards. > > > > On 1 juil, 11:46, broc wrote: > > > > > Hi, > > > > > Same for me ! > > > > > But mycronstore data... and the result for me is: Stored Data quota > > > > full => Still full at 99% after having deleted the objects I know... > > > > I don't know what are the other objects that take the 99%... > > > > > Please help needed ! > > > > > On 1 juil, 09:14, Sylvain wrote: > > > > > > Hi, > > > > > > Today, since 6:00 (PARIS), mycronis running each second. > > > > > Thiscronmust run only once a day : > > > > > >cron: > > > > > - description: reminder by mail > > > > > url: /reminder > > > > > schedule: every day 06:00 > > > > > timezone: Europe/Paris > > > > > > Thiscronworks fine since 15 days without any issue. > > > > > > Thiscronsent a mail, so now my quota is gone (not very important), > > > > > but I think there is a big issue today. > > > > > > my app : tools-expertys > > > > > >Croninfo in my Dashboard : > > > > >CronJob Schedule/Last Run/Last Status (All times are UTC) > > > > > /reminder > > > > > reminder by mail every day 06:00 (Europe/Paris) > > > > > 2009/07/01 09:00:02 0 day late Success > > > > > > As you can see the last success = 09:00, but it should run only at > > > > > 6:00 --~--~-~--~~~---~--~~ You 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: Strange production only problem
Hi techboy, It's not a sandboxing issue - it's all down to the Python search path. System directories are listed before your own source directories, so it searches them first. You can change it by modifying sys.path if you wish. -Nick Johnson On Mon, Jul 6, 2009 at 5:12 AM, techboy wrote: > > The problem appears to be that the file in my project is named > profile.py. There is also a profile.py in the python distribution > itself. > > I'm assuming that it is a sandboxing restriction(?), that I can't > import my own profile.py in production (even though it works fine in > the dev appserver). > > In production, > > import profile > print profile.__file__ > > Shows it is the profile from the python library. > > On Jul 5, 12:29 pm, techboy wrote: >> I have a webapp.RequestHandler derived class called Profile, in a file >> profile.py. It operates correctly locally. When I deploy to >> production, it fails. If I simply rename the class to a different >> name, it works in production. >> >> The logs show this for the failure case. >> >> : Profile instance has no attribute >> 'initialize' >> Traceback (most recent call last): >> <...snip...> >> File "/base/python_lib/versions/1/google/appengine/ext/webapp/ >> util.py", line 76, in run_wsgi_app >> result = application(env, _start_response) >> File "/base/python_lib/versions/1/google/appengine/ext/webapp/ >> __init__.py", line 491, in __call__ >> handler.initialize(request, response) >> >> I can work around this problem obviously but I wonder if anyone could >> speculate why is happening. > > > -- Nick Johnson, App Engine Developer Programs Engineer Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number: 368047 --~--~-~--~~~---~--~~ You 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: Create an application but not show in my account
Hello Nick, It's working. The application I create can be found if I login from http://appengine.google.com/a/dotography.com Thank you very much for your help. Dot On Jul 3, 4:55 pm, "Nick Johnson (Google)" wrote: > Hi Dot, > > Are you using the email address you posted from to create the apps? If > so, you need to go tohttp://appengine.google.com/a/dotography.comto > see (and create) your apps. > > -Nick Johnson > > > > On Thu, Jul 2, 2009 at 8:20 AM, Dot wrote: > > > Hello, > > > I have signed up and verified. Then try creating an application at > > this step:http://appengine.google.com/start/createapp.. The chosen > > name is available, after fill all the required field and Save, it > > returns to the welcome page and the created application is not shown > > in my list. But as testing the application name is already take. > > > I have done another trial with the new application name and the > > problem is the same. > > > Please help suggest what I do wrong. Thank you in advance. > > > Best regards, > > > Dot > > -- > Nick Johnson, App Engine Developer Programs Engineer > Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration > Number: 368047 --~--~-~--~~~---~--~~ You 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 -~--~~~~--~~--~--~---