Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

TypeError: __init__() got an unexpected keyword argument 'package_name' #311

Copy link
Copy link
@memecode

Description

@memecode
Issue body actions

Current git gives me this error:

Traceback (most recent call last):
File "c:\program files\python39\lib\runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "c:\program files\python39\lib\runpy.py", line 87, in run_code
exec(code, run_globals)
File "c:\Users\Matthew\AppData\Roaming\Python\Python39\Scripts\kasa.exe_main
.py", line 4, in
File "C:\Users\Matthew\AppData\Roaming\Python\Python39\site-packages\kasa\cli.py", line 61, in
async def cli(ctx, host, alias, target, debug, bulb, plug, lightstrip, strip, type):
File "C:\Users\Matthew\AppData\Roaming\Python\Python39\site-packages\asyncclick\decorators.py", line 304, in decorator
return option(*(param_decls or ("--version",)), **attrs)(f)
File "C:\Users\Matthew\AppData\Roaming\Python\Python39\site-packages\asyncclick\decorators.py", line 192, in decorator
_param_memo(f, OptionClass(param_decls, **option_attrs))
File "C:\Users\Matthew\AppData\Roaming\Python\Python39\site-packages\asyncclick\core.py", line 1750, in init
Parameter.init(self, param_decls, type=type, **attrs)
TypeError: init() got an unexpected keyword argument 'package_name'

I cloned the repo, ran "poetry install" and then "kasa discover". As per instructions.

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.