[web2py] Re: Clearing cache for multiple processes / threads

2019-04-09 Thread William
Just 2 lines: cache.ram(cache_key, None) cache.disk(cache_key, None) Is there a way to clear cache for all processes? -- 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: Custom validator broken in 2.18.4, working in 2.17.2

2019-04-09 Thread David Manns
The original version works with 2.18.5 Thank you! On Thursday, April 4, 2019 at 4:52:37 PM UTC-4, David Manns wrote: > > The table in question has a field: > > Field('Paiddate', 'date', requires = [IS_EMPTY_OR(IS_DATE()), > IS_EMPTY_OR(IS_MEMBERSHIP_YEAR_END())]), > > The custom validator is:

[web2py] Convert in line Javascript to file

2019-04-09 Thread Ben Duncan
I have the following file i would like to put in a .js file. When I've tried in the past I get the "not a text/javascript" , "failed to load" error message. I know how to do the src="{{=URL('static','js/swal/swalerror.js')}}" > stuff. How would I go about doing this ? Thanks ...

Re: [web2py] Re: Why python anywhere stuck with web2py 2.15 version

2019-04-09 Thread Ron Chatterjee
Massimo, if python anywhere switch to web2py version of 2.17. Apps that was created using web2py version og 2.14, will still open up with 2.17. No? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.co

[web2py] Re: Convert in line Javascript to file

2019-04-09 Thread Anthony
Get rid of the

Re: [web2py] Re: Convert in line Javascript to file

2019-04-09 Thread Ben Duncan
Thanks DUH, I guess looking at it since 6 AM this morning was not good for MY brain cells. Anyway, thanks again ... *Ben Duncan* DBA / Chief Software Architect Mississippi State Supreme Court Electronic Filing Division On Tue, Apr 9, 2019 at 10:39 AM Anthony wrote: > Get rid of the

[web2py] Re: Modules not loading in python 3

2019-04-09 Thread João Matos
Try deleting the modules/*.pyc and modules/__pycache__/*.pyc. domingo, 7 de Abril de 2019 às 05:18:03 UTC+1, John Bannister escreveu: > > > Hi all, > > I have recently upgraded to python 3.6 from 2.7 running on Centos7 with > apache. Problem I am having is as follows:- > 1: I have a number of ap

[web2py] Apache AliasMatch recommendation from the web2py book is still required?

2019-04-09 Thread João Matos
Hello, The web2py book recommends changing (in my case adding) this AliasMatch ^/([^/]+)/static/(?:_[\d]+.[\d]+.[\d]+/)?(.*) "C:/web2py/applications/$1/static/$2" to Apache conf when caching static files with response.static_version = '0.0.0' response.static_version_urls = True Ho

[web2py] Re: Apache AliasMatch recommendation from the web2py book is still required?

2019-04-09 Thread João Matos
The Apache access.log always (with and without the AliasMatch) shows 192.168.56.1 - - [09/Apr/2019:23:15:38 +0100] "GET /ajc/static/_0.0.0/css/web2py-bootstrap4.css HTTP/1.1" 200 8372 192.168.56.1 - - [09/Apr/2019:23:15:38 +0100] "GET /ajc/static/_0.0.0/css/bootstrap.min.css HTTP/1.1" 200 144877

[web2py] The support of MongoDB is still experimental?

2019-04-09 Thread João Matos
Hello, The support of MongoDB is still experimental? Thanks, JM -- 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 a

[web2py] Re: The support of MongoDB is still experimental?

2019-04-09 Thread Anthony
I don't think so -- just that the book was never updated. On Tuesday, April 9, 2019 at 6:37:04 PM UTC-4, João Matos wrote: > > Hello, > > The support of MongoDB is still experimental? > > Thanks, > > JM > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.

[web2py] Re: The support of MongoDB is still experimental?

2019-04-09 Thread João Matos
Thanks Anthony. Who can confirm this? Is ti Massimo or is there another person in charge of MongoDB in web2py? terça-feira, 9 de Abril de 2019 às 23:59:36 UTC+1, Anthony escreveu: > > I don't think so -- just that the book was never updated. > > On Tuesday, April 9, 2019 at 6:37:04 PM UTC-4, Joã

[web2py] web2py 2.18.5 breaks mysql connection

2019-04-09 Thread varhus
Commit 59a9260c5d7b5677d207a90798c1058779dfe871 adds the following line to gluon/packages/dal/pydal/adapters/mysql.py (line 44 in 2.18.5): self.driver_args['password'] = password This does not work with MySQLdb.py. "TypeError: \'password\' is an invalid keyword argument for this f

[web2py] Re: quotes & invoices app

2019-04-09 Thread pollwerk
There is also something on Sourceforge: https://sourceforge.net/projects/facturalibre.berlios/ saying last updated in September 2014 Are there any improvements/new projects for ERP and Invoicing etc? Am Mittwoch, 16. Mai 2012 14:35:08 UTC+2 schrieb Alan Etkin: > > The second link is wrong. F

[web2py] 2.18.5 LI(_class="dropdown-divider") bug?

2019-04-09 Thread lucas
hey all, I have the following code under menu.py under 2.18.5: response.menu = [ (T('Lectures'), False, URL('default', 'subjects')), (T('Students'), False, URL('default', 'student')), (T('Professors'), False, URL('default', 'professor')), (T('Blog'), False, URL('default', 'blog'))

Re: [web2py] Re: The support of MongoDB is still experimental?

2019-04-09 Thread Lovedie JC
I use mongodb. It works well. I think digital Ocean.com implements it nicely On Wed, 10 Apr 2019, 02:09 João Matos wrote: > Thanks Anthony. Who can confirm this? Is ti Massimo or is there another > person in charge of MongoDB in web2py? > > > terça-feira, 9 de Abril de 2019 às 23:59:36 UTC+1, An