You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when feeding RELP with .rsp file it gets the following exceptions.
using each references separately works fine.
Exceptions
Writingtrace log to /home/sj13/Documents/source/scripts/csharprepl-tracelog-2023-10-15.txt
No applicable references were found inside 'Humanizer.Core.de.2.14.1' package.
No applicable references were found inside 'Humanizer.Core.el.2.14.1' package.
No applicable references were found inside 'Humanizer.Core.el.2.14.1' package.
No applicable references were found inside 'Humanizer.Core.es.2.14.1' package.
No applicable references were found inside 'Humanizer.Core.es.2.14.1' package.
No applicable references were found inside 'Humanizer.Core.fa.2.14.1' package.
No applicable references were found inside 'Humanizer.Core.fa.2.14.1' package.
No applicable references were found inside 'Humanizer.Core.fi-FI.2.14.1' package.
No applicable references were found inside 'Humanizer.Core.fi-FI.2.14.1' package.
Could not find package 'UnitsNet'. Error: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.(Parameter 'index')Could not find package 'UnitsNet'. Error: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.(Parameter 'index')
at System.Collections.Generic.List`1.RemoveAt(Int32 index)
Could not find package 'UnitsNet'. Error: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.(Parameter 'index')
at System.Collections.Generic.List`1.RemoveAt(Int32 index)
Could not find package 'UnitsNet'. Error: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.(Parameter 'index')
at System.Collections.Generic.List`1.RemoveAt(Int32 index)
Could not find package 'UnitsNet'. Error: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.(Parameter 'index')
at System.Collections.Generic.List`1.RemoveAt(Int32 index)
Could not find package 'UnitsNet'. Error: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.(Parameter 'index')
at System.Collections.Generic.List`1.RemoveAt(Int32 index)
Could not find package 'UnitsNet'. Error: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.(Parameter 'index')
at System.Collections.Generic.List`1.RemoveAt(Int32 index)
Could not find package 'UnitsNet'. Error: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.(Parameter 'index')
at System.Collections.Generic.List`1.RemoveAt(Int32 index)
Could not find package 'UnitsNet'. Error: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.(Parameter 'index')
at System.Collections.Generic.List`1.RemoveAt(Int32 index)
Could not find package 'UnitsNet'. Error: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.(Parameter 'index')
at System.Collections.Generic.List`1.RemoveAt(Int32 index)
Could not find package 'UnitsNet'. Error: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.(Parameter 'index')
at System.Collections.Generic.List`1.RemoveAt(Int32 index)
Could not find package 'UnitsNet'. Error: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.(Parameter 'index')
at System.Collections.Generic.List`1.RemoveAt(Int32 index)
Could not find package 'UnitsNet'. Error: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.(Parameter 'index')
at System.Collections.Generic.List`1.RemoveAt(Int32 index)
Could not find package 'UnitsNet'. Error: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.(Parameter 'index')
at System.Collections.Generic.List`1.RemoveAt(Int32 index)
Could not find package 'UnitsNet'. Error: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.(Parameter 'index')
at System.Collections.Generic.List`1.RemoveAt(Int32 index)
Could not find package 'UnitsNet'. Error: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.(Parameter 'index')
at System.Collections.Generic.List`1.RemoveAt(Int32 index)
Could not find package 'UnitsNet'. Error: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.(Parameter 'index')
at System.Collections.Generic.List`1.RemoveAt(Int32 index)
Could not find package 'UnitsNet'. Error: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.(Parameter 'index')
at System.Collections.Generic.List`1.RemoveAt(Int32 index)
Could not find package 'UnitsNet'. Error: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.(Parameter 'index')
at System.Collections.Generic.List`1.RemoveAt(Int32 index)
Could not find package 'UnitsNet'. Error: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.(Parameter 'index')
at System.Collections.Generic.List`1.RemoveAt(Int32 index)
Could not find package 'UnitsNet'. Error: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.(Parameter 'index')
at System.Collections.Generic.List`1.RemoveAt(Int32 index)
Could not find package 'UnitsNet'. Error: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.(Parameter 'index')
at System.Collections.Generic.List`1.RemoveAt(Int32 index)
Could not find package 'UnitsNet'. Error: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.(Parameter 'index')
at System.Collections.Generic.List`1.RemoveAt(Int32 index)
Could not find package 'UnitsNet'. Error: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.(Parameter 'index')
at System.Collections.Generic.List`1.RemoveAt(Int32 index)
Could not find package 'UnitsNet'. Error: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.(Parameter 'index')
at System.Collections.Generic.List`1.RemoveAt(Int32 index)
Could not find package 'UnitsNet'. Error: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.(Parameter 'index')
at System.Collections.Generic.List`1.RemoveAt(Int32 index)
Could not find package 'UnitsNet'. Error: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.(Parameter 'index')
at System.Collections.Generic.List`1.RemoveAt(Int32 index)
Could not find package 'UnitsNet'. Error: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.(Parameter 'index')
at System.Collections.Generic.List`1.RemoveAt(Int32 index)
Could not find package 'UnitsNet'. Error: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.(Parameter 'index')
at System.Collections.Generic.List`1.RemoveAt(Int32 index)
Could not find package 'UnitsNet'. Error: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.(Parameter 'index')
at System.Collections.Generic.List`1.RemoveAt(Int32 index)
Could not find package 'UnitsNet'. Error: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.(Parameter 'index')
at System.Collections.Generic.List`1.RemoveAt(Int32 index)
Could not find package 'UnitsNet'. Error: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.(Parameter 'index')
at System.Collections.Generic.List`1.RemoveAt(Int32 index)
Could not find package 'UnitsNet'. Error: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.(Parameter 'index')
at System.Collections.Generic.List`1.RemoveAt(Int32 index)
at CSharpRepl.Services.Nuget.ConsoleNugetLogger.LogFinish(String text, Boolean success)in D:\a\CSharpRepl\CSharpRepl\CSharpRepl.Services\Nuget\ConsoleNugetLogger.cs:line 105
at CSharpRepl.Services.Nuget.NugetPackageInstaller.InstallAsync(String packageId, String version, CancellationToken cancellationToken)in
D:\a\CSharpRepl\CSharpRepl\CSharpRepl.Services\Nuget\NugetPackageInstaller.cs:line 91
Could not find package 'CliWrap'. Error: System.ArgumentOutOfRangeException: Index was out of range. Mu
st be non-negative and less than the size of the collection.(Parameter 'index')
at System.Collections.Generic.List`1.RemoveAt(Int32 index)
at CSharpRepl.Services.Nuget.ConsoleNugetLogger.LogFinish(String text, Boolean success)in D:\a\CSharpRepl\CSharpRepl\CSharpRepl.Services\Nuget\ConsoleNugetLogger.cs:line 105
at CSharpRepl.Services.Nuget.NugetPackageInstaller.InstallAsync(String packageId, String version, CancellationToken cancellationToken)in
D:\a\CSharpRepl\CSharpRepl\CSharpRepl.Services\Nuget\NugetPackageInstaller.cs:line 91
Could not find package 'Humanizer'. Error: System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.Collections.Generic.List`1.Enumerator.MoveNextRare()
at System.Collections.Generic.List`1.Enumerator.MoveNext()
at CSharpRepl.Services.Nuget.ConsoleNugetLogger.RenderLines()in D:\a\CSharpRepl\CSharpRepl\CSharpRepl.Services\Nuget\ConsoleNugetLogger.cs:line 136
at CSharpRepl.Services.Nuget.ConsoleNugetLogger.LogMinimal(String data)in D:\a\CSharpRepl\CSharpRepl\CSharpRepl.Services\Nuget\ConsoleNugetLogger.cs:line 74
at CSharpRepl.Services.Nuget.ConsoleNugetLogger.LogWarning(String data)in D:\a\CSharpRepl\CSharpRepl\CSharpRepl.Services\Nuget\ConsoleNugetLogger.cs:line 77
at CSharpRepl.Services.Nuget.NugetPackageInstaller.GetDependencies(NuGetFramework targetFramework, FolderNuGetProject nuGetProject, PackageIdentity packageIdentity, ManagedCodeConventions
managedCodeConventions, Dictionary`2 aggregatedReferences, CancellationToken cancellationToken)in D:\a\CSharpRepl\CSharpRepl\CSharpRepl.Services\Nuget\NugetPackageInstaller.cs:line 187
at CSharpRepl.Services.Nuget.NugetPackageInstaller.GetDependencies(NuGetFramework targetFramework, FolderNuGetProject nuGetProject, PackageIdentity packageIdentity, ManagedCodeConventions
managedCodeConventions, Dictionary`2 aggregatedReferences, CancellationToken cancellationToken)in D:\a\CSharpRepl\CSharpRepl\CSharpRepl.Services\Nuget\NugetPackageInstaller.cs:line 205
at CSharpRepl.Services.Nuget.NugetPackageInstaller.GetDependencies(NuGetFramework targetFramework, FolderNuGetProject nuGetProject, PackageIdentity packageIdentity, ManagedCodeConventions
managedCodeConventions, CancellationToken cancellationToken)in D:\a\CSharpRepl\CSharpRepl\CSharpRepl.Services\Nuget\NugetPackageInstaller.cs:line 127
at CSharpRepl.Services.Nuget.NugetPackageInstaller.GetAssemblyReferenceWithDependencies(NuGetFramework targetFramework, FolderNuGetProject nuGetProject, PackageIdentity packageIdentity, CancellationToken
cancellationToken)in D:\a\CSharpRepl\CSharpRepl\CSharpRepl.Services\Nuget\NugetPackageInstaller.cs:line 115
at CSharpRepl.Services.Nuget.NugetPackageInstaller.InstallAsync(String packageId, String version, CancellationToken cancellationToken)in
D:\a\CSharpRepl\CSharpRepl\CSharpRepl.Services\Nuget\NugetPackageInstaller.cs:line 88
┌────────────────────────────Exception────────────────────────────┐
│ Collection was modified; enumeration operation may not execute. │
└─────────────────────────────────────────────────────────────────┘
>
When multiple packages are loaded at once, the nuget logger is run concurrently, causing the errors due to its fancy output rendering. The above PR fixes those errors by introducing some locking.
I'm not going to mark this issue as resolved quite yet, because even though there are no longer any errors, the output is quite misleading. The 3 threads (due to the 3 nuget references) are trying to write lines and clear lines separately, and they're stepping on each other. I have some ideas on how to fix this.
Version
0.6.5
What happened?
tried to organize common Nuget packages in a response file as below:
when feeding RELP with .rsp file it gets the following exceptions.
using each references separately works fine.
Exceptions
TraceLog
The text was updated successfully, but these errors were encountered: