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:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to