Re: [google-appengine] Re: Beehive/Weblogic jar file not available

2015-08-04 Thread 'Nick Payne' via Google App Engine
Hey Ken,

That sounds good. Please let us all know in this thread whatever you manage
to hear from them. Perhaps there was some kind of dynamic remote jar
loading happening and the routine/location has since changed?

I actually just learned of DWR based on your comment and have been looking
into it. It seems like a great technology. As said, this seems mysterious
to all involved. Perhaps their comment can shed some light.

Best wishes,

Nick

On Mon, Aug 3, 2015 at 4:16 PM, Ken Bowen k...@form-runner.com wrote:

 Hi Nick,

 That's what's strange.   I've been using dwr_2.0.6/7 for a number of
 years, and there's never been any *bee*.jar or *weblogic*.jar in my lib
 dir. To my memory, there were no other dependencies downloaded with dwr.
  Yet prior to  2015-07-18,  I've never seen this exception, and the dwr jar
 in my projects didn't change then.  In fact, my jar list didn't change at
 all before or immediately after  2015-07-18. (Later I checked moving up to
 dwr_2.0.10, but that still produces this exception).  That's why I wondered
 whether the Beehive/Weblogic jar could have been supplied by GAE earlier.
 It all seems very odd.  I'm going to contact the DWR guys and see what they
 say.
 Thanks,
 Ken


 On Monday, August 3, 2015 at 1:32:45 PM UTC-6, Nick (Cloud Platform
 Support) wrote:

 Hi Ken,

 It sounds as though this is a specific third-party technology unrelated
 to Google, and I can't find it documented anywhere that this would be
 available on the platform. It sounds as though your app itself would have
 had to bundle this dependency when it was uploaded. Do you still have
 access to the project source? Is the Beehive/Weblogic jar included in
 your project's lib/ folder?

 Regards,

 Nick

 On Saturday, August 1, 2015 at 3:12:59 PM UTC-4, Ken Bowen wrote:

 I've been using DWR 2.0.(6..10) (Direct Web Remoting) with two Appengine
 java projects for a number of years, with no problems.  About 2015-07-18,
 when production Appengine switched from using SDK 1.9.23 to SDK 1.9.24,  I
 began getting the following exception each time one of my projects starts:

 org.directwebremoting.util.CommonsLoggingOutput error: Failed to load
 'pageflow' (org.directwebremoting.beehive.PageFlowCreator)
 java.lang.reflect.InvocationTargetException
 at
 com.google.appengine.runtime.Request.process-eaa0bc63bfae4257(Request.java)
 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
 ..
 Caused by: java.lang.ClassNotFoundException: Beehive/Weblogic jar file
 not available.
 at
 org.directwebremoting.beehive.PageFlowCreator.init(PageFlowCreator.java:58)
 .

 Neither of my projects had any code changes around that time.  Was the
 Beehive/Weblogic jar available in GAE before SDK 1.9.24?  Can anyone give
 me any pointers about this?
 Thanks in advance,
 Ken Bowen

 --
 You received this message because you are subscribed to a topic in the
 Google Groups Google App Engine group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/google-appengine/KZwF_uTxAto/unsubscribe
 .
 To unsubscribe from this group and all its topics, 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.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/google-appengine/906ac590-c65a-42d1-a1d6-cbe6c7d886ea%40googlegroups.com
 https://groups.google.com/d/msgid/google-appengine/906ac590-c65a-42d1-a1d6-cbe6c7d886ea%40googlegroups.com?utm_medium=emailutm_source=footer
 .
 For more options, visit https://groups.google.com/d/optout.




-- 

Nick
Technical Solutions Representative
Google Cloud Platform

*“It is like a lighted torch whose flame can be distributed to ever so many
other torches which people may bring along; and therewith they will cook
food and dispel darkness, while the original torch itself remains burning
ever the same. It is even so with the bliss of the Way.*
― Gautama Buddha
http://www.goodreads.com/author/show/2167493.Gautama_Buddha (On Computing
 Information Theory)

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CABsfGcO85vJ4TnpjwD%2BrdgS7HJTSv5FEsAmUCgn_be5Z3akWHQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: PROBLEM IN UPD

2015-08-04 Thread 'Nick Payne' via Google App Engine
Hi Deeksha,

Unfortunately, this isn't the right place to look for specific technical
support for third-party products. I suggest for future issues that you go
to stackoverflow.com with your question and see if someone there can help.
There is a much larger user-base there.

