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 2022/07/29 11:40:45 UTC

[GitHub] [superset] shafad1 opened a new issue, #20914: Superset 2.0 is not able to install.. it seems this version is not stable

shafad1 opened a new issue, #20914:
URL: https://github.com/apache/superset/issues/20914

   A clear and concise description of what the bug is.
   
   #### How to reproduce the bug
   
   1. Go to linux server
   2. pip install pip install apache-superset
   
   getting the following error
   Traceback (most recent call last):
     File "/home/dbaseuser/venv/bin/superset", line 6, in <module>
       from pkg_resources import load_entry_point
     File "/home/dbaseuser/venv/lib64/python3.8/site-packages/pkg_resources/__init__.py", line 3252, in <module>
       def _initialize_master_working_set():
     File "/home/dbaseuser/venv/lib64/python3.8/site-packages/pkg_resources/__init__.py", line 3235, in _call_aside
       f(*args, **kwargs)
     File "/home/dbaseuser/venv/lib64/python3.8/site-packages/pkg_resources/__init__.py", line 3264, in _initialize_master_working_set
       working_set = WorkingSet._build_master()
     File "/home/dbaseuser/venv/lib64/python3.8/site-packages/pkg_resources/__init__.py", line 585, in _build_master
       return cls._build_from_requirements(__requires__)
     File "/home/dbaseuser/venv/lib64/python3.8/site-packages/pkg_resources/__init__.py", line 598, in _build_from_requirements
       dists = ws.resolve(reqs, Environment())
     File "/home/dbaseuser/venv/lib64/python3.8/site-packages/pkg_resources/__init__.py", line 786, in resolve
       raise DistributionNotFound(req, requirers)
   pkg_resources.DistributionNotFound: The 'cachelib<0.5,>=0.4.1' distribution was not found and is required by apache-superset
   


-- 
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.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] Navid61 commented on issue #20914: Error installing Superset 2.0

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

   I had try to install via source and pip, I did upgrade pip to latest version and I did try to install on venv abd even without venv environment


-- 
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] Enzozzzz commented on issue #20914: Error installing Superset 2.0

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

   pip install werkzeug


-- 
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] EMCP commented on issue #20914: Error installing Superset 2.0

Posted by "EMCP (via GitHub)" <gi...@apache.org>.
EMCP commented on issue #20914:
URL: https://github.com/apache/superset/issues/20914#issuecomment-1445460038

   Since my last post, I noticed a new bug has popped up  #22571 , in there.. there's a tip to do some one-liner that pip installs.. I don't trust one-liners off web assets so I went ahead and printed out the command .. this is what ended up working now with v2.0.1
   
   Ubuntu 20.04 and Py38 
   
   ```
   pip install --upgrade pip
   sudo -u ubuntu pip install --upgrade pip --no-warn-script-location
   sudo -u ubuntu pip install testresources --no-warn-script-location
   sudo -u ubuntu pip install aiohttp==3.8.1 aiosignal==1.2.0 alembic==1.6.5 amqp==5.1.0 apispec[yaml]==3.3.2 async-timeout==4.0.2 attrs==21.2.0 babel==2.9.1 backoff==1.11.1 billiard==3.6.4.0 bleach==3.3.1 brotli==1.0.9 cachelib==0.4.1 celery==5.2.2 cffi==1.14.6 charset-normalizer==2.0.4 click==8.0.4 click-didyoumean==0.3.0 click-plugins==1.1.1 click-repl==0.2.0 colorama==0.4.4 convertdate==2.4.0 cron-descriptor==1.2.24 croniter==1.0.15 cryptography==3.4.7 deprecation==2.1.0 dnspython==2.1.0 email-validator==1.1.3 flask==2.0.3 flask-appbuilder==4.1.3 flask-babel==1.0.0 flask-caching==1.10.1 flask-compress==1.10.1 flask-jwt-extended==4.3.1 flask-login==0.4.1 flask-migrate==3.1.0 flask-sqlalchemy==2.5.1 flask-talisman==0.8.1 flask-wtf==0.14.3 frozenlist==1.3.0 func-timeout==4.3.5 geographiclib==1.52 geopy==2.2.0 graphlib-backport==1.0.3 gunicorn==20.1.0 hashids==1.3.1 holidays==0.14.2 humanize==3.11.0 idna==3.2 isodate==0.6.0 itsdangerous==2.1.1 jinja2==3.0.3 jsonschema==3.2.0 kombu==5
 .2.4 korean-lunar-calendar==0.2.1 mako==1.1.4 markdown==3.3.4 markupsafe==2.0.1 marshmallow==3.13.0 marshmallow-enum==1.5.1 marshmallow-sqlalchemy==0.23.1 msgpack==1.0.2 multidict==5.1.0 numpy==1.22.1 packaging==21.3 pandas==1.3.4 parsedatetime==2.6 pgsanity==0.2.9 polyline==1.4.0 prison==0.2.1 prompt-toolkit==3.0.28 pyarrow==5.0.0 pycparser==2.20 pyjwt==2.4.0 pymeeus==0.5.11 pyparsing==3.0.6 pyrsistent==0.16.1 python-dateutil==2.8.2 python-dotenv==0.19.0 python-editor==1.0.4 python-geohash==0.8.5 pytz==2021.3 pyyaml==5.4.1 redis==3.5.3 selenium==3.141.0 simplejson==3.17.3 six==1.16.0 slackclient==2.5.0 sqlalchemy==1.3.24 sqlalchemy-utils==0.37.8 sqlparse==0.3.0 tabulate==0.8.9 typing-extensions==3.10.0.0 urllib3==1.26.6 vine==5.0.0 wcwidth==0.2.5 webencodings==0.5.1 werkzeug==2.0.3 wtforms==2.3.3 wtforms-json==0.3.3 yarl==1.6.3 --no-warn-script-location
   sudo -u ubuntu pip install psycopg2-binary pillow gunicorn gevent --no-warn-script-location
   sudo -u ubuntu pip install requests --upgrade --no-warn-script-location
   sudo -u ubuntu pip install trino thrift pyhive --no-warn-script-location
   
   status-set maintenance "About to pip install apache-superset $(date +"%H:%M")"
   juju-log -l "WARNING" "About to pip install apache-superset"
   sudo -u ubuntu pip install apache-superset --no-warn-script-location
   ```


-- 
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] EMCP commented on issue #20914: Error installing Superset 2.0

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

   I was able to workaround ALL the issues with ApacheSuperset by backing OFF of 22.04 (python 3.10 is the version in that ubuntu and it's too new for some of the debpendencies of the project) 
   
   So with python 3.8 within Ubuntu 20.04 LTS.. I do the following and all is working
   
   ```
   apt-get update
   apt-get -y upgrade
   apt-get -y install build-essential libssl-dev libffi-dev python3-dev python3-pip libsasl2-dev libldap2-dev default-libmysqlclient-dev libpq-dev python-is-python3
   
   juju-log -l "WARNING" "Apt dependencies installed"
   status-set maintenance "Apt dependencies installed $(date +"%H:%M")"
   
   pip install --upgrade pip
   sudo -u ubuntu pip install --upgrade pip --no-warn-script-location
   sudo -u ubuntu pip install werkzeug==2.0.3 --no-warn-script-location
   sudo -u ubuntu pip install flask==2.1.3 --no-warn-script-location
   sudo -u ubuntu pip install wtforms==2.3.0 --no-warn-script-location
   sudo -u ubuntu pip install --upgrade pyopenssl --no-warn-script-location
   sudo -u ubuntu pip install psycopg2-binary pillow gunicorn gevent --no-warn-script-location
   
   status-set maintenance "About to pip install apache-superset $(date +"%H:%M")"
   juju-log -l "WARNING" "About to pip install apache-superset"
   sudo -u ubuntu pip install apache-superset --no-warn-script-location
   status-set maintenance "apache-superset installed, beginning db upgrade $(date +"%H:%M")"
   juju-log -l "WARNING" "apache-superset installed, beginning db upgrade"
   
   sudo touch /etc/profile.d/superset.sh
   echo -e 'export FLASK_APP=superset' >> /etc/profile.d/superset.sh
     
   export FLASK_APP=superset
   sudo -u ubuntu FLASK_APP=superset /home/ubuntu/.local/bin/superset db upgrade
   sudo -u ubuntu FLASK_APP=superset /home/ubuntu/.local/bin/superset fab create-admin --username admin --firstname admin --lastname user --email admin@some.co --password 09876 
   
   install_example_data="$(config-get install_example_data)"
   if $install_example_data; then
     sudo -u ubuntu FLASK_APP=superset /home/ubuntu/.local/bin/superset load_examples
   else
     juju-log -l "WARNING" "Forgoing superset load_examples"
     status-set maintenance "Forgoing superset load_examples $(date +"%H:%M")"
   fi
   sudo -u ubuntu FLASK_APP=superset /home/ubuntu/.local/bin/superset init
   ```


-- 
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] shafad1 commented on issue #20914: Error installing Superset 2.0

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

   > Same issue.
   > 
   > Temporarily resolved by commenting out the include
   > 
   > https://github.com/apache/superset/blob/1ebdaac487ec1684050174957a1d5699912bf001/superset/utils/cache.py#L28
   > 
   > And removing it's reference as a return type.
   > 
   > https://github.com/apache/superset/blob/1ebdaac487ec1684050174957a1d5699912bf001/superset/utils/cache.py#L178
   
   due to commenting this , how to make sure other issues will not be there


