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
I try to use embedded RocksDB data engine with ustore package in Python (3.10) and I get an error: RuntimeError: Opening RocksDB
I try to use an example from the Readme:
fromustoreimportrocksdbdb=rocksdb.DataBase('/home/user/tmp/try_ustore/rocksdb/') # the error is heredb.main[42] = 'hello!
The directory /home/user/tmp/try_ustore/rocksdb/ is exist.
If I use open=False I get an error: RuntimeError: DataBase is uninitialized.
db=rocksdb.DataBase('/home/user/tmp/try_ustore/rocksdb/', open=False)
db.main[42] = 'hello! # the error is here
There are no any logs or debug info, so I do not understand what is happening and why the database cannot be created and opened. Maybe are some additional dependencies needed, or do I need to set some config? But in the Readme or the documentation I cannot find anything about this.
Describe the bug
Hello,
I try to use embedded RocksDB data engine with ustore package in Python (3.10) and I get an error:
RuntimeError: Opening RocksDB
I try to use an example from the Readme:
The directory
/home/user/tmp/try_ustore/rocksdb/
is exist.If I use
open=False
I get an error:RuntimeError: DataBase is uninitialized
.There are no any logs or debug info, so I do not understand what is happening and why the database cannot be created and opened. Maybe are some additional dependencies needed, or do I need to set some config? But in the Readme or the documentation I cannot find anything about this.
Steps to reproduce
Expected behavior
A database is created/opened and can be used
UStore version
0.12.1
Operating System
Ubuntu 20.04, Mint 21.2
Hardware architecture
x86
Are you using an embedded version?
Which interface are you using?
Official Python bindings
Which engine are you using?
RocksDB
Contact Details
No response
Is there an existing issue for this?
Code of Conduct
The text was updated successfully, but these errors were encountered: