Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

edge container not working #165

Open
vumaasha opened this issue Mar 12, 2020 · 1 comment
Open

edge container not working #165

vumaasha opened this issue Mar 12, 2020 · 1 comment

Comments

@vumaasha
Copy link

Trying to start sqlite example from the edge tag. It fails with the following error
This is my compose file

version: '3'
services:
  redis:
    image: redis
    restart: always
    volumes:
      - redis:/data
  superset:
    image: amancevice/superset:edge
    restart: always
    depends_on:
      - redis
    environment:
      MAPBOX_API_KEY: ${MAPBOX_API_KEY}
      SUPERSET_HOME: /etc/superset
    ports:
      - "8088:8088"
    volumes:
      - ./superset_config.py:/etc/superset/superset_config.py
      - superset:/var/lib/superset
volumes:
  redis:
  superset:
 ~/r/d/e/sqlite> docker-compose logs -f superset
Attaching to sqlite_superset_1
superset_1  | [2020-03-12 11:05:15 +0000] [1] [INFO] Starting gunicorn 20.0.4
superset_1  | [2020-03-12 11:05:15 +0000] [1] [INFO] Listening at: http://0.0.0.0:8088 (1)
superset_1  | [2020-03-12 11:05:15 +0000] [1] [INFO] Using worker: threads
superset_1  | [2020-03-12 11:05:15 +0000] [8] [INFO] Booting worker with pid: 8
superset_1  | [2020-03-12 11:05:15 +0000] [9] [INFO] Booting worker with pid: 9
superset_1  | [2020-03-12 11:05:15 +0000] [10] [INFO] Booting worker with pid: 10
superset_1  | /usr/local/lib/python3.6/site-packages/psycopg2/__init__.py:144: UserWarning: The psycopg2 wheel package will be renamed from release 2.8; in order to keep installing from binary please use "pip install psycopg2-binary" instead. For details see: <http://initd.org/psycopg/docs/install.html#binary-install-from-pypi>.
superset_1  |   """)
superset_1  | [2020-03-12 11:05:36 +0000] [10] [ERROR] Error handling request /
superset_1  | Traceback (most recent call last):
superset_1  |   File "/usr/local/lib/python3.6/site-packages/gunicorn/workers/gthread.py", line 271, in handle
superset_1  |     keepalive = self.handle_request(req, conn)
superset_1  |   File "/usr/local/lib/python3.6/site-packages/gunicorn/workers/gthread.py", line 320, in handle_request
superset_1  |     respiter = self.wsgi(environ, resp.start_response)
superset_1  |   File "/usr/local/lib/python3.6/site-packages/werkzeug/local.py", line 376, in <lambda>
superset_1  |     __call__ = lambda x, *a, **kw: x._get_current_object()(*a, **kw)
superset_1  |   File "/usr/local/lib/python3.6/site-packages/werkzeug/local.py", line 307, in _get_current_object
superset_1  |     return self.__local()
superset_1  |   File "/usr/local/lib/python3.6/site-packages/flask/globals.py", line 52, in _find_app
superset_1  |     raise RuntimeError(_app_ctx_err_msg)
superset_1  | RuntimeError: Working outside of application context.
@ceastman-ibm
Copy link
Contributor

I am getting this error with using edge:
Loaded your LOCAL configuration at [/home/superset/superset_config.py]

Error: class uri 'gevent' invalid or not found:

[Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/gunicorn/util.py", line 99, in load_class
mod = importlib.import_module('.'.join(components))
File "/usr/local/lib/python3.6/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 994, in _gcd_import
File "", line 971, in _find_and_load
File "", line 955, in _find_and_load_unlocked
File "", line 665, in _load_unlocked
File "", line 678, in exec_module
File "", line 219, in _call_with_frames_removed
File "/usr/local/lib/python3.6/site-packages/gunicorn/workers/ggevent.py", line 20, in
raise RuntimeError("gevent worker requires gevent 1.4 or higher")
RuntimeError: gevent worker requires gevent 1.4 or higher
]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants