Re: [web2py] Re: Updated Version of web2py and sending emails stopped working

2018-04-04 Thread James O' Driscoll
Using office365 as the service. It was setup to use the scheduler but I placed it directly in the controller to see could I get it to work from there but did not work. No errors are raised when running from controller via Apache. Only error raised was running from local host “mail.send failure

[web2py] Re: Updated Version of web2py and sending emails stopped working

2018-04-04 Thread Dave S
On Wednesday, April 4, 2018 at 6:13:06 PM UTC-7, Dave S wrote: > > > > On Wednesday, April 4, 2018 at 6:10:28 PM UTC-7, Dave S wrote: >> >> >> >> On Wednesday, April 4, 2018 at 5:08:22 PM UTC-7, James O' Driscoll wrote: >>> >>> Any insights?? Surely this is not preferable when people who have

[web2py] Re: Updated Version of web2py and sending emails stopped working

2018-04-04 Thread Dave S
On Wednesday, April 4, 2018 at 6:10:28 PM UTC-7, Dave S wrote: > > > > On Wednesday, April 4, 2018 at 5:08:22 PM UTC-7, James O' Driscoll wrote: >> >> Any insights?? Surely this is not preferable when people who have >> clients and have to update web2py get no support. > > > I updated from

[web2py] Re: Updated Version of web2py and sending emails stopped working

2018-04-04 Thread Dave S
On Wednesday, April 4, 2018 at 5:08:22 PM UTC-7, James O' Driscoll wrote: > > Any insights?? Surely this is not preferable when people who have clients > and have to update web2py get no support. I updated from 2.14.6 to 2.15.4 with no issues to mail. Not a very big jump, perhaps, but it

[web2py] Re: Updated Version of web2py and sending emails stopped working

2018-04-04 Thread AlighaThor
Hi. Could you post the entire ticket? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google

[web2py] Updated Version of web2py and sending emails stopped working

2018-04-04 Thread James O' Driscoll
Any insights?? Surely this is not preferable when people who have clients and have to update web2py get no support. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report

[web2py] Re: Allow to add new record from formdropdown list

2018-04-04 Thread greenpoise
how can I test this? I tried following your example. Trying to accomplish the same. Thanks On Thursday, March 22, 2018 at 3:33:29 AM UTC-7, 黄祥 wrote: > > perhaps you can do it with bootstrap modal (in views) and dal table > constructor comment > *e.g. (not tested)* > *models/db.**py* >

[web2py] Re: Confused about web2py sessions handling in the filesystem, versus the db handling.

2018-04-04 Thread Anthony
This behavior is controlled by the following auth.settings: renew_session_onlogin (default=True) keep_session_onlogin (default=True) renew_session_onlogout (default=True) keep_session_onlogout (default=False) Renewing the session causes a new session ID and therefore file to be created -- that

[web2py] Re: Flash messages

2018-04-04 Thread Dave S
On Wednesday, April 4, 2018 at 2:37:07 AM UTC-7, Maurice Waka wrote: > > In web2py we have flash messages such as 'Success' when form is accepted > etc. > Is there a way to have an animation flash with a message such as > 'loading', 'Please wait' in web2py as the page reloads? > *** My pages

Re: [web2py] Confused about web2py sessions handling in the filesystem, versus the db handling.

2018-04-04 Thread Richard Vézina
Hello Anthony, Is that normal that multiples sessions files get created in case of FS sessions?? Regards Richard On Wed, Apr 4, 2018 at 3:09 PM, Anthony wrote: > One potential downside of db sessions is that you can have race > conditions, as the session record does not

Re: [web2py] Confused about web2py sessions handling in the filesystem, versus the db handling.

2018-04-04 Thread Anthony
One potential downside of db sessions is that you can have race conditions, as the session record does not get locked (unless something has changed). On the plus side, if you have multiple Ajax requests that all just need to read (but not write to) the session, they can be handled

Re: [web2py] Confused about web2py sessions handling in the filesystem, versus the db handling.

2018-04-04 Thread Richard Vézina
DB sessions are so much more convenient... you only need one connection, not need to access remote server or sudo password etc... Walk the extra mile and set a cron job for session2trash clean up and you now have one less thing to check for... Depending on your workload, you don't have to do

Re: [web2py] Confused about web2py sessions handling in the filesystem, versus the db handling.

2018-04-04 Thread AlighaThor
Well, I will stick with DB sessions from now. Thanks! -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are

Re: [web2py] Confused about web2py sessions handling in the filesystem, versus the db handling.

2018-04-04 Thread Richard Vézina
About session clean up, I recently set it in place (finally) and I can assure you that db sessions get cleared as expected. About the FS sessions, I can say for sure but maybe it faster to just create another file than search the exsting file, then append or rewrite part of it... Finally it

[web2py] Re: Off-line RSS reader

2018-04-04 Thread Stelios Koroneos
Dave thanks ! Yes Beautifullsoup is the way to parse the html and determine for any additional resource fetching. There is also a nice thread 4 years back for a similar request https://groups.google.com/forum/?fromgroups#!searchin/web2py/rss$20reader%7Csort:date/web2py/3RzivktPaRI/3wNH4Xv31FEJ

[web2py] Flash messages

2018-04-04 Thread Maurice Waka
In web2py we have flash messages such as 'Success' when form is accepted etc. Is there a way to have an animation flash with a message such as 'loading', 'Please wait' in web2py as the page reloads? *** My pages sometimes take a few more seconds to open e.g. switching from index page to

[web2py] Re: FYI: A tutorial on how to customize export in SQLFORM.grid

2018-04-04 Thread Dave S
On Tuesday, April 3, 2018 at 7:49:43 AM UTC-7, Alex Beskopilny wrote: > > Hi! > exporter example > > 0 pip install xlwt > 1 at end of gluon/sqlhtml.py > > class ExporterXLS(ExportClass): > label = 'XLS' > file_ext = "xls" > content_type = ".xls" > #