[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 you get over the hump of the details is setting up the 
SP and all the options that go into the shibboleth XML file, we have not 
seen yet an IDP that is not pretty strait forward and we have done 
integrations against Shibboleth, ADFS, Azurre, OKTA and home grown SAML2 
IDPs. 





On Monday, December 31, 2018 at 10:33:36 PM UTC-5, 黄祥 wrote:
>
> cant access http://testshib.org
>
> following https://wiki.shibboleth.net/confluence/display/SHIB2/IdPInstall 
> *not succeed*
> docker pull debian
> docker run -it debian /bin/bash
>
> apt update
> apt install -y default-jdk curl unzip 
> export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64/jre/
> curl -L -O -C - http://
> shibboleth.net/downloads/identity-provider/latest/shibboleth-identity-provider-3.4.2.zip
> unzip shibboleth-identity-provider-*.zip
> shibboleth-identity-provider-*/bin/install.sh
> java -jar /opt/shibboleth-idp/war/idp.war
>
> no main manifest attribute, in /opt/shibboleth-idp/war/idp.war
>
> following 
> https://wiki.shibboleth.net/confluence/display/SHIB2/NativeSPLinuxRPMInstall
> *not succeed*
> docker pull centos
> docker run -it centos /bin/bash
>
> cat << EOF > /etc/yum.repos.d/shibboleth.repo
> [shibboleth]
> name=Shibboleth (CentOS_7)
> # Please report any problems to https://issues.shibboleth.net
> type=rpm-md
> mirrorlist=https://shibboleth.net/cgi-bin/mirrorlist.cgi/CentOS_7
> gpgcheck=1
> gpgkey=https://
> shibboleth.net/downloads/service-provider/RPMS/repomd.xml.key
> enabled=1
> EOF
> yum install -y shibboleth
> /sbin/service shibd start
>
> Redirecting to /bin/systemctl start shibd.service
> Failed to get D-Bus connection: Operation not permitted
>
> best regards,
> stifan
>
>

-- 
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 Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 broke in web2py?

Massimo

-- 
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 Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 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
>> 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 "/Users/sugizo/Downloads/learn/web3py/gluon/__init__.py", line 2, 
>> in 
>> from gluon.url import URL
>>   File "/Users/sugizo/Downloads/learn/web3py/gluon/url.py", line 3, in 
>> 
>> from gluon.utils import web2py_uuid, simple_hash, compare
>>   File "/Users/sugizo/Downloads/learn/web3py/gluon/utils.py", line 201
>> except Exception, e:
>> ^
>> SyntaxError: invalid syntax
>>
>> best regards,
>> stifan
>>
>

-- 
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 Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 "/Users/sugizo/Downloads/learn/web3py/gluon/__init__.py", line 2, in 

from gluon.url import URL
  File "/Users/sugizo/Downloads/learn/web3py/gluon/url.py", line 3, in 

from gluon.utils import web2py_uuid, simple_hash, compare
  File "/Users/sugizo/Downloads/learn/web3py/gluon/utils.py", line 201
except Exception, e:
^
SyntaxError: invalid syntax

best regards,
stifan

-- 
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 Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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
> 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 "/Users/sugizo/Downloads/learn/web3py/gluon/__init__.py", line 2, 
> in 
> from gluon.url import URL
>   File "/Users/sugizo/Downloads/learn/web3py/gluon/url.py", line 3, in 
> 
> from gluon.utils import web2py_uuid, simple_hash, compare
>   File "/Users/sugizo/Downloads/learn/web3py/gluon/utils.py", line 201
> except Exception, e:
> ^
> SyntaxError: invalid syntax
>
> best regards,
> stifan
>

-- 
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 Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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, December 31, 2018 at 7:24:00 PM UTC-5, Vlad wrote:
>
> originally I saw it elsewhere, but have just located it in the book:
>
> Multiple grids per controller function
>
> Because of the way grid works one can only have one grid per controller 
> function, unless they are embedded as components via LOAD. To make the 
> default search grid work in more than one LOADed grid, please use a 
> different formname for each one.
>
> this is from here: 
> http://www.web2py.com/books/default/chapter/29/07/forms-and-validators#SQLFORM-grid
>
> but given that it works just fine, or at least seems to work - I am 
> wondering what's the extent of the problem. I don't use ajax or even 
> different formnames - I simply threw a few grids on the page and didn't 
> notice anything wrong. 
>
> On Mon, Dec 31, 2018 at 7:11 PM  wrote:
>
>> Where is that warning?
>>
>> I also have multiple grids per page which work well.
>>
>> -- 
>> 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 Groups 
>> "web2py-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to web2py+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
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 Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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', 
callback=URL('tracker',vars=dict(contents=contents.id.id,art='zip')), 
_onclick="window.open('%s');" % download_file)}} 