As to the specific issue, I think several possible answers can be found on
stackoverflow here
http://stackoverflow.com/questions/27453497/deploying-google-app-engine-with-python-failed.
It seems either using the latest SDK
https://cloud.google.com/appengine/downloads?hl=en (as of writing, this
is 1.9.24), changing your system to use python 2.7.8, or finding the
location in scripts/run_example.sh where dev_appserver.py is called and
adding the argument --skip_sdk_update_check=yes.

I hope some of this advice has been useful, and I wish you the best of luck
in your work. Sincerely,

Nick

On Sun, Aug 2, 2015 at 12:01 PM, Deeksha deekshaa...@gmail.com wrote:

 Thanks Nick, But I am still getting the same message. Because of this I am
 unable to install cbX studio on my PC I get following error what should I
 do?

 I am creating content on edX Studio and deploying it on Google App Engine
 using cbX according to this video
 https://www.youtube.com/watch?v=jUfccP5Rl5M  but in Step 2 Set up of cbX
 following error come in git shell. what shell I do ? I am not a programmer
 so these things are little hard for me Please help me.

 D:\eduself\coursebuilder_xblock_module-master sh ./scripts/run_example.sh
 INFO 2015-07-03 11:05:56,078 sdk_update_checker.py:241] Checking for
 updates
  to the SDK.
 Traceback (most recent call last):
   File ../google_appengine/dev_appserver.py, line 201, in module
 _run_file(__file__, globals())
   File ../google_appengine/dev_appserver.py, line 197, in _run_file
 execfile(script_path, globals_)
   File
 d:\eduself\coursebuilder_xblock_module-master\examples\google_appengine\
 google\appengine\tools\devappserver2\devappserver2.py, line 887, in
 module
 main()
   File
 d:\eduself\coursebuilder_xblock_module-master\examples\google_appengine\
 google\appengine\tools\devappserver2\devappserver2.py, line 880, in main
 dev_server.start(options)
   File
 d:\eduself\coursebuilder_xblock_module-master\examples\google_appengine\
 google\appengine\tools\devappserver2\devappserver2.py, line 673, in start
 update_checker.check_for_updates(configuration)
   File
 d:\eduself\coursebuilder_xblock_module-master\examples\google_appengine\
 google\appengine\tools\devappserver2\update_checker.py, line 91, in
 check_for_u
 pdates
 update_check.CheckForUpdates()
   File
 d:\eduself\coursebuilder_xblock_module-master\examples\google_appengine\
 google\appengine\tools\sdk_update_checker.py, line 255, in CheckForUpdates
 runtime=runtime))
   File
 d:\eduself\coursebuilder_xblock_module-master\examples\google_appengine\
 google\appengine\tools\appengine_rpc.py, line 409, in Send
 f = self.opener.open(req)
   File c:\Python27\lib\urllib2.py, line 431, in open
 response = self._open(req, data)
   File c:\Python27\lib\urllib2.py, line 449, in _open
 '_open', req)
   File c:\Python27\lib\urllib2.py, line 409, in _call_chain
 result = func(*args)
   File c:\Python27\lib\urllib2.py, line 1240, in https_open
 context=self._context)
 TypeError: do_open() got an unexpected keyword argument 'context'
 D:\eduself\coursebuilder_xblock_module-master

 Regards -
 Deeksha Mishra
 Junior Research Fellow
 Department of Education
 University Of Lucknow
 Lucknow, India

 Admin-
 http://shikshadeeksha.blogspot.in/
 http://beingrs.blogspot.in/
 https://www.facebook.com/UgcNetShikshaShastra


 On Mon, Jul 20, 2015 at 10:58 PM, Nick (Cloud Platform Support) 
 pay...@google.com wrote:

 Hi Deeksha,

 It seems as though the timestamp is different on the two versions by about
 9.5 days
 https://www.google.ca/search?q=1433876744+-+1434691675oq=1433876744+-+1434691675aqs=chrome..69i57j69i64.13623j0j4sourceid=chromees_sm=122ie=UTF-8#q=(1434691675+-+1433876744)+%2F+(60+*+60+*+24),
 so the new version your computer is notifying you of is likely a patch
 released a few days after the other more recent release. You should
 definitely download the latest version despite both being 1.9.23, since
 continuing to use the unpatched SDK might result in some issues for you.

 Best wishes,

 Nick

 On Sunday, July 19, 2015 at 4:58:34 AM UTC-4, Deeksha Mishra wrote:


 https://lh3.googleusercontent.com/-C1rwrCF9wwY/VatmZnA5qYI/HvM/j6LO_NAYQC4/s1600/Screenshot_4.png
 I UPDATED AAPENGINE BUT STILL IT SHOW THIS MESSAGE

 --
 You received this message because you are subscribed to a topic in the
 Google Groups Google App Engine group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/google-appengine/lkuaApX-mjE/unsubscribe
 .
 To unsubscribe from this group and all its topics, send an email to
 google-appengine+unsubscr...@googlegroups.com.
 To post to this group, send email to 