-- 
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] EMCP commented on issue #20914: Error installing Superset 2.0

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

   I am seeing similar errors with pip installation , what fixed it was upgrading pip to latest.. then all warnings about deps went away
   
   Ubuntu 20.04 (inside an LXC container)
   
   ```
    sudo pip3 install --upgrade pip                                                  
   Collecting pip                                                                                            
     Downloading pip-22.2.1-py3-none-any.whl (2.0 MB)                                                        
        |████████████████████████████████| 2.0 MB 6.9 MB/s                                                   
   Installing collected packages: pip                                                                        
     Attempting uninstall: pip                                                                               
       Found existing installation: pip 20.0.2                                                               
       Not uninstalling pip at /usr/lib/python3/dist-packages, outside environment /usr                      
       Can't uninstall 'pip'. No files were found to uninstall.                                              
   Successfully installed pip-22.2.1                                                                         
   ubuntu@juju-e920ce-32:~$ pip --version                                                                    
   pip 22.2.1 from /home/ubuntu/.local/lib/python3.8/site-packages/pip (python 3.8)                          
   ubuntu@juju-e920ce-32:~$ python3 --version                                                                
   Python 3.8.10                                                                                             
   ubuntu@juju-e920ce-32:~$ pip install apache-superset                                                      
   Defaulting to user installation because normal site-packages is not writeable                             
   Collecting apache-superset                                                                                
     Downloading apache-superset-2.0.0.tar.gz (40.8 MB)                                                      
        ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 40.8/40.8 MB 9.1 MB/s eta 0:00:00      
   ....
   Successfully installed Babel-2.10.3 Flask-Babel-2.0.0 Flask-JWT-Extended-4.4.3 Flask-Login-0.6.2 Flask-SQLAlchemy-2.5.1 Jinja2-3.1.2 Mako-1.2.1 MarkupSafe-2.1.1 PyJWT-2.4.0 PySocks-1.7.1 WTForms-2.3.3 Werkzeug-2.2.1 aiohttp-3.8.1 aiosignal-1.2.0 alembic-1.8.1 amqp-5.1.1 apache-superset-2.0.0 apispec-3.3.2 async-generator-1.10 async-timeout-4.0.2 backoff-2.1.2 billiard-3.6.4.0 bleach-3.3.1 brotli-1.0.9 cachelib-0.4.1 celery-5.2.7 cffi-1.15.1 charset-normalizer-2.1.0 click-8.1.3 click-didyoumean-0.3.0 click-plugins-1.1.1 click-repl-0.2.0 convertdate-2.4.0 cron-descriptor-1.2.31 croniter-1.3.5 cryptography-37.0.4 deprecated-1.2.13 deprecation-2.1.0 dnspython-2.2.1 email-validator-1.2.1 flask-2.1.3 flask-appbuilder-4.1.3 flask-caching-1.11.1 flask-compress-1.12 flask-migrate-3.1.0 flask-talisman-1.0.0 flask-wtf-0.15.1 frozenlist-1.3.0 func_timeout-4.3.5 geographiclib-1.52 geopy-2.2.0 graphlib-backport-1.0.3 gunicorn-20.1.0 h11-0.13.0 hashids-1.3.1 holidays-0.10.3 humanize-4.2.3 import
 lib-metadata-4.12.0 importlib-resources-5.9.0 isodate-0.6.1 itsdangerous-2.1.2 kombu-5.2.4 korean_lunar_calendar-0.2.1 markdown-3.4.1 marshmallow-3.17.0 marshmallow-enum-1.5.1 marshmallow-sqlalchemy-0.26.1 msgpack-1.0.4 multidict-6.0.2 numpy-1.22.1 outcome-1.2.0 packaging-21.3 pandas-1.3.5 parsedatetime-2.6 pgsanity-0.2.9 polyline-1.4.0 prison-0.2.1 prompt-toolkit-3.0.30 pyarrow-5.0.0 pycparser-2.21 pymeeus-0.5.11 pyparsing-3.0.9 python-dateutil-2.8.2 python-dotenv-0.20.0 python-geohash-0.8.5 pytz-2022.1 pyyaml-6.0 redis-4.3.4 selenium-4.3.0 slackclient-2.5.0 sniffio-1.2.0 sortedcontainers-2.4.0 sqlalchemy-1.3.24 sqlalchemy-utils-0.37.9 sqlparse-0.3.0 tabulate-0.8.9 trio-0.21.0 trio-websocket-0.9.2 typing-extensions-3.10.0.2 urllib3-1.26.11 vine-5.0.0 wcwidth-0.2.5 webencodings-0.5.1 wrapt-1.14.1 wsproto-1.1.0 wtforms-json-0.3.5 yarl-1.7.2 zipp-3.8.1
   ```
   
   If you still have issues, what I do in past is preinstall on certain pinned versions until the errors go away.. you can also do this by installing apache-superset via poetry project and inspect the `poetry.lock` file 


-- 
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] shafad1 commented on issue #20914: Error installing Superset 2.0

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

   getting issues while installing.. could not find any proper fix.  no confidence to use this in any production environment.


-- 
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] Navid61 commented on issue #20914: Error installing Superset 2.0

