meltano ui command fails, nothing at localhost:5000
What is the current bug behavior?
Completed installation successfully, and reached the final step in the carbon intensity tutorial to run "meltano ui" for the first time. However, I am receiving an (error?) message and then visiting http://localhost:5000/ does not load
What is the expected correct behavior?
- Successful response in the CLI upon running "meltano ui"
- Successfully open the Meltano GUI when visiting http://localhost:5000/
Steps to reproduce
- Clean new install of Meltano with all dependencies met
- Follow the steps in the carbon intensity tutorial here https://meltano.com/docs/tutorial.html
Relevant logs and/or screenshots
(Paste any relevant logs - please use code blocks (```) to format console output)
[MainThread][INFO][2019-03-11 16:56:42,209] Auto-compiling models in <FSEventsObserver(Thread-1, started daemon 123145329106944)>.
[MainThread][INFO][2019-03-11 16:56:42,406] Topics have been compiled.
Melt started at: Mar 11 2019 10:56:42:406887
[MainThread][WARNING][2019-03-11 16:56:42,406] Melt started at: Mar 11 2019 10:56:42:406887
/usr/local/lib/python3.7/site-packages/flask_sqlalchemy/__init__.py:794: FSADeprecationWarning: SQLALCHEMY_TRACK_MODIFICATIONS adds significant overhead and will be disabled by default in the future. Set it to True or False to suppress this warning.
'SQLALCHEMY_TRACK_MODIFICATIONS adds significant overhead and '
Traceback (most recent call last):
File "/usr/local/bin/meltano", line 10, in <module>
sys.exit(main())
File "/usr/local/lib/python3.7/site-packages/meltano/cli/__init__.py", line 17, in main
cli(obj={"project": None})
File "/usr/local/lib/python3.7/site-packages/click/core.py", line 764, in __call__
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.7/site-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.7/site-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/click/decorators.py", line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/meltano/cli/params.py", line 79, in decorate
ctx.invoke(func, project, *args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/meltano/cli/ui.py", line 28, in ui
start(project, debug=debug, use_reloader=reload, port=port, host=hostname)
File "/usr/local/lib/python3.7/site-packages/meltano/api/app.py", line 104, in start
create_dev_user()
File "/usr/local/lib/python3.7/site-packages/meltano/api/security.py", line 118, in create_dev_user
db.create_all()
File "/usr/local/lib/python3.7/site-packages/flask_sqlalchemy/__init__.py", line 963, in create_all
self._execute_for_all_tables(app, bind, 'create_all')
File "/usr/local/lib/python3.7/site-packages/flask_sqlalchemy/__init__.py", line 955, in _execute_for_all_tables
op(bind=self.get_engine(app, bind), **extra)
File "/usr/local/lib/python3.7/site-packages/sqlalchemy/sql/schema.py", line 4005, in create_all
tables=tables)
File "/usr/local/lib/python3.7/site-packages/sqlalchemy/engine/base.py", line 1940, in _run_visitor
conn._run_visitor(visitorcallable, element, **kwargs)
File "/usr/local/lib/python3.7/site-packages/sqlalchemy/engine/base.py", line 1549, in _run_visitor
**kwargs).traverse_single(element)
File "/usr/local/lib/python3.7/site-packages/sqlalchemy/sql/visitors.py", line 121, in traverse_single
return meth(obj, **kw)
File "/usr/local/lib/python3.7/site-packages/sqlalchemy/sql/ddl.py", line 757, in visit_metadata
_is_metadata_operation=True)
File "/usr/local/lib/python3.7/site-packages/sqlalchemy/sql/visitors.py", line 121, in traverse_single
return meth(obj, **kw)
File "/usr/local/lib/python3.7/site-packages/sqlalchemy/sql/ddl.py", line 778, in visit_table
_is_metadata_operation=_is_metadata_operation)
File "/usr/local/lib/python3.7/site-packages/sqlalchemy/event/attr.py", line 246, in __call__
fn(*args, **kw)
File "/usr/local/lib/python3.7/site-packages/snowflake/sqlalchemy/base.py", line 414, in check_table
raise NotImplementedError("Snowflake does not support indexes")
NotImplementedError: Snowflake does not support indexes```
### Possible fixes
(If you can, link to the line of code that might be responsible for the problem or suggest a fix)
### Further regression test
(Ensure we automatically catch similar issues in the future)
Edited by Melty Bot