This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nrfutil crash -- protobuf?

When I run nrfutil, the program immediately throws a Python exception.    It has been working for the last 6 months.    I've used pip to try to upgrade protobuf and nrfutil, but no change in behavior.    I'm using Ubuntu/Mint Linux.   Suggestions?
                               Thanks.

$ nrfutil Traceback (most recent call last): File "/usr/local/bin/nrfutil", line 11, in load_entry_point('nrfutil==2.2.0', 'console_scripts', 'nrfutil')() File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 351, in load_entry_point File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 2363, in load_entry_point File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 2088, in load File "/usr/local/lib/python2.7/dist-packages/nordicsemi/main.py", line 47, in from nordicsemi.dfu.bl_dfu_sett import BLDFUSettings File "/usr/local/lib/python2.7/dist-packages/nordicsemi/dfu/bl_dfu_sett.py", line 53, in from nordicsemi.dfu.package import Package File "/usr/local/lib/python2.7/dist-packages/nordicsemi/dfu/package.py", line 53, in from nordicsemi.dfu.init_packet_pb import * File "/usr/local/lib/python2.7/dist-packages/nordicsemi/dfu/init_packet_pb.py", line 37, in import dfu_cc_pb2 as pb File "/usr/local/lib/python2.7/dist-packages/nordicsemi/dfu/dfu_cc_pb2.py", line 47, in from google.protobuf import descriptor_pb2 File "/usr/local/lib/python2.7/dist-packages/google/protobuf/descriptor_pb2.py", line 239, in serialized_end=4724, File "/usr/local/lib/python2.7/dist-packages/google/protobuf/descriptor.py", line 599, in new return _message.default_pool.FindEnumTypeByName(full_name) KeyError: "Couldn't find enum google.protobuf.MethodOptions.IdempotencyLevel"

Related