Posted by "Navid61 (via GitHub)" <gi...@apache.org>.
Navid61 commented on issue #20914:
URL: https://github.com/apache/superset/issues/20914#issuecomment-1438032155

   I installed apache suprerset from scratch when I did run command "superset db upgrade" I got this error, I'm using LMDE 5 (Linux mint Debian 11 version).
   
   Traceback (most recent call last):
     File "/home/sigma/venv/bin/superset", line 11, in <module>
       load_entry_point('apache-superset==2.0.1', 'console_scripts', 'superset')()
     File "/home/sigma/venv/lib/python3.9/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point
       return get_distribution(dist).load_entry_point(group, name)
     File "/home/sigma/venv/lib/python3.9/site-packages/pkg_resources/__init__.py", line 2852, in load_entry_point
       return ep.load()
     File "/home/sigma/venv/lib/python3.9/site-packages/pkg_resources/__init__.py", line 2443, in load
       return self.resolve()
     File "/home/sigma/venv/lib/python3.9/site-packages/pkg_resources/__init__.py", line 2449, in resolve
       module = __import__(self.module_name, fromlist=['__name__'], level=0)
     File "/home/sigma/venv/lib/python3.9/site-packages/superset/__init__.py", line 21, in <module>
       from superset.app import create_app
     File "/home/sigma/venv/lib/python3.9/site-packages/superset/app.py", line 23, in <module>
       from superset.initialization import SupersetAppInitializer
     File "/home/sigma/venv/lib/python3.9/site-packages/superset/initialization/__init__.py", line 33, in <module>
       from superset.extensions import (
     File "/home/sigma/venv/lib/python3.9/site-packages/superset/extensions/__init__.py", line 32, in <module>
       from superset.utils.cache_manager import CacheManager
     File "/home/sigma/venv/lib/python3.9/site-packages/superset/utils/cache_manager.py", line 24, in <module>
       from superset.utils.core import DatasourceType
     File "/home/sigma/venv/lib/python3.9/site-packages/superset/utils/core.py", line 76, in <module>
       from cryptography.hazmat.backends.openssl.x509 import _Certificate
   ModuleNotFoundError: No module named 'cryptography.hazmat.backends.openssl.x509'
   


-- 
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] Navid61 commented on issue #20914: Superset 2.0 is not able to install.. it seems this version is not stable

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

   I got this error, I think this version is not stable!
   -----------------------------------------------------------------------------
                                       WARNING
   --------------------------------------------------------------------------------
   A Default SECRET_KEY was detected, please use superset_config.py to override it.
   Use a strong complex alphanumeric string and use a tool to help you generate 
   a sufficiently random sequence, ex: openssl rand -base64 42
   --------------------------------------------------------------------------------
   --------------------------------------------------------------------------------
   logging was configured successfully
   2022-07-29 16:48:39,145:INFO:superset.utils.logging_configurator:logging was configured successfully
   2022-07-29 16:48:39,152:INFO:root:Configured event logger of type <class 'superset.utils.log.DBEventLogger'>
   Falling back to the built-in cache, that stores data in the metadata database, for the following cache: `FILTER_STATE_CACHE_CONFIG`. It is recommended to use `RedisCache`, `MemcachedCache` or another dedicated caching backend for production deployments
   2022-07-29 16:48:39,156:WARNING:superset.utils.cache_manager:Falling back to the built-in cache, that stores data in the metadata database, for the following cache: `FILTER_STATE_CACHE_CONFIG`. It is recommended to use `RedisCache`, `MemcachedCache` or another dedicated caching backend for production deployments
   Falling back to the built-in cache, that stores data in the metadata database, for the following cache: `EXPLORE_FORM_DATA_CACHE_CONFIG`. It is recommended to use `RedisCache`, `MemcachedCache` or another dedicated caching backend for production deployments
   2022-07-29 16:48:39,161:WARNING:superset.utils.cache_manager:Falling back to the built-in cache, that stores data in the metadata database, for the following cache: `EXPLORE_FORM_DATA_CACHE_CONFIG`. It is recommended to use `RedisCache`, `MemcachedCache` or another dedicated caching backend for production deployments
   No PIL installation found
   2022-07-29 16:48:39,419:INFO:superset.utils.screenshots:No PIL installation found
   Syncing role definition
   2022-07-29 16:48:42,015:INFO:superset.security.manager:Syncing role definition
   Syncing Admin perms
   2022-07-29 16:48:42,027:INFO:superset.security.manager:Syncing Admin perms
   Syncing Alpha perms
   2022-07-29 16:48:42,110:INFO:superset.security.manager:Syncing Alpha perms
   Syncing Gamma perms
   2022-07-29 16:48:42,187:INFO:superset.security.manager:Syncing Gamma perms
   Syncing granter perms
   2022-07-29 16:48:42,265:INFO:superset.security.manager:Syncing granter perms
   Syncing sql_lab perms
   2022-07-29 16:48:42,343:INFO:superset.security.manager:Syncing sql_lab perms
   Fetching a set of all perms to lookup which ones are missing
   2022-07-29 16:48:42,418:INFO:superset.security.manager:Fetching a set of all perms to lookup which ones are missing
   Creating missing datasource permissions.
   2022-07-29 16:48:42,488:INFO:superset.security.manager:Creating missing datasource permissions.
   Traceback (most recent call last):
     File "/home/sigma/venv/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 1276, in _execute_context
       self.dialect.do_execute(
     File "/home/sigma/venv/lib/python3.9/site-packages/sqlalchemy/engine/default.py", line 608, in do_execute
       cursor.execute(statement, parameters)
   sqlite3.OperationalError: no such table: tables
   
   The above exception was the direct cause of the following exception:
   
   Traceback (most recent call last):
     File "/home/sigma/venv/bin/superset", line 11, in <module>
       load_entry_point('apache-superset', 'console_scripts', 'superset')()
     File "/home/sigma/venv/lib/python3.9/site-packages/click/core.py", line 1128, in __call__
       return self.main(*args, **kwargs)
     File "/home/sigma/venv/lib/python3.9/site-packages/flask/cli.py", line 601, in main
       return super().main(*args, **kwargs)
     File "/home/sigma/venv/lib/python3.9/site-packages/click/core.py", line 1053, in main
       rv = self.invoke(ctx)
     File "/home/sigma/venv/lib/python3.9/site-packages/click/core.py", line 1659, in invoke
       return _process_result(sub_ctx.command.invoke(sub_ctx))
     File "/home/sigma/venv/lib/python3.9/site-packages/click/core.py", line 1395, in invoke
       return ctx.invoke(self.callback, **ctx.params)
     File "/home/sigma/venv/lib/python3.9/site-packages/click/core.py", line 754, in invoke
       return __callback(*args, **kwargs)
     File "/home/sigma/venv/lib/python3.9/site-packages/click/decorators.py", line 26, in new_func
       return f(get_current_context(), *args, **kwargs)
     File "/home/sigma/venv/lib/python3.9/site-packages/flask/cli.py", line 445, in decorator
       return __ctx.invoke(f, *args, **kwargs)
     File "/home/sigma/venv/lib/python3.9/site-packages/click/core.py", line 754, in invoke
       return __callback(*args, **kwargs)
     File "/home/sigma/venv/lib/python3.9/site-packages/click/decorators.py", line 26, in new_func
       return f(get_current_context(), *args, **kwargs)
     File "/home/sigma/venv/lib/python3.9/site-packages/flask/cli.py", line 445, in decorator
       return __ctx.invoke(f, *args, **kwargs)
     File "/home/sigma/venv/lib/python3.9/site-packages/click/core.py", line 754, in invoke
       return __callback(*args, **kwargs)
     File "/home/sigma/Downloads/apache-superset-2.0.0rc2/superset/cli/main.py", line 62, in init
       security_manager.sync_role_definitions()
     File "/home/sigma/Downloads/apache-superset-2.0.0rc2/superset/security/manager.py", line 731, in sync_role_definitions
       self.create_missing_perms()
     File "/home/sigma/Downloads/apache-superset-2.0.0rc2/superset/security/manager.py", line 677, in create_missing_perms
       datasources = ConnectorRegistry.get_all_datasources(self.get_session)
     File "/home/sigma/Downloads/apache-superset-2.0.0rc2/superset/connectors/connector_registry.py", line 74, in get_all_datasources
       datasources.extend(qry.all())
     File "/home/sigma/venv/lib/python3.9/site-packages/sqlalchemy/orm/query.py", line 3373, in all
       return list(self)
     File "/home/sigma/venv/lib/python3.9/site-packages/sqlalchemy/orm/query.py", line 3535, in __iter__
       return self._execute_and_instances(context)
     File "/home/sigma/venv/lib/python3.9/site-packages/sqlalchemy/orm/query.py", line 3560, in _execute_and_instances
       result = conn.execute(querycontext.statement, self._params)
     File "/home/sigma/venv/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 1011, in execute
       return meth(self, multiparams, params)
     File "/home/sigma/venv/lib/python3.9/site-packages/sqlalchemy/sql/elements.py", line 298, in _execute_on_connection
       return connection._execute_clauseelement(self, multiparams, params)
     File "/home/sigma/venv/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 1124, in _execute_clauseelement
       ret = self._execute_context(
     File "/home/sigma/venv/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 1316, in _execute_context
       self._handle_dbapi_exception(
     File "/home/sigma/venv/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 1510, in _handle_dbapi_exception
       util.raise_(
     File "/home/sigma/venv/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 182, in raise_
       raise exception
     File "/home/sigma/venv/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 1276, in _execute_context
       self.dialect.do_execute(
     File "/home/sigma/venv/lib/python3.9/site-packages/sqlalchemy/engine/default.py", line 608, in do_execute
       cursor.execute(statement, parameters)
   sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such table: tables
   [SQL: SELECT tables.uuid AS tables_uuid, tables.created_on AS tables_created_on, tables.changed_on AS tables_changed_on, tables.id AS tables_id, tables.description AS tables_description, tables.default_endpoint AS tables_default_endpoint, tables.is_featured AS tables_is_featured, tables.filter_select_enabled AS tables_filter_select_enabled, tables."offset" AS tables_offset, tables.cache_timeout AS tables_cache_timeout, tables.params AS tables_params, tables.perm AS tables_perm, tables.schema_perm AS tables_schema_perm, tables.is_managed_externally AS tables_is_managed_externally, tables.external_url AS tables_external_url, tables.table_name AS tables_table_name, tables.main_dttm_col AS tables_main_dttm_col, tables.database_id AS tables_database_id, tables.fetch_values_predicate AS tables_fetch_values_predicate, tables.schema AS tables_schema, tables.sql AS tables_sql, tables.is_sqllab_view AS tables_is_sqllab_view, tables.template_params AS tables_template_params, tables.extra AS 
 tables_extra, tables.created_by_fk AS tables_created_by_fk, tables.changed_by_fk AS tables_changed_by_fk 
   FROM tables 
   WHERE tables.is_sqllab_view = 0]
   (Background on this error at: http://sqlalche.me/e/13/e3q8)
   


-- 
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] zampaleu commented on issue #20914: Error installing Superset 2.0

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

   Same problem during superset db upgrade with python 3.9
   ModuleNotFoundError: No module named 'werkzeug.wrappers.etag


-- 
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] EMCP commented on issue #20914: Error installing Superset 2.0

Posted by "EMCP (via GitHub)" <gi...@apache.org>.
EMCP commented on issue #20914:
URL: https://github.com/apache/superset/issues/20914#issuecomment-1444140821

   my latest working installer with bare python can be found here.. I install some other bits to support TRINO but it has worked with `2.0.0` and `2.0.1`
   
   https://gitlab.com/en-ser-public/charms/superset-charm/-/blob/main/hooks/install#L14-20


-- 
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] stevensuting commented on issue #20914: Error installing Superset 2.0

Posted by "stevensuting (via GitHub)" <gi...@apache.org>.
stevensuting commented on issue #20914:
URL: https://github.com/apache/superset/issues/20914#issuecomment-1439358772

   For: ModuleNotFoundError: No module named 'cryptography.hazmat.backends.openssl.x509'
   Its: [this](https://github.com/apache/superset/issues/22571#issuecomment-1370380350)
   


-- 
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] Navid61 commented on issue #20914: Error installing Superset 2.0

Posted by "Navid61 (via GitHub)" <gi...@apache.org>.
Navid61 commented on issue #20914:
URL: https://github.com/apache/superset/issues/20914#issuecomment-1441459769

   I did , but when I ran "superset fab create-admin" I got new error message:
   
   2023-02-23 10:42:43,695:ERROR:superset.app:Failed to create app
   Traceback (most recent call last):
     File "/home/sigma/venv/lib/python3.9/site-packages/superset/app.py", line 37, in create_app
       app_initializer.init_app()
     File "/home/sigma/venv/lib/python3.9/site-packages/superset/initialization/__init__.py", line 460, in init_app
       self.init_app_in_ctx()
     File "/home/sigma/venv/lib/python3.9/site-packages/superset/initialization/__init__.py", line 410, in init_app_in_ctx
       self.configure_data_sources()
     File "/home/sigma/venv/lib/python3.9/site-packages/superset/initialization/__init__.py", line 476, in configure_data_sources
       ConnectorRegistry.register_sources(module_datasource_map)
     File "/home/sigma/venv/lib/python3.9/site-packages/superset/connectors/connector_registry.py", line 42, in register_sources
       module_obj = __import__(module_name, fromlist=class_names)
     File "/home/sigma/venv/lib/python3.9/site-packages/superset/connectors/sqla/__init__.py", line 17, in <module>
       from . import models, views
     File "/home/sigma/venv/lib/python3.9/site-packages/superset/connectors/sqla/views.py", line 28, in <module>
       from wtforms.ext.sqlalchemy.fields import QuerySelectField
   ModuleNotFoundError: No module named 'wtforms.ext'
   Traceback (most recent call last):
     File "/home/sigma/venv/bin/superset", line 11, in <module>
       load_entry_point('apache-superset==2.0.1', 'console_scripts', 'superset')()
     File "/home/sigma/venv/lib/python3.9/site-packages/click/core.py", line 1130, in __call__
       return self.main(*args, **kwargs)
     File "/home/sigma/venv/lib/python3.9/site-packages/click/core.py", line 1055, in main
       rv = self.invoke(ctx)
     File "/home/sigma/venv/lib/python3.9/site-packages/click/core.py", line 1651, in invoke
       cmd_name, cmd, args = self.resolve_command(ctx, args)
     File "/home/sigma/venv/lib/python3.9/site-packages/click/core.py", line 1698, in resolve_command
       cmd = self.get_command(ctx, cmd_name)
     File "/home/sigma/venv/lib/python3.9/site-packages/flask/cli.py", line 578, in get_command
       app = info.load_app()
     File "/home/sigma/venv/lib/python3.9/site-packages/flask/cli.py", line 308, in load_app
       app = locate_app(import_name, name)
     File "/home/sigma/venv/lib/python3.9/site-packages/flask/cli.py", line 235, in locate_app
       return find_best_app(module)
     File "/home/sigma/venv/lib/python3.9/site-packages/flask/cli.py", line 63, in find_best_app
       app = app_factory()
     File "/home/sigma/venv/lib/python3.9/site-packages/superset/app.py", line 44, in create_app
       raise ex
     File "/home/sigma/venv/lib/python3.9/site-packages/superset/app.py", line 37, in create_app
       app_initializer.init_app()
     File "/home/sigma/venv/lib/python3.9/site-packages/superset/initialization/__init__.py", line 460, in init_app
       self.init_app_in_ctx()
     File "/home/sigma/venv/lib/python3.9/site-packages/superset/initialization/__init__.py", line 410, in init_app_in_ctx
       self.configure_data_sources()
     File "/home/sigma/venv/lib/python3.9/site-packages/superset/initialization/__init__.py", line 476, in configure_data_sources
       ConnectorRegistry.register_sources(module_datasource_map)
     File "/home/sigma/venv/lib/python3.9/site-packages/superset/connectors/connector_registry.py", line 42, in register_sources
       module_obj = __import__(module_name, fromlist=class_names)
     File "/home/sigma/venv/lib/python3.9/site-packages/superset/connectors/sqla/__init__.py", line 17, in <module>
       from . import models, views
     File "/home/sigma/venv/lib/python3.9/site-packages/superset/connectors/sqla/views.py", line 28, in <module>
       from wtforms.ext.sqlalchemy.fields import QuerySelectField
   ModuleNotFoundError: No module named 'wtforms.ext'


-- 
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


Re: [I] Error installing Superset 2.0 [superset]

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on issue #20914:
URL: https://github.com/apache/superset/issues/20914#issuecomment-1942685635

   I hope you were able to resolve this, but since this has been silent for about a year, and we no longer actively support Superset 2.x, I'm going to close this out as stale. If people are still encountering this in current versions (currently 3.x) please re-open this issue, open a new Issue with updated context, or raise a PR to address the problem. Thanks!


-- 
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] fullergalway commented on issue #20914: Error installing Superset 2.0

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

   Also struggled with [this problem](https://github.com/apache/superset/issues/20914#issuecomment-1249466927) 
   
   ```sh
   superset db upgrade
   
   ModuleNotFoundError: No module named 'wtforms.ext'
   ```
   
   I found the installed superset (from an earlier attempt) was using a different python than my venv 
   
   ```sh
   (venv) rfuller@Roberts-MBP superset % head -1 $(which superset
   /usr/local/bin/superset
   (venv) rfuller@Roberts-MBP superset % head -1 $(which superset)
   #!/usr/local/opt/python@3.10/bin/python3.10
   (venv) rfuller@Roberts-MBP superset % which python
   /Users/rfuller/dev/superset/venv/bin/python
   ```
   I resolved the issue by changing superset to use python from my environment.
   
   ```
   (venv) rfuller@Roberts-MBP superset % vi $(which superset)
   (venv) rfuller@Roberts-MBP superset % head -1 $(which superset)
   #!/usr/bin/env python
   ```
   
   All good now.


-- 
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] afifdevtest commented on issue #20914: Error installing Superset 2.0

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

   Installation working well in my venv (using python 3.8.0), but I facing issue when execute `superset db upgrade` :
   `ModuleNotFoundError: No module named 'wtforms.ext'`


-- 
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] vs9390 commented on issue #20914: Error installing Superset 2.0

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

   For those who are facing `cachelib` version conflict error. In addition to @EMCP's steps after installing `apache-superset`, run 
   
   `pip install Flask-Caching==1.11.1` 
   
   


-- 
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] stevensuting commented on issue #20914: Error installing Superset 2.0

