anybody get a key error NAC when trying to run thier trunking(trunk.tsv) in scope?I know
Im entering a good NAC code, what givesstring is below frame = stdframe
(self.top_block_maker, self.title, self._nstatus)
File "/usr/local/lib/python2.7/dist-packages/gnuradio/wxgui/stdgui2.py", line
76, in __init__
self.panel = stdpanel (self, self, top_block_maker)
File "/usr/local/lib/python2.7/dist-packages/gnuradio/wxgui/stdgui2.py", line
98, in __init__
self.top_block = top_block_maker (frame, self, vbox, sys.argv)
File "./scope.py", line 213, in __init__
self.open_usrp()
File "./scope.py", line 1158, in open_usrp
self.__set_rx_from_osmosdr()
File "./scope.py", line 907, in __set_rx_from_osmosdr
self.__build_graph(self.src, capture_rate)
File "./scope.py", line 261, in __build_graph
self.trunk_rx = trunking.rx_ctl(frequency_set = self.change_freq, debug =
self.options.verbosity, conf_file = self.options.trunk_conf_file)
File "/home/sean/sdr/op25/op25/gr-op25_repeater/apps/trunking.py", line 404,
in __init__
self.build_config_tsv(conf_file)
File "/home/sean/sdr/op25/op25/gr-op25_repeater/apps/trunking.py", line 446,
in build_config_tsv
nac = int(fields['nac'], 0)
KeyError: 'nac'
Show replies by date
please post the full command line used to invoke scope.py, and also paste a copy of your
trunk TSV file(s) - preferably as ZIP so that the spacing / tabs aren't mangled by the
email transfer...
Max
heres the command im using ./scope.py --args 'rtl=0' -N 'LNA:50' -S 960000
-f 139.4200M -o 2000 -q -2.0 -v 0 -V -T trunk.tsv -2thanks for your help max!
On Sunday, July 3, 2016 8:36 AM, "ikj1234i(a)yahoo.com [op25-dev]"
<op25-dev(a)yahoogroups.com> wrote:
please post the full command line used to invoke scope.py, and also paste a copy of
your trunk TSV file(s) - preferably as ZIP so that the spacing / tabs aren't mangled
by the email transfer...
Max #yiv5154506333 #yiv5154506333 -- #yiv5154506333ygrp-mkp {border:1px solid
#d8d8d8;font-family:Arial;margin:10px 0;padding:0 10px;}#yiv5154506333
#yiv5154506333ygrp-mkp hr {border:1px solid #d8d8d8;}#yiv5154506333 #yiv5154506333ygrp-mkp
#yiv5154506333hd {color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px
0;}#yiv5154506333 #yiv5154506333ygrp-mkp #yiv5154506333ads
{margin-bottom:10px;}#yiv5154506333 #yiv5154506333ygrp-mkp .yiv5154506333ad {padding:0
0;}#yiv5154506333 #yiv5154506333ygrp-mkp .yiv5154506333ad p {margin:0;}#yiv5154506333
#yiv5154506333ygrp-mkp .yiv5154506333ad a
{color:#0000ff;text-decoration:none;}#yiv5154506333 #yiv5154506333ygrp-sponsor
#yiv5154506333ygrp-lc {font-family:Arial;}#yiv5154506333 #yiv5154506333ygrp-sponsor
#yiv5154506333ygrp-lc #yiv5154506333hd {margin:10px
0px;font-weight:700;font-size:78%;line-height:122%;}#yiv5154506333
#yiv5154506333ygrp-sponsor #yiv5154506333ygrp-lc .yiv5154506333ad
{margin-bottom:10px;padding:0 0;}#yiv5154506333 #yiv5154506333actions
{font-family:Verdana;font-size:11px;padding:10px 0;}#yiv5154506333 #yiv5154506333activity
{background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}#yiv5154506333
#yiv5154506333activity span {font-weight:700;}#yiv5154506333 #yiv5154506333activity
span:first-child {text-transform:uppercase;}#yiv5154506333 #yiv5154506333activity span a
{color:#5085b6;text-decoration:none;}#yiv5154506333 #yiv5154506333activity span span
{color:#ff7900;}#yiv5154506333 #yiv5154506333activity span .yiv5154506333underline
{text-decoration:underline;}#yiv5154506333 .yiv5154506333attach
{clear:both;display:table;font-family:Arial;font-size:12px;padding:10px
0;width:400px;}#yiv5154506333 .yiv5154506333attach div a
{text-decoration:none;}#yiv5154506333 .yiv5154506333attach img
{border:none;padding-right:5px;}#yiv5154506333 .yiv5154506333attach label
{display:block;margin-bottom:5px;}#yiv5154506333 .yiv5154506333attach label a
{text-decoration:none;}#yiv5154506333 blockquote {margin:0 0 0 4px;}#yiv5154506333
.yiv5154506333bold {font-family:Arial;font-size:13px;font-weight:700;}#yiv5154506333
.yiv5154506333bold a {text-decoration:none;}#yiv5154506333 dd.yiv5154506333last p a
{font-family:Verdana;font-weight:700;}#yiv5154506333 dd.yiv5154506333last p span
{margin-right:10px;font-family:Verdana;font-weight:700;}#yiv5154506333
dd.yiv5154506333last p span.yiv5154506333yshortcuts {margin-right:0;}#yiv5154506333
div.yiv5154506333attach-table div div a {text-decoration:none;}#yiv5154506333
div.yiv5154506333attach-table {width:400px;}#yiv5154506333 div.yiv5154506333file-title a,
#yiv5154506333 div.yiv5154506333file-title a:active, #yiv5154506333
div.yiv5154506333file-title a:hover, #yiv5154506333 div.yiv5154506333file-title a:visited
{text-decoration:none;}#yiv5154506333 div.yiv5154506333photo-title a, #yiv5154506333
div.yiv5154506333photo-title a:active, #yiv5154506333 div.yiv5154506333photo-title
a:hover, #yiv5154506333 div.yiv5154506333photo-title a:visited
{text-decoration:none;}#yiv5154506333 div#yiv5154506333ygrp-mlmsg #yiv5154506333ygrp-msg p
a span.yiv5154506333yshortcuts
{font-family:Verdana;font-size:10px;font-weight:normal;}#yiv5154506333 .yiv5154506333green
{color:#628c2a;}#yiv5154506333 .yiv5154506333MsoNormal {margin:0 0 0 0;}#yiv5154506333 o
{font-size:0;}#yiv5154506333 #yiv5154506333photos div
{float:left;width:72px;}#yiv5154506333 #yiv5154506333photos div div {border:1px solid
#666666;min-height:62px;overflow:hidden;width:62px;}#yiv5154506333 #yiv5154506333photos
div label
{color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}#yiv5154506333
#yiv5154506333reco-category {font-size:77%;}#yiv5154506333 #yiv5154506333reco-desc
{font-size:77%;}#yiv5154506333 .yiv5154506333replbq {margin:4px;}#yiv5154506333
#yiv5154506333ygrp-actbar div a:first-child
{margin-right:2px;padding-right:5px;}#yiv5154506333 #yiv5154506333ygrp-mlmsg
{font-size:13px;font-family:Arial, helvetica, clean, sans-serif;}#yiv5154506333
#yiv5154506333ygrp-mlmsg table {font-size:inherit;font:100%;}#yiv5154506333
#yiv5154506333ygrp-mlmsg select, #yiv5154506333 input, #yiv5154506333 textarea {font:99%
Arial, Helvetica, clean, sans-serif;}#yiv5154506333 #yiv5154506333ygrp-mlmsg pre,
#yiv5154506333 code {font:115% monospace;}#yiv5154506333 #yiv5154506333ygrp-mlmsg *
{line-height:1.22em;}#yiv5154506333 #yiv5154506333ygrp-mlmsg #yiv5154506333logo
{padding-bottom:10px;}#yiv5154506333 #yiv5154506333ygrp-msg p a
{font-family:Verdana;}#yiv5154506333 #yiv5154506333ygrp-msg p#yiv5154506333attach-count
span {color:#1E66AE;font-weight:700;}#yiv5154506333 #yiv5154506333ygrp-reco
#yiv5154506333reco-head {color:#ff7900;font-weight:700;}#yiv5154506333
#yiv5154506333ygrp-reco {margin-bottom:20px;padding:0px;}#yiv5154506333
#yiv5154506333ygrp-sponsor #yiv5154506333ov li a
{font-size:130%;text-decoration:none;}#yiv5154506333 #yiv5154506333ygrp-sponsor
#yiv5154506333ov li {font-size:77%;list-style-type:square;padding:6px 0;}#yiv5154506333
#yiv5154506333ygrp-sponsor #yiv5154506333ov ul {margin:0;padding:0 0 0 8px;}#yiv5154506333
#yiv5154506333ygrp-text {font-family:Georgia;}#yiv5154506333 #yiv5154506333ygrp-text p
{margin:0 0 1em 0;}#yiv5154506333 #yiv5154506333ygrp-text tt
{font-size:120%;}#yiv5154506333 #yiv5154506333ygrp-vital ul li:last-child
{border-right:none !important;}#yiv5154506333
taking a cursory look at the trunk.tsv file it looks like, somehow, there are commas where
there should be tabs.... You'll have to regenerate it using the original, and save as
TSV...
Sysname,Control Channel List,Offset,NAC,Modulation,TGID Tags
File,Whitelist,Blacklist,Center Frequency
Tompkins,139.42M,0,0x4ce,FSK4,,,,139.5M