Ulauncher / ulauncher-timer

Timer Extension
52 stars 10 forks source link

Last update crashes #19

Closed Thanatermesis closed 1 year ago

Thanatermesis commented 1 year ago

With the last updated build, it crashes with the following:

Traceback (most recent call last): File "/usr/lib/python3/dist-packages/ulauncher/ui/windows/UlauncherWindow.py", line 161, in on_input_changed ModeHandler.get_instance().on_query_change(self.app.query) File "/usr/lib/python3/dist-packages/ulauncher/modes/ModeHandler.py", line 39, in on_querychange results = self.search(query) File "/usr/lib/python3/dist-packages/ulauncher/modes/ModeHandler.py", line 64, in search sorted = sorted(searchables, key=lambda i: i.searchscore(query), reverse=True)[:limit] File "/usr/lib/python3/dist-packages/ulauncher/modes/ModeHandler.py", line 64, in sorted = sorted(searchables, key=lambda i: i.search_score(query), reverse=True)[:limit] File "/usr/lib/python3/dist-packages/ulauncher/api/result.py", line 105, in search_score return max(get_score(query, field) * weight for field, weight in self.get_searchable_fields() if field) File "/usr/lib/python3/dist-packages/ulauncher/modes/apps/AppResult.py", line 62, in get_searchable_fields *frequency_weight = 1 - (index / count 0.1) + 0.05 ZeroDivisionError: division by zero**

Thanatermesis commented 1 year ago

wrong place to report it, sorry