great, tested it

*environment*
$ uname
Darwin
$ python -V
Python 3.7.2

*steps*
git clone https://github.com/web2py/web3py
cd web3py
pip install -r requirements.txt
python web3py.py applications/
open http://localhost:8000/todo/index

*result in browser*
can add (save) and delete data in browser

*result in terminal*
Traceback (most recent call last):
  File "/Users/sugizo/Downloads/learn/web3py/web3py.py", line 149, in load
    self.data = jwt.decode(enc_data, self.secret, algorithms=[self.algorithm
])
  File 
"/Users/sugizo/miniconda3/envs/python3_test/lib/python3.7/site-packages/jwt/api_jwt.py"
, line 84, in decode
    payload, _, _, _ = self._load(jwt)
  File 
"/Users/sugizo/miniconda3/envs/python3_test/lib/python3.7/site-packages/jwt/api_jws.py"
, line 177, in _load
    binary_type))
jwt.exceptions.DecodeError: Invalid token type. Token must be a <class 
'bytes'>

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.

Reply via email to