<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt"><div><span>So digging this back up.</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal; "><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal; "><span>There does indeed appear to be something that doesnt work quite right when using array outside of a struct.</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal; ">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.</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal; "><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal; ">When i change this one thing back to using a struct member its working.</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal; "><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue',
Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal; ">So just a caution in case anybody else is running into strange behavior w/ non-struct-member arrays...</div><div class="yahoo_quoted" style="display: block; "> <br> <br> <div style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt; "> <div style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt; "> <div dir="ltr"> <font size="2" face="Arial"> On Sunday, September 8, 2013 7:15 PM, Dan Smith <dsmith@danplanet.com> wrote:<br> </font> </div> <div class="y_msg_container"><div class="yqt1098891331" id="yqtfd61895">> Traceback (most recent call last):<br clear="none">> File "/Users/jens/build/chirp.hg/chirpui/radiobrowser.py", line<br clear="none">> 263, in _tree_click for name, item in obj.items():<br clear="none">>
File "/Users/jens/build/chirp.hg/chirp/bitwise.py", line 155, in<br clear="none">> __getattr__ self.__class__))<br clear="none">> AttributeError: Unknown attribute items in<br clear="none">> chirp.bitwise.u16DataElement</div><br clear="none"><br clear="none">Yeah, the only way I get this is if I click on an array element that<br clear="none">isn't a structure. If I click on the array itself, I get the elements<br clear="none">and I can edit them. This is just barfing an error when you click<br clear="none">there, but it's harmless. I'll follow up with a patch that will clean<br clear="none">up those array children so you don't see this.<br clear="none"><br clear="none">It should be plenty functional right now though.<br clear="none"><br clear="none">-- <br clear="none">Dan Smith<br clear="none">www.danplanet.com<br clear="none">KK7DS<br>_______________________________________________<br clear="none">chirp_devel mailing list<br
clear="none"><a shape="rect" ymailto="mailto:chirp_devel@intrepid.danplanet.com" href="mailto:chirp_devel@intrepid.danplanet.com">chirp_devel@intrepid.danplanet.com</a><br clear="none"><a shape="rect" href="http://intrepid.danplanet.com/mailman/listinfo/chirp_devel" target="_blank">http://intrepid.danplanet.com/mailman/listinfo/chirp_devel</a><br clear="none">Developer docs: <a shape="rect" href="http://chirp.danplanet.com/projects/chirp/wiki/Developers" target="_blank">http://chirp.danplanet.com/projects/chirp/wiki/Developers</a><br><br></div> </div> </div> </div> </div></body></html>