Comments (8)
@alexandrebouchard this is reproducible in be3bbce
eeaba3a#diff-a82ae04972228cc12ea17d6dd56e1c22R127 commenting out --no-daemon
argument actually fixed this issue. I am having trouble seeing why using the daemon would fix it, is it worth further investigation for the time being?
For now I left a comment in the code pointing to this issue (in my fork).
from blangsdk.
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!
from blangsdk.
Yep! I tried eeaba3a with --no-daemon
added back in, and it is throwing the same error again.
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.
echo "model A { laws { | Integer a = 0 ~ LogPotential(0) } }" > Test.bl && blang --model A
throws
ERROR:LogPotential cannot be resolved. (file:Test.bl line : 1 column : 35)
from blangsdk.
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.
from blangsdk.
Sorry for the mixup, the actual tests were with the correct names (fasta
)
I invited you to a github repo for reproducing the error; this error was replicated in a ubuntu VM.
from blangsdk.
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...
from blangsdk.
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.
from blangsdk.
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
from blangsdk.
Related Issues (20)
- Improve efficiency of sampling unobserved random variables with no directed path to data
- Migrate to jitpack HOT 1
- Add official support and testing for windows
- Add official support and testing for linux
- New version of gradle seems to have messed up gradle eclipse task HOT 1
- Different gradle versions can break blang CLI HOT 3
- [CLI] dependencies crashing HOT 2
- Examples in webpage are out of date/wrong
- Standalone compilation still misses some errors
- [CLI] --help option prints out SDK errors HOT 4
- [CLI] Get rid of hacks in caf3db17957d357ec23f99340657f37b9004fbdd
- Add special treatment for Indexer<Integer> in PlatedMatrix
- Automatic GoF
- Add tests where rvs occur upstream; improve organization of test fixture bl models
- Create shortcuts for AIS and MCMC engines
- How to read matrix into the model? HOT 1
- Inconsistent HDI in posterior plot and table summary HOT 7
- Non-interpretable error messages from DefaultPostProcessor HOT 1
- Compilation currently broken HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blangsdk.