Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Failure with an error: ModuleNotFoundError: No module named 'docsearch.models' #10

Open
pablomalo opened this issue Jul 9, 2022 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@pablomalo
Copy link

pablomalo commented Jul 9, 2022

Failure with an error: ModuleNotFoundError: No module named 'docsearch.models

Hello, and thank you for this exciting extension.

I cannot get it to work, however.

I am running ULauncher v.5.14.4 on Ubuntu 22.04. Algoliasearch is installed.

➜  ~ pip show algoliasearch
Name: algoliasearch
Version: 2.4.0
Summary: Algolia Search API Client for Python.
Home-page: https://github.com/algolia/algoliasearch-client-python
Author: Algolia Team
Author-email: support@algolia.com
License: MIT
Location: /home/paul/.local/lib/python3.10/site-packages
Requires: requests
Required-by: 

Nevertheless the docs keyword elicits no reaction and the logs (attached) complain that a module is not found. Any clues as to what I might be missing?

Extension Logs

~ ulauncher -v --dev |& grep docsearch
2022-07-09 18:55:26,988 | INFO | ulauncher.api.server.ExtensionRunner: _run_process() | Extension "com.github.brpaz.ulauncher-docsearch" started. PID 43079
2022-07-09 18:55:28,019 | ERROR | ulauncher.api.server.ExtensionRunner: _run_process() | Extension "com.github.brpaz.ulauncher-docsearch" exited with code 1. Restarting...
2022-07-09 18:55:28,019 | INFO | ulauncher.api.server.ExtensionRunner: _run_process() | Extension "com.github.brpaz.ulauncher-docsearch" started. PID 43128
2022-07-09 18:55:28,246 | ERROR | ulauncher.api.server.ExtensionRunner: _run_process() | Extension "com.github.brpaz.ulauncher-docsearch" exited instantly with code 1
2022-07-09 18:55:28,246 | ERROR | ulauncher.api.server.ExtensionRunner: _run_process() | Extension "com.github.brpaz.ulauncher-docsearch" failed with an error: ModuleNotFoundError: No module named 'docsearch.models'
@pablomalo pablomalo added the bug Something isn't working label Jul 9, 2022
@manuglopez
Copy link

@pablomalo FYI Version 1.1.0 Works quite perfectly you can download fron here

https://github.com/brpaz/ulauncher-docsearch/releases

@pablomalo
Copy link
Author

Thanks for the heads up, @manuglopez .

I can confirm that by cloning the repo to ~/.local/share/ulauncher/extensions/com.github.brpaz.ulauncher-docsearch (on Ubuntu 22.04) and checking out v1.1.0, then restarting ULauncher, the plugin works.

Leaving this open as there is obviously a regression in the latest release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants