[chirp_devel] bitwise and arrays outside of structures
Jens J.
Sat Oct 26 19:26:32 PDT 2013
So digging this back up.
There does indeed appear to be something that doesnt work quite right when using array outside of a struct.
I'm using this array in bank get/set. When I'm updating the bank matrix ui, nothing seems to change state. There are no exceptions thrown, so I'm not sure exactly how to troubleshoot what is going on.
When i change this one thing back to using a struct member its working.
So just a caution in case anybody else is running into strange behavior w/ non-struct-member arrays...
On Sunday, September 8, 2013 7:15 PM, Dan Smith <dsmith at danplanet.com> wrote:
> Traceback (most recent call last):
> File "/Users/jens/build/chirp.hg/chirpui/radiobrowser.py", line
> 263, in _tree_click for name, item in obj.items():
> File "/Users/jens/build/chirp.hg/chirp/bitwise.py", line 155, in
> __getattr__ self.__class__))
> AttributeError: Unknown attribute items in
> chirp.bitwise.u16DataElement
Yeah, the only way I get this is if I click on an array element that
isn't a structure. If I click on the array itself, I get the elements
and I can edit them. This is just barfing an error when you click
there, but it's harmless. I'll follow up with a patch that will clean
up those array children so you don't see this.
It should be plenty functional right now though.
--
Dan Smith
www.danplanet.com
KK7DS
_______________________________________________
chirp_devel mailing list
chirp_devel at intrepid.danplanet.com
http://intrepid.danplanet.com/mailman/listinfo/chirp_devel
Developer docs: http://chirp.danplanet.com/projects/chirp/wiki/Developers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://intrepid.danplanet.com/pipermail/chirp_devel/attachments/20131026/698baea2/attachment-0001.html
More information about the chirp_devel
mailing list