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/19 18:26:18 UTC

[GitHub] [superset] helmanofer opened a new issue, #20772: Superset 2.0 with databricks driver fails to start

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

   Hi,
   
   I am trying to start superset, install with pip and databricks driver.
   steps:
   1.  pip install -U apache-superset\n
   1.  pip uninstall -y Werkzeug
   1.  pip install Werkzeug==2.0.3
   1.  superset db upgrade
   1.  superset init
   1.  superset run -p 8088 --with-threads --reload --debugger. # superset started OK
   1.  pip install "superset[databricks]"
   1. superset run -p 8088 --with-threads --reload --debugger. # superset FAILED to start
   
   
   ```(venvsuperset) (base) ➜  datalake-dbt git:(time_format) ✗ superset run -p 8088 --with-threads --reload --debugger
   
   Traceback (most recent call last):
     File "/Users/user/venvsuperset/bin/superset", line 18, in <module>
       from superset.cli import superset
     File "/Users/user/venvsuperset/lib/python3.9/site-packages/superset/__init__.py", line 23, in <module>
       from superset.extensions import (
   ImportError: cannot import name 'jinja_context_manager' from 'superset.extensions' (/Users/user/venvsuperset/lib/python3.9/site-packages/superset/extensions/__init__.py)
   ```
   


-- 
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] srinify commented on issue #20772: Superset 2.0 with databricks driver fails to start

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

   Hey @helmanofer FYI this is highly unlikely to be related to the databricks driver / connection. It's more likely that some Python library is missing from the requirements


-- 
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] mrigbysmoove commented on issue #20772: Superset 2.0 with databricks driver fails to start

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

   I've also found that installing Superset from pypi I had to pin some versions - can you post the output of `pip freeze`?


-- 
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] helmanofer commented on issue #20772: Superset 2.0 with databricks driver fails to start

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

   @mrigbysmoove here is the pip freeze
   
   (venv) (base) ➜  datalake-dbt pip freeze
   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
   attrs==21.4.0
   Babel==2.10.3
   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
   certifi==2022.6.15
   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
   colorama==0.4.5
   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-Babel==2.0.0
   Flask-Caching==1.11.1
   Flask-Compress==1.12
   Flask-JWT-Extended==4.4.2
   Flask-Login==0.6.1
   Flask-Migrate==3.1.0
   Flask-SQLAlchemy==2.5.1
   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
   idna==3.3
   importlib-metadata==4.12.0
   importlib-resources==5.8.0
   isodate==0.6.1
   itsdangerous==2.1.2
   Jinja2==3.1.2
   jsonschema==4.7.2
   kombu==5.2.4
   korean-lunar-calendar==0.2.1
   Mako==1.2.1
   Markdown==3.4.1
   MarkupSafe==2.1.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
   PyJWT==2.4.0
   PyMeeus==0.5.11
   pyOpenSSL==22.0.0
   pyparsing==3.0.9
   pyrsistent==0.18.1
   PySocks==1.7.1
   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
   simplejson==3.17.6
   six==1.16.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
   superset==0.30.1
   tabulate==0.8.9
   trio==0.21.0
   trio-websocket==0.9.2
   typing-extensions==3.10.0.2
   urllib3==1.26.10
   vine==5.0.0
   wcwidth==0.2.5
   webencodings==0.5.1
   Werkzeug==2.0.3
   wrapt==1.14.1
   wsproto==1.1.0
   WTForms==2.3.3
   WTForms-JSON==0.3.5
   yarl==1.7.2
   zipp==3.8.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] epa095 commented on issue #20772: Superset 2.0 with databricks driver fails to start

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

   @helmanofer in step 7 you are installing superset, not apache-superset. So then you get a old and new version of superset at the same time. Tried changing it to apache-superset[databricks] ?


-- 
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] helmanofer commented on issue #20772: Superset 2.0 with databricks driver fails to start

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

   while trying to reproduce the issue, by installing superset, starting it successfully, installing databricks driver I ran into a new issue while trying to start
   
   ```
   Traceback (most recent call last):
     File "/Users/user/venv/bin/superset", line 18, in <module>
       from superset.cli import superset
   ImportError: cannot import name 'superset' from 'superset.cli' (/Users/user/venv/lib/python3.8/site-packages/superset/cli/__init__.py)
   ```


-- 
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] rusackas commented on issue #20772: Superset 2.0 with databricks driver fails to start

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

   Updated the above linked PR to automatically close this issue when it merges, since it sounds like the bad/misleading pip link is the root cause of this issue.


-- 
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] rusackas closed issue #20772: Superset 2.0 with databricks driver fails to start

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas closed issue #20772: Superset 2.0 with databricks driver fails to start
URL: https://github.com/apache/superset/issues/20772


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