Isw python errors

I have installed isw from pacman manager.
isw -c dumps the correct stuff. However when I use other switches such as
isw -r 16U5EMS1 I get the following errors.

╰─λ sudo isw -r 16U5EMS1
Traceback (most recent call last):
  File "/usr/bin/isw", line 427, in <module>
    main()
  File "/usr/bin/isw", line 424, in main
    parser.parse_args()
  File "/usr/lib/python3.9/argparse.py", line 1818, in parse_args
    args, argv = self.parse_known_args(args, namespace)
  File "/usr/lib/python3.9/argparse.py", line 1851, in parse_known_args
    namespace, args = self._parse_known_args(args, namespace)
  File "/usr/lib/python3.9/argparse.py", line 2060, in _parse_known_args
    start_index = consume_optional(start_index)
  File "/usr/lib/python3.9/argparse.py", line 2000, in consume_optional
    take_action(action, args, option_string)
  File "/usr/lib/python3.9/argparse.py", line 1912, in take_action
    argument_values = self._get_values(action, argument_strings)
  File "/usr/lib/python3.9/argparse.py", line 2443, in _get_values
    value = self._get_value(action, arg_string)
  File "/usr/lib/python3.9/argparse.py", line 2476, in _get_value
    result = type_func(arg_string)
  File "/usr/bin/isw", line 205, in ec_read
    ap = cfgp.get(value, 'address_profile')
  File "/usr/lib/python3.9/configparser.py", line 781, in get
    d = self._unify_values(section, vars)
  File "/usr/lib/python3.9/configparser.py", line 1149, in _unify_values
    raise NoSectionError(section) from None
configparser.NoSectionError: No section: '16U5EMS1'

There doesn't seem to be much to the package, so while it's unlikely to be fixed by rebuilding the package it's still worth trying that.

The next step is to report the issue on its issue tracker:

Just for information, isw is in the AUR so you didn't use pacman - you probably used Pamac.

3 Likes

Thanks for getting me back I will set an issue on github for isw. You are correct it was installed with pamac. I have been using arch (garuda) for about 5 days now. What a learning curve. I came from ubuntu and debian. There is no going back. (well so far).

The only thing that I think I need to find is a site about arch maintenance, and the dos and dont's.

1 Like
1 Like