[chirp_users] [CHIRP] #103: paste error, wouxun kg-uv2d power levels.

CHIRP Tracker
Sat Apr 30 15:14:12 PDT 2011


#103: paste error, wouxun kg-uv2d power levels.
----------------------------------------------+-----------------------------
 Reporter:  Robert Terzi <rct+chirp@…>        |        Type:  Bug          
   Status:  new                               |    Priority:  Stability    
Milestone:                                    |   Component:  Memory Editor
  Version:  0.1.11                            |    Keywords:               
 Platform:  Linux                             |  
----------------------------------------------+-----------------------------
 I think there is a problem with the wouxun power level enumeration:
 While cutting and pasting a frequency to move it from one location to
 another, upon pasting I got the pop-up:  Invalid value for this field,
 list.index(x): x not in list

 The pasted row, looses the Name field and power level is set to low. The
 original copied field was high.



 Exception running RadioJob: list.index(x): x not in list
 -- Exception: --
 Traceback (most recent call last):
   File "/mnt/s2/home/rct/proj/wouxun/chirp.hg/chirpui/common.py", line 71,
 in execute
     result = func(*self.args, **self.kwargs)
   File "/mnt/s2/home/rct/proj/wouxun/chirp.hg/chirp/wouxun.py", line 236,
 in set_memory
     _mem.power_high = not POWER_LEVELS.index(mem.power)
 ValueError: list.index(x): x not in list
 ------
 Job Args:   (Memory[45],)
 Job KWArgs: {}

 $ hg summary
 parent: 923:58c5df1d9bf2 tip
  Wouxun does not support banks
 branch: default
 commit: (clean)
 update: (current)

-- 
Ticket URL: <http://trac.chirp.danplanet.com/trac/ticket/103>
CHIRP <http://trac.chirp.danplanet.com/trac>
CHIRP Development


More information about the chirp_users mailing list