{"action":"closed","issue":{"url":"https://api.github.com/repos/apache/incubator-superset/issues/3166","repository_url":"https://api.github.com/repos/apache/incubator-superset","labels_url":"https://api.github.com/repos/apache/incubator-superset/issues/3166/labels{/name}","comments_url":"https://api.github.com/repos/apache/incubator-superset/issues/3166/comments","events_url":"https://api.github.com/repos/apache/incubator-superset/issues/3166/events","html_url":"https://github.com/apache/incubator-superset/issues/3166","id":244176231,"number":3166,"title":"UTF-8 codec can't decode byte - Python 3.6 / Superset 1.8","user":{"login":"jerryhall","id":3231824,"avatar_url":"https://avatars0.githubusercontent.com/u/3231824?v=4","gravatar_id":"","url":"https://api.github.com/users/jerryhall","html_url":"https://github.com/jerryhall","followers_url":"https://api.github.com/users/jerryhall/followers","following_url":"https://api.github.com/users/jerryhall/following{/other_user}","gists_url":"https://api.github.com/users/jerryhall/gists{/gist_id}","starred_url":"https://api.github.com/users/jerryhall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jerryhall/subscriptions","organizations_url":"https://api.github.com/users/jerryhall/orgs","repos_url":"https://api.github.com/users/jerryhall/repos","events_url":"https://api.github.com/users/jerryhall/events{/privacy}","received_events_url":"https://api.github.com/users/jerryhall/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-07-19T21:14:28Z","updated_at":"2017-08-15T01:58:45Z","closed_at":"2017-08-15T01:58:45Z","body":"I was having UTF-8 encoding issues with my python 2.7 install so I upgraded to 3.6. Now I can't view any of my datatables or slices but, instead get this stacktrace:\r\n\r\nWas any guide published to help Superset users upgrade? I haven't been able to find any. \r\n\r\nAny help  would be appreciated. \r\n        Traceback (most recent call last):\r\n  File \"/home/ec2-user/.pyenv/versions/3.6.0/lib/python3.6/site-packages/flask/app.py\", line 1982, in wsgi_app\r\n    response = self.full_dispatch_request()\r\n  File \"/home/ec2-user/.pyenv/versions/3.6.0/lib/python3.6/site-packages/flask/app.py\", line 1614, in full_dispatch_request\r\n    rv = self.handle_user_exception(e)\r\n  File \"/home/ec2-user/.pyenv/versions/3.6.0/lib/python3.6/site-packages/flask/app.py\", line 1517, in handle_user_exception\r\n    reraise(exc_type, exc_value, tb)\r\n  File \"/home/ec2-user/.pyenv/versions/3.6.0/lib/python3.6/site-packages/flask/_compat.py\", line 33, in reraise\r\n    raise value\r\n  File \"/home/ec2-user/.pyenv/versions/3.6.0/lib/python3.6/site-packages/flask/app.py\", line 1612, in full_dispatch_request\r\n    rv = self.dispatch_request()\r\n  File \"/home/ec2-user/.pyenv/versions/3.6.0/lib/python3.6/site-packages/flask/app.py\", line 1598, in dispatch_request\r\n    return self.view_functions[rule.endpoint](**req.view_args)\r\n  File \"/home/ec2-user/.pyenv/versions/3.6.0/lib/python3.6/site-packages/superset/utils.py\", line 574, in wraps\r\n    return f(self, *args, **kwargs)\r\n  File \"/home/ec2-user/.pyenv/versions/3.6.0/lib/python3.6/site-packages/superset/views/core.py\", line 1672, in dashboard\r\n    if datasource and not self.datasource_access(datasource):\r\n  File \"/home/ec2-user/.pyenv/versions/3.6.0/lib/python3.6/site-packages/superset/views/base.py\", line 94, in datasource_access\r\n    self.schema_access(datasource, user=user) or\r\n  File \"/home/ec2-user/.pyenv/versions/3.6.0/lib/python3.6/site-packages/superset/views/base.py\", line 87, in schema_access\r\n    self.database_access(datasource.database, user=user) or\r\n  File \"/home/ec2-user/.pyenv/versions/3.6.0/lib/python3.6/site-packages/sqlalchemy/orm/attributes.py\", line 237, in __get__\r\n    return self.impl.get(instance_state(instance), dict_)\r\n  File \"/home/ec2-user/.pyenv/versions/3.6.0/lib/python3.6/site-packages/sqlalchemy/orm/attributes.py\", line 584, in get\r\n    value = self.callable_(state, passive)\r\n  File \"/home/ec2-user/.pyenv/versions/3.6.0/lib/python3.6/site-packages/sqlalchemy/orm/strategies.py\", line 557, in _load_for_state\r\n    return self._emit_lazyload(session, state, ident_key, passive)\r\n  File \"<string>\", line 1, in <lambda>\r\n  File \"/home/ec2-user/.pyenv/versions/3.6.0/lib/python3.6/site-packages/sqlalchemy/orm/strategies.py\", line 603, in _emit_lazyload\r\n    return loading.load_on_ident(q, ident_key)\r\n  File \"/home/ec2-user/.pyenv/versions/3.6.0/lib/python3.6/site-packages/sqlalchemy/orm/loading.py\", line 223, in load_on_ident\r\n    return q.one()\r\n  File \"/home/ec2-user/.pyenv/versions/3.6.0/lib/python3.6/site-packages/sqlalchemy/orm/query.py\", line 2814, in one\r\n    ret = self.one_or_none()\r\n  File \"/home/ec2-user/.pyenv/versions/3.6.0/lib/python3.6/site-packages/sqlalchemy/orm/query.py\", line 2784, in one_or_none\r\n    ret = list(self)\r\n  File \"/home/ec2-user/.pyenv/versions/3.6.0/lib/python3.6/site-packages/sqlalchemy/orm/loading.py\", line 90, in instances\r\n    util.raise_from_cause(err)\r\n  File \"/home/ec2-user/.pyenv/versions/3.6.0/lib/python3.6/site-packages/sqlalchemy/util/compat.py\", line 203, in raise_from_cause\r\n    reraise(type(exception), exception, tb=exc_tb, cause=cause)\r\n  File \"/home/ec2-user/.pyenv/versions/3.6.0/lib/python3.6/site-packages/sqlalchemy/util/compat.py\", line 187, in reraise\r\n    raise value\r\n  File \"/home/ec2-user/.pyenv/versions/3.6.0/lib/python3.6/site-packages/sqlalchemy/orm/loading.py\", line 75, in instances\r\n    rows = [proc(row) for row in fetch]\r\n  File \"/home/ec2-user/.pyenv/versions/3.6.0/lib/python3.6/site-packages/sqlalchemy/orm/loading.py\", line 75, in <listcomp>\r\n    rows = [proc(row) for row in fetch]\r\n  File \"/home/ec2-user/.pyenv/versions/3.6.0/lib/python3.6/site-packages/sqlalchemy/orm/loading.py\", line 437, in _instance\r\n    loaded_instance, populate_existing, populators)\r\n  File \"/home/ec2-user/.pyenv/versions/3.6.0/lib/python3.6/site-packages/sqlalchemy/orm/loading.py\", line 498, in _populate_full\r\n    dict_[key] = getter(row)\r\n  File \"/home/ec2-user/.pyenv/versions/3.6.0/lib/python3.6/site-packages/sqlalchemy/sql/type_api.py\", line 1122, in process\r\n    return process_value(impl_processor(value), dialect)\r\n  File \"/home/ec2-user/.pyenv/versions/3.6.0/lib/python3.6/site-packages/sqlalchemy_utils/types/encrypted.py\", line 261, in process_result_value\r\n    decrypted_value = self.engine.decrypt(value)\r\n  File \"/home/ec2-user/.pyenv/versions/3.6.0/lib/python3.6/site-packages/sqlalchemy_utils/types/encrypted.py\", line 89, in decrypt\r\n    decrypted = decrypted.decode('utf-8')\r\nUnicodeDecodeError: 'utf-8' codec can't decode byte 0xf1 in position 4: invalid continuation byte"}}
{"actor":{"display_login":"jerryhall"}}