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

{BITEXTORINSTALL} install error #36

Closed
hieuhoang opened this issue Nov 8, 2018 · 2 comments
Closed

{BITEXTORINSTALL} install error #36

hieuhoang opened this issue Nov 8, 2018 · 2 comments

Comments

@hieuhoang
Copy link
Contributor

I'm getting this error

RuleException:
CalledProcessError in line 539 of /home/hieu/workspace/github/paracrawl/bitextor.malign/snakemake/Snakefile:
Command ' set -euo pipefail; /home/hieu/permanent/software/bitextor/bitextor-rank.py -m /home/hieu/permanent/software/bitextor/{BITEXTORINSTALL}/share/bitextor/model/keras.model -w /home/hieu/permanent/software/bitextor/{BITEXTORINSTALL}/share/bitextor/model/keras.weights < /home/hieu/transient/en-fr/activeboard.1.urlsoverlap > /home/hieu/transient/en-fr/activeboard.1.rank ' returned non-zero exit status 1.

I would suggest we leave {BITEXTORINSTALL} until after the pipeline has been completed and thoroughly test. Installing bitextor should be invisible to the code, at the moment its causing headache

@hieuhoang
Copy link
Contributor Author

deleting {BITEXTORINSTALL} 8c82726

1 less thing to worry about

@mespla
Copy link
Contributor

mespla commented Nov 8, 2018

Without BITEXTORINSTALL variable snakemake cannot find models, tika, or hunalign. To have a pipeline that works both on an installation and on the source code, we should either have two variables (one with the path to the installation [BITEXTORINSTALL] and one with the path to the source code [BITEXTOR]) or we have to move everything in the repository so it looks like the installation directory (with scripts and executables in a bin sub-dir, models in a share sub-dir, etc.)

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