You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2021/06/22 21:11:16 UTC

[GitHub] [superset] linconcr opened a new issue #15307: SQLAlchemy error when upgrading Apache Superset

linconcr opened a new issue #15307:
URL: https://github.com/apache/superset/issues/15307


   When trying to run "superset db upgrade" I get an error message.
   
   
   ### Expected results
   
   I was expecting a successful message and program ready to use.
   
   ### Actual results
   
   sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) duplicate column name: filter_type [SQL: ALTER TABLE row_level_security_filters ADD COLUMN filter_type varchar(255)]
   
   #### Screenshots
   
   ![instalacao_superset_errosqlalchemy](https://user-images.githubusercontent.com/1051586/122998363-51b62480-d383-11eb-829a-c65b6905b760.jpg)
   
   #### How to reproduce the bug
   
   1. Run 'sudo apt-get install build-essential libssl-dev libffi-dev python-dev python-pip libsasl2-dev libldap2-dev'
   2. Run 'pip3 install virtualenv'
   3. Run 'python3 -m venv venv'
   4. Run '. venv/bin/activate'
   5. Run 'pip3 install apache-superset'
   6. Run 'pip3 install sqlalchemy==1.3.24' (had to downgrade existing version)
   7. Run 'superset db upgrade'
   8. 'See error
   
   ### Environment
   
   - Ubuntu 18.04 LTS;
   - superset version: 0.38.1
   - python version: 3.6.9
   - node.js version: 8.10.0
   - SQLAlchemy 1.3.24
   
   ### Checklist
   
   - [x] I have checked the superset logs for python stacktraces and included it here as text if there are any.
   - [x] I have reproduced the issue with at least the latest released version of superset.
   - [x] I have checked the issue tracker for the same issue and I haven't found one similar.
   
   ### Additional context
   
   I was able to complete the following tasks:
   i) install all required dependencies; 
   ii) install and start python virtual environment.
   
   This is a virtual machine.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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


[GitHub] [superset] linconcr closed issue #15307: SQLAlchemy error when upgrading Apache Superset

Posted by GitBox <gi...@apache.org>.
linconcr closed issue #15307:
URL: https://github.com/apache/superset/issues/15307


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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


[GitHub] [superset] linconcr commented on issue #15307: SQLAlchemy error when upgrading Apache Superset

Posted by GitBox <gi...@apache.org>.
linconcr commented on issue #15307:
URL: https://github.com/apache/superset/issues/15307#issuecomment-878304212


   This problem has been resolved. Steps I took to solve it:
   1. Remove all Apache Superset dependencies;
   2. Upgrade Ubuntu to 20.04;
   3. Install dependencies packages recommended on superset documentation (I did not use python virtual environment);
   4. Run superset installation (you might have to downgrade some packages).
   
   it seems that Ubuntu 18.04 was not compatible with latest version of Apache Superset and its dependencies. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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