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

HA UserWarning: Using slow pure-python SequenceMatcher. #80

Closed
iridium2001 opened this issue Oct 7, 2023 · 1 comment
Closed

HA UserWarning: Using slow pure-python SequenceMatcher. #80

iridium2001 opened this issue Oct 7, 2023 · 1 comment

Comments

@iridium2001
Copy link

iridium2001 commented Oct 7, 2023

In my logs, i found this message:

UserWarning: Using slow pure-python SequenceMatcher.

Logger: py.warnings
Source: custom_components/wemportal/wemportalapi.py:14
Integration: Weishaupt WEM Portal (documentation, issues)
First occurred: 00:24:27 (1 occurrences) [directly after a restart]
Last logged: 00:24:27

/usr/local/lib/python3.11/site-packages/fuzzywuzzy/fuzz.py:11: UserWarning: Using slow pure-python SequenceMatcher. Install python-Levenshtein to remove this warning warnings.warn('Using slow pure-python SequenceMatcher. Install python-Levenshtein to remove this warning')

Aside of the message in the logs, there seems to be no practical issue associated with this.
My current setup:

Home Assistant 2023.10.1
Supervisor 2023.10.0
Operating System 10.5
Frontend 20231005.0 - latest

@erikkastelec
Copy link
Owner

erikkastelec commented Nov 21, 2023

Hi,

Nothing to worry about. The Python-Levenshtein package speeds up some operations we perform to combine data from the website and mobile app. These operations are quite infrequent, and I have decided to remove the package requirement due to some users experiencing issues with the package on Raspberry Pi devices.

Thanks for keeping an eye out for any bugs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants