Questions tagged [bsddb]

bsddb is the Python interface to the Berkeley DB embedded database library.

It used to be shipped with Python (2.x), but as of Python 3 has been split off into a separate package.

The name comes about from the Berkeley Software Distribution (BSD) which contained the original Berkeley DB.

34 questions
0
votes
1 answer

I have an error log comming which i am not getting or understand in Python

My code is running properly. I have a code in which user adds data into the Berkeley db. When i checked my error log, i am not getting understand to what does this error mean. One error log is checked about File permission deneid. I had gicen my db…
Jeremy
  • 73
  • 1
  • 3
  • 10
0
votes
2 answers

Inserting data through form fields into the Berkeleys db with python

I have a form with FirstName, LastName, Age and Gender. Now How do i insert data into the Berkeley db with python ? I am really new to this kinda database. Most database have the sql queries to associate and a cursor to get and fetch data. But in…
Jeremy
  • 73
  • 1
  • 3
  • 10
0
votes
1 answer

BerkeleyDB: Receiving truncated keys to bt_compare function in python BTREE

I am using BerkeleyDB 6.0 with bsddb3 python drivers. I have a dataset with BTREE access method having keys as strings representing floating point numbers. I have set a compare function to be used in set_bt_compare(). When I try to use…
xcorat
  • 1,434
  • 2
  • 17
  • 34
0
votes
2 answers

Use integer keys in Berkeley DB with python (using bsddb3)

I want to use BDB as a time-series data store, and planning to use the microseconds since epoch as the key values. I am using BTREE as the data store type. However, when I try to store integer keys, bsddb3 gives an error saying TypeError: Integer…
xcorat
  • 1,434
  • 2
  • 17
  • 34
1 2
3