superset/caravel
Riccardo Magliocchetti 8b694ddd7a Fix caching in python3 (#806)
* caravel: fix visualization cache for python3

python3 wants bytes and not strings:

2016-07-22 10:36:09,474:INFO:root:Caching for the next 28800 seconds
2016-07-22 10:36:09,475:WARNING:root:Could not cache key 1eeb45f32960f0df0ad99a125bdaf199
2016-07-22 10:36:09,475:ERROR:root:'str' does not support the buffer interface
Traceback (most recent call last):
  File "/home/rm/caraveltest/venv/lib/python3.4/site-packages/caravel/viz.py", line 306, in get_json
    zlib.compress(self.json_dumps(payload)),
TypeError: 'str' does not support the buffer interface

Tested with memcached and pylibmc client library.

* docs: add note about using a proper memcached client library
2016-07-22 09:45:51 -07:00
..
assets remove z-index from slice div and .nvtooltip (#793) 2016-07-21 12:30:40 -07:00
bin datetime format and database expression on column level (#652) 2016-06-27 21:33:44 -07:00
data Fix erroneous options for default slices (#730) 2016-07-10 19:37:02 -07:00
migrations Allowing to define a default format string per-metric (#750) 2016-07-13 23:45:05 -04:00
static Caravel - renaming files 2016-03-28 21:53:24 -07:00
templates [webpack] revert change to output extension (#760) 2016-07-14 18:19:52 -07:00
translations Fix small typo in message strings (#778) 2016-07-19 17:30:06 -04:00
__init__.py Removing deprecated refs to flask.ext.* (#566) 2016-06-05 21:37:03 -07:00
ascii_art.py Adding version subcommand to CLI (#329) 2016-04-13 17:27:20 -07:00
config.py Fix path for windows platfrom (#742) 2016-07-10 19:20:21 -07:00
forms.py Fix small typo in message strings (#778) 2016-07-19 17:30:06 -04:00
models.py In subquery use alias to do 'order by' (#795) 2016-07-21 17:53:25 -07:00
utils.py Fixes #721 - [mktime out of range] (#756) 2016-07-13 23:39:26 -04:00
version.py v0.10.0 2016-06-28 16:42:33 -07:00
views.py Allowing to define a default format string per-metric (#750) 2016-07-13 23:45:05 -04:00
viz.py Fix caching in python3 (#806) 2016-07-22 09:45:51 -07:00