dalanicolai / gnome-tracker-extension

Ulauncher extension for (deep) search filesystem via the gnome tracker, recoll, docfetcher, locate or calibre index
63 stars 4 forks source link

I can't serach docfetcher #15

Open bytersproblem opened 4 years ago

bytersproblem commented 4 years ago

Installed populated the database, but only "Loading" is displayed in ULauncher.

bytersproblem commented 4 years ago

docfetcher is installed via SNAP

dalanicolai commented 4 years ago

Hi! Somehow I missed the notification for this issue. I just discover it now. I quickly tried to have a look, but docfetcher won't start on my system because it returns some java error. But I can have another look if you are still interested. So in that case then please just let me know...

nbxtruong commented 4 years ago

I have the same problem on POP-OS 20.20. It only show 'Loading'.

dalanicolai commented 4 years ago

Hi! Thanks for reporting this issue. I found DocFetcher has introduced some security measure to use the PythonApi. So before a program (e.g. this extension) can use the python api, you have to set the variable PythonApiEnabled in the "conf" directory of your DocFetcher directory to "true". (These instruction I found in the search.py file in the docfetcher folder). I will update the instructions in the README file.

I think the docfetcher gui is very nice b.t.w. while the (docfetcher) search functionality of this extension is quite rudimentary. Maybe its functionality is already fine for you. Otherwise, if you know some python and if you like such things, then you are welcome to hack on the extension using the instructions in the docfetcher search.py file.