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

[bug] Crashed on Ulauncher 5.14.7 #41

Closed Bishal-Mahanta closed 5 months ago

Bishal-Mahanta commented 2 years ago

Describe the bug

Calculate anything crashes everytime ulauncher is launched.

To Reproduce

Steps to reproduce the behavior: Just add the extension for Calculate Anything on Ulauncher.

Expected behavior

Proper output when given command.

Logs

runtime.log.zip

Screenshots

Screenshot_20220808_151723 Screenshot_20220808_151753

Desktop (please complete the following information)

Operating System: Kubuntu 20.04 KDE Plasma Version: 5.18.8 KDE Frameworks Version: 5.68.0 Qt Version: 5.12.8 Kernel Version: 5.15.0-43-generic OS Type: 64-bit Processors: 4 × Intel® Core™ i3-8130U CPU @ 2.20GHz Memory: 15.4 GiB of RAM

github-actions[bot] commented 1 year ago

Issue has been marked as stale due to no activity

tchar commented 5 months ago

There is a division by zero here in currency can you reinstall the extension? I will have to handle this when the currency rate is 0 or (1 / rate overflows).

Although this did not occur to me #50 should fix it. This one should be a very rare case where a provider sets the rate to 0