Posted by "stevensuting (via GitHub)" <gi...@apache.org>.
stevensuting commented on issue #20914:
URL: https://github.com/apache/superset/issues/20914#issuecomment-1427782428

   This seems to be the latest issue to the 2.0.1 install:
   TypeError: validate() got an unexpected keyword argument 'extra_validators'
   
   Cant figure out which package versions are required for this.


-- 
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] srinify commented on issue #20914: Error installing Superset 2.0

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

   I had no issues getting pip install working for Superset 2.0.
   
   - Are you using the minimum required Python version for Superset?
   - Have you updated pip recently?
   
   


-- 
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] shafad1 commented on issue #20914: Error installing Superset 2.0

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

   I am using Python 3.8.8 also updated the pip  .
   


-- 
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] dmsan111855 commented on issue #20914: Error installing Superset 2.0

Posted by "dmsan111855 (via GitHub)" <gi...@apache.org>.
dmsan111855 commented on issue #20914:
URL: https://github.com/apache/superset/issues/20914#issuecomment-1428678728

   Yes i see the same error on 'extra_validators'
   
   
   2023-02-13 20:55:05,807:INFO:werkzeug:172.18.37.16 - - [13/Feb/2023 20:55:05] "GET /login/ HTTP/1.1" 200 -
   2023-02-13 20:55:06,186:INFO:werkzeug:172.18.37.16 - - [13/Feb/2023 20:55:06] "GET /static/assets/theme.a7e2abf6a9f3e70a343c.entry.js HTTP/1.1" 200 -
   2023-02-13 20:55:06,191:INFO:werkzeug:172.18.37.16 - - [13/Feb/2023 20:55:06] "GET /static/assets/theme.a7e2abf6a9f3e70a343c.entry.css HTTP/1.1" 200 -
   2023-02-13 20:55:06,633:INFO:werkzeug:172.18.37.16 - - [13/Feb/2023 20:55:06] "GET /static/assets/vendors.57b36d6e3a2ad4b369c5.entry.js HTTP/1.1" 200 -
   2023-02-13 20:55:06,941:INFO:werkzeug:172.18.37.16 - - [13/Feb/2023 20:55:06] "GET /static/assets/5010.45f6108a4decceaaeb0b.entry.js HTTP/1.1" 200 -
   2023-02-13 20:55:06,948:INFO:werkzeug:172.18.37.16 - - [13/Feb/2023 20:55:06] "GET /static/assets/4113.e4abf47e55f746a6d7fe.entry.js HTTP/1.1" 200 -
   2023-02-13 20:55:06,949:INFO:werkzeug:172.18.37.16 - - [13/Feb/2023 20:55:06] "GET /static/assets/789.22284d193feb04432df3.entry.js HTTP/1.1" 200 -
   2023-02-13 20:55:06,954:INFO:werkzeug:172.18.37.16 - - [13/Feb/2023 20:55:06] "GET /static/assets/3389.e22df7156d4c7985a2e1.entry.js HTTP/1.1" 200 -
   2023-02-13 20:55:06,956:INFO:werkzeug:172.18.37.16 - - [13/Feb/2023 20:55:06] "GET /static/assets/6315.a94f44b7f86c25943a86.entry.js HTTP/1.1" 200 -
   2023-02-13 20:55:07,489:INFO:werkzeug:172.18.37.16 - - [13/Feb/2023 20:55:07] "GET /static/assets/menu.1010f89bd3a467d71506.entry.js HTTP/1.1" 200 -
   2023-02-13 20:55:07,496:INFO:werkzeug:172.18.37.16 - - [13/Feb/2023 20:55:07] "GET /static/assets/6052.0cdbb57cd94afe15d58e.entry.js HTTP/1.1" 200 -
   validate() got an unexpected keyword argument 'extra_validators'
   Traceback (most recent call last):
     File "/home/azureuser/venv/lib/python3.8/site-packages/flask/app.py", line 1523, in full_dispatch_request
       rv = self.dispatch_request()
     File "/home/azureuser/venv/lib/python3.8/site-packages/flask/app.py", line 1509, in dispatch_request
       return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
     File "/home/azureuser/venv/lib/python3.8/site-packages/flask_appbuilder/security/views.py", line 516, in login
       if form.validate_on_submit():
     File "/home/azureuser/venv/lib/python3.8/site-packages/flask_wtf/form.py", line 86, in validate_on_submit
       return self.is_submitted() and self.validate(extra_validators=extra_validators)
   TypeError: validate() got an unexpected keyword argument 'extra_validators'
   


