<div dir="ltr">Hi,<div><br></div><div style>Banks are implemented as 24 arrays of 100 channel numbers. Channel numbers are used as indexes into the channel memories arrays. From the output it appears that one or more of the channel numbers is outside of the bounds 000 - 900.</div>
<div style><br></div><div style>Since channels 900-999 are actually skip channels, 999 is probably the EAI channel and 1000-1100 are the band scan channels it is conceivable that one or more banks contain legit channels outside of the expected range. Have you added skip channels to a bank, for example?</div>
<div style><br></div><div style>The patches I've submitted do not seem to touch the code that has the problem here. I've checked with a fresh copy from Hg right now and it works for my images. If you want to share an image that is triggering this I'm happy to characterise the problem more exactly.</div>
<div style><br></div><div style>I've also been meaning to look into why generating the bank page takes 48 seconds on my CPU. Seems like it's doing something a bit poorly.</div><div style><br></div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Mon, Mar 11, 2013 at 7:59 AM, Robert Terzi <span dir="ltr"><<a href="mailto:rct@r-t.org" target="_blank">rct@r-t.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I'm getting an error when trying to look at banks on a VX-8DR.<br>
<br>
From what I can tell I don't think it's related to #409 or #415<br>
because the banks weren't setup in chirp. The error occurs after<br>
reading from the radio and then clicking the banks tab.<br>
<br>
This was with the latest (0.3.0dev) pulled from hg today.<br>
<br>
Is anyone currently working on this or should I try to do some digging?<br>
<br>
I know there was some recent traffic about VX-8 patches for<br>
memory and/or banks valid bits.<br>
<br>
Traceback (most recent call last):<br>
File "/usr/lib/python2.6/threading.py", line 525, in __bootstrap_inner<br>
self.run()<br>
File "/home/rct/proj/wouxun/chirp.hg/chirpui/common.py", line 231, in run<br>
job.execute(self.radio)<br>
File "/home/rct/proj/wouxun/chirp.hg/chirpui/bankedit.py", line 124, in execute<br>
banks = self.__bm.get_memory_banks(mem)<br>
File "/home/rct/proj/wouxun/chirp.hg/chirp/vx8.py", line 267, in get_memory_banks<br>
[x.number for x in self.get_bank_memories(bank)]:<br>
File "/home/rct/proj/wouxun/chirp.hg/chirp/vx8.py", line 259, in get_bank_memories<br>
memories.append(self._radio.get_memory(int(channel)+1))<br>
File "/home/rct/proj/wouxun/chirp.hg/chirp/vx8.py", line 321, in get_memory<br>
flag = self._memobj.flag[number-1]<br>
File "/home/rct/proj/wouxun/chirp.hg/chirp/bitwise.py", line 184, in __getitem__<br>
return self.__items[index]<br>
IndexError: list index out of range<br>
_______________________________________________<br>
chirp_devel mailing list<br>
<a href="mailto:chirp_devel@intrepid.danplanet.com">chirp_devel@intrepid.danplanet.com</a><br>
<a href="http://intrepid.danplanet.com/mailman/listinfo/chirp_devel" target="_blank">http://intrepid.danplanet.com/mailman/listinfo/chirp_devel</a><br>
Developer docs: <a href="http://chirp.danplanet.com/projects/chirp/wiki/Developers" target="_blank">http://chirp.danplanet.com/projects/chirp/wiki/Developers</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div><span style="color:rgb(102,102,102)">Sean Burford <<a href="mailto:sburford@google.com" target="_blank">sburford@google.com</a>></span></div>
</div>