[google-appengine] Spring boot + java 11+ gae standard aggregate logs per request
Hello all, I have been working on this new integration with springboot 2.3.1 Release and google app engine standard with java 11 runtime, which has been pretty successful, but the logs are not aggregating per request(parent child pattern) as it used to be on the java 8 runtime. Can anyone point me in the right direction? I have try to used different libraries like spring-cloud-gcp-starter-logging, google-cloud-logging-logback and configuration files but not luck. Any help if welcome, thanks. Michel -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/615b101b-c04d-4790-bd39-ca0cc1858d7fn%40googlegroups.com.
[google-appengine] Service called many times not same day; or, em portuguese: Serviço chamado muitas vezes no mesmo dia:
I am trying to run this script in a googlesheet, but, the following erros msg appears: Service called many times not same day; or, em portuguese: Serviço chamado muitas vezes no mesmo dia: email. (linha 29, arquivo "Copia_20171") function sendEmails20171() { var planilha2017_1 = SpreadsheetApp.getActiveSpreadsheet().getSheetByName('2017_1'); //"Armazena" a planilha 2017 na variável 20171 var manipula2017_1 = planilha2017_1.getRange(1, 7, planilha2017_1.getLastRow() - 1, 2).getValues(); //Configura pra pegar linhas e colunas de planilha20171, //armazenando-os na variável manipula20171 var colunaAssunto = planilha2017_1.getRange(1, 2, planilha2017_1.getLastRow() - 1, 2).getValues();//pega o assunto, linha 2, coluna 3. var colunaSecaoResp = planilha2017_1.getRange(1, 8, planilha2017_1.getLastRow() - 1, 2).getValues();//pega a seção, linha 2, coluna 8. var colunaTitularSecao = planilha2017_1.getRange(1, 10, planilha2017_1.getLastRow() - 1, 2).getValues();//pega o titular da seção, linha 2, coluna 10. var nomePlanilha = planilha2017_1.getName(); //pega o nome da planilha var email = 'rogerio.ramar...@tr.jus.br'; var link2017_1 = 'https://goo.gl/xF5Nbg'; var linkCelula = 'https://docs.google.com/spreadsheets/d/1YiLCBggDIJKKPYEM2JYEwG2B4wSV3dO0NoiapNtAiM/edit?ts=561cf0ae#gid=1588829769='; for (var i = 0; i < manipula2017_1.length; i++) { if (manipula2017_1[i][1] <=300 && manipula2017_1[i][1] > -720 ) { //o alerta dispara quando faltam menos de cinco dias para vencer e até depois de dois //anos vencidos - e não cumprido. var assuntoPlanilha = colunaAssunto[2][5];// pega o assunto da planilha var secaoResp = colunaSecaoResp[3][5];// pega a seção responsavel var titularSecao = colunaTitularSecao[i][1];// pega o titular da seção. var link2017Celula = linkCelula+[i+1]+":"+[i+1]; var dias = manipula2017_1[i][1]; //pega os dias vencidos var assuntoEmail = secaoResp + " - \nPrazo de monitoramento em " + '"' + nomePlanilha + '"' + " vencendo em " + dias + " dias"; MailApp.sendEmail(email, assuntoEmail, "Assunto: " + assuntoPlanilha + " \nSeção Responsável: " + secaoResp + " \nSeção Responsável: " + + "\nPara maiores detalhes, clique aqui: "); } } } -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/0243a415-1db4-4cbc-8790-c798dd1e2120%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Re: Error: Server Error 500 Server Error
I found the error, it was my fault. I tracked it down with the help of the documentation: *Note:* When writing a stand-alone Go program we would place this code in package main. The Go App Engine Runtime provides a special main package, so you should put HTTP handler code in a package of your choice (in this case, hello). I mistakenly used package main, instead of using another package name. The error only manifests in gae, not the dev_server. Thanks On Thursday, October 20, 2016 at 8:42:00 AM UTC-4, Roger wrote: > > I checked out a previous git commit, uploaded to app engine, and there was > no problem; it responded without error to requests. > Thanks, > Roger > > On Monday, October 17, 2016 at 7:22:20 PM UTC-4, Roger wrote: >> >> Thank you for replying. >> I checked the logs, earlier and could not find the reason; gets Error >> Code 204. >> Here is the latest log entry. >> >> >> >> 19:15:44.624GET5000 B182 msChrome 53/ >> 2604:2000:410f:1800:74da:b01f:2a14:8d3f - - [17/Oct/2016:19:15:44 -0400] >> "GET / HTTP/1.1" 500 - - "Mozilla/5.0 (X11; Linux x86_64) >> AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/53.0.2785.143 >> Chrome/53.0.2785.143 Safari/537.36" "1.go-model.appspot.com" ms=182 >> cpu_ms=0 cpm_usd=0 loading_request=1 >> instance=00c61b117cd33cfbc5aca504be8b752ccc0db6da178f3ade65a0cd5aab05 >> app_engine_release=1.9.46 trace_id=- >> { >> metadata: { >> severity: "ERROR" >> projectId: "go-model" >> serviceName: "appengine.googleapis.com" >> zone: "us9" >> labels: { >> appengine.googleapis.com/request_id: >> "58055ba000ff0988d68fd5abdc0001737e676f2d6d6f64656c000131000100" >> appengine.googleapis.com/module_id: "default" >> appengine.googleapis.com/version_id: "1" >> appengine.googleapis.com/clone_id: >> "00c61b117cd33cfbc5aca504be8b752ccc0db6da178f3ade65a0cd5aab05" >> } >> timestamp: "2016-10-17T23:15:44.624854Z" >> } >> protoPayload: { >> @type: "type.googleapis.com/google.appengine.logging.v1.RequestLog" >> appId: "s~go-model" >> versionId: "1" >> requestId: >> "58055ba000ff0988d68fd5abdc0001737e676f2d6d6f64656c000131000100" >> ip: "2604:2000:410f:1800:74da:b01f:2a14:8d3f" >> startTime: "2016-10-17T23:15:44.624854Z" >> endTime: "2016-10-17T23:15:44.807514Z" >> latency: "0.182660s" >> method: "GET" >> resource: "/" >> httpVersion: "HTTP/1.1" >> status: 500 >> userAgent: "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, >> like Gecko) Ubuntu Chromium/53.0.2785.143 Chrome/53.0.2785.143 >> Safari/537.36" >> urlMapEntry: "_go_app" >> host: "1.go-model.appspot.com" >> wasLoadingRequest: true >> instanceIndex: -1 >> instanceId: >> "00c61b117cd33cfbc5aca504be8b752ccc0db6da178f3ade65a0cd5aab05" >> line: [ >> 0: { >> time: "2016-10-17T23:15:44.807389Z" >> severity: "INFO" >> logMessage: "This request caused a new process to be started for your >> application, and thus caused your application code to be loaded for the >> first time. This request may thus take longer and use more CPU than a >> typical request for your application." >> } >> 1: { >> time: "2016-10-17T23:15:44.807396Z" >> severity: "ERROR" >> logMessage: "A problem was encountered with the process that handled >> this request, causing it to exit. This is likely to cause a new process to >> be used for the next request to your application. (Error code 204)" >> } >> ] >> appEngineRelease: "1.9.46" >> } >> insertId: "2016-10-17|16:15:49.808763-07|10.106.211.193|1276045338" >> log: "appengine.googleapis.com/request_log" >> httpRequest: { >> status: 500 >> } >> operation: { >> id: "58055ba000ff0988d68fd5abdc0001737e676f2d6d6f64656c000131000100" >> producer: "appengine.googleapis.com/request_id" >> } >> } >> 19:15:44.807This request caused a new process to be started for your >> application, and thus caused your application code to be loaded for the >> first time. This request may thus take longer and use more CPU than a >> typical request for your application. >> 19:15:44.807A problem was encountered with
[google-appengine] Re: Error: Server Error 500 Server Error
I checked out a previous git commit, uploaded to app engine, and there was no problem; it responded without error to requests. Thanks, Roger On Monday, October 17, 2016 at 7:22:20 PM UTC-4, Roger wrote: > > Thank you for replying. > I checked the logs, earlier and could not find the reason; gets Error Code > 204. > Here is the latest log entry. > > > > 19:15:44.624GET5000 B182 msChrome 53/ > 2604:2000:410f:1800:74da:b01f:2a14:8d3f - - [17/Oct/2016:19:15:44 -0400] > "GET / HTTP/1.1" 500 - - "Mozilla/5.0 (X11; Linux x86_64) > AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/53.0.2785.143 > Chrome/53.0.2785.143 Safari/537.36" "1.go-model.appspot.com" ms=182 > cpu_ms=0 cpm_usd=0 loading_request=1 > instance=00c61b117cd33cfbc5aca504be8b752ccc0db6da178f3ade65a0cd5aab05 > app_engine_release=1.9.46 trace_id=- > { > metadata: { > severity: "ERROR" > projectId: "go-model" > serviceName: "appengine.googleapis.com" > zone: "us9" > labels: { > appengine.googleapis.com/request_id: > "58055ba000ff0988d68fd5abdc0001737e676f2d6d6f64656c000131000100" > appengine.googleapis.com/module_id: "default" > appengine.googleapis.com/version_id: "1" > appengine.googleapis.com/clone_id: > "00c61b117cd33cfbc5aca504be8b752ccc0db6da178f3ade65a0cd5aab05" > } > timestamp: "2016-10-17T23:15:44.624854Z" > } > protoPayload: { > @type: "type.googleapis.com/google.appengine.logging.v1.RequestLog" > appId: "s~go-model" > versionId: "1" > requestId: > "58055ba000ff0988d68fd5abdc0001737e676f2d6d6f64656c000131000100" > ip: "2604:2000:410f:1800:74da:b01f:2a14:8d3f" > startTime: "2016-10-17T23:15:44.624854Z" > endTime: "2016-10-17T23:15:44.807514Z" > latency: "0.182660s" > method: "GET" > resource: "/" > httpVersion: "HTTP/1.1" > status: 500 > userAgent: "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, > like Gecko) Ubuntu Chromium/53.0.2785.143 Chrome/53.0.2785.143 > Safari/537.36" > urlMapEntry: "_go_app" > host: "1.go-model.appspot.com" > wasLoadingRequest: true > instanceIndex: -1 > instanceId: "00c61b117cd33cfbc5aca504be8b752ccc0db6da178f3ade65a0cd5aab05" > > line: [ > 0: { > time: "2016-10-17T23:15:44.807389Z" > severity: "INFO" > logMessage: "This request caused a new process to be started for your > application, and thus caused your application code to be loaded for the > first time. This request may thus take longer and use more CPU than a > typical request for your application." > } > 1: { > time: "2016-10-17T23:15:44.807396Z" > severity: "ERROR" > logMessage: "A problem was encountered with the process that handled this > request, causing it to exit. This is likely to cause a new process to be > used for the next request to your application. (Error code 204)" > } > ] > appEngineRelease: "1.9.46" > } > insertId: "2016-10-17|16:15:49.808763-07|10.106.211.193|1276045338" > log: "appengine.googleapis.com/request_log" > httpRequest: { > status: 500 > } > operation: { > id: "58055ba000ff0988d68fd5abdc0001737e676f2d6d6f64656c000131000100" > producer: "appengine.googleapis.com/request_id" > } > } > 19:15:44.807This request caused a new process to be started for your > application, and thus caused your application code to be loaded for the > first time. This request may thus take longer and use more CPU than a > typical request for your application. > 19:15:44.807A problem was encountered with the process that handled this > request, causing it to exit. This is likely to cause a new process to be > used for the next request to your application. (Error code 204) > > On Monday, October 17, 2016 at 6:17:20 PM UTC-4, Adam (Cloud Platform > Support) wrote: >> >> Before doing any kind of changes to code, you'd want to check your logs >> <https://cloud.google.com/logging/docs/view/logs_viewer> first, which >> will often give a helpful stack trace to show where the error originated. >> On a standard runtime instance you can view the request logs, and on a >> flexible instance you can also view other logs like stderr, crash.log, and >> vm.syslog which can help troubleshoot deployment errors. >> >> On Monday, October 17, 2016 at 4:00:27 PM UTC-4, Roger wrote: >>> >>> After uploading an app that was wo
[google-appengine] Re: Error: Server Error 500 Server Error
Thank you for replying. I checked the logs, earlier and could not find the reason; gets Error Code 204. Here is the latest log entry. 19:15:44.624GET5000 B182 msChrome 53/ 2604:2000:410f:1800:74da:b01f:2a14:8d3f - - [17/Oct/2016:19:15:44 -0400] "GET / HTTP/1.1" 500 - - "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/53.0.2785.143 Chrome/53.0.2785.143 Safari/537.36" "1.go-model.appspot.com" ms=182 cpu_ms=0 cpm_usd=0 loading_request=1 instance=00c61b117cd33cfbc5aca504be8b752ccc0db6da178f3ade65a0cd5aab05 app_engine_release=1.9.46 trace_id=- { metadata: { severity: "ERROR" projectId: "go-model" serviceName: "appengine.googleapis.com" zone: "us9" labels: { appengine.googleapis.com/request_id: "58055ba000ff0988d68fd5abdc0001737e676f2d6d6f64656c000131000100" appengine.googleapis.com/module_id: "default" appengine.googleapis.com/version_id: "1" appengine.googleapis.com/clone_id: "00c61b117cd33cfbc5aca504be8b752ccc0db6da178f3ade65a0cd5aab05" } timestamp: "2016-10-17T23:15:44.624854Z" } protoPayload: { @type: "type.googleapis.com/google.appengine.logging.v1.RequestLog" appId: "s~go-model" versionId: "1" requestId: "58055ba000ff0988d68fd5abdc0001737e676f2d6d6f64656c000131000100" ip: "2604:2000:410f:1800:74da:b01f:2a14:8d3f" startTime: "2016-10-17T23:15:44.624854Z" endTime: "2016-10-17T23:15:44.807514Z" latency: "0.182660s" method: "GET" resource: "/" httpVersion: "HTTP/1.1" status: 500 userAgent: "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/53.0.2785.143 Chrome/53.0.2785.143 Safari/537.36" urlMapEntry: "_go_app" host: "1.go-model.appspot.com" wasLoadingRequest: true instanceIndex: -1 instanceId: "00c61b117cd33cfbc5aca504be8b752ccc0db6da178f3ade65a0cd5aab05" line: [ 0: { time: "2016-10-17T23:15:44.807389Z" severity: "INFO" logMessage: "This request caused a new process to be started for your application, and thus caused your application code to be loaded for the first time. This request may thus take longer and use more CPU than a typical request for your application." } 1: { time: "2016-10-17T23:15:44.807396Z" severity: "ERROR" logMessage: "A problem was encountered with the process that handled this request, causing it to exit. This is likely to cause a new process to be used for the next request to your application. (Error code 204)" } ] appEngineRelease: "1.9.46" } insertId: "2016-10-17|16:15:49.808763-07|10.106.211.193|1276045338" log: "appengine.googleapis.com/request_log" httpRequest: { status: 500 } operation: { id: "58055ba000ff0988d68fd5abdc0001737e676f2d6d6f64656c000131000100" producer: "appengine.googleapis.com/request_id" } } 19:15:44.807This request caused a new process to be started for your application, and thus caused your application code to be loaded for the first time. This request may thus take longer and use more CPU than a typical request for your application. 19:15:44.807A problem was encountered with the process that handled this request, causing it to exit. This is likely to cause a new process to be used for the next request to your application. (Error code 204) On Monday, October 17, 2016 at 6:17:20 PM UTC-4, Adam (Cloud Platform Support) wrote: > > Before doing any kind of changes to code, you'd want to check your logs > <https://cloud.google.com/logging/docs/view/logs_viewer> first, which > will often give a helpful stack trace to show where the error originated. > On a standard runtime instance you can view the request logs, and on a > flexible instance you can also view other logs like stderr, crash.log, and > vm.syslog which can help troubleshoot deployment errors. > > On Monday, October 17, 2016 at 4:00:27 PM UTC-4, Roger wrote: >> >> After uploading an app that was working before, this error results:*Error: >> Server Error* >> *The server encountered an error and could not complete your request.* >> >> *Please try again in 30 seconds.* >> >> >> To trace it down, I removed almost all code, and still get the error. >> >> >> In the console, it says: >> *This app has no instances deployed.* >> >> Anyone can help? >> > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/436b3aae-a7cc-49a3-bc68-0106c470bb3e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Error: Server Error 500 Server Error
After uploading an app that was working before, this error results:*Error: Server Error* *The server encountered an error and could not complete your request.* *Please try again in 30 seconds.* To trace it down, I removed almost all code, and still get the error. In the console, it says: *This app has no instances deployed.* Anyone can help? -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/0d371ee1-8808-40cf-87a1-aff60f7387c5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[google-appengine] backend restart after 2 minutes
Hello, Since this week when i luch a thread in my Java backend, the backend automaticaly restar every 2 minutes /_ah/start/ Did someone had this problem? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/groups/opt_out.
[google-appengine] Deadline Exceeded Error even with a TaskQueue running on a Backend
I'm having some issues with *Deadline Exceeded error*. Basically I'm doing some webscrapping in an URL using *Mechanize*. So when trying to perform br.open(url) I have this error HTTPException: Deadline exceeded while waiting for HTTP response from URL: my-url I have read the documentationhttps://developers.google.com/appengine/articles/deadlineexceedederrors where it says to use *Backends* (I'm using a dynamic backend, B4_1G class with 5 instances), but still having this error happening in 60 seconds. And according to the docs, when using *TaskQueue* and *Backends* the timeout should be extended to 10 minutes. Here is how I assign the operation to be runnnig on a TaskQueue with it's target on the first instance of my Backend. taskqueue.add(url='/crons/myworker', target='1.myworker') Here is the backends.yaml. backends: - name: myworker class: B4_1G instances: 5 options: dynamic Any ideas of what might be happening? Thank you. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/groups/opt_out.
[google-appengine] Google indexes id.appspot.com but not naked domain
It makes a long time already since I've configured my app to use a naked domain by using google apps. When I enter the naked domain it loads my personal blog. Also entering the .appspot.com link it works. If you test: rogcg.com rognotes.appspot.com it's all the same. The problem I'm seeing is that, instead of google indexing rogcg.com, it indexes the appspot.com link. For example, if you search for a post of mine, like android alphabetindexerhttps://www.google.com.br/webhp?sourceid=chrome-instantion=1ie=UTF-8#hl=entbo=doutput=searchsclient=psy-abq=android%20alphabetindexeroq=gs_l=pbx=1fp=82a0ae0a49b74360ion=1bav=on.2,or.r_gc.r_pw.r_cp.r_qf.bvm=bv.41524429,d.eWUbiw=1680bih=903 it will show in the 5th result, the link: http://rognotes.appspot.com/2012/07/Implementing-a-ListView-with-AlphabetIndexer-and-CursorAdapter-on-Android but not http://rogcg.com/2012/07/Implementing-a-ListView-with-AlphabetIndexer-and-CursorAdapter-on-Android What I might have done wrong in setting up the naked domain for my app? *Have anyone configured the naked domain for your application, and that have worked successfully? Thanks.* -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[google-appengine] Re: Go Lang everything in a single source?
Have a look at the documentation: http://golang.org/ref/spec#Source_file_organization A way more power full way of combining source code files into a complete program. a choice of package clause and import declarations. app.yaml stays alone to describe to GAE the purpose of the application. main.go will need to have the appropriate import statement to reference the code, functions held in the a.go file. On Saturday, 3 November 2012 03:25:54 UTC, Lawrence Mok wrote: Hi guys, I'm new to Go... I wonder how can I separate my source files into multiple files instead of needing to keep all code into one file? I tried but it always return results like: 2012/11/03 11:15:39 go-app-builder: Failed parsing input: failed parsing dir script: found packages main (main.go) and a (a.go) in c:\gae\script My files structure is: c:\gae\app.yaml c:\gae\script\a.go c:\gae\script\main.go Thanks, Lawrence -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/ma0ikxjdZRsJ. 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 Eclipse vs Emacs/Ant/build.xml
I've successfully deployed YouTube Direct using the default build.xml file, with a few changes for my system, i.e. {sdk.dir} pointing to the directory that contains appengine-java-sdk-1.6.4. I'm using just ant and emacs. I've also installed the GAE plugin for Eclipse, which took quite a few downloads.So my question is, what is the big advantage in using Eclipse in working with the Java implemention of GAE? -- You 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: Google app engine Upload
The version used has to be updated in the admin panel after you upgrade by changing the version number. On Sep 28, 5:05 am, sharad biradar sharadnbira...@gmail.com wrote: Hi, Google App engine not taking changes after uploading new version of application. -- You 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.
[appengine-java] Re: Spring Roo + GWT Demo
You can search Deploy to Google App Engine on this post http://blog.springsource.com/2010/06/02/using-springsource-tool-suite-2-3-3-m1-with-roo-and-gwt/ On 28 maio, 15:44, caritos ecari...@gmail.com wrote: Looking for documentation to deploy Spring Roo + GWT + STS on GAE. On May 28, 11:03 am, geoaxis geoa...@gmail.com wrote: Hello, I believe that portions of the code for GWT is already in the GWT release. You can try out theROOspecific stuff with STS (screen cast herehttp://www.thescreencast.com/2010/05/how-to-gwt-roo.html) -- Shahzada Hatim @geoaxis on twitter, irc.freenode.net/#spring On May 23, 5:44 pm, yonny yon...@googlemail.com wrote: Hi all, Has the code for theroo+gwt demo at Google IO by Ben Alex and Bruce Johnson been provided for download.. I'd like to have a look at how they implemented the relationships.Any help would be gratly appreciated.Thanks -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[google-appengine] Re: TemplateDoesNotExist: css/datastore.css
This import is causing massive headaches on App Engine deployments with TemplateDoesNotExist sporadic messages. Assuming you have Django 1.1 setup correctly, the global_settings.py file will setup TEMPLATE_LOADERS to load from both the project dir (/templates) as well as any INSTALLED_APPS dir. But we noticed sporadic issues with App Engine reporting the issue: TemplateDoesNotExist: Tried [u'/base/data/home/apps/ myapp1234/1-2-2-8.341999523263263665/templates/volunteer-11.html'] The reason? By default, Django has these two TEMPLATE_LOADERS defined in its global settings (defined in conf/global_settings.py): TEMPLATE_LOADERS = ( 'django.template.loaders.filesystem.load_template_source', 'django.template.loaders.app_directories.load_template_source', ) The second line tells Django to try all the INSTALLED_APPS dirs whenever attempting to render an HTML template. For instance, we do not need to specify volunteer-11.html because it will try to look inside ragendja/templates, accounts/templates, and civio/templates, in the order defined by INSTALLED_APPS inside settings.py: INSTALLED_APPS = ( 'django.contrib.auth', 'django.contrib.sessions', 'django.contrib.admin', 'ragendja', 'accounts', 'civio' ) If you accidentally import this line in your Python code, from google.appengine.ext.webapp import template The GAE reconfigures TEMPLATE_LOADERS inside google.appengine.ext.webapp.template: import django.conf try: django.conf.settings.configure( DEBUG=False, TEMPLATE_DEBUG=False, TEMPLATE_LOADERS=( 'django.template.loaders.filesystem.load_template_source', ), ) +#from google.appengine.ext.webapp import template The result is TemplateDoesNotExist messages that may or may not occur. 3. If you are using Django 1.1, you must be careful that you're not importing google.appengine.ext.webapp import template. The solution, I believe, is to simply remove all webapp dependency imports: perl -pi.bak -e s/^from google\.appengine\.ext\.webapp(.*)/#from google.appengine.ext.webapp\1/g *.py We're still confirming that these changes will resolve the issue, but it seems to explain the problem we have been having on Django 1.1. Roger On May 10, 12:25 pm, Fredrik Bonander carl.fredrik.bonan...@gmail.com wrote: I have a similar problem. When I updated to django 1.1 I get TemplateSyntaxError: Template u'../index.html' cannot be extended, because it doesn't exist. It seams that the problem lies in that the TEMPLATE_DIRS is not set wrong. But I don't know how set in as a relative path. Anyone successfully used django 1.1 in GAE? ..fredrik On May 8, 2010, at 2:27 PM, allyourcode wrote: I think the problem is that my TEMPLATE_DIRS gets cleared at some point, even though my app doesn't do that, at least not directly. My guess is that this is happening somewhere in the SDK or Django helper to implement the admin pages, but I can't tell which piece is doing the manipulation :/. I'll try to upgrade my SDK, but again, when I tried this before, my app ended up dead in the water (forget what issues I was running into before). On May 7, 2:08 am, Nick Johnson (Google) nick.john...@google.com wrote: Hi, It's impossible to suggest what might be wrong without seeing the code in question. It looks like you're probably running into problems with relative or absolute paths, or your css file is marked as static in your app.yaml. You should definitely upgrade your SDK - 1.3.3 is the latest version, and 1.2.7 is very much out of date. -Nick Johnson On Fri, May 7, 2010 at 1:00 AM, allyourcode allyourc...@gmail.com wrote: Hi, I'm having a problem developing my GAE application. It's been reported as issue 464 on the GAE issue tracker, but it's not getting any attention, due to difficulties with reproducing the issue; hence, I'm turning to the GAE group to look for support. Restarting the dev server temporarily gets rid of the problem, but it keeps coming back. I'm worried this problem will come up in production, but we haven't released our app yet, so I've never had a chance to see how it works in production. One symptom of the problem is if you go to http://localhost:8000/_ah/admin/interactive and enter a correct program, and it hit Run Program, the following output is (sporadically) generated: Traceback (most recent call last): File c:\Program Files\Google\google_appengine\google\appengine\ext \webapp\__init__.py, line 507, in __call__ handler.get(*groups) File C:\Program Files\Google\google_appengine\google\appengine\ext \admin\__init__.py, line 737, in get self.generate('datastore.html', values) File C:\Program Files\Google\google_appengine\google\appengine\ext \admin\__init__.py, line 131, in generate self.response.out.write(template.render(path, values, debug=_DEBUG)) File c:\Program Files\Google\google_appengine\google\appengine\ext \webapp
[google-appengine] upload error: java.net.SocketException: Connection reset
Hi all, Greeting from Roger I try to deploy App via eclipse plugin several times, but every time I got the exception as below. It has nothing to do with my code, right? Could anyone help on this? thanks in advance. Unable to upload: java.net.SocketException: Connection reset at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at sun.net.www.protocol.http.HttpURLConnection.getChainedException (Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) at java.net.HttpURLConnection.getResponseCode(Unknown Source) at com.google.appengine.tools.admin.ServerConnection.send (ServerConnection.java:126) at com.google.appengine.tools.admin.ServerConnection.post (ServerConnection.java:78) at com.google.appengine.tools.admin.AppVersionUpload.send (AppVersionUpload.java:345) at com.google.appengine.tools.admin.AppVersionUpload.cloneFiles (AppVersionUpload.java:211) at com.google.appengine.tools.admin.AppVersionUpload.beginTransaction (AppVersionUpload.java:173) at com.google.appengine.tools.admin.AppVersionUpload.doUpload (AppVersionUpload.java:68) at com.google.appengine.tools.admin.AppAdminImpl.update (AppAdminImpl.java:49) at com.google.appengine.eclipse.core.proxy.AppEngineBridgeImpl.deploy (AppEngineBridgeImpl.java:271) at com.google.appengine.eclipse.core.deploy.DeployProjectJob.runInWorkspace (DeployProjectJob.java:148) at org.eclipse.core.internal.resources.InternalWorkspaceJob.run (InternalWorkspaceJob.java:38) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) Caused by: java.net.SocketException: Connection reset at java.net.SocketInputStream.read(Unknown Source) at java.io.BufferedInputStream.fill(Unknown Source) at java.io.BufferedInputStream.read1(Unknown Source) at java.io.BufferedInputStream.read(Unknown Source) at sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source) at sun.net.www.http.HttpClient.parseHTTP(Unknown Source) at sun.net.www.http.HttpClient.parseHTTP(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getHeaderFieldKey (Unknown Source) at com.google.appengine.tools.util.ClientCookieManager.readCookies (ClientCookieManager.java:123) at com.google.appengine.tools.admin.ServerConnection.connect (ServerConnection.java:331) at com.google.appengine.tools.admin.ServerConnection.send (ServerConnection.java:124) ... 10 more --~--~-~--~~~---~--~~ You 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: About the URL error
Hi, urllib2 is not supported in GAE. If you're trying to use .open() it would be best to substitute the urlfetch protocol instead. -r. On Dec 8, 7:05 am, sirisha [EMAIL PROTECTED] wrote: Hi, I have developed the application in webapp framework,but while uploading the application ,I am getting an error like : urllib2.URLError:urlopen error 11001,'getaddrinfo failed' --~--~-~--~~~---~--~~ You 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---