Skip to content

unexpected keyword argument 'encoding' #7

Closed
@corower

Description

probably you need some more info, besides this? (system is debian 9 (stretch) updated to latest available)

Traceback (most recent call last):
File "./zpool-iostat-viz", line 290, in
raise exc
File "./zpool-iostat-viz", line 279, in
curses.wrapper(lambda window: main(window, parsed_args["diff"], parsed_args["parts"], parsed_args["file"], parsed_args["by"] or "m"))
File "/usr/lib/python3.5/curses/init.py", line 94, in wrapper
return func(stdscr, *args, **kwds)
File "./zpool-iostat-viz", line 279, in
curses.wrapper(lambda window: main(window, parsed_args["diff"], parsed_args["parts"], parsed_args["file"], parsed_args["by"] or "m"))
File "./zpool-iostat-viz", line 241, in main
render_stats(window, transformation_function, should_show_differential, pool, filename)
File "./zpool-iostat-viz", line 132, in render_stats
stats = transform(get_stats(pool, filename))
File "./zpool-iostat-viz", line 65, in get_stats
zpool_cmd = subprocess.run(["zpool", "iostat", "-wvHp", "--"] + (pool_names if pool_names else []), check=True, stdout=subprocess.PIPE, encoding="UTF-8")
File "/usr/lib/python3.5/subprocess.py", line 383, in run
with Popen(*popenargs, **kwargs) as process:
TypeError: init() got an unexpected keyword argument 'encoding'

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions