duc icon indicating copy to clipboard operation
duc copied to clipboard

duc index fails on first run: Database not found

Open minfrin opened this issue 1 year ago • 2 comments

First install of doc, the manual says I should run "due index", I do so, and due fails as follows:

[root@arnie ~]# duc index /
Error opening: /root/.cache/duc/duc.db - unsupported DB type unknown, compiled for tokyocabinet
Database not found

duc is missing this step:

mkdir -p /root/.cache/duc

minfrin avatar Nov 24 '24 09:11 minfrin

"minfrin" == minfrin @.***> writes:

Thanks for the report! Can you tell me which version of duc you're running? And which system type you're running on? And can you run:

file /root/.cache/duc/duc.db

as a check please? If there is a file there, it will help me figure out what's wrong. I do know there's some breakage in the checking of DB types that needs to be cleaned up.

First install of doc, the manual says I should run "due index", I do so, and due fails as follows:

@.*** ~]# duc index / Error opening: /root/.cache/duc/duc.db - unsupported DB type unknown, compiled for tokyocabinet Database not found

Yeah, probably a bug I need to fix.

duc is missing this step:

mkdir -p /root/.cache/duc

Yeah, more fixes needed here, and better error handling. Thanks for the report!

l8gravely avatar Nov 27 '24 20:11 l8gravely

Hola peeps; just hit this, glad it is documented and the documented fix works. Thank you kindly. Cool application, using it to explore a mkosi fedora build.

sirspudd avatar Feb 21 '25 06:02 sirspudd