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

The artefact vertex has no producer vertex set exception. When folder artefact status requested as file artefact status #128

Open
dgrechka opened this issue Nov 14, 2021 · 0 comments

Comments

@dgrechka
Copy link
Member

imageSummaryAnalysis is actually a directory and needs to be specifed with trailing /, but with shell autocomplete does not place trainling /.

thus
alpheus status imageSummaryAnalysis
results in

System.InvalidOperationException: The artefact vertex has no producer vertex set. Set the ProduceBy before retrieving its value
   at ItisLab.Alpheus.DependencyGraph.ArtefactVertex.get_ProducedBy() in /drone/src/AlpheusCore/DependencyGraph.fs:line 135
   at ItisLab.Alpheus.DependencyGraphToAngaraWrapper.ItisLab-Alpheus-AngaraTranslator-IDependencyGraph`2-ProducedBy(ArtefactVertex artefact) in /drone/src/AlpheusCore/DependencyGraphToAngaraWrapper.fs:line 19
   at ItisLab.Alpheus.AngaraTranslator.registerArtefactRelatedMethods@31[Node,Artefact,Method](FSharpFunc`2 nodeFactory, IDependencyGraph`2 dependencyGraph, Artefact artefact, FlowGraph`1 graph, FSharpMap`2 methodNodeMap) in /drone/src/AlpheusCore/AngaraTranslator.fs:line 34
   at [email protected](Tuple`2 tupledArg, Artefact artefact) in /drone/src/AlpheusCore/AngaraTranslator.fs:line 61
   at Microsoft.FSharp.Collections.SeqModule.Fold[T,TState](FSharpFunc`2 folder, TState state, IEnumerable`1 source) in F:\workspace\_work\1\s\src\fsharp\FSharp.Core\seq.fs:line 731
   at ItisLab.Alpheus.AngaraTranslator.translate[Node,Artefact,Method](FSharpFunc`2 nodeFactory, IDependencyGraph`2 dependencyGraph) in /drone/src/AlpheusCore/AngaraTranslator.fs:line 63
   at ItisLab.Alpheus.StatusGraph.buildStatusGraph(Graph g, String experimetRoot, FSharpFunc`2 checkStoragePresence) in /drone/src/AlpheusCore/StatusGraph.fs:line 114
   at [email protected](Graph _arg1) in /drone/src/AlpheusCore/API.fs:line 170
   at Microsoft.FSharp.Control.AsyncPrimitives.CallThenInvokeNoHijackCheck[a,b](AsyncActivation`1 ctxt, FSharpFunc`2 userCode, b result1) in F:\workspace\_work\1\s\src\fsharp\FSharp.Core\async.fs:line 417
   at [email protected](AsyncActivation`1 ctxt) in /drone/src/AlpheusCore/API.fs:line 22
   at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) in F:\workspace\_work\1\s\src\fsharp\FSharp.Core\async.fs:line 109
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.FSharp.Control.AsyncResult`1.Commit() in F:\workspace\_work\1\s\src\fsharp\FSharp.Core\async.fs:line 350
   at Microsoft.FSharp.Control.AsyncPrimitives.RunSynchronouslyInCurrentThread[a](CancellationToken cancellationToken, FSharpAsync`1 computation) in F:\workspace\_work\1\s\src\fsharp\FSharp.Core\async.fs:line 882
   at Microsoft.FSharp.Control.AsyncPrimitives.RunSynchronously[T](CancellationToken cancellationToken, FSharpAsync`1 computation, FSharpOption`1 timeout) in F:\workspace\_work\1\s\src\fsharp\FSharp.Core\async.fs:line 890
   at Microsoft.FSharp.Control.FSharpAsync.RunSynchronously[T](FSharpAsync`1 computation, FSharpOption`1 timeout, FSharpOption`1 cancellationToken) in F:\workspace\_work\1\s\src\fsharp\FSharp.Core\async.fs:line 1154
   at [email protected](Tuple`2 _arg9) in /drone/src/Alpheus.CLI/Runner.fs:line 73
   at Microsoft.FSharp.Core.ResultModule.Bind[T,TResult,TError](FSharpFunc`2 binder, FSharpResult`2 result) in F:\workspace\_work\1\s\src\fsharp\FSharp.Core\result.fs:line 15
   at ItisLab.Alpheus.CliRunner.run$cont@61-1(String workingDir, ParseResults`1 parseResults, String usage, Unit unitVar) in /drone/src/Alpheus.CLI/Runner.fs:line 72
   at ItisLab.Alpheus.Program.main(String[] argv) in /drone/src/Alpheus.CLI/Program.fs:line 42
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

1 participant