-- 
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] briankariuki commented on issue #20914: Error installing Superset 2.0

Posted by "briankariuki (via GitHub)" <gi...@apache.org>.
briankariuki commented on issue #20914:
URL: https://github.com/apache/superset/issues/20914#issuecomment-1434347670

   Here is the link to the [base requirements.txt](https://github.com/apache/superset/blob/master/requirements/base.txt).
   
   If you compare the versions in here, with the package versions installed by pip , they are different and lead to errors when starting superset. Hope this will be fixed in future releases


-- 
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] vs9390 commented on issue #20914: Error installing Superset 2.0

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

   @afifdevtest  
   
   [https://wtforms.readthedocs.io/en/3.0.x/changes/#version-2-3-1](https://wtforms.readthedocs.io/en/3.0.x/changes/#version-2-3-1) , wtforms.ext was removed in version 3.0.
   
   Downgrading to 2.3.0 worked for me.
   
   ```
   pip uninstall WTForms 
   pip install WTForms==2.3.0
   ```
   
   
   
   


-- 
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] cobookman commented on issue #20914: Error installing Superset 2.0

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

   Same issue. 
   
   Temporarily resolved by commenting out the include
   https://github.com/apache/superset/blob/1ebdaac487ec1684050174957a1d5699912bf001/superset/utils/cache.py#L28
   
   And removing it's reference as a return type.
   https://github.com/apache/superset/blob/1ebdaac487ec1684050174957a1d5699912bf001/superset/utils/cache.py#L178


