question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

an error when upgrade from caravel to superset. Pls help!

See original GitHub issue

Make sure these boxes are checked before submitting your issue - thank you!

  • I have checked the superset logs for python stacktraces and included it here as text if any
  • I have reproduced the issue with at least the latest released version of superset
  • I have checked the issue tracker for the same issue and I haven’t found one similar

Superset version

0.16.0

Expected results

show my slices

Actual results

500 - Internal Server Error

Steps to reproduce

  1. upgrade from caravel to superset 0.16.0
  2. use same SQLALCHEMY_DATABASE_URI(postgresql)
  3. db upgrade
  4. when I click ‘Slices’ menu, the error happens:
[2017-03-23 20:53:49,430] ERROR in app: Exception on /slicemodelview/list/ [GET]
Traceback (most recent call last):
  File "/home/www/superset/superset/utils.py", line 107, in __call__
    return self.cache[args]
KeyError: (5min order create test,)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/www/ENV/lib/python3.4/site-packages/sqlalchemy/engine/base.py", line 1182, in _execute_context
    context)
  File "/home/www/ENV/lib/python3.4/site-packages/sqlalchemy/engine/default.py", line 470, in do_execute
    cursor.execute(statement, parameters)
psycopg2.ProgrammingError: column datasources.filter_select_enabled does not exist
LINE 1: ..., datasources.is_hidden AS datasources_is_hidden, datasource...


The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/www/ENV/lib/python3.4/site-packages/flask/app.py", line 1982, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/www/ENV/lib/python3.4/site-packages/flask/app.py", line 1614, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/home/www/ENV/lib/python3.4/site-packages/flask/app.py", line 1517, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/home/www/ENV/lib/python3.4/site-packages/flask/_compat.py", line 33, in reraise
    raise value
  File "/home/www/ENV/lib/python3.4/site-packages/flask/app.py", line 1612, in full_dispatch_request
    rv = self.dispatch_request()
  File "/home/www/ENV/lib/python3.4/site-packages/flask/app.py", line 1598, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/home/www/ENV/lib/python3.4/site-packages/flask_appbuilder/security/decorators.py", line 26, in wraps
    return f(self, *args, **kwargs)
  File "/home/www/ENV/lib/python3.4/site-packages/flask_appbuilder/views.py", line 453, in list
    widgets=widgets)
...

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
xrmxcommented, Mar 23, 2017

Reproduce with latest release please

0reactions
mistercrunchcommented, Apr 23, 2018

Notice: this issue has been closed because it has been inactive for 395 days. Feel free to comment and request for this issue to be reopened.

Read more comments on GitHub >

github_iconTop Results From Across the Web

an error when upgrade from caravel to superset. Pls help! #2460
@xrmx ,thanks for your reply! I just tried version 0.17.1 and I encounter the same error, it seems there's some problem with db...
Read more >
airbnb/superset - Gitter
Hi there. I setup superset locally on my mac with docker and I'm trying to add a Redshift datasource. When I save it...
Read more >
Visualize Anything with Superset and Drill - The Dataist
Caravel went through a lot of evolution. It is now an Apache Incubating project and the name has changed to Apache (Incubating) Superset....
Read more >
embedding superset dashboard - You.com | The AI Search ...
Upgrade to Apache Superset 1.5 and enable the embedded dashboard functionality; Configure dashboard to be embedded; Implemented backend code to obtain JWT token....
Read more >
Superset (by Airbnb) - Cloudera Community - 250009
Superset is a data exploration platform designed to be visual, intuitive and interactive. [this project used to be named Caravel, and Panoramix ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found