GithubHelp home page GithubHelp logo

Comments (8)

kevinchern avatar kevinchern commented on July 20, 2024

@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.

alexandrebouchard avatar alexandrebouchard commented on July 20, 2024

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.

kevinchern avatar kevinchern commented on July 20, 2024

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.

alexandrebouchard avatar alexandrebouchard commented on July 20, 2024

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.

kevinchern avatar kevinchern commented on July 20, 2024

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.

alexandrebouchard avatar alexandrebouchard commented on July 20, 2024

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.

kevinchern avatar kevinchern commented on July 20, 2024

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.

alexandrebouchard avatar alexandrebouchard commented on July 20, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.