Comments (13)
No currency or unit conversion is working for me as well
from ulauncher-albert-calculate-anything.
now I am started thinking that this project has been abandoned
anyone here to say me that my statement is wrong?
from ulauncher-albert-calculate-anything.
Same on python 3.11.0. I'll leave a traceback here:
com.github.tchar.ulauncher-albert-calculate-anything | 2023-01-22 01:56:35,604 | ERROR | calculate_anything.query.handlers.multi_handler: _handle() | Exception in handler: UnitsQueryHandler: 'currency' is not defined in the unit registry
Traceback (most recent call last):
File "/home/guillem/.local/share/ulauncher/extensions/com.github.tchar.ulauncher-albert-calculate-anything/calculate_anything/query/handlers/multi_handler.py", line 55, in _handle
result = handler.handle(query)
^^^^^^^^^^^^^^^^^^^^^
File "/home/guillem/.local/share/ulauncher/extensions/com.github.tchar.ulauncher-albert-calculate-anything/calculate_anything/query/handlers/base.py", line 23, in _wrapper
return func(self, query, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/guillem/.local/share/ulauncher/extensions/com.github.tchar.ulauncher-albert-calculate-anything/calculate_anything/query/handlers/base.py", line 57, in handle
return self.handle_raw(query, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/guillem/.local/share/ulauncher/extensions/com.github.tchar.ulauncher-albert-calculate-anything/calculate_anything/query/handlers/units.py", line 240, in handle_raw
with ureg.context('currency'):
File "/usr/lib64/python3.11/contextlib.py", line 137, in __enter__
return next(self.gen)
^^^^^^^^^^^^^^
File "/home/guillem/.local/lib/python3.11/site-packages/pint/facets/context/registry.py", line 301, in context
self.enable_contexts(*names, **kwargs)
File "/home/guillem/.local/lib/python3.11/site-packages/pint/facets/context/registry.py", line 242, in enable_contexts
self._switch_context_cache_and_units()
File "/home/guillem/.local/lib/python3.11/site-packages/pint/facets/context/registry.py", line 151, in _switch_context_cache_and_units
self._redefine(definition)
File "/home/guillem/.local/lib/python3.11/site-packages/pint/facets/context/registry.py", line 175, in _redefine
dims_old = self._get_dimensionality(basedef.reference)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/guillem/.local/lib/python3.11/site-packages/pint/facets/plain/registry.py", line 660, in _get_dimensionality
self._get_dimensionality_recurse(input_units, 1, accumulator)
File "/home/guillem/.local/lib/python3.11/site-packages/pint/facets/plain/registry.py", line 681, in _get_dimensionality_recurse
reg = self._units[self.get_name(key)]
^^^^^^^^^^^^^^^^^^
File "/home/guillem/.local/lib/python3.11/site-packages/pint/facets/plain/registry.py", line 588, in get_name
raise UndefinedUnitError(name_or_alias)
pint.errors.UndefinedUnitError: 'currency' is not defined in the unit registry
from ulauncher-albert-calculate-anything.
I have the same issue.
from ulauncher-albert-calculate-anything.
same for me, there has been #42 open since last Dec, but unfortunately no fix yet
from ulauncher-albert-calculate-anything.
I am also facing the same issue!!
from ulauncher-albert-calculate-anything.
I have the same issue.
from ulauncher-albert-calculate-anything.
Is there any hope for this to get fixed? It would be pretty sad for this great extension to die. but in the current state it is almost useless, at least for my use cases.
from ulauncher-albert-calculate-anything.
Related Issues (20)
- Feature request: weight units HOT 3
- Currency conversion showing only 1 icon HOT 6
- [bug] Extension crashed after updating and saving new settings and then crashes instantly on reload HOT 12
- Cannot install the extension HOT 2
- Proxy support [feature] HOT 2
- [feature] Enhance time with specific time/date and timezone conversion HOT 2
- Not working HOT 2
- [feature] Converstion of time to time unit like ms HOT 4
- [bug] HOT 4
- [bug] HOT 6
- [bug] zombie process HOT 9
- An option to make outbound calls on-demand (or disable it totally) HOT 4
- [feature] Use the word "in" as alias for "to" in conversions HOT 6
- [bug] Crashed on Ulauncher 5.14.4 HOT 4
- [bug] Calculation error sin(2*pi) HOT 2
- [bug] Crashed on Ulauncher 5.14.7 HOT 2
- Extension stopped converting: 'currency' is not defined in the unit registry HOT 16
- [bug] If pint is not installed, suggest user restarts ulauncher after install HOT 10
- [bug]Need update on plugin as per the new version of Albert 0.18.10 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ulauncher-albert-calculate-anything.