<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 25, 2014 at 5:41 PM, Dan Smith <span dir="ltr"><<a href="mailto:dsmith@danplanet.com" target="_blank">dsmith@danplanet.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Ron,<br>
<span class=""><br>
> Attached is my driver for the Wouxun KG-UV6D.<br>
<br>
</span>Has anyone else (Ron, you included) looked at this code and compared it<br>
to others to see if it's an obvious clone of something else? It didn't<br>
appear to be obvious to me. Jim?<br></blockquote><div><br></div><div>As far as I know it is different. It seems that Wouxun changed how they do thing with their mobile radios and the KG-UV8D.<br><br></div><div>This it the kind of help that I was looking for to get going with the KG-UV920P mobile radio (and possibly the UV950-P after that). <br><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<span class=""><br>
</span><br>
<br>
This should be indented to the same level as the code it pertains to.<br>
<br>
> + rs = RadioSetting("ponmsg", "Poweron message",<br>
> + RadioSettingValueList(<br>
> + PONMSG_LIST,<br>
> + PONMSG_LIST[self._memobj.settings.ponmsg]))<br>
> + cfg_grp.append(rs)<br>
> + rs = RadioSetting("voice", "Voice Guide", RadioSettingValueBoolean(<br>
> + self._memobj.settings.voice))<br>
> + cfg_grp.append(rs)<br>
> + rs = RadioSetting("timeout", "Timeout Timer",<br>
> + RadioSettingValueInteger(15, 900,<br>
> + self._memobj.settings.timeout * 15, 15))<br>
> + cfg_grp.append(rs)<br>
> + rs = RadioSetting("toalarm", "Timeout Alarm",<br>
> + RadioSettingValueInteger(0, 10,<br>
> + self._memobj.settings.toalarm))<br>
> + cfg_grp.append(rs)<br>
> + rs = RadioSetting("channel_menu", "Menu available in channel mode",<br>
> + RadioSettingValueBoolean(<br>
> + self._memobj.settings.channel_menu))<br>
> + cfg_grp.append(rs)<br>
> + rs = RadioSetting("power_save", "Power save",<br>
> + RadioSettingValueBoolean(<br>
> + self._memobj.settings.power_save))<br>
> + cfg_grp.append(rs)<br>
<br>
Looks like some alignment issues here. Just to be clear, each indent<br>
level should be four spaces.<br></blockquote><div><br></div><div>Yeah. I have to convert tabs to spaces with my editor and everything was indented as it should be. There are a few links longer than 80 characters that should be addressed too. <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Again, thanks a lot. This looks really close and I'll be glad to get<br>
this into the tree soon!<br></blockquote><div> </div><div>I was so hoping to get this going to at least attempt a download with my KG-UV920P. Unfortunately, I get this error.<br><br>Traceback (most recent call last):<br> File "C:\Users\Root\chirp.hg\chirpui\mainapp.py", line 1391, in mh<br> self.do_download(*args)<br> File "C:\Users\Root\chirp.hg\chirpui\mainapp.py", line 641, in do_download<br> not self._confirm_experimental(rclass):<br> File "C:\Users\Root\chirp.hg\chirpui\mainapp.py", line 599, in _confirm_experi<br>mental<br> can_squelch=True)<br> File "C:\Users\Root\chirp.hg\chirpui\common.py", line 350, in show_warning<br> textview = _add_text(d, text)<br> File "C:\Users\Root\chirp.hg\chirpui\common.py", line 310, in _add_text<br> v.get_buffer().set_text(text)<br>TypeError: GtkTextBuffer.set_text() argument 1 must be string or read-only buffe<br>r, not None<br><br></div><div>I couldn't find the debug.log file. Doesn't the developer version write the debug.log to the same place as a regular install of CHIRP? Do I not have something enabled?<br><br></div><div>Jim<br></div></div></div></div>