-- 
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] briankariuki commented on issue #20914: Error installing Superset 2.0

Posted by "briankariuki (via GitHub)" <gi...@apache.org>.
briankariuki commented on issue #20914:
URL: https://github.com/apache/superset/issues/20914#issuecomment-1434344417

   pip install apache-superset for some reason installs different package versions opposed to the ones being used in the master channel. You may have to install the specific versions yourself.
   
   ```
      pip install flask-wtf==1.0.1
   
   ```
   
   > Yes i see the same error on 'extra_validators'
   > 
   > 2023-02-13 20:55:05,807:INFO:werkzeug:172.18.37.16 - - [13/Feb/2023 20:55:05] "GET /login/ HTTP/1.1" 200 - 2023-02-13 20:55:06,186:INFO:werkzeug:172.18.37.16 - - [13/Feb/2023 20:55:06] "GET /static/assets/theme.a7e2abf6a9f3e70a343c.entry.js HTTP/1.1" 200 - 2023-02-13 20:55:06,191:INFO:werkzeug:172.18.37.16 - - [13/Feb/2023 20:55:06] "GET /static/assets/theme.a7e2abf6a9f3e70a343c.entry.css HTTP/1.1" 200 - 2023-02-13 20:55:06,633:INFO:werkzeug:172.18.37.16 - - [13/Feb/2023 20:55:06] "GET /static/assets/vendors.57b36d6e3a2ad4b369c5.entry.js HTTP/1.1" 200 - 2023-02-13 20:55:06,941:INFO:werkzeug:172.18.37.16 - - [13/Feb/2023 20:55:06] "GET /static/assets/5010.45f6108a4decceaaeb0b.entry.js HTTP/1.1" 200 - 2023-02-13 20:55:06,948:INFO:werkzeug:172.18.37.16 - - [13/Feb/2023 20:55:06] "GET /static/assets/4113.e4abf47e55f746a6d7fe.entry.js HTTP/1.1" 200 - 2023-02-13 20:55:06,949:INFO:werkzeug:172.18.37.16 - - [13/Feb/2023 20:55:06] "GET /static/assets/789.22284d193feb04432df3.entry.js HTT
 P/1.1" 200 - 2023-02-13 20:55:06,954:INFO:werkzeug:172.18.37.16 - - [13/Feb/2023 20:55:06] "GET /static/assets/3389.e22df7156d4c7985a2e1.entry.js HTTP/1.1" 200 - 2023-02-13 20:55:06,956:INFO:werkzeug:172.18.37.16 - - [13/Feb/2023 20:55:06] "GET /static/assets/6315.a94f44b7f86c25943a86.entry.js HTTP/1.1" 200 - 2023-02-13 20:55:07,489:INFO:werkzeug:172.18.37.16 - - [13/Feb/2023 20:55:07] "GET /static/assets/menu.1010f89bd3a467d71506.entry.js HTTP/1.1" 200 - 2023-02-13 20:55:07,496:INFO:werkzeug:172.18.37.16 - - [13/Feb/2023 20:55:07] "GET /static/assets/6052.0cdbb57cd94afe15d58e.entry.js HTTP/1.1" 200 - validate() got an unexpected keyword argument 'extra_validators' Traceback (most recent call last): File "/home/azureuser/venv/lib/python3.8/site-packages/flask/app.py", line 1523, in full_dispatch_request rv = self.dispatch_request() File "/home/azureuser/venv/lib/python3.8/site-packages/flask/app.py", line 1509, in dispatch_request return self.ensure_sync(self.view_functions[rule.end
 point])(**req.view_args) File "/home/azureuser/venv/lib/python3.8/site-packages/flask_appbuilder/security/views.py", line 516, in login if form.validate_on_submit(): File "/home/azureuser/venv/lib/python3.8/site-packages/flask_wtf/form.py", line 86, in validate_on_submit return self.is_submitted() and self.validate(extra_validators=extra_validators) TypeError: validate() got an unexpected keyword argument 'extra_validators'
   
   


-- 
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


Re: [I] Error installing Superset 2.0 [superset]

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas closed issue #20914: Error installing Superset 2.0
URL: https://github.com/apache/superset/issues/20914


-- 
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