This repository was archived by the owner on Jun 4, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Getting a Python 2 traceback: ``` Traceback (most recent call last): File "/home/circleci/repo/venv/lib/python2.7/site-packages/flask/app.py", line 2292, in wsgi_app response = self.full_dispatch_request() File "/home/circleci/repo/venv/lib/python2.7/site-packages/flask/app.py", line 1815, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/circleci/repo/venv/lib/python2.7/site-packages/flask/app.py", line 1718, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/circleci/repo/venv/lib/python2.7/site-packages/flask/app.py", line 1813, in full_dispatch_request rv = self.dispatch_request() File "/home/circleci/repo/venv/lib/python2.7/site-packages/flask/app.py", line 1799, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/circleci/repo/dash/dash/dash.py", line 324, in serve_layout cls=plotly.utils.PlotlyJSONEncoder), File "/usr/local/lib/python2.7/json/__init__.py", line 251, in dumps sort_keys=sort_keys, **kw).encode(obj) File "/home/circleci/repo/venv/lib/python2.7/site-packages/plotly/utils.py", line 168, in encode encoded_o = super(PlotlyJSONEncoder, self).encode(o) File "/usr/local/lib/python2.7/json/encoder.py", line 207, in encode chunks = self.iterencode(o, _one_shot=True) File "/usr/local/lib/python2.7/json/encoder.py", line 270, in iterencode return _iterencode(o, 0) File "/home/circleci/repo/venv/lib/python2.7/site-packages/plotly/utils.py", line 236, in default return _json.JSONEncoder.default(self, obj) File "/usr/local/lib/python2.7/json/encoder.py", line 184, in default raise TypeError(repr(o) + " is not JSON serializable") File "/home/circleci/repo/dash/dash/development/base_component.py", line 284, in __repr__ for wc_attr in self._valid_wildcard_attributes AttributeError: 'TestComponent' object has no attribute '_valid_wildcard_attributes' ```
- Loading branch information