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

Calculate Anything extension crashed [ULauncher] #58

Open
toriacx opened this issue Jul 6, 2024 · 3 comments
Open

Calculate Anything extension crashed [ULauncher] #58

toriacx opened this issue Jul 6, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@toriacx
Copy link

toriacx commented Jul 6, 2024

Describe the bug

Calculate Anything extension crashed after I added it to ULauncher

To Reproduce

I just added the extension and that happened.

Logs

I couldn't find any logs at ~/.cache/com.github.tchar.calculate-anything/log.

Screenshots

image

Desktop

  • OS: Debian 12
  • Linux: Linux 6.1.0-22-amd64
  • Desktop: GNOME Wayland

Additional context

I am not a expert when it comes to installing python packages... especially on linux.
I don't know what is the best way to install pip packages as of PEP668.
I tried to install the dependencies (requests pint simpleeval parsedatetime) by creating a venv in /usr/local/venv.
If you have any better way of installing pip packages, feel free to tell me... Maybe the dependencies aren't recognised by the extension.

@toriacx toriacx added the bug Something isn't working label Jul 6, 2024
@tchar
Copy link
Owner

tchar commented Jul 18, 2024

I am not sure if Ulauncher dev team has enabled a virtualenv per extension, but for now you should install the dependencies using python -m pip install/python3 -m pip install outside of virtual environments

@lucagouty
Copy link

In my case, this did the trick :

sudo apt install python3-pint python3-simpleeval python3-parsedatetime python3-tz

@sebastian-65
Copy link

Updating these fixed it for me on Arch:

yay -Sy --needed python-pint  python-simpleeval python-parsedatetime python-pytz

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

4 participants