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/11/08 09:46:34 UTC

[GitHub] [superset] MuslimBeibytuly opened a new issue, #22058: bug with new superset==2.0.0

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

   ```
   root@f74fec6d5af7:/src# superset init
   Loaded your LOCAL configuration at [/src/superset_config.py]
   logging was configured successfully
   2022-11-08 09:42:50,649:INFO:superset.utils.logging_configurator:logging was configured successfully
   2022-11-08 09:42:50,653: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-11-08 09:42:50,656: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-11-08 09:42:50,658: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
   Failed to create app
   Traceback (most recent call last):
     File "/usr/local/lib/python3.9/site-packages/superset/app.py", line 37, in create_app
       app_initializer.init_app()
     File "/usr/local/lib/python3.9/site-packages/superset/initialization/__init__.py", line 460, in init_app
       self.init_app_in_ctx()
     File "/usr/local/lib/python3.9/site-packages/superset/initialization/__init__.py", line 410, in init_app_in_ctx
       self.configure_data_sources()
     File "/usr/local/lib/python3.9/site-packages/superset/initialization/__init__.py", line 476, in configure_data_sources
       ConnectorRegistry.register_sources(module_datasource_map)
     File "/usr/local/lib/python3.9/site-packages/superset/connectors/connector_registry.py", line 42, in register_sources
       module_obj = __import__(module_name, fromlist=class_names)
     File "/usr/local/lib/python3.9/site-packages/superset/connectors/sqla/__init__.py", line 17, in <module>
       from . import models, views
     File "/usr/local/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'
   2022-11-08 09:42:50,966:ERROR:superset.app:Failed to create app
   Traceback (most recent call last):
     File "/usr/local/lib/python3.9/site-packages/superset/app.py", line 37, in create_app
       app_initializer.init_app()
     File "/usr/local/lib/python3.9/site-packages/superset/initialization/__init__.py", line 460, in init_app
       self.init_app_in_ctx()
     File "/usr/local/lib/python3.9/site-packages/superset/initialization/__init__.py", line 410, in init_app_in_ctx
       self.configure_data_sources()
     File "/usr/local/lib/python3.9/site-packages/superset/initialization/__init__.py", line 476, in configure_data_sources
       ConnectorRegistry.register_sources(module_datasource_map)
     File "/usr/local/lib/python3.9/site-packages/superset/connectors/connector_registry.py", line 42, in register_sources
       module_obj = __import__(module_name, fromlist=class_names)
     File "/usr/local/lib/python3.9/site-packages/superset/connectors/sqla/__init__.py", line 17, in <module>
       from . import models, views
     File "/usr/local/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 "/usr/local/bin/superset", line 8, in <module>
       sys.exit(superset())
     File "/usr/local/lib/python3.9/site-packages/click/core.py", line 1130, in __call__
       return self.main(*args, **kwargs)
     File "/usr/local/lib/python3.9/site-packages/flask/cli.py", line 567, in main
       return super().main(*args, **kwargs)
     File "/usr/local/lib/python3.9/site-packages/click/core.py", line 1055, in main
       rv = self.invoke(ctx)
     File "/usr/local/lib/python3.9/site-packages/click/core.py", line 1654, in invoke
       super().invoke(ctx)
     File "/usr/local/lib/python3.9/site-packages/click/core.py", line 1404, in invoke
       return ctx.invoke(self.callback, **ctx.params)
     File "/usr/local/lib/python3.9/site-packages/click/core.py", line 760, in invoke
       return __callback(*args, **kwargs)
     File "/usr/local/lib/python3.9/site-packages/click/decorators.py", line 26, in new_func
       return f(get_current_context(), *args, **kwargs)
     File "/usr/local/lib/python3.9/site-packages/flask/cli.py", line 406, in decorator
       with __ctx.ensure_object(ScriptInfo).load_app().app_context():
     File "/usr/local/lib/python3.9/site-packages/flask/cli.py", line 369, in load_app
       app = locate_app(import_name, name)
     File "/usr/local/lib/python3.9/site-packages/flask/cli.py", line 231, in locate_app
       return find_best_app(module)
     File "/usr/local/lib/python3.9/site-packages/flask/cli.py", line 57, in find_best_app
       app = app_factory()
     File "/usr/local/lib/python3.9/site-packages/superset/app.py", line 44, in create_app
       raise ex
     File "/usr/local/lib/python3.9/site-packages/superset/app.py", line 37, in create_app
       app_initializer.init_app()
     File "/usr/local/lib/python3.9/site-packages/superset/initialization/__init__.py", line 460, in init_app
       self.init_app_in_ctx()
     File "/usr/local/lib/python3.9/site-packages/superset/initialization/__init__.py", line 410, in init_app_in_ctx
       self.configure_data_sources()
     File "/usr/local/lib/python3.9/site-packages/superset/initialization/__init__.py", line 476, in configure_data_sources
       ConnectorRegistry.register_sources(module_datasource_map)
     File "/usr/local/lib/python3.9/site-packages/superset/connectors/connector_registry.py", line 42, in register_sources
       module_obj = __import__(module_name, fromlist=class_names)
     File "/usr/local/lib/python3.9/site-packages/superset/connectors/sqla/__init__.py", line 17, in <module>
       from . import models, views
     File "/usr/local/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'
   root@f74fec6d5af7:/src# pip install wtforms.ext
   Looking in indexes: http://pip:****@nexus.choco.kz/repository/pypi-group/simple
   Requirement already satisfied: wtforms.ext in /usr/local/lib/python3.9/site-packages (0.5)
   Requirement already satisfied: WTForms in /usr/local/lib/python3.9/site-packages (from wtforms.ext) (3.0.1)
   Requirement already satisfied: MarkupSafe in /usr/local/lib/python3.9/site-packages (from WTForms->wtforms.ext) (2.0.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.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] bug with new superset==2.0.0 [superset]

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas closed issue #22058: bug with new superset==2.0.0
URL: https://github.com/apache/superset/issues/22058


-- 
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 #22058: bug with new superset==2.0.0

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

   try this series of commands to pip install (ignore the juju parts, and the `sudo -u ubuntu` part)
   
   ```
   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] sfirke commented on issue #22058: bug with new superset==2.0.0

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

   Did you try searching existing issues for "wtforms.ext" ?  There are some fixes in this thread you could try 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


Re: [I] bug with new superset==2.0.0 [superset]

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

   This version of Superset is no longer supported. If anyone is still encountering this in current versions (3.x) please open a new Issue or a PR to address the problem.  
   


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