ulauncher-docsearch icon indicating copy to clipboard operation
ulauncher-docsearch copied to clipboard

[Bug]: The extension crashed

Open manuglopez opened this issue 2 years ago • 1 comments

Description?

I have installe reuired extension

Name: algoliasearch Version: 2.6.2 Summary: Algolia Search API Client for Python. Home-page: https://github.com/algolia/algoliasearch-client-python Author: Algolia Team Author-email: [email protected] License: MIT Location: /home/mglopez/.local/lib/python3.9/site-packages Requires: requests Required-by:

And the result is

The extension crashed because it could not import module algoliasearch. Try installing this module manually: pip3 install algoliasearch --user and then restart Ulauncher. If that doesn't help, report the issue.

I do not know python for making any modification on extension and for debug it.

Thanks for your work.

Extension Logs

2022-07-20 08:52:44,479 | INFO | ulauncher.api.server.ExtensionRunner: _run_process() | Extension "com.github.brpaz.ulauncher-docsearch" started. PID 335910
2022-07-20 08:52:44,662 | ERROR | ulauncher.api.server.ExtensionRunner: _run_process() | Extension "com.github.brpaz.ulauncher-docsearch" exited instantly with code 1
2022-07-20 08:52:44,662 | ERROR | ulauncher.api.server.ExtensionRunner: _run_process() | Extension "com.github.brpaz.ulauncher-docsearch" failed with an error: ModuleNotFoundError: No module named 'algoliasearch'

manuglopez avatar Jul 20 '22 06:07 manuglopez

I think you Have a problem with this line in searcher.py

from docsearch.models import DocSet

There is no models module in docsearch module. Docset is unresolved.

manuglopez avatar Jul 20 '22 18:07 manuglopez