Re: [google-appengine] Re: Google IDs produced by the Users service seem to differ from those produced by OAuth2

2015-08-04 Thread 'Nick Payne' via Google App Engine
Hey Tempy,

I think the best way to proceed would be to simply have your users go
through a quick auth flow upon returning to your site. I don't think it's
possible to convert a GAE User object into the equivalent Google+ ID info.

Best wishes,

Nick

On Wed, Jul 22, 2015 at 10:43 AM, tempy fay...@gmail.com wrote:

 Hi Nick,

 Thanks for the reply. I guess then my question is if there is any way to
 map the general Google account ID to the corresponding App Engine one. I'm
 definitely willing to run a conversion API from inside the GAE sandbox for
 this purpose, but I have no idea how to do the mapping even within GAE.

 Thanks!

 On Thursday, July 9, 2015 at 2:09:26 AM UTC+2, Nick (Cloud Platform
 Support) wrote:

 Hey tempy,

 This ID value is unique to the Google App Engine Users service, and won't
 be the same as your general Google account ID. You can view the difference
 between the two ID values by playing around with
 http://gae-login-explainer.appspot.com/, which also explains the main
 differences between the Google sign-in for websites button and App Engine
 login URL methods of authentication.

 Let me know if you've got any questions, and I'll do my best to help
 clarify.

 On Sunday, July 5, 2015 at 2:07:53 PM UTC-4, tempy wrote:

 I have a production app on GAE that's been running for a while. I've
 been using the Users service for authentication, and my user entities in
 the datastore hold on to the unique account ID provided by the users
 service. Now, I want to bolt on some new functionality that will live
 outside of the GAE environment, but which also needs to authenticate to the
 existing GAE app. I've tried to do this with standard OAuth2 (as described
 here: https://developers.google.com/identity/sign-in/web/), but it
 seems that the Google IDs that are given out by OAuth2 are not the same for
 a given user when they login through the Users service on GAE vs regular
 OAuth2. Specifically, the Oauth2 produces a JWT which unpacks to something
 like:

 {
 iss: accounts.google.com,
 sub: 100768731291047440489,
 azp: 
 995713799104-tn1tj3qj8l4h1rhu0sucpb6aormqekls.apps.googleusercontent.com
 ,
 email: john...@googlemail.com,
 at_hash: PKaCDQBHNPH5HTbRXuAcEw,
 email_verified: true

- ...


- }


 The sub value in that response should contain the user's unique ID, but
 it doesn't match that of the Users API. So, am I missing something or is it
 the case that Google's IDs are only available within the context of the
 users service and differ outside of it? If this is indeed the case, is
 there any way to translate from one sort of ID to the other?

 Many thanks,
 mike

 --
 You received this message because you are subscribed to a topic in the
 Google Groups Google App Engine group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/google-appengine/OMsuFPAYS1Y/unsubscribe
 .
 To unsubscribe from this group and all its topics, 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.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/google-appengine/d2a157bb-c886-4dcf-a236-1f3e8d9902aa%40googlegroups.com
 https://groups.google.com/d/msgid/google-appengine/d2a157bb-c886-4dcf-a236-1f3e8d9902aa%40googlegroups.com?utm_medium=emailutm_source=footer
 .
 For more options, visit https://groups.google.com/d/optout.




-- 

Nick
Technical Solutions Representative
Google Cloud Platform

*“It is like a lighted torch whose flame can be distributed to ever so many
other torches which people may bring along; and therewith they will cook
food and dispel darkness, while the original torch itself remains burning
ever the same. It is even so with the bliss of the Way.*
― Gautama Buddha
http://www.goodreads.com/author/show/2167493.Gautama_Buddha (On Computing
 Information Theory)

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CABsfGcPHvAFJCRZz5%2Bd%3Db%2BW9%3DsamSLLg2ApVTL-nRE%3DmOmpf2Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.