Giter Site home page Giter Site logo

Comments (13)

securegh avatar securegh commented on June 11, 2024 4

No currency or unit conversion is working for me as well 😥

from ulauncher-albert-calculate-anything.

7549brijesh avatar 7549brijesh commented on June 11, 2024 1

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.

Alonely0 avatar Alonely0 commented on June 11, 2024

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.

Nakamerica avatar Nakamerica commented on June 11, 2024

I have the same issue.

from ulauncher-albert-calculate-anything.

stingray21 avatar stingray21 commented on June 11, 2024

same for me, there has been #42 open since last Dec, but unfortunately no fix yet

from ulauncher-albert-calculate-anything.

gvrs9 avatar gvrs9 commented on June 11, 2024

I am also facing the same issue!!

from ulauncher-albert-calculate-anything.

PrathamBhatTech avatar PrathamBhatTech commented on June 11, 2024

I have the same issue.

from ulauncher-albert-calculate-anything.

stingray21 avatar stingray21 commented on June 11, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.