[chirp_devel] FT70 Driver - New Model #5329

Dan Smith
Thu Mar 8 11:26:25 PST 2018


> Have attached the latest and previous patches. 

With just the original patch applied, I get this while trying to run tests against the factory image you sent previously:

Traceback (most recent call last):
  File "/danplanet/users/dan/dev/chirp/tests/run_tests.py", line 1244, in <module>
    failed = tr.run_one(options.driver)
  File "/danplanet/users/dan/dev/chirp/tests/run_tests.py", line 1176, in run_one
    "%s.img" % drv_name))
  File "/danplanet/users/dan/dev/chirp/tests/run_tests.py", line 1148, in run_rclass_image
    tw = TestWrapper(rclass, testimage)
  File "/danplanet/users/dan/dev/chirp/tests/run_tests.py", line 113, in __init__
    self.open()
  File "/danplanet/users/dan/dev/chirp/tests/run_tests.py", line 125, in open
    self._dst = self._dstclass(self._filename)
  File "../chirp/chirp_common.py", line 1159, in __init__
    self.load_mmap(pipe)
  File "../chirp/chirp_common.py", line 1128, in load_mmap
    self.process_mmap()
  File "../chirp/drivers/ft70.py", line 634, in process_mmap
    self._memobj = bitwise.parse(mem_format % self._mem_params, self._mmap)
  File "../chirp/bitwise.py", line 893, in parse
    return p.parse(ast)
  File "../chirp/bitwise.py", line 886, in parse
    self.parse_block(lang)
  File "../chirp/bitwise.py", line 878, in parse_block
    self.parse_struct(d)
  File "../chirp/bitwise.py", line 860, in parse_struct
    return self.parse_struct_decl(struct[0][1])
  File "../chirp/bitwise.py", line 849, in parse_struct_decl
    self._generators[name] = result
  File "../chirp/bitwise.py", line 679, in __setitem__
    self._generators[key].set_value(value)
  File "../chirp/bitwise.py", line 160, in set_value
    raise Exception("Not implemented for %s" % self.__class__)
Exception: Not implemented for chirp.bitwise.structDataElement

--Dan


More information about the chirp_devel mailing list