tchar / ulauncher-albert-calculate-anything

A ULauncher/Albert extension that supports currency, units and date time conversion, as well as a calculator that supports complex numbers and functions.
MIT License
103 stars 13 forks source link

Cannot install the extension #28

Closed jrafaaael closed 5 months ago

jrafaaael commented 3 years ago

Describe the bug

Cannot install the extension

To Reproduce

Steps to reproduce the behavior:

  1. Open "Ulauncher Preferences"
  2. Enter the "Extensions" tab
  3. Select the option "Add extension"
  4. Paste the repository link (https://github.com/tchar/ulauncher-albert-calculate-anything)

Expected behavior

Extension installed

Logs

Message: undefined Error Name: undefined Type: undefined

Stacktrace:

undefined

Screenshots

If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information)

Additional context

Add any other context about the problem here.

tchar commented 3 years ago

Hello @jrafaaael have you installed the dependencies?

Pint==0.17
simpleeval==0.9.10
parsedatetime==2.6
pytz==2021.1

Also this problem really looks like a Ulauncher problem because I have similar problems myself. Right now I can reproduce your issue and for some reason if I restart Ulauncher the extension works properly. Consider doing the following and report back please

  1. Run pip install Pint simpleeval parsedatetime pytz if you haven't
  2. Restart Ulauncher and see if the extension works
  3. If step 2 fails try downloading the extension manually with the following

Warning this method should disable future updates, just a check if it is ulauncher's problem or not. If this works, then remove the folder and try installing through ulauncher

rm -r ~/.local/share/ulauncher/extensions/com.github.tchar.ulauncher-albert-calculate-anything/
git clone https://github.com/tchar/ulauncher-albert-calculate-anything ~/.local/share/ulauncher/extensions/com.github.tchar.ulauncher-albert-calculate-anything

After confirming it works

rm -r ~/.local/share/ulauncher/extensions/com.github.tchar.ulauncher-albert-calculate-anything/
git clone https://github.com/tchar/ulauncher-albert-calculate-anything 

And install through Ulauncher, restart launcher if necessary.

Please let me know if your issue is resolved.

I strongly believe this is a Ulauncher issue Here is a video showing the same problem as yours but after restarting launcher, the extension is there and working

https://user-images.githubusercontent.com/6424426/129417819-92575a92-877b-4448-aca1-b1bf4a8c9d35.mp4

Here is a similar issue where Ulauncher says the extension has crashed but in reality it is working.

https://user-images.githubusercontent.com/6424426/129417837-b4545082-eb58-4afa-a23c-18c761a3b304.mp4

github-actions[bot] commented 2 years ago

Issue has been marked as stale due to no activity