neo-node icon indicating copy to clipboard operation
neo-node copied to clipboard

The given key 'LevelDBStore' was not present in the dictionary.

Open scharada opened this issue 3 years ago • 1 comments

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.<ThrowAsync>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.<ThrowAsync>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 ?

scharada avatar Oct 01 '22 11:10 scharada

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

Jim8y avatar Oct 03 '22 14:10 Jim8y

Old, if remains, please re-open

shargon avatar Dec 05 '23 13:12 shargon