Re: [chirp_users] CHIRP 0.1.8b5
G'day Dan,
More important was the issue that the Bank was not being written to the CSV file.
Okay, I'm confused. I've been really busy lately, and so my attention to this has been spotty at best, which might be why I'm having trouble maintaining context.
No probs, we all get busy at times.
When I export to a CSV file from my 92, I get a bank number and bank index. The number is 0 for A, 3 for D, etc. The bank index is also a number and is 0 if not set.
OK, I've narrowed the problem down. If I enter any Bank letter, other than "A", then it saves a numeric digit in the Bank field in the CSV file, as per your description. However, when I enter Bank "A" into a memory, it writes nothing to the Bank field. I had originally only tried Bank "A".
Are you not seeing this behavior? Perhaps the numeric bank designation is confusing? I suppose I could make it translate between letters and numbers on export/import...
I think it would be a lot neater if you could translate it to letters, rather than numbers, so that the appearance is consistant.
Hope this helps...
Cheers,
davidt
OK, I've narrowed the problem down. If I enter any Bank letter, other than "A", then it saves a numeric digit in the Bank field in the CSV file, as per your description. However, when I enter Bank "A" into a memory, it writes nothing to the Bank field. I had originally only tried Bank "A".
Are you saying that only memories assigned to bank A get a numeral in the Bank field of the CSV file, but memories assigned to B-Z do not?
I definitely don't see that over here... :)
OK, I've narrowed the problem down. If I enter any Bank letter, other than "A", then it saves a numeric digit in the Bank field in the CSV file, as per your description. However, when I enter Bank "A" into a memory, it writes nothing to the Bank field. I had originally only tried Bank "A".
Ahhhhhhh, I think I got it. I was reversing the logic. A is the only one that *doesn't* work. That would make sense, because A is 0 and 0 equates to False in python. So in the CSV logic (actually a couple other places too, apparently), I'm checking to see if the bank is empty, but I'm using the wrong check, and thus treating 0 as empty.
Whew. Okay, I'll get that fixed up and spin another one.
Thanks for your patience :)
participants (2)
-
Dan Smith
-
David Tilson