still got an error, tested redis last version (source) without password, in 
conda environment:
$ uname
Darwin
$ python -V
Python 3.7.3
$ pip list
Package          Version 
---------------- --------  
redis            3.2.1
$ ./web3py-start applications/
ERROR:root:Traceback (most recent call last):
  File "/Users/sugizo/learn/python/web3py/web3py/core.py", line 325, in 
wrapper
    [obj.on_success() for obj in fixtures]
  File "/Users/sugizo/learn/python/web3py/web3py/core.py", line 325, in 
<listcomp>
    [obj.on_success() for obj in fixtures]
  File "/Users/sugizo/learn/python/web3py/web3py/core.py", line 274, in 
on_success
    self.save()
  File "/Users/sugizo/learn/python/web3py/web3py/core.py", line 250, in save
    self.storage.set(cookie_data, json.dumps(self.local.data), self.
expiration)
  File 
"/Users/sugizo/learn/python/web3py/applications/_scaffold/controllers.py", 
line 18, in <lambda>
    conn.set = lambda key, value, expiration, cs=conn.set, ct=conn.ttl: (cs(
key, value), ct(expiration))
  File 
"/Users/sugizo/miniconda3/envs/python3_test/lib/python3.7/site-packages/redis/client.py"
, line 1511, in ttl
    return self.execute_command('TTL', name)
  File 
"/Users/sugizo/miniconda3/envs/python3_test/lib/python3.7/site-packages/redis/client.py"
, line 774, in execute_command
    connection.send_command(*args)
  File 
"/Users/sugizo/miniconda3/envs/python3_test/lib/python3.7/site-packages/redis/connection.py"
, line 620, in send_command
    self.send_packed_command(self.pack_command(*args))
  File 
"/Users/sugizo/miniconda3/envs/python3_test/lib/python3.7/site-packages/redis/connection.py"
, line 663, in pack_command
    for arg in imap(self.encoder.encode, args):
  File 
"/Users/sugizo/miniconda3/envs/python3_test/lib/python3.7/site-packages/redis/connection.py"
, line 125, in encode
    "byte, string or number first." % typename)
redis.exceptions.DataError: Invalid input of type: 'NoneType'. Convert to a 
byte, string or number first.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/sugizo/learn/python/web3py/web3py/core.py", line 353, in 
wrapper
    ret = func(*func_args, **func_kwargs)
  File "/Users/sugizo/learn/python/web3py/web3py/core.py", line 328, in 
wrapper
    [obj.on_error() for obj in fixtures]
  File "/Users/sugizo/learn/python/web3py/web3py/core.py", line 328, in 
<listcomp>
    [obj.on_error() for obj in fixtures]
  File "/Users/sugizo/learn/python/web3py/web3py/core.py", line 270, in 
on_error
    self.save()
  File "/Users/sugizo/learn/python/web3py/web3py/core.py", line 250, in save
    self.storage.set(cookie_data, json.dumps(self.local.data), self.
expiration)
  File 
"/Users/sugizo/learn/python/web3py/applications/_scaffold/controllers.py", 
line 18, in <lambda>
    conn.set = lambda key, value, expiration, cs=conn.set, ct=conn.ttl: (cs(
key, value), ct(expiration))
  File 
"/Users/sugizo/miniconda3/envs/python3_test/lib/python3.7/site-packages/redis/client.py"
, line 1511, in ttl
    return self.execute_command('TTL', name)
  File 
"/Users/sugizo/miniconda3/envs/python3_test/lib/python3.7/site-packages/redis/client.py"
, line 774, in execute_command
    connection.send_command(*args)
  File 
"/Users/sugizo/miniconda3/envs/python3_test/lib/python3.7/site-packages/redis/connection.py"
, line 620, in send_command
    self.send_packed_command(self.pack_command(*args))
  File 
"/Users/sugizo/miniconda3/envs/python3_test/lib/python3.7/site-packages/redis/connection.py"
, line 663, in pack_command
    for arg in imap(self.encoder.encode, args):
  File 
"/Users/sugizo/miniconda3/envs/python3_test/lib/python3.7/site-packages/redis/connection.py"
, line 125, in encode
    "byte, string or number first." % typename)
redis.exceptions.DataError: Invalid input of type: 'NoneType'. Convert to a 
byte, string or number first.

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