@Carlos Cesar, I am in error trap. :(

I have done the same steps
git clone --recursive https://github.com/web2py/web2py.git
cd web2py
git checkout modular
cd gluon/packages/dal/
git checkout modular
cd ../../../
python setup.py
python web2py.py

But I am still getting the same error.

Please give me some direction.

 Regards/
SP

On Thu, Jan 3, 2019 at 6:46 PM Carlos Cesar Caballero Díaz <
carlos.caball...@cfg.jovenclub.cu> wrote:

> Hi, most of the compatibility imports where moved from gluon to pydal
> compat module, so, if web2py does not find the 'Cookie' module, is because
> it either is not imported in gluon or pydal, so, I think that you are not
> using the modular branch of pydal. Start the steps again as @sitfan post in
> his last message.
>
> Greetings.
> El 3/1/19 a las 12:33 a.m., sandeep patel escribió:
>
> @Carlos Cesar Caballero,
> I have taken the same steps as you suggested but I am getting the
> same error.
>
>
> Robodia@DESKTOP-E4IOU2U MINGW64
> /d/TestingWeb3py/web2py/gluon/packages/dal (modular)
> $ python ../../../setup.py
> Traceback (most recent call last):
>   File "../../../setup.py", line 4, in <module>
>     from gluon.fileutils import tar, untar, read_file, write_file
>   File "D:\TestingWeb3py\web2py\gluon\__init__.py", line 35, in <module>
>     from .globals import current
>   File "D:\TestingWeb3py\web2py\gluon\globals.py", line 16, in <module>
>     from gluon._compat import pickle, StringIO, copyreg, Cookie, urlparse,
> PY2,iteritems, to_unicode, to_native, \
> ImportError: cannot import name 'Cookie'
>
> Thanks
> SP
>
>
>
>
> On Thu, Jan 3, 2019 at 8:54 AM 黄祥 <steve.van.chris...@gmail.com> wrote:
>
>> yes, you r right, previous error before is due to the lack of step i took
>> - git checkout must run twice in web2py folder and
>> web2py/gluon/packages/dal
>> - execute python (setup.py) must be in web2py folder can't be from
>> another path e.g. web2py/gluon/packages/dal then python ../../../setup.py
>> will produce an error
>>
>> git clone --recursive https://github.com/web2py/web2py.git
>> cd web2py
>> git checkout modular
>> cd gluon/packages/dal/
>> git checkout modular
>> cd ../../../
>> python setup.py
>> python web2py.py
>>
>> 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.
>
> --
> 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.

Reply via email to