[web2py] Re: Password Recovery Not Sending (lazyT object being passed to GAE?)

2017-04-17 Thread webmaster
Please mark this as "Best Answer". It uses web2py's internal password reset mechanism. Just gave it a fairly thorough testing. I really appreciate the people who gave help in this thread and a couple others about resetting passwords. This should mostly suffice until we get a real solution (

[web2py] Re: Password Recovery Not Sending (lazyT object being passed to GAE?)

2017-04-14 Thread Jacinto Parga
Yes it is easy to change anyone password, but you still have to access to his/hers email to set the final password. Anyway it is not the right solution. There was no problem with 2.13 versions. El viernes, 14 de abril de 2017, 0:55:50 (UTC+2), webm...@trytha.com escribió: > > Can we not get

[web2py] Re: Password Recovery Not Sending (lazyT object being passed to GAE?)

2017-04-13 Thread webmaster
Can we not get a real solution to this? I was gonna try the posted hack, but it can be too easily abused (it changes the user's password instead of using a password_reset token, so anyone could change your password just by knowing your email address). On Friday, April 7, 2017 at 7:28:48 PM UTC

[web2py] Re: Password Recovery Not Sending (lazyT object being passed to GAE?)

2017-04-07 Thread webmaster
Thanks for bringing this issue back up and posting a workaround. The worst part is the way to fix this is probably about as easy as wrapping something in "str()", just need to know how the web2py internals all link together. On Thursday, April 6, 2017 at 4:51:17 AM UTC-7, Karoly Kantor wrote:

[web2py] Re: Password Recovery Not Sending (lazyT object being passed to GAE?)

2017-04-06 Thread Karoly Kantor
Thanks, this helped, i am now using my own function to send the password reset email. On Friday, March 31, 2017 at 2:51:03 PM UTC+2, Jacinto Parga wrote: > > Yes, still unresolved. > > I did a workaround for the request_reset_password: > > def user(): > if request.args(0)=='request_reset_pa

[web2py] Re: Password Recovery Not Sending (lazyT object being passed to GAE?)

2017-03-31 Thread Karoly Kantor
Thanks very much, Jacinto. I will try and report back. I still consider this significant issue, this is something that probably impacts everyone on GAE, and not only under some special and rare circumstances. I am hoping it will be eventually resolved in the core web2py code. On Friday, March

[web2py] Re: Password Recovery Not Sending (lazyT object being passed to GAE?)

2017-03-31 Thread Jacinto Parga
Yes, still unresolved. I did a workaround for the request_reset_password: def user(): if request.args(0)=='request_reset_password': redirect(URL('default','myrequestpass')) return dict(form=auth()) def myrequestpass(): form = SQLFORM.factory( Field('u_email', requir

[web2py] Re: Password Recovery Not Sending (lazyT object being passed to GAE?)

2017-03-29 Thread Karoly Kantor
As the issue is still unresolved, i have unchecked the "no action needed" flag on this topic. Any help would be appreciated. Thank you. On Thursday, March 30, 2017 at 6:33:07 AM UTC+2, Karoly Kantor wrote: > > This issue still seems to be unsolved. I have a fresh installation on GAE, > reset pas

[web2py] Re: Password Recovery Not Sending (lazyT object being passed to GAE?)

2017-03-29 Thread Karoly Kantor
This issue still seems to be unsolved. I have a fresh installation on GAE, reset password emails fail due to "need string or buffer, lazyT found" Is there something I can do? Thanks. On Friday, July 29, 2016 at 7:49:14 AM UTC+2, webm...@trytha.com wrote: > > I just uploaded an updated version o

Re: [web2py] Re: Password Recovery Not Sending (lazyT object being passed to GAE?)

2017-02-14 Thread Jacinto Parga
I just did a workaround with my own password reset function. El miércoles, 5 de octubre de 2016, 1:46:41 (UTC+2), webm...@trytha.com escribió: > > So has this and the DAL issue with GAE been addressed? Should I try the > latest version of web2py or is it a waste of time? I'd really prefer to

Re: [web2py] Re: Password Recovery Not Sending (lazyT object being passed to GAE?)

2016-10-04 Thread webmaster
So has this and the DAL issue with GAE been addressed? Should I try the latest version of web2py or is it a waste of time? I'd really prefer to use a later version because 2.12.2 (the latest version of web2py that fully works with GAE) has a bug that logs users out randomly. Could we just hav

Re: [web2py] Re: Password Recovery Not Sending (lazyT object being passed to GAE?)

2016-09-24 Thread Jacinto Parga
Unfortunatly it didn't work for me. Is it a translation issue? Can it be solved changing the auth_user messages? I think it is an important bug!! I can send mails with my application form GAE, there is no problem at all. But when someone is singing up it is "Unable to send mail!" Same happens

Re: [web2py] Re: Password Recovery Not Sending (lazyT object being passed to GAE?)

2016-09-23 Thread Mathieu Clabaut
I had a probably similar problem that I solved by patching pydal. See https://github.com/web2py/pydal/issues/403 and https://github.com/web2py/pydal/pull/404. However, as mention in the issue thread, the change shall be done in w

[web2py] Re: Password Recovery Not Sending (lazyT object being passed to GAE?)

2016-09-22 Thread Jacinto Parga
The same error when I try to register an user: Unable to send email. Mail.send failure:coercing to Unicode: need string or buffer, lazyT found I don't know what to do El domingo, 31 de julio de 2016, 8:36:02 (UTC+2), Massimo Di Pierro escribió: > > OK. will check this today. > > On Friday, 29 J

[web2py] Re: Password Recovery Not Sending (lazyT object being passed to GAE?)

2016-09-06 Thread Jacinto Parga
Yes, It is also in Google App engine. I could find several differences between files gluon/tools.py I guess it has something to do with it as the GAE warning said, but I can't solve it. This is what I get when I try to request reset password

[web2py] Re: Password Recovery Not Sending (lazyT object being passed to GAE?)

2016-09-05 Thread webmaster
I've been working on a lot of other little things and haven't had a chance to test yet. Is yours also on Google App Engine? One thing to try would be to use version 2.12.2 of web2py to see if that fixes it. Diagnosing the issue is on my very short list of things to do. On Monday, September 5,

[web2py] Re: Password Recovery Not Sending (lazyT object being passed to GAE?)

2016-09-05 Thread Jacinto Parga
I have the same problem 20:30:08.307Mail.send failure:coercing to Unicode: need string or buffer, lazyT found (

[web2py] Re: Password Recovery Not Sending (lazyT object being passed to GAE?)

2016-07-31 Thread webmaster
Thanks. I'll run a couple more tests tomorrow if I haven't heard back. On Saturday, July 30, 2016 at 11:36:02 PM UTC-7, Massimo Di Pierro wrote: > > OK. will check this today. > > On Friday, 29 July 2016 15:40:26 UTC-5, webm...@trytha.com > wrote: >> >> Nope, same error in: 2.14.6-stable+times

[web2py] Re: Password Recovery Not Sending (lazyT object being passed to GAE?)

2016-07-30 Thread Massimo Di Pierro
OK. will check this today. On Friday, 29 July 2016 15:40:26 UTC-5, webmas...@trytha.com wrote: > > Nope, same error in: 2.14.6-stable+timestamp.2016.05.10.00.21.47 (the > source code off the web2py site). > > If you want me to try a nightly or something, let me know. > > The only semi-unique thi

[web2py] Re: Password Recovery Not Sending (lazyT object being passed to GAE?)

2016-07-29 Thread webmaster
Nope, same error in: 2.14.6-stable+timestamp.2016.05.10.00.21.47 (the source code off the web2py site). If you want me to try a nightly or something, let me know. The only semi-unique thing about my app is that I allow usernames for login as well. Here is my default/user(): def user(): db.a

[web2py] Re: Password Recovery Not Sending (lazyT object being passed to GAE?)

2016-07-29 Thread Massimo Di Pierro
This may have been fixed already. Can you upgrade and try it? On Friday, 29 July 2016 00:49:14 UTC-5, webmas...@trytha.com wrote: > > I just uploaded an updated version of web2py to my server, replacing a > much older version (likely 2.12.2), and now it won't send password recovery > emails. Th