Re: [google-appengine] Connect to GMail using JavaMail

2014-05-17 Thread Vinny P
On Fri, May 16, 2014 at 5:49 AM,  wrote:

> For another hand, there're clients who use OAuth 2.0 3-legged (normal
> identification). I can't connect with them to GMail.
>


Are all client accounts failing the 3-legged OAuth, or are there some
accounts that work properly and some that do not? Can you construct a
simple test case that fails for you, yet you expect it to work? Finally,
what scope did you request when collecting the access token?


On Fri, May 16, 2014 at 5:49 AM,  wrote:

> Well, I don't know what happens but it has to be because of OAuth 2.0
> because I have tried to connect to GMail without OAuth 2.0 (using email and
> password) and it works fine.
>


Did you try using username/password with the same accounts that are failing
the 3-legged OAuth login?


-
-Vinny P
Technology & Media Advisor
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com

-- 
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/d/optout.


Re: [google-appengine] Editing app.yaml file

2014-05-17 Thread Vinny P
On Sun, May 11, 2014 at 5:15 AM,  wrote:

> Hi I just joined the group. How do I Edit my app.yaml file.
>


The app.yaml file is a plain text document. You can edit it with your
system's default text editor: Notepad, TextEdit, etc.


-
-Vinny P
Technology & Media Advisor
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com

-- 
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/d/optout.


Re: [google-appengine] UserService isLoggedIn always returns false when using LocalUserServiceTestConfig in JUnit test

2014-05-17 Thread Vinny P
On Thu, May 15, 2014 at 5:41 AM, Patrik M 
 wrote:

> and in setup
>
> userHelper.setEnvAttributes(envAttr).setEnvAuthDomain("example.com").
> setEnvEmail("t...@example.com").setEnvIsAdmin(false).setEnvIsLoggedIn(true
> );
> UserService userService = UserServiceFactory.getUserService();
>
> userService.isUserLoggedIn()
>
> This always returns false when running JUnit-test
>


Does the Users service correctly provide other detail about the test user?
For instance, if you call *.getCurrentUser().getEmail()* do you get
back *t...@example.com
*?


-
-Vinny P
Technology & Media Advisor
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com

-- 
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/d/optout.


Re: [google-appengine] Re: Wait, what? App Engine doesn't work with latest version of WordPress?

2014-05-17 Thread Jeff Schnitzer
On Dec 17, 2013 2:41 PM, "Vance Hallman"  wrote:
>
>  [...] you need to put a little faith in wordpress.org's PHP and
javascript team. [...]

I don't understand. Usually the punchline of a joke is at the end of a
message, not in the middle.

Jeff

-- 
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/d/optout.


Re: [google-appengine] Stange log (twice start with two successive requests)

2014-05-17 Thread timh
Tasks need to be written so that they are idempotent (ie can be run again 
at any point without changing the result).  I don't know why you task is 
being run twice,
but this is always a possible but unlikely outcome so they need to be able 
to deal with this possibility.

T

On Saturday, May 17, 2014 8:23:56 PM UTC+8, Malleswari Srinivasarao wrote:
>
> Hi, 
> May I know the reason for running same process in multiple 
> instances. I too faced this in my application, but it was not happened at 
> the time of loading the application instead, it happened while task queue 
> was serving one request. The same request handled twice with different 
> instances at approximately same time (milliseconds difference is there). 
> The task which my task queue processing was, very sensitive information, 
> because of this happened, it resulted me great loss as duplication 
> happened. 
>
>Kindly tell me what was the *reason *to run the same request with 
> two different instances and *how to avoid* this. I can say, it was not 
> happening all the time, but when it happens, so much duplication of data 
> occurred in my case.
>
>  One thing I have observed is, one request was running say, 
>  "/tasks/procesInfo" , after sometime, the same process, 
>  "/tasks/procesInfo" was running in different instance and these two are 
> parallelly running.  Please help me. 
>
> Thanks,
> Malleswari.
>
>
>
>
>

-- 
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/d/optout.


Re: [google-appengine] Stange log (twice start with two successive requests)

2014-05-17 Thread Malleswari
Hi, 
May I know the reason for running same process in multiple instances. I 
too faced this in my application, but it was not happened at the time of 
loading the application instead, it happened while task queue was serving one 
request. The same request handled twice with different instances at 
approximately same time (milliseconds difference is there). The task which my 
task queue processing was, very sensitive information, because of this 
happened, it resulted me great loss as duplication happened. 

   Kindly tell me what was the reason to run the same request with two 
different instances and how to avoid this. I can say, it was not happening all 
the time, but when it happens, so much duplication of data occurred in my case.

 One thing I have observed is, one request was running say,  
"/tasks/procesInfo" , after sometime, the same process,  "/tasks/procesInfo" 
was running in different instance and these two are parallelly running.  Please 
help me. 

Thanks,
Malleswari.




-- 
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/d/optout.