I tried to run voila view command locally. I got errors and the browser only showed the filtering options and the table head. Could you help me with this? Thanks a lot, Botao.
/usr/local/lib/python3.5/dist-packages/h5py/_hl/dataset.py:313: H5pyDeprecationWarning: dataset.value has been deprecated. Use dataset[()] instead.
"Use dataset[()] instead.", H5pyDeprecationWarning)
ERROR:flask.app:Exception on /index-table [POST]
Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 2292, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1815, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1718, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python3.5/dist-packages/flask/_compat.py", line 35, in reraise
raise value
File "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1813, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1799, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/usr/local/lib/python3.5/dist-packages/voila/view/deltapsi.py", line 65, in index_table
dt.delta_psi_filters()
File "/usr/local/lib/python3.5/dist-packages/voila/view/datatables.py", line 109, in delta_psi_filters
self.extra_filter(lambda rs: any(r >= dpsi_thresh for r in json.loads(rs['dpsi_threshold'])))
File "/usr/local/lib/python3.5/dist-packages/voila/view/datatables.py", line 72, in extra_filter
self._records = list(r for r in self._records if filter_fn(r))
File "/usr/local/lib/python3.5/dist-packages/voila/view/datatables.py", line 72, in <genexpr>
self._records = list(r for r in self._records if filter_fn(r))
File "/usr/local/lib/python3.5/dist-packages/voila/view/datatables.py", line 109, in <lambda>
self.extra_filter(lambda rs: any(r >= dpsi_thresh for r in json.loads(rs['dpsi_threshold'])))
File "/usr/lib/python3.5/json/__init__.py", line 312, in loads
s.__class__.__name__))
TypeError: the JSON object must be str, not 'bytes_'