{"action":"closed","issue":{"url":"https://api.github.com/repos/airbnb/caravel/issues/293","repository_url":"https://api.github.com/repos/airbnb/caravel","labels_url":"https://api.github.com/repos/airbnb/caravel/issues/293/labels{/name}","comments_url":"https://api.github.com/repos/airbnb/caravel/issues/293/comments","events_url":"https://api.github.com/repos/airbnb/caravel/issues/293/events","html_url":"https://github.com/airbnb/caravel/issues/293","id":146782610,"number":293,"title":"load_examples no such table: css_templates","user":{"login":"mbcheikh","id":5501261,"avatar_url":"https://avatars.githubusercontent.com/u/5501261?v=3","gravatar_id":"","url":"https://api.github.com/users/mbcheikh","html_url":"https://github.com/mbcheikh","followers_url":"https://api.github.com/users/mbcheikh/followers","following_url":"https://api.github.com/users/mbcheikh/following{/other_user}","gists_url":"https://api.github.com/users/mbcheikh/gists{/gist_id}","starred_url":"https://api.github.com/users/mbcheikh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbcheikh/subscriptions","organizations_url":"https://api.github.com/users/mbcheikh/orgs","repos_url":"https://api.github.com/users/mbcheikh/repos","events_url":"https://api.github.com/users/mbcheikh/events{/privacy}","received_events_url":"https://api.github.com/users/mbcheikh/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-08T00:59:33Z","updated_at":"2016-04-09T05:15:16Z","closed_at":"2016-04-09T05:15:16Z","body":"Following the doc, I installed caravel without problems. When I tried to run the examples I received the error \"no such table: css_templates\" from sqlalchemy:\r\n```\r\n(env)mb@pb:~/caravel$ caravel load_examples\r\n/home/mb/caravel/env/local/lib/python2.7/site-packages/flask_cache/__init__.py:152: UserWarning: Flask-Cache: CACHE_TYPE is set to null, caching is effectively disabled.\r\n  warnings.warn(\"Flask-Cache: CACHE_TYPE is set to null, \"\r\n2016-04-08 01:42:40,781:INFO:flask_appbuilder.base:Registering class MyIndexView on menu \r\n2016-04-08 01:42:40,784:INFO:flask_appbuilder.base:Registering class UtilView on menu \r\n2016-04-08 01:42:40,786:INFO:flask_appbuilder.base:Registering class LocaleView on menu \r\n2016-04-08 01:42:40,789:INFO:flask_appbuilder.base:Registering class ResetPasswordView on menu \r\n2016-04-08 01:42:40,798:INFO:flask_appbuilder.base:Registering class ResetMyPasswordView on menu \r\n2016-04-08 01:42:40,805:INFO:flask_appbuilder.base:Registering class UserInfoEditView on menu \r\n2016-04-08 01:42:40,813:INFO:flask_appbuilder.base:Registering class AuthDBView on menu \r\n2016-04-08 01:42:40,818:INFO:flask_appbuilder.base:Registering class UserDBModelView on menu List Users\r\n2016-04-08 01:42:40,843:INFO:flask_appbuilder.base:Registering class RoleModelView on menu List Roles\r\n2016-04-08 01:42:40,865:INFO:flask_appbuilder.base:Registering class UserStatsChartView on menu User's Statistics\r\n2016-04-08 01:42:40,882:INFO:flask_appbuilder.base:Registering class PermissionModelView on menu Base Permissions\r\n2016-04-08 01:42:40,899:INFO:flask_appbuilder.base:Registering class ViewMenuModelView on menu Views/Menus\r\n2016-04-08 01:42:40,917:INFO:flask_appbuilder.base:Registering class PermissionViewModelView on menu Permission on Views/Menus\r\n2016-04-08 01:42:41,278:INFO:flask_appbuilder.base:Registering class TableColumnInlineView on menu \r\n2016-04-08 01:42:41,294:INFO:flask_appbuilder.base:Registering class DruidColumnInlineView on menu \r\n2016-04-08 01:42:41,308:INFO:flask_appbuilder.base:Registering class SqlMetricInlineView on menu \r\n2016-04-08 01:42:41,324:INFO:flask_appbuilder.base:Registering class DruidMetricInlineView on menu \r\n2016-04-08 01:42:41,338:WARNING:flask_appbuilder.models.filters:Filter type not supported for column: password\r\n2016-04-08 01:42:41,339:INFO:flask_appbuilder.base:Registering class DatabaseView on menu Databases\r\n2016-04-08 01:42:41,363:INFO:flask_appbuilder.base:Registering class TableModelView on menu Tables\r\n2016-04-08 01:42:41,387:INFO:flask_appbuilder.base:Registering class DruidClusterModelView on menu Druid Clusters\r\n2016-04-08 01:42:41,411:INFO:flask_appbuilder.base:Registering class SliceModelView on menu Slices\r\n2016-04-08 01:42:41,431:INFO:flask_appbuilder.base:Registering class SliceAsync on menu \r\n2016-04-08 01:42:41,446:INFO:flask_appbuilder.base:Registering class DashboardModelView on menu Dashboards\r\n2016-04-08 01:42:41,466:INFO:flask_appbuilder.base:Registering class DashboardModelViewAsync on menu \r\n2016-04-08 01:42:41,481:INFO:flask_appbuilder.base:Registering class LogModelView on menu Action Log\r\n2016-04-08 01:42:41,504:INFO:flask_appbuilder.base:Registering class DruidDatasourceModelView on menu Druid Datasources\r\n2016-04-08 01:42:41,527:INFO:flask_appbuilder.base:Registering class R on menu \r\n2016-04-08 01:42:41,530:INFO:flask_appbuilder.base:Registering class Caravel on menu \r\n2016-04-08 01:42:41,559:INFO:flask_appbuilder.base:Registering class CssTemplateModelView on menu CSS Templates\r\nLoading examples into <SQLA engine='sqlite:////tmp/caravel.db'>\r\nCreating default CSS templates\r\nTraceback (most recent call last):\r\n  File \"/home/mb/caravel/env/bin/caravel\", line 94, in <module>\r\n    manager.run()\r\n  File \"/home/mb/caravel/env/local/lib/python2.7/site-packages/flask_script/__init__.py\", line 412, in run\r\n    result = self.handle(sys.argv[0], sys.argv[1:])\r\n  File \"/home/mb/caravel/env/local/lib/python2.7/site-packages/flask_script/__init__.py\", line 383, in handle\r\n    res = handle(*args, **config)\r\n  File \"/home/mb/caravel/env/local/lib/python2.7/site-packages/flask_script/commands.py\", line 216, in __call__\r\n    return self.run(*args, **kwargs)\r\n  File \"/home/mb/caravel/env/bin/caravel\", line 62, in load_examples\r\n    data.load_css_templates()\r\n  File \"/home/mb/caravel/env/local/lib/python2.7/site-packages/caravel/data/__init__.py\", line 350, in load_css_templates\r\n    obj = db.session.query(CSS).filter_by(template_name='Flat').first()\r\n  File \"/home/mb/caravel/env/local/lib/python2.7/site-packages/sqlalchemy/orm/query.py\", line 2634, in first\r\n    ret = list(self[0:1])\r\n  File \"/home/mb/caravel/env/local/lib/python2.7/site-packages/sqlalchemy/orm/query.py\", line 2457, in __getitem__\r\n    return list(res)\r\n  File \"/home/mb/caravel/env/local/lib/python2.7/site-packages/sqlalchemy/orm/query.py\", line 2736, in __iter__\r\n    return self._execute_and_instances(context)\r\n  File \"/home/mb/caravel/env/local/lib/python2.7/site-packages/sqlalchemy/orm/query.py\", line 2751, in _execute_and_instances\r\n    result = conn.execute(querycontext.statement, self._params)\r\n  File \"/home/mb/caravel/env/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py\", line 914, in execute\r\n    return meth(self, multiparams, params)\r\n  File \"/home/mb/caravel/env/local/lib/python2.7/site-packages/sqlalchemy/sql/elements.py\", line 323, in _execute_on_connection\r\n    return connection._execute_clauseelement(self, multiparams, params)\r\n  File \"/home/mb/caravel/env/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py\", line 1010, in _execute_clauseelement\r\n    compiled_sql, distilled_params\r\n  File \"/home/mb/caravel/env/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py\", line 1146, in _execute_context\r\n    context)\r\n  File \"/home/mb/caravel/env/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py\", line 1341, in _handle_dbapi_exception\r\n    exc_info\r\n  File \"/home/mb/caravel/env/local/lib/python2.7/site-packages/sqlalchemy/util/compat.py\", line 200, in raise_from_cause\r\n    reraise(type(exception), exception, tb=exc_tb, cause=cause)\r\n  File \"/home/mb/caravel/env/local/lib/python2.7/site-packages/sqlalchemy/engine/base.py\", line 1139, in _execute_context\r\n    context)\r\n  File \"/home/mb/caravel/env/local/lib/python2.7/site-packages/sqlalchemy/engine/default.py\", line 450, in do_execute\r\n    cursor.execute(statement, parameters)\r\nsqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such table: css_templates [SQL: u'SELECT css_templates.created_on AS css_templates_created_on, css_templates.changed_on AS css_templates_changed_on, css_templates.id AS css_templates_id, css_templates.template_name AS css_templates_template_name, css_templates.css AS css_templates_css, css_templates.changed_by_fk AS css_templates_changed_by_fk, css_templates.created_by_fk AS css_templates_created_by_fk \\nFROM css_templates \\nWHERE css_templates.template_name = ?\\n LIMIT ? OFFSET ?'] [parameters: ('Flat', 1, 0)]\r\n```\r\n"}}