olbapito commented on issue #5481: Dashboard import error 
URL: 
https://github.com/apache/incubator-superset/issues/5481#issuecomment-412125348
 
 
   Same problem here
   I'm trying to move dashboards from 0.22.1 to 0.26.3
   
   500 - Internal Server Error
   Stacktrace
            Traceback (most recent call last):
     File "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1982, in 
wsgi_app
       response = self.full_dispatch_request()
     File "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1614, in 
full_dispatch_request
       rv = self.handle_user_exception(e)
     File "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1517, in 
handle_user_exception
       reraise(exc_type, exc_value, tb)
     File "/usr/local/lib/python3.5/dist-packages/flask/_compat.py", line 33, 
in reraise
       raise value
     File "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1612, in 
full_dispatch_request
       rv = self.dispatch_request()
     File "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1598, in 
dispatch_request
       return self.view_functions[rule.endpoint](**req.view_args)
     File "/usr/local/lib/python3.5/dist-packages/superset/models/core.py", 
line 903, in wrapper
       value = f(*args, **kwargs)
     File 
"/usr/local/lib/python3.5/dist-packages/flask_appbuilder/security/decorators.py",
 line 26, in wraps
       return f(self, *args, **kwargs)
     File "/usr/local/lib/python3.5/dist-packages/superset/views/core.py", line 
1196, in import_dashboards
       data = json.loads(f.stream.read(), object_hook=utils.decode_dashboards)
     File "/usr/local/lib/python3.5/dist-packages/simplejson/__init__.py", line 
535, in loads
       return cls(encoding=encoding, **kw).decode(s)
     File "/usr/local/lib/python3.5/dist-packages/simplejson/decoder.py", line 
370, in decode
       obj, end = self.raw_decode(s)
     File "/usr/local/lib/python3.5/dist-packages/simplejson/decoder.py", line 
400, in raw_decode
       return self.scan_once(s, idx=_w(s, idx).end())
   simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org
For additional commands, e-mail: notifications-h...@superset.apache.org

Reply via email to