Closed nobody4t closed 6 years ago
@WandyLau Various usages of leveldb in the project extend a key value store interface KeyValueStorage
at storage/kv_store.py
. We wanted to support rocksdb too, here KeyValueStorageRocksdb
at storage/kv_store_rocksdb.py
. But leveldb is the only implemented option as of now
@lovesh Hi, I am trying to run indy-plenum in Ubuntu container based on s390x platform. Now I installed python-leveldb manually in Ubuntu container based on s390x platform. Please see below. Also I changed the "import leveldb' into 'import python-leveldb/xenial as leveldb'. When I tried to run 'python3 -m plenum.test', I got errors " _pytest.config.ConftestImportFailure: SyntaxError('invalid syntax', ('/sovrin/build/indy-plenum/storage/kv_store_leveldb_int_keys.py', 5, 18, ' import python-leveldb/xenial as leveldb\n'))". Any ideas to import the manually installed leveldb? thanks
======python-leveldb installation info ========= apt list python-leveldb Listing... Done python-leveldb/xenial,now 0~svn68-2build4 s390x [installed]
@amber-zhang You shouldn't need to replace import leveldb
with anything? python-leveldb
is the name of the ubuntu package, the python package would still be called leveldb
I have enable leveldb in s390 and pull a new request. let's close this issue.
Can I just replace leveldb with other? If so, please give some choices. Thanks.