neo-project / neo-node

MIT License
229 stars 224 forks source link

node: The given key 'LevelDBStore' was not present in the dictionary. #881

Closed scharada closed 11 months ago

scharada commented 2 years ago

hi , i have followed exactly the installation steps as mentioned in the documentation. tried the published binaries and also running in visual studio from code. no changes to the code were made at all. NOTE : following the code, it looks like the only store provider loaded in the collection is the inmemory store. and that's where the exception happens when it looks for the LevelDbStore key.

here is the exception:

[12:19:23.137] System.Collections.Generic.KeyNotFoundException The given key 'LevelDBStore' was not present in the dictionary. at System.Collections.Generic.Dictionary`2.get_Item(TKey key) at Neo.NeoSystem..ctor(ProtocolSettings settings, String storageEngine, String storagePath) at Neo.CLI.MainService.Start(String[] args) in D:\BlockChain\Neo\neo-node\neo-cli\CLI\MainService.cs:line 375 at System.Threading.Tasks.Task.<>c.b__128_1(Object state) at System.Threading.QueueUserWorkItemCallbackDefaultContext.Execute() at System.Threading.ThreadPoolWorkQueue.Dispatch() at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart() at System.Threading.Thread.StartCallback()

Unhandled exception. System.Collections.Generic.KeyNotFoundException: The given key 'LevelDBStore' was not present in the dictionary. at System.Collections.Generic.Dictionary`2.get_Item(TKey key) at Neo.NeoSystem..ctor(ProtocolSettings settings, String storageEngine, String storagePath) at Neo.CLI.MainService.Start(String[] args) in D:\BlockChain\Neo\neo-node\neo-cli\CLI\MainService.cs:line 375 at System.Threading.Tasks.Task.<>c.b__128_1(Object state) at System.Threading.QueueUserWorkItemCallbackDefaultContext.Execute() at System.Threading.ThreadPoolWorkQueue.Dispatch() at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart() at System.Threading.Thread.StartCallback()

what am i doing wrong or missing please ?

Jim8y commented 2 years ago

You can get it from here https://github.com/neo-project/neo-modules/releases

shargon commented 11 months ago

Old, if remains, please re-open