YoyPa / isw

Ice-Sealed Wyvern
GNU General Public License v3.0
383 stars 78 forks source link

Some commands are commands not working #90

Closed gokmenzeybek closed 4 years ago

gokmenzeybek commented 4 years ago

-b -w are not working. in case of -b i get this error Value set @ address 0x80(128) 0x98(byte152) Traceback (most recent call last): File "/usr/bin/isw", line 499, in <module> main() File "/usr/bin/isw", line 496, in main parser.parse_args() File "/usr/lib/python3.8/argparse.py", line 1780, in parse_args args, argv = self.parse_known_args(args, namespace) File "/usr/lib/python3.8/argparse.py", line 1812, in parse_known_args namespace, args = self._parse_known_args(args, namespace) File "/usr/lib/python3.8/argparse.py", line 2018, in _parse_known_args start_index = consume_optional(start_index) File "/usr/lib/python3.8/argparse.py", line 1958, in consume_optional take_action(action, args, option_string) File "/usr/lib/python3.8/argparse.py", line 1870, in take_action argument_values = self._get_values(action, argument_strings) File "/usr/lib/python3.8/argparse.py", line 2401, in _get_values value = self._get_value(action, arg_string) File "/usr/lib/python3.8/argparse.py", line 2434, in _get_value result = type_func(arg_string) File "/usr/bin/isw", line 50, in ec_boost single_write(cba, cb_on) File "/usr/bin/isw", line 428, in single_write print(Text.TWO_COLUMN %( OSError: [Errno 22] Invalid argument in case of -w i get this errrorWriting config to EC... Value set @ address Fan mode 0x8c(140) 0xf4(byte244) Advanced Traceback (most recent call last): File "/usr/bin/isw", line 356, in ec_write file.seek(bcta) OSError: [Errno 22] Invalid argument During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/bin/isw", line 499, in <module> main() File "/usr/bin/isw", line 496, in main parser.parse_args() File "/usr/lib/python3.8/argparse.py", line 1780, in parse_args args, argv = self.parse_known_args(args, namespace) File "/usr/lib/python3.8/argparse.py", line 1812, in parse_known_args namespace, args = self._parse_known_args(args, namespace) File "/usr/lib/python3.8/argparse.py", line 2018, in _parse_known_args start_index = consume_optional(start_index) File "/usr/lib/python3.8/argparse.py", line 1958, in consume_optional take_action(action, args, option_string) File "/usr/lib/python3.8/argparse.py", line 1870, in take_action argument_values = self._get_values(action, argument_strings) File "/usr/lib/python3.8/argparse.py", line 2401, in _get_values value = self._get_value(action, arg_string) File "/usr/lib/python3.8/argparse.py", line 2434, in _get_value result = type_func(arg_string) File "/usr/bin/isw", line 391, in ec_write print(Text.FOUR_COLUMN %( OSError: [Errno 22] Invalid argument I'm using Pop OS

quangdzuytran commented 4 years ago

You can check your ec_sys configuration at here.