[google-appengine] Installed Latest version of Eclipse and all add-on but can't view app in Chrome browser

2012-10-22 Thread dt_da
Hello,

I went through the getting started section in the Google App Engine for 
Java. I installed the following software:

   - Eclipse EE IDE (Version: Juno Release Build id: 20120614-1722), 
   - plugin GWT SDK 2.4.0 
   - plugin eclipse 4.2
   - plugin GAE Java SDK 1.7.2.1
   - plugin GWT designer 2.6.0 
   - Oracle Java SE 7u9 
   - Chome extension GWT Developer Plugin 1.0.1133

I tried creating a hello world google web application that uses both GWT 
and GAE SDKs, but when I try and run it in debug mode it creates a URL 
which when I click on it gives the following error message:

https://lh6.googleusercontent.com/-Oe6y1l4Vo88/UIUq_MmQEwI/AB0/aNDjEEyEDqg/s1600/gae+err1.jpg
 If I try creating a hello world google web application with only GAE SDK 
it does not seem to work at all. 

I followed the instructions here: 
https://developers.google.com/appengine/docs/java/gettingstarted/
but there weren't very clear on the versions of eclipse to download and use 
or the version of Java to download and use. Does anybody else have the same 
issues or can you tell me what I am doing wrong??

-- 
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/-/kid3T40AfaUJ.
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.



Re: [google-appengine] python27 helloworld application doesn't work when application id is changed

2012-08-30 Thread dt_da
I checked the logs these are errors:

   1. 2012-08-30 12:33:52.119
   
   Traceback (most recent call last):
 File 
/base/python27_runtime/python27_lib/versions/third_party/webapp2-2.3/webapp2.py,
 line 1511, in __call__
   rv = self.handle_exception(request, response, e)
 File 
/base/python27_runtime/python27_lib/versions/third_party/webapp2-2.3/webapp2.py,
 line 1505, in __call__
   rv = self.router.dispatch(request, response)
 File 
/base/python27_runtime/python27_lib/versions/third_party/webapp2-2.3/webapp2.py,
 line 1253, in default_dispatcher
   return route.handler_adapter(request, response)
 File 
/base/python27_runtime/python27_lib/versions/third_party/webapp2-2.3/webapp2.py,
 line 1077, in __call__
   return handler.dispatch()
 File 
/base/python27_runtime/python27_lib/versions/third_party/webapp2-2.3/webapp2.py,
 line 547, in dispatch
   return self.handle_exception(e, self.app.debug)
 File 
/base/python27_runtime/python27_lib/versions/third_party/webapp2-2.3/webapp2.py,
 line 545, in dispatch
   return method(*args, **kwargs)
 File /base/data/home/apps/s~din-ga01/1.361292798329383921/helloworld.py, 
line 37, in get
   url = users.create_login_url(self.request.uri)
 File 
/base/python27_runtime/python27_lib/versions/1/google/appengine/api/users.py, 
line 256, in create_login_url
   raise NotAllowedError
   NotAllowedError
   
   2. E2012-08-30 12:33:54.944
   
   Traceback (most recent call last):
 File 
/base/python27_runtime/python27_lib/versions/1/google/appengine/runtime/wsgi.py,
 line 195, in Handle
   result = handler(dict(self._environ), self._StartResponse)
 File 
/base/python27_runtime/python27_lib/versions/third_party/webapp2-2.3/webapp2.py,
 line 1519, in __call__
   response = self._internal_error(e)
 File 
/base/python27_runtime/python27_lib/versions/third_party/webapp2-2.3/webapp2.py,
 line 1511, in __call__
   rv = self.handle_exception(request, response, e)
 File 
/base/python27_runtime/python27_lib/versions/third_party/webapp2-2.3/webapp2.py,
 line 1505, in __call__
   rv = self.router.dispatch(request, response)
 File 
/base/python27_runtime/python27_lib/versions/third_party/webapp2-2.3/webapp2.py,
 line 1253, in default_dispatcher
   return route.handler_adapter(request, response)
 File 
/base/python27_runtime/python27_lib/versions/third_party/webapp2-2.3/webapp2.py,
 line 1077, in __call__
   return handler.dispatch()
 File 
/base/python27_runtime/python27_lib/versions/third_party/webapp2-2.3/webapp2.py,
 line 547, in dispatch
   return self.handle_exception(e, self.app.debug)
 File 
/base/python27_runtime/python27_lib/versions/third_party/webapp2-2.3/webapp2.py,
 line 545, in dispatch
   return method(*args, **kwargs)
 File /base/data/home/apps/s~din-ga01/1.361292798329383921/helloworld.py, 
line 37, in get
   url = users.create_login_url(self.request.uri)
 File 
/base/python27_runtime/python27_lib/versions/1/google/appengine/api/users.py, 
line 256, in create_login_url
   raise NotAllowedError
   NotAllowedError
   
   
   
This runs fine on my local machine - is there a problem with the production 
python libraries?

Dinal

On Saturday, 25 August 2012 19:56:00 UTC+1, dt_da wrote:

 Hello Robert,

 I managed to get the helloworld application working under a different id 
 in the google app engine launcher application (on my machine). I think if 
 you change the application id in app.yaml (even though the launcher 
 application will pick up the changed name straight away) it will cause an 
 error, you still have to stop the application and re-run it then the error 
 message goes away.

 But when I deploy it (successfully) and try to run it on-line I get an 
 error but I don't know what it relates to - attached are all the program 
 files and screenshot.


 Dinal

 On Sunday, 19 August 2012 00:20:09 UTC+1, Robert Fischer wrote:

 Changing the appid in the app.yaml should work fine to upload the app.

 You can also use appcfg.py --application=... to override the 
 application: line specified in the app.yaml. More info here:  
 https://developers.google.com/appengine/docs/python/tools/uploadinganapp 

 -Robert

 On Sat, Aug 18, 2012 at 12:48 PM, dt_da dinal...@dintechnology.comwrote:

 Hello,

 I downloaded the app sdk and went through the helloworld example for 
 python27, everything worked fine until the very last bit of the tutorial 
 which was about deploying the application. I created a new application id 
 on google, which was different to the name helloworld. The tutorial asked 
 me to change the application property in the app.yaml to the application id 
 - which is what I did and it came up with a error both on the SDK version 
 and deployed version.

 How do I deploy an application with a application id different to the 
 name is was initially created in the app.yaml file?? I can't find anything 
 on tutorial about

[google-appengine] python27 helloworld application doesn't work when application id is changed

2012-08-18 Thread dt_da
Hello,

I downloaded the app sdk and went through the helloworld example for 
python27, everything worked fine until the very last bit of the tutorial 
which was about deploying the application. I created a new application id 
on google, which was different to the name helloworld. The tutorial asked 
me to change the application property in the app.yaml to the application id 
- which is what I did and it came up with a error both on the SDK version 
and deployed version.

How do I deploy an application with a application id different to the name 
is was initially created in the app.yaml file?? I can't find anything on 
tutorial about this?

-- 

--
*Din Tech notice*
Please inform us if this message has gone astray - before deleting it - by 
forwarding this email to postmas...@dintechnology.com with RETURN as the 
subject-line.

-- 
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/-/-oYKV0W3q5cJ.
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.