-
Notifications
You must be signed in to change notification settings - Fork 9
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
Rascal check crashed unexpectedly with: Cannot write TPL file |target://bas2-maintainability-model/rascal/$LoC.tpl|, reason: IO("-1: Cannot mkDirectory on a rascal uri: target://bas2-maintainability-model")at: |lib://rascal-core/lang/rascalcore/check/CheckerCommon.rsc|(9408,2,<243,61>,<243,63>) #548
Comments
@PaulKlint this one was solved right? With the upcoming rascal core release? |
I suspect it is caused by the target scheme that is not yet supported in the main branch. |
The target scheme has been around for a while, I thought this was a duplicate of #529 ? |
It is indeed a duplicate of #529. One observation: My suspicion is still the |
Target behaves like the project scheme, so it should have the project name in the authority. Target refers to the target folder in a specific project. But we could have missed some cases in how the resolver behaves. |
More observations:
BUT the directory has been created in This explains at least why the |
@DavyLandman and I have played with scenario's to reproduce this. Here is one:
After further analysis it turns out that -- in the absence of a manifest -- the project name is set to |
Further exploration by @sungshik has revealed that this problem is partly solved in the https://github.com/usethesource/rascal/tree/replace-lib-by-mvn-and-others-fix/std-always-from-current2 branch, albeit that in that branch also some NPEs are visible in the logs. Work in progress to deal with them. |
Not sure what the issue is here.
Exception thrown:
Stacktrace:
The text was updated successfully, but these errors were encountered: