NethermindEth / nethermind

A robust execution client for Ethereum node operators.
https://nethermind.io/nethermind-client
GNU General Public License v3.0
1.29k stars 450 forks source link

Pruning failed with exception. System.IO.FileNotFoundException #7848

Open Codj0 opened 3 days ago

Codj0 commented 3 days ago

Using v1.29.1 client. Receiving the following error, I think it also existed on previous versions.

Pruning failed with exception. System.IO.FileNotFoundException:
File name: 'System.Threading.Tasks.Dataflow, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
 ---> System.IO.FileNotFoundException:
File name: 'C:\Ethereum\execution\System.Threading.Tasks.Dataflow.dll'
   at System.Runtime.Loader.AssemblyLoadContext.<LoadFromPath>g____PInvoke|5_0(IntPtr __ptrNativeAssemblyBinder_native, UInt16* __ilPath_native, UInt16* __niPath_native, ObjectHandleOnStack __retAssembly_native)
   at System.Runtime.Loader.AssemblyLoadContext.LoadFromAssemblyPath(String assemblyPath)
   at Nethermind.Api.Extensions.PluginLoader.<>c__DisplayClass7_0.<Load>b__0(AssemblyLoadContext _, AssemblyName name)
   at System.Runtime.Loader.AssemblyLoadContext.GetFirstResolvedAssemblyFromResolvingEvent(AssemblyName assemblyName)
   at System.Runtime.Loader.AssemblyLoadContext.ResolveUsingEvent(AssemblyName assemblyName)
   at System.Runtime.Loader.AssemblyLoadContext.ResolveUsingResolvingEvent(IntPtr gchManagedAssemblyLoadContext, AssemblyName assemblyName)
   at Nethermind.Trie.Pruning.TrieStore.PruneCache(Boolean skipRecalculateMemory, KeyValuePair`2[] allNodes)
   at Nethermind.Trie.Pruning.TrieStore.<Prune>b__49_0()

image

LukaszRozmej commented 2 days ago

Did you build from source or used package/docker?

Codj0 commented 2 days ago

Did you build from source or used package/docker?

I downloaded the zip file from Releases: https://github.com/NethermindEth/nethermind/releases/download/1.29.1/nethermind-1.29.1-dfea5240-windows-x64.zip