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

Code crashes when it tries to write a file in a non existing directory #25

Open
alucchi opened this issue Aug 29, 2015 · 1 comment
Open

Comments

@alucchi
Copy link
Contributor

alucchi commented Aug 29, 2015

Code crashes when it tries to write a file in a non existing directory. Shall we create the directory instead?

Exception in thread "main" java.io.FileNotFoundException: ../Results/true_true_Coursera_CoCoa_viterbi_chain_pairwise-1440841761677.csv (No such file or directory)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.(FileOutputStream.java:221)
at java.io.FileOutputStream.(FileOutputStream.java:110)
at java.io.FileWriter.(FileWriter.java:63)
at ch.ethz.dalab.dissolve.classification.StructSVMWithDBCFW.trainModel(StructSVMWithDBCFW.scala:27)

@martinjaggi
Copy link
Contributor

the path
solverOptions.debugInfoPath
should always be set to debug/, that directory is there.
do we have to change the parameter in some of the examples?

(if adding empty directories, need to write them explicitly in .gitignore)

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