Hi,
I am not able generate dfu_package.zip using nrfutil.
I am using ubuntu 18.04, and python2.7 is installed is default python version.
I get the following error when I try to generate dfu_package.zip.
Traceback (most recent call last):
File "/home/rakesh/.local/bin/nrfutil", line 11, in <module>
sys.exit(cli())
File "/home/rakesh/.local/lib/python3.6/site-packages/click/core.py", line 764, in __call__
return self.main(*args, **kwargs)
File "/home/rakesh/.local/lib/python3.6/site-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/home/rakesh/.local/lib/python3.6/site-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/rakesh/.local/lib/python3.6/site-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/rakesh/.local/lib/python3.6/site-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/rakesh/.local/lib/python3.6/site-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/home/rakesh/.local/lib/python3.6/site-packages/nordicsemi/__main__.py", line 815, in generate
default_key = signer.load_key(key_file)
File "/home/rakesh/.local/lib/python3.6/site-packages/nordicsemi/dfu/signing.py", line 92, in load_key
sk_hex = "".join(c.encode('hex') for c in self.sk.to_string())
File "/home/rakesh/.local/lib/python3.6/site-packages/nordicsemi/dfu/signing.py", line 92, in <genexpr>
sk_hex = "".join(c.encode('hex') for c in self.sk.to_string())
AttributeError: 'int' object has no attribute 'encode
Thank you,
Rakesh