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

message stuck at "loading..." when there are no results #17

Open rxng opened 3 years ago

rxng commented 3 years ago

when there are no results, gt should display "no results found" rather than being stuck on "loading..." , which we cannot tell if there are any results or maybe the script is erroring out

dalanicolai commented 3 years ago

Thanks for the report. Unfortunately, my gnome installation crashed because I ran out of disk space and cleaned it up a little too much. So, I am currently on KDE, and don't want to do the migration back until I finish some project I am working on.

Also, I am not using this plugin anymore for almost two years already because I am using Spacemacs now (which I can highly recommend, there is a nice gnome-tracker plugin available for it also).

So I am sorry to tell that I am unable at the moment to look at it. Still, I would happily merge any PR...

rxng commented 3 years ago

Isn’t spacemacs an editor rather a launcher ?

On 4 Aug 2021, at 07:32, Daniel Nicolai @.***> wrote:

 Thanks for the report. Unfortunately, my gnome installation crashed because I ran out of disk space and cleaned it up a little too much. So, I am currently on KDE, and don't want to do the migration back until I finish some project I am working on.

Also, I am not using this plugin anymore for almost two years already because I am using Spacemacs now (which I can highly recommend, there is a nice gnome-tracker plugin available for it also).

So I am sorry to tell that I am unable at the moment to look at it. Still, I would happily merge any PR...

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

dalanicolai commented 3 years ago

Haha, yes good question.

So (Space)macs is much more than an editor. It is more like an emacs-lisp interpreter (very much like the python interpreter, but in a way more powerful) but with a gui frontend that provides an editor (or in a way multiple editors, because it has vim ,written in emacs-lisp, built in also, which is probably more powerful than vim itself, and which is what I am using). But otherwise it provides a very rich emacs-lisp environment, that in theory can do anything that python can do (in practise it has only one gui frontend which is Emacs, and limited graphic capabilities, but those are only useful for modern games or such things. But developing productivity applications in Emacs is really fun and easy. It is hard to explain, you should try it.

Anyway, Emacs users built all kinds of things in emacs-lisp, like a pdf-reader, probably the most powerful note-taking application in existence (and org-roam, the most powerful git front-end, a great calibre (book library) front-end, a better postman than the real postman (for building api's), the most beautiful front-end to launch shell scripts (in a package called transient, several blog managers, and also it provides all features of ulauncher I was using, including quick app launcher and all functionality of the gnome-tracker-extension. It has of course a slightly higher learning curve than ulauncher. But in the end, it is much more powerful and much easier to hack on. I would recommend Spacemacs to everyone who enjoys productivity, it is really a marvelous program with a great and very helpful community. Also you could take a look at what other people say about (Spac)emacs and its packages (for example here. You can also find many videos on Spacemacs on youtube to get an idea.

dalanicolai commented 3 years ago

And of course for just launching apps, any OS provides that functionality now under the Super key. Still ulauncher is a beautiful app too, but although I have it installed, I really never use it.

supremesnickers commented 2 years ago

It may have to do with the new version 3 of GNOME Tracker, where the command has been updated to tracker3. Changing https://github.com/dalanicolai/gnome-tracker-extension/blob/59a68d3836627f3f13f5af9e78500ca398872637/main.py#L182 to tracker3 works for the ts keyword.

dalanicolai commented 2 years ago

@supremesnickers Ah great! Thanks for the message. As I wrote above already, I am not using Ulauncher anymore because I am using Spacemacs now (but otherwise, Ulauncher is still a great app of course). On the other hand, in the meantime, I switched back to gnome desktop. Well, this might all be irrelevant info. So let me just mention that I will quickly update that tracker command today then...

michalzubkowicz commented 2 years ago

I can confirm that this fix is working. It would be nice to have error messages why something doesn't work