Re: [web2py] Re: modular web2py - need help

2019-01-01 Thread sandeep patel
I am getting an ImportError error during setup. Steps: git clone --recursive https://github.com/web2py/web2py.git git checkout modular python setup.py Traceback (most recent call last): File "setup.py", line 4, in from gluon.fileutils import tar, untar, read_file, write_file File

[web2py] Re: modular web2py - need help

2019-01-01 Thread Massimo Di Pierro
It passes all tests now. it is not finished yet but I succeeded in moving scheduler and validators into pydal (they depend on it anyway) and making template stand alone (I found some pre-existing bugs in it). I did not publish the latter to pypi but I will do it later in the week. I could use

[web2py] Re: modular web2py - need help

2019-01-01 Thread 黄祥
pardon, just following your new year's wish in another thread, think it would be web3py repo ok, going to try after it's ready thx n best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] Re: modular web2py - need help

2019-01-01 Thread Massimo Di Pierro
Mind I found some errors myself. You want to wait 1-2h so that I fix those first On Tuesday, 1 January 2019 16:52:39 UTC-8, Massimo Di Pierro wrote: > > You are looking at the wrong thing. That is some very old code and it is > not going anywhere. > > git clone --recursive

[web2py] Re: modular web2py - need help

2019-01-01 Thread Massimo Di Pierro
You are looking at the wrong thing. That is some very old code and it is not going anywhere. git clone --recursive https://github.com/web2py/web2py.git git fecth modular git checkout modular Massimo On Tuesday, 1 January 2019 16:35:53 UTC-8, 黄祥 wrote: > > how to test it ? > $ python -V >

[web2py] Re: modular web2py - need help

2019-01-01 Thread 黄祥
how to test it ? $ python -V Python 3.6.7 :: Anaconda, Inc. $ git clone --recursive https://github.com/web2py/web3py $ python web3py/start.py Traceback (most recent call last): File "web3py/start.py", line 8, in from gluon.main import main_wsgi_app, main File

Re: [web2py] Happy New Year

2019-01-01 Thread 黄祥
happy new year \(^o^)/ is this based on the discussion before? *ref:* https://groups.google.com/forum/#!msg/web2py/89a846kPeGA/nUpNJB_VCAAJ best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] modular web2py - need help

2019-01-01 Thread Massimo Di Pierro
Based on my new years resolution: - I posted a new web2py branch called modular. - I moved template.py into its own folder planning to make its own package - I refactored validators.py and scheduler.py and moved them into pydal (also branch modula) Thoughts? Can you help testing that nothing

[web2py] Re: An Easy way to Support ADFS / AZURE / OKTA / Sibboleth and other SAML2 SSO Scenarios

2019-01-01 Thread Pbop
Should be http://www.testshib.org/ Once your SP is installed test it against the IDP at... https://samltest.id/start-sp-test/ Or set up a test account with OKTA which has a free IDP account you can create. Pretty sure the same is true for Azure, but that was provided to me by the client. Once

Re: [web2py] Happy New Year

2019-01-01 Thread sandeep patel
Happy New Year to you too, I wish, Developer Tool Kit, which mak working on web3py fun and easy. On Wed, Jan 2, 2019 at 12:30 AM Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > Happy new year everybody. I hope this is the year we can have a minimalist > web3py for everybody to play

[web2py] Happy New Year

2019-01-01 Thread Massimo Di Pierro
Happy new year everybody. I hope this is the year we can have a minimalist web3py for everybody to play with. Let's start again collecting some wishes. I start. I wish: 1) template.py where a standalone python module 2) html.py where a standalone python module 3) validators.py where a

[web2py] Re: pg8000.errors.ProgrammingError 'no result set' when querying database from module

2019-01-01 Thread Massimo Di Pierro
we no longer support nor ship pg8000. Too many problems. On Tuesday, 1 January 2019 08:21:06 UTC-8, Ur. Kr. wrote: > > Web2py version: Version 2.8.2-stable+timestamp.2013.11.28.07.51.37 > > in a module, I'm setting up a db object like so: > > from gluon import current > > db =

[web2py] Re: error exporting data (CSV) using smartgrid

2019-01-01 Thread Massimo Di Pierro
I think this may be fixed in the master branch. Can you try it? On Sunday, 30 December 2018 20:34:15 UTC-8, Web2_3py wrote: > > for me: > > *export_to_csv_file* > > under python2 , no problem > > under python3 , the following problem > > File >

[web2py] Re: How to put a variable in the A helper?

2019-01-01 Thread Massimo Di Pierro
This {{=A('Your File', callback=URL('tracker',vars=dict(contents=contents.id.id,art='zip')), _onclick="window.open('%s');") % (download_file)}} should be {{=A('Your File',

Re: [web2py] Re: Upload CSV file though app admin getting an error in 2.17.2

2019-01-01 Thread Donald McClymont
There is an open issue #2015 about this and some proposed changes that get it working on python 3 - however would like some confirmation that this is the best way to fix it. https://github.com/web2py/web2py/issues/2015 Donald -- Resources: - http://web2py.com - http://web2py.com/book

Re: [web2py] Re: multiple grids per one page

2019-01-01 Thread Eliezer (Vlad) Tseytkin
got it, I was lucky enough to use them in display-only mode - thank you! On Tue, Jan 1, 2019 at 11:35 AM Anthony wrote: > Multiple grids will display, but because each grid uses request.args and > request.get_vars for its internal functionality (sort, search, add, view, > edit, delete), those

Re: [web2py] Re: multiple grids per one page

2019-01-01 Thread Anthony
Multiple grids will display, but because each grid uses request.args and request.get_vars for its internal functionality (sort, search, add, view, edit, delete), those functions will not work as expected, as a link clicked from one grid will control all grids on the page. Anthony On Monday,

[web2py] pg8000.errors.ProgrammingError 'no result set' when querying database from module

2019-01-01 Thread Ur. Kr.
Web2py version: Version 2.8.2-stable+timestamp.2013.11.28.07.51.37 in a module, I'm setting up a db object like so: from gluon import current db = current.globalenv['db'] But when I try whatever query the database inside that module, I get an error: