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

Cannot use #1409

Closed
TrustedFloppa opened this issue May 3, 2022 · 1 comment
Closed

Cannot use #1409

TrustedFloppa opened this issue May 3, 2022 · 1 comment
Labels

Comments

@TrustedFloppa
Copy link

I cannot do anything because of error

  • OS: Windows
  • python-miio: [Name: python-miio
    Version: 0.5.11
    Summary: Python library for interfacing with Xiaomi smart appliances
    Home-page: https://github.com/rytilahti/python-miio
    Author: Teemu R
    Author-email: tpr@iki.fi
    License: GPL-3.0-only
    Location: c:\users\acera\appdata\local\programs\python\python310\lib\site-packages
    Requires: android_backup, appdirs, attrs, click, construct, croniter, cryptography, defusedxml, netifaces, pytz, PyYAML, tqdm, zeroconf
    Required-by:]

Expected behavior
A something else appear

Console output
C:\Users\acera\OneDrive\Desktop>miiocli --help
Traceback (most recent call last):
File "C:\Users\acera\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\acera\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in run_code
exec(code, run_globals)
File "C:\Users\acera\AppData\Local\Programs\Python\Python310\Scripts\miiocli.exe_main
.py", line 4, in
File "C:\Users\acera\AppData\Local\Programs\Python\Python310\lib\site-packages\miio\cli.py", line 43, in
cli.add_command(device_class.get_device_group())
File "C:\Users\acera\AppData\Local\Programs\Python\Python310\lib\site-packages\miio\integrations\vacuum\roborock\vacuum.py", line 932, in get_device_group
@dg.resultcallback()
AttributeError: 'DeviceGroup' object has no attribute 'resultcallback'. Did you mean: 'result_callback'?

@rytilahti
Copy link
Owner

Duplicate of #1389. You can either downgrade click, or use the code from master, until a new release is made.

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

No branches or pull requests

2 participants