Closed jakirkham closed 9 years ago
You just need to do cosmos_app.initdb() to create the SQL tables
Thanks @egafni that works. Just to see if I am understanding this, there shouldn't be a problem running this every time one starts up the shell, correct?
On a separate note, I see how this starts the iPython shell, but do you have a mechanism for starting the notebook.
There's nothing magical going on with the call shell(), check out it's code it just sets up the namespace for you. Re: a notebook i always have a notebook server running on the clusters im using. I use it to debug Cosmos workflows, and analyze the data results (no need to download analysis results since the notebook is on the server)
I tried to follow the example seen below ( http://cosmos-wfm.readthedocs.org/en/latest/shell.html#cosmos-shell ), but ran into the following error.
I tried creating an empty database beforehand, but that didn't fix the problem. Is there something I need to be doing to configure the database for the shell? It appears to expect some entries in the database already.