benob / py-leveldb

Automatically exported from code.google.com/p/py-leveldb
Other
0 stars 0 forks source link

can't iterate over the db keys & values #36

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
import leveldb
db = leveldb.LevelDB('nana')
db.Put('hh', 'jj')
iterator = db.RangeIter()

What is the expected output? What do you see instead?
an iterator would be assigned into the variable

instead the python interpreter crash with the message:
pthread lock: Invalid argument
Aborted

What version of the product are you using? On what operating system?
fedora19

Original issue reported on code.google.com by ran.sol...@primarydata.com on 1 Jul 2014 at 4:31