Open iancballard opened 9 years ago
I think the answer here is the same as #13
I am still getting the same error when starting in the ziegler directory. It seems to make a file called "analysis" in static/ser
When you start ziegler it makes a directory in static/
with your experiment name and then softlinks the data and analysis directories within it. (This is because of some quirks of Flask). That usually gets cleaned up when you exit ziegler, but I'm guessing that wasn't working when you were running ziegler from a different directory. Have you tried manually removing the ser/
directory and restarting?
Yes. In fact, when not in debug mode, ziegler fails to delete the ser/analysis file when closing. All the other temporary files in static are deleted. I have to manually delete this file and /ser before running.
What do you mean when you say closing ziegler? It should get removed when then ziegler.py process ends, but if you just kill the terminal it's running from I think that might not happen (for reasons that are uncontrollable within Python). Try ctrl-c'ing it first?
I have been killing it by ctrl-c'ing in the terminal window
I can't reproduce:
[mwmp ziegler]{master}$ setstudy LymanTest
[mwmp ziegler]{master}$ ls static/
bootstrap-multiselect.css bootstrap.min.css data/ jquery-2.1.1.min.js papaya.js
bootstrap-multiselect.js bootstrap.min.js favicon.ico papaya.css style.css
[mwmp ziegler]{master}$ python ziegler.py &
[1] 20385
[mwmp ziegler]{master}$ * Running on http://127.0.0.1:5000/
[mwmp ziegler]{master}$ ls static/
bootstrap-multiselect.css bootstrap.min.css data/ jquery-2.1.1.min.js papaya.css style.css
bootstrap-multiselect.js bootstrap.min.js favicon.ico nback/ papaya.js
[mwmp ziegler]{master}$
[mwmp ziegler]{master}$ fg
python ziegler.py
^C[mwmp ziegler]{master}$
[mwmp ziegler]{master}$ ls static/
bootstrap-multiselect.css bootstrap.min.css data/ jquery-2.1.1.min.js papaya.js
bootstrap-multiselect.js bootstrap.min.js favicon.ico papaya.css style.css
I get the following error when trying to run zeigler in debug mode, even when I delete the /static/ser directory prior to running the command