-
Notifications
You must be signed in to change notification settings - Fork 6
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
[CLI] crashing on incorrect arguments (cache caching ?) #139
Comments
@alexandrebouchard this is reproducible in be3bbce eeaba3a#diff-a82ae04972228cc12ea17d6dd56e1c22R127 commenting out For now I left a comment in the code pointing to this issue (in my fork). |
That's really weird indeed. I certainly didn't expect --no-daemon to fix things, it was more a performance trade-off test I wanted to make. Can you double check that adding back --no-daemon will make the issue reappear? Also I had a question on the initial report: there error report mentions a file 'hello.bl' which was not in the hierarchy you described. Where is this hello.bl located? Thanks! |
Yep! I tried eeaba3a with Updated comment regarding hello.bl: it was in the same root directory, but I completely removed that. The error message now corresponds to Example's error message, and the directory structure is identical to what is reported.
|
Strange.. I tried reproducing with or without --nodaemon and couldn't get the same error. Maybe the blang command was stale i.e. ./setup-cli.sh was not called at some point in the scenario. Another possibility is that the dependencies.txt file was not included in this example? Finally, note that even after moving dat->data the file input is also incorrect, it should be .fasta not .fast Let me know if the error persists though. I can try it on your laptop on Monday too. |
Sorry for the mixup, the actual tests were with the correct names ( |
Thanks! Here is an hypothesis: the error message suggests that somehow the blangSDK build directory somehow got deleted or corrupted. To figure out if this is the case try running setup-cli.sh to see if it fixes the issue. If it does, it will remain to figure out what did the deletion/corruption... |
I setup after checking out the commit, and ran the blang binary via absolute path to check. Let's go over it in the meeting today. |
Sounds good. Wrote an update on the error reproducibility repo too. Suggests at least one part of the fix will be to detect duplicated gradle dependencies |
Version: be3bbce
Fixed in: eeaba3a#diff-a82ae04972228cc12ea17d6dd56e1c22R127
Error message example:
Reproduction steps:
Directory structure:
NOTE ./dat is not ./data
Commands:
Any subsequent runs with any model will throw similar errors, for example:
echo "model A { laws { | Integer a = 0 ~ LogPotential(0) } }" > Test.bl && blang --model A
throwsERROR:LogPotential cannot be resolved. (file:Test.bl line : 1 column : 35)
Running the following works:
The text was updated successfully, but these errors were encountered: