Questions tagged [dbm]
DBM is a simple UNIX database format. It uses a key-value storage and hashing for fast retrieval of the data by key.
95
questions
-4
votes
1
answer
69
views
dbm package: file is not a database on open with SQLITE viewer
I made a database with the Python package dbm but I cannot seem to find any way to open it. The file is recognizable for reading and writing but when I try to open it visually using SQLITE viewer, it ...
0
votes
0
answers
714
views
How to create a processor in nifi using curl Rest API?
I want to create a processor inside a processor group in nifi. I want to create it using the curl command in ubuntu cli. I don't know exactly how to create a processor? I know it can be started using ...
0
votes
1
answer
37
views
Heroku: dbm.error: but i have a good token
How do l fix the error below?
I have a good token, I've changed it twice
0
votes
1
answer
108
views
How do I use multiple writers with tdb?
I'm using tdb to try to get acquainted with database management in C on Linux. Per tdb's description
tdb is a Trivial database.
In concept, it is very much like GDBM, and BSD's DB except that it
...
1
vote
1
answer
219
views
Django makemigrations error on many to many relationship
What i want:
Store information about running of group of people.
What i did:
from django.db import models
from django.contrib.auth.models import User
from datetime import timedelta
class Route(models....
1
vote
0
answers
41
views
open attribute is not working for sqlite3dbm
I have to develop dbm module using sqlite. Hence I have imported sqlite3dbm with open attribute to create the new database. But it is saying "module 'sqlite3dbm' has no attribute 'open'". ...
2
votes
1
answer
971
views
Is dbm.gnu not supported on Python 3.7 Windows?
When doing
import dbm.gnu
on a standard Python 3.7.6 (64) for Windows, I get:
File "C:\Python37\lib\dbm\gnu.py", line 3, in
from _gdbm import *
ModuleNotFoundError: No module named '_gdbm'...
0
votes
1
answer
90
views
(node:65297) UnhandledPromiseRejectionWarning: TypeError: mem.addRole is not a function
i am having an issue with a Run script.
I am using Discord Bot Maker for JavaScript code with run script in it.
As you can see, this is a Persistent Role system.
It is supposed to keep your roles, if ...
1
vote
1
answer
598
views
Convert Python shelve from dbm.gnu to dbm.dumb
I am trying to convert data stored in a non-dumb shelve to a dumb shelve, to be able to access my data at a location where the non-dumb libraries are not installed.
My test code for transforming the ...
2
votes
0
answers
552
views
Use dbm.ndbm / Berkeley DB to open a serialized Python shelve on a machine where only dbm.dumb seems to be installed
I am using a software package which generates serialized Python shelves.
On the remote machine where the shelves are generated, I can open them and process them perfectly.
However, when I copy them on ...
-1
votes
1
answer
78
views
How do I import and Excel Spreadsheet into my DB?
Hi Everyone, I'm trying to import some data from an excel sheet across three different tables, and I'm wondering how I can do this I can't find anything for actually importing in excel. I don't know ...
0
votes
1
answer
90
views
Update query for database
What's wrong with my SQL update? I'm trying to update records with the upcoming value for status records with the value as missed & due_date BETWEEN 2020-08-01 AND 2020-12-31.
Where is the Syntax ...
1
vote
1
answer
319
views
Export blob column from mysql dB to disk and replace it with new file name
So I'm working on a legacy database, and unfortunately the performance of database is very slow. Simple select query can take up to 10 seconds in tables with less than 10000 record.
So i tried to ...
2
votes
1
answer
631
views
python2.7 missing standard dbm module when install by conda
I want to install python2.7 by conda as follows command:
conda create -n tensorflow python=2.7 anaconda
But it is missing of dbm module.
$ python
Python 2.7.15 | packaged by conda-forge | (default,...
1
vote
0
answers
51
views
Strategy for converting JSON to DBM Hash File (AEM with Apache backend)
I'm looking for some solution design assistance, as an idea I thought I could mimic apache's httxt2dbm tool.
Use case:
We currently manage our 301 RewriteRule's in apache for our AEM environment. My ...