and it should be in a view .htmlfile.
It assumes download_file is in scope. therefore it is either defined in a 
model file or it is passed from the controller to the view.

On Sunday, 30 December 2018 13:48:23 UTC-8, Stephan wrote:
>
> Hi,
> How do I put a variable in the 2a helper? %s does not seem to work within 
> {{=A 
>
> // download_file = "https://www.something.zip;
>
> {{=A('Your File', 
> callback=URL('tracker',vars=dict(contents=contents.id.id,art='zip')), 
> _onclick="window.open('%s');") % (download_file)}} 
> 
>
> Thanks for helping,
> Stephan
>

-- 
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 Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 functions will not work as expected, as a link clicked
> from one grid will control all grids on the page.
>
> Anthony
>
> On Monday, December 31, 2018 at 7:24:00 PM UTC-5, Vlad wrote:
>>
>> originally I saw it elsewhere, but have just located it in the book:
>>
>> Multiple grids per controller function
>>
>> Because of the way grid works one can only have one grid per controller
>> function, unless they are embedded as components via LOAD. To make the
>> default search grid work in more than one LOADed grid, please use a
>> different formname for each one.
>>
>> this is from here:
>> http://www.web2py.com/books/default/chapter/29/07/forms-and-validators#SQLFORM-grid
>>
>> but given that it works just fine, or at least seems to work - I am
>> wondering what's the extent of the problem. I don't use ajax or even
>> different formnames - I simply threw a few grids on the page and didn't
>> notice anything wrong.
>>
>> On Mon, Dec 31, 2018 at 7:11 PM  wrote:
>>
>>> Where is that warning?
>>>
>>> I also have multiple grids per page which work well.
>>>
>>> --
>>> 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
>>> Groups "web2py-users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to web2py+unsubscr...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
> 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 Groups
> "web2py-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to web2py+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 (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 Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 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 standalone python module
> 4) the scheduler were part of pydal
> 5) admin were a simpler vue.js app.
> 6) we could remove every filesystem IO (errors, sessions, uploads)
> 7) we had better out of the box distributed configurable caching.
> 8) auth logic were simpler and not tied to the current cookie/session/form
> logic.
> 9) SQLFORM and Grid were JS libraries that use Ajax for communication
>
> Then web2py -> web3py would be a thin layer using bottle and the above
> libs.
>
>
> --
> 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 Groups
> "web2py-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to web2py+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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:
gluon.contrib.pg8000.errors.ProgrammingError('no result set')

Any idea why this would be? Do I need to provide additional details? 

-- 
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 Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 
> "C:\Users\assus\Desktop\Flash\python3\web2py_2_17_2_src\web2py\gluon\packages\dal\pydal\objects.py",
>  line 2619, in export_to_csv_file
> writer.writerow(unquote_colnames(colnames))
> TypeError: a bytes-like object is required, not 'str'
>
>

-- 
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 Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 = current.globalenv['db']
>
> But when I try whatever query the database inside that module, I get an 
> error:
> gluon.contrib.pg8000.errors.ProgrammingError('no result set')
>
> Any idea why this would be? Do I need to provide additional details? 
>

-- 
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 Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 standalone python module
4) the scheduler were part of pydal
5) admin were a simpler vue.js app.
6) we could remove every filesystem IO (errors, sessions, uploads)
7) we had better out of the box distributed configurable caching.
8) auth logic were simpler and not tied to the current cookie/session/form 
logic.
9) SQLFORM and Grid were JS libraries that use Ajax for communication

Then web2py -> web3py would be a thin layer using bottle and the above libs.


-- 
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 Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 some help in:
- move scheduler and validator tests from gluon/tests to 
gluon/packages/dal/tests
- move (some) template tests to gluon/packages/template/tests
- create a gluon/packages/template/setup.py



On Tuesday, 1 January 2019 21:18:20 UTC-8, 黄祥 wrote:
>
> 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)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 "D:\TestingWeb3py\web2py\gluon\__init__.py", line 35, in 
from .globals import current
  File "D:\TestingWeb3py\web2py\gluon\globals.py", line 16, in 
from gluon._compat import pickle, StringIO, copyreg, Cookie,
urlparse, PY2,iteritems, to_unicode, to_native, \
ImportError: cannot import name 'Cookie'


Thanks

SP




On Wed, Jan 2, 2019 at 11:50 AM Massimo Di Pierro <
massimo.dipie...@gmail.com> wrote:

> 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 some help in:
> - move scheduler and validator tests from gluon/tests to
> gluon/packages/dal/tests
> - move (some) template tests to gluon/packages/template/tests
> - create a gluon/packages/template/setup.py
>
>
>
> On Tuesday, 1 January 2019 21:18:20 UTC-8, 黄祥 wrote:
>>
>> 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)
> - https://code.google.com/p/web2py/issues/list (Report Issues)
> ---
> You received this message because you are subscribed to the Google Groups
> "web2py-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to